?? 00000015.htm
字號:
-------------------- <br /> 2 bytes 2 bytes string 1 byte <br /> ---------------------------------------- <br /> ERROR | 05 | ErrorCode | ErrMsg | 0 | <br /> ---------------------------------------- <br />Initial Connection Protocol for reading a file <br /> 1. Host A sends a "RRQ" to host B with source= A's TID, <br /> destination= 69. <br /> 2. Host B sends a "DATA" (with block number= 1) to host A with <br /> source= B's TID, destination= A's TID. <br />Sollins [Page 9] <br /> <br />RFC 1350 TFTP Revision 2 July 1992 <br />Error Codes <br /> Value Meaning <br /> 0 Not defined, see error message (if any). <br /> 1 File not found. <br /> 2 Access violation. <br /> 3 Disk full or allocation exceeded. <br /> 4 Illegal TFTP operation. <br /> 5 Unknown transfer ID. <br /> 6 File already exists. <br /> 7 No such user. <br />Internet User Datagram Header [2] <br /> (This has been included only for convenience. TFTP need not be <br /> implemented on top of the Internet User Datagram Protocol.) <br /> Format <br /> 0 1 2 3 <br /> 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 <br /> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ <br /> | Source Port | Destination Port | <br /> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ <br /> | Length | Checksum | <br /> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ <br /> Values of Fields <br /> Source Port Picked by originator of packet. <br /> Dest. Port Picked by destination machine (69 for RRQ or WRQ). <br /> Length Number of bytes in UDP packet, including UDP header. <br /> Checksum Reference 2 describes rules for computing checksum. <br /> (The implementor of this should be sure that the <br /> correct algorithm is used here.) <br /> Field contains zero if unused. <br /> Note: TFTP passes transfer identifiers (TID's) to the Internet User <br /> Datagram protocol to be used as the source and destination ports. <br />Sollins [Page 10] <br /> <br />RFC 1350 TFTP Revision 2 July 1992 <br />References <br /> [1] USA Standard Code for Information Interchange, USASI X3.4-1968. <br /> [2] Postel, J., "User Datagram Protocol," RFC 768, USC/Information <br /> Sciences Institute, 28 August 1980. <br /> [3] Postel, J., "Telnet Protocol Specification," RFC 764, <br /> USC/Information Sciences Institute, June, 1980. <br /> [4] Braden, R., Editor, "Requirements for Internet Hosts -- <br /> Application and Support", RFC 1123, USC/Information Sciences <br /> Institute, October 1989. <br />Security Considerations <br /> Since TFTP includes no login or access control mechanisms, care must <br /> be taken in the rights granted to a TFTP server process so as not to <br /> violate the security of the server hosts file system. TFTP is often <br /> installed with controls such that only files that have public read <br /> access are available via TFTP and writing files via TFTP is <br /> disallowed. <br />Author's Address <br /> Karen R. Sollins <br /> Massachusetts Institute of Technology <br /> Laboratory for Computer Science <br /> 545 Technology Square <br /> Cambridge, MA 02139-1986 <br /> Phone: (617) 253-6006 <br /> EMail: <a href="mailto:SOLLINS@LCS.MIT.EDU">SOLLINS@LCS.MIT.EDU</a> <br />Sollins [Page 11] <br /> <br /> <br /> <br />-- <br />指點江山,激揚文字,糞土當年萬戶侯。 <br /> <br /> <br />※ 來源:·BBS 水木清華站 smth.org·[FROM: 166.111.161.69] <br /><a href="00000014.htm">上一篇</a><a href="javascript:history.go(-1)">返回上一頁</a><a href="index.htm">回到目錄</a><a href="#top">回到頁首</a><a href="00000016.htm">下一篇</a></h1></center><center><h1>BBS 水木清華站∶精華區</h1></center></body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -