Network Working Group E. Lear Request for Comments: 3617 Cisco Systems Category: Informational October 2003Uniform Resource Identifier (URI) Scheme and Applicability Statement for the Trivial File Transfer Protocol (TFTP)
1. Introduction
The Trivial File Transfer Protocol (TFTP) has been around for quite some time. Its common uses are to initially configure devices or to load new versions of operating system code [1]. As devices begin to adopt use of Uniform Resource Identifiers (URIs) and Uniform Resource Locators (URLs), for completeness we specify a way to reference files that is still quite common. Use of a URI is a convenient way to indicate underlying mechanism, server name or address, and file name.
Lear Informational [Page 1]
RFC 3617 URI Scheme for TFTP October 2003 2. Syntax of a TFTP URIA TFTP URI has the following ABNF syntax [2]:
2.1. Encoding Rules
Aside from syntax as described above, the TFTP protocol does not specify length limits to either file names or file sizes. In the case of file names, they may contain any character so long as those characters are properly escaped as described above.
3. Semantics and Operations
As previously stated the TFTP URI is a reference to a file. The allowed operations on a TFTP URI are read and write. When a TFTP URI is read the underlying mechanisms retrieve the named file via the TFTP protocol from the specified host with the optionally specified mode. When a TFTP URI is written the underlying mechanisms transmit a file via TFTP to a specified server to either the specified file using the optionally specified mode. No other operations are supported.
Lear Informational [Page 2]
RFC 3617 URI Scheme for TFTP October 2003 4. Examplestftp://example.com/myconfigurationfile;mode=netascii
5. Security Considerations and Concerns about TFTP's use
Use of TFTP has been historically limited to those devices where a more full protocol stack is impractical due to either memory or CPU constraints. While this still may be the case with a toaster, it is unlikely to be the case for even the simplest piece of network support hardware, such as simple routers or switches. There are a myriad of reasons to use some protocol other than TFTP, only a few of which are listed below.
Lear Informational [Page 3]
RFC 3617 URI Scheme for TFTP October 2003 6. IANA ConsiderationsThe IANA has registered the URL registration template found in Appendix A in accordance with RFC 2717 [7].
7. Acknowledgments
The author thanks Larry Masinter, Randy Presuhn, Phil Schafer, and Bill Fenner for their help in developing this document.
8. Intellectual Property Statement
The IETF takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on the IETF's procedures with respect to rights in standards-track and standards-related documentation can be found in BCP-11. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification can be obtained from the IETF Secretariat.
Lear Informational [Page 4]
RFC 3617 URI Scheme for TFTP October 2003 Appendix A. Registration TemplateURL scheme name: tftp URL scheme syntax: Section 2 Character encoding considerations: Section 2 Intended usage: Section 1 Applications and/or protocols which use this scheme: [1] Interoperability considerations: None Security considerations: Section 5 Relevant publications: [1] Contact: The author, Section 8 Author/Change Controller: IESG
Lear Informational [Page 5]
RFC 3617 URI Scheme for TFTP October 2003
References
Lear Informational [Page 6]
RFC 3617 URI Scheme for TFTP October 2003
Full Copyright Statement