draft-ietf-secsh-filexfer-03.2.ps

来自「OTP是开放电信平台的简称」· PS 代码 · 共 2,108 行 · 第 1/5 页

PS
2,108
字号
5 349 M(   is the form used by NFS v4.  See NFS version 4 Protocol.  [3] The) s5 338 M(   following text is selected quotations from section 5.6.) s5 316 M(   To avoid a representation that is tied to a particular underlying) s5 305 M(   implementation at the client or server, the use of UTF-8 strings has) s5 294 M(   been chosen.  The string should be of the form user@dns_domain".) s5 283 M(   This will allow for a client and server that do not use the same) s5 272 M(   local representation the ability to translate to a common syntax that) s5 261 M(   can be interpreted by both.  In the case where there is no) s5 250 M(   translation available to the client or server, the attribute value) s5 239 M(   must be constructed without the "@".  Therefore, the absence of the @) s5 228 M(   from the owner or owner_group attribute signifies that no translation) s5 217 M(   was available and the receiver of the attribute should not place any) s5 206 M(   special meaning with the attribute value.  Even though the attribute) s5 195 M(   value can not be translated, it may still be useful.  In the case of) s5 184 M(   a client, the attribute string may be used for local display of) s5 173 M(   ownership.) s5 129 M(Galbraith, et al.        Expires April 16, 2003                [Page 10]) s_RSPStoPSsaved restore%%Page: (10,11) 6userdict/PStoPSsaved save putPStoPSmatrix setmatrix595.000000 0.271378 translate90 rotate0.706651 dup scaleuserdict/PStoPSmatrix matrix currentmatrix putuserdict/PStoPSclip{0 0 moveto 595.000000 0 rlineto 0 842.000000 rlineto -595.000000 0 rlineto closepath}put initclip/showpage{}def/copypage{}def/erasepage{}defPStoPSxform concat%%BeginPageSetup_S75 0 translate/pagenum 11 def/fname () def/fdir () def/ftail () def/user_header_p false def%%EndPageSetup5 723 M(Internet-Draft         SSH File Transfer Protocol           October 2002) s5 690 M(5.5 Permissions) s5 668 M(   The `permissions' field contains a bit mask of file permissions as) s5 657 M(   defined by POSIX [1].) s5 635 M(5.6 Times) s5 613 M(   The 'atime', 'createtime', and 'mtime' contain the access, creation,) s5 602 M(   and modification times of the files, respectively.  They are) s5 591 M(   represented as seconds from Jan 1, 1970 in UTC.) s5 569 M(5.7 ACL) s5 547 M(   The 'ACL' field contains an ACL similar to that defined in section) s5 536 M(   5.9 of NFS version 4 Protocol [3].) s5 514 M(           uint32   ace-count) s5 492 M(           repeated ace-count time:) s5 481 M(                uint32   ace-type) s5 470 M(                uint32   ace-flag) s5 459 M(                uint32   ace-mask) s5 448 M(                string   who [UTF-8]) s5 426 M(   ace-type is one of the following four values \(taken from NFS Version) s5 415 M(   4 Protocol [3]:) s5 393 M(        const ACE4_ACCESS_ALLOWED_ACE_TYPE      = 0x00000000;) s5 382 M(        const ACE4_ACCESS_DENIED_ACE_TYPE       = 0x00000001;) s5 371 M(        const ACE4_SYSTEM_AUDIT_ACE_TYPE        = 0x00000002;) s5 360 M(        const ACE4_SYSTEM_ALARM_ACE_TYPE        = 0x00000003;) s5 338 M(   ace-flag is a combination of the following flag values.  See NFS) s5 327 M(   Version 4 Protocol [3] section 5.9.2:) s5 305 M(        const ACE4_FILE_INHERIT_ACE             = 0x00000001;) s5 294 M(        const ACE4_DIRECTORY_INHERIT_ACE        = 0x00000002;) s5 283 M(        const ACE4_NO_PROPAGATE_INHERIT_ACE     = 0x00000004;) s5 272 M(        const ACE4_INHERIT_ONLY_ACE             = 0x00000008;) s5 261 M(        const ACE4_SUCCESSFUL_ACCESS_ACE_FLAG   = 0x00000010;) s5 250 M(        const ACE4_FAILED_ACCESS_ACE_FLAG       = 0x00000020;) s5 239 M(        const ACE4_IDENTIFIER_GROUP             = 0x00000040;) s5 217 M(   ace-mask is any combination of the following flags \(taken from NFS) s5 206 M(   Version 4 Protocol [3] section 5.9.3:) s5 129 M(Galbraith, et al.        Expires April 16, 2003                [Page 11]) s_RSPStoPSsaved restoreuserdict/PStoPSsaved save putPStoPSmatrix setmatrix595.000000 421.271378 translate90 rotate0.706651 dup scaleuserdict/PStoPSmatrix matrix currentmatrix putuserdict/PStoPSclip{0 0 moveto 595.000000 0 rlineto 0 842.000000 rlineto -595.000000 0 rlineto closepath}put initclipPStoPSxform concat%%BeginPageSetup_S75 0 translate/pagenum 12 def/fname () def/fdir () def/ftail () def/user_header_p false def%%EndPageSetup5 723 M(Internet-Draft         SSH File Transfer Protocol           October 2002) s5 690 M(        const ACE4_READ_DATA            = 0x00000001;) s5 679 M(        const ACE4_LIST_DIRECTORY       = 0x00000001;) s5 668 M(        const ACE4_WRITE_DATA           = 0x00000002;) s5 657 M(        const ACE4_ADD_FILE             = 0x00000002;) s5 646 M(        const ACE4_APPEND_DATA          = 0x00000004;) s5 635 M(        const ACE4_ADD_SUBDIRECTORY     = 0x00000004;) s5 624 M(        const ACE4_READ_NAMED_ATTRS     = 0x00000008;) s5 613 M(        const ACE4_WRITE_NAMED_ATTRS    = 0x00000010;) s5 602 M(        const ACE4_EXECUTE              = 0x00000020;) s5 591 M(        const ACE4_DELETE_CHILD         = 0x00000040;) s5 580 M(        const ACE4_READ_ATTRIBUTES      = 0x00000080;) s5 569 M(        const ACE4_WRITE_ATTRIBUTES     = 0x00000100;) s5 558 M(        const ACE4_DELETE               = 0x00010000;) s5 547 M(        const ACE4_READ_ACL             = 0x00020000;) s5 536 M(        const ACE4_WRITE_ACL            = 0x00040000;) s5 525 M(        const ACE4_WRITE_OWNER          = 0x00080000;) s5 514 M(        const ACE4_SYNCHRONIZE          = 0x00100000;) s5 492 M(   who is a UTF-8 string of the form described in 'Owner and Group') s5 481 M(   \(Section 5.4\)) s5 459 M(5.8 Extended attributes) s5 437 M(   The SSH_FILEXFER_ATTR_EXTENDED flag provides a general extension) s5 426 M(   mechanism for vendor-specific extensions.  If the flag is specified,) s5 415 M(   then the `extended_count' field is present.  It specifies the number) s5 404 M(   of extended_type-extended_data pairs that follow.  Each of these) s5 393 M(   pairs specifies an extended attribute.  For each of the attributes,) s5 382 M(   the extended_type field should be a string of the format) s5 371 M(   "name@domain", where "domain" is a valid, registered domain name and) s5 360 M(   "name" identifies the method.  The IETF may later standardize certain) s5 349 M(   names that deviate from this format \(e.g., that do not contain the) s5 338 M(   "@" sign\).  The interpretation of `extended_data' depends on the) s5 327 M(   type.  Implementations SHOULD ignore extended data fields that they) s5 316 M(   do not understand.) s5 294 M(   Additional fields can be added to the attributes by either defining) s5 283 M(   additional bits to the flags field to indicate their presence, or by) s5 272 M(   defining extended attributes for them.  The extended attributes) s5 261 M(   mechanism is recommended for most purposes; additional flags bits) s5 250 M(   should only be defined by an IETF standards action that also) s5 239 M(   increments the protocol version number.  The use of such new fields) s5 228 M(   MUST be negotiated by the version number in the protocol exchange.) s5 217 M(   It is a protocol error if a packet with unsupported protocol bits is) s5 206 M(   received.) s5 129 M(Galbraith, et al.        Expires April 16, 2003                [Page 12]) s_RSPStoPSsaved restore%%Page: (12,13) 7userdict/PStoPSsaved save putPStoPSmatrix setmatrix595.000000 0.271378 translate90 rotate0.706651 dup scaleuserdict/PStoPSmatrix matrix currentmatrix putuserdict/PStoPSclip{0 0 moveto 595.000000 0 rlineto 0 842.000000 rlineto -595.000000 0 rlineto closepath}put initclip/showpage{}def/copypage{}def/erasepage{}defPStoPSxform concat%%BeginPageSetup_S75 0 translate/pagenum 13 def/fname () def/fdir () def/ftail () def/user_header_p false def%%EndPageSetup5 723 M(Internet-Draft         SSH File Transfer Protocol           October 2002) s5 690 M(6. Requests From the Client to the Server) s5 668 M(   Requests from the client to the server represent the various file) s5 657 M(   system operations.  Each request begins with an `id' field, which is) s5 646 M(   a 32-bit identifier identifying the request \(selected by the client\).) s5 635 M(   The same identifier will be returned in the response to the request.) s5 624 M(   One possible implementation is a monotonically increasing request) s5 613 M(   sequence number \(modulo 2^32\).) s5 591 M(   Many operations in the protocol operate on open files.  The) s5 580 M(   SSH_FXP_OPEN request can return a file handle \(which is an opaque) s5 569 M(   variable-length string\) which may be used to access the file later) s5 558 M(   \(e.g.  in a read operation\).  The client MUST NOT send requests the) s5 547 M(   server with bogus or closed handles.  However, the server MUST) s5 536 M(   perform adequate checks on the handle in order to avoid security) s5 525 M(   risks due to fabricated handles.) s5 503 M(   This design allows either stateful and stateless server) s5 492 M(   implementation, as well as an implementation which caches state) s5 481 M(   between requests but may also flush it.  The contents of the file) s5 470 M(   handle string are entirely up to the server and its design.  The) s5 459 M(   client should not modify or attempt to interpret the file handle) s5 448 M(   strings.) s5 426 M(   The file handle strings MUST NOT be longer than 256 bytes.) s5 404 M(6.1 Request Synchronization and Reordering) s5 382 M(   The protocol and implementations MUST process requests relating to) s5 371 M(   the same file in the order in which they are received.  In other) s5 360 M(   words, if an application submits multiple requests to the server, the) s5 349 M(   results in the responses will be the same as if it had sent the) s5 338 M(   requests one at a time and waited for the response in each case.  For) s5 327 M(   example, the server may process non-overlapping read/write requests) s5 316 M(   to the same file in parallel, but overlapping reads and writes cannot) s5 305 M(   be reordered or parallelized.  However, there are no ordering) s5 294 M(   restrictions on the server for processing requests from two different) s5 283 M(   file transfer connections.  The server may interleave and parallelize) s5 272 M(   them at will.) s5 250 M(   There are no restrictions on the order in which responses to) s5 239 M(   outstanding requests are delivered to the client, except that the) s5 228 M(   server must ensure fairness in the sense that processing of no) s5 217 M(   request will be indefinitely delayed even if the client is sending) s5 206 M(   other requests so that there are multiple outstanding requests all) s5 195 M(   the time.) s5 129 M(Galbraith, et al.        Expires April 16, 2003                [Page 13]) s_RSPStoPSsaved restoreuserdict/PStoPSsaved save putPStoPSmatrix setmatrix595.000000 421.271378 translate90 rotate0.706651 dup scaleuserdict/PStoPSmatrix matrix currentmatrix putuserdict/PStoPSclip{0 0 moveto 595.000000 0 rlineto 0 842.000000 rlineto -595.000000 0 rlineto closepath}put initclipPStoPSxform concat%%BeginPageSetup_S75 0 translate/pagenum 14 def/fname () def/fdir () def/ftail () def/user_header_p false def%%EndPageSetup5 723 M(Internet-Draft         SSH File Transfer Protocol           October 2002) s5 690 M(6.2 File Names) s5 668 M(   This protocol represents file names as strings.  File names are) s5 657 M(   assumed to use the slash \('/'\) character as a directory separator.) s5 635 M(   File names starting with a slash are "absolute", and are relative to) s5 624 M(   the root of the file system.  Names starting with any other character) s5 613 M(   are relative to the user's default directory \(home directory\).  Note) s5 602 M(   that identifying the user is assumed to take place outside of this) s5 591 M(   protocol.) s5 569 M(   Servers SHOULD interpret a path name component ".." as referring to) s5 558 M(   the parent directory, and "." as referring to the current directory.) s5 547 M(   If the server implementation limits access to certain parts of the) s5 536 M(   file system, it must be extra careful in parsing file names when) s5 525 M(   enforcing such restrictions.  There have been numerous reported) s5 514 M(   security bugs where a ".." in a path name has allowed access outside) s5 503 M(   the intended area.) s5 481 M(   An empty path name is valid, and it refers to the user's default) s5 470 M(   directory \(usually the user's home directory\).) s5 448 M(   Otherwise, no syntax is defined for file names by this specification.) s5 437 M(   Clients should not make any other assumptions; however, they can) s5 426 M(   splice path name components returned by SSH_FXP_READDIR together) s5 415 M(   using a slash \('/'\) as the separator, and that will work as expected.) s5 393 M(   In order to comply with IETF Policy on Character Sets and Languages) s5 382 M(   [2], all filenames are to be encoded in UTF-8.  The shortest valid) s5 371 M(   UTF-8 encoding of the UNICODE data MUST be used.  The server is) s5 360 M(   responsible for converting the UNICODE data to whatever canonical) s5 349 M(   form it requires.) s5 327 M(   For example, if the server requires that precomposed characters) s5 316 M(   always be used, the server MUST NOT assume the filename as sent by) s

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?