INTERNET-DRAFT M. Yevstifeyev Intended Status: Standards Track December 25, 2010 Obsoletes: 347, 862 (if approved) Expires: June 28, 2011 Echo Protocol Abstract This document specifies Echo protocol, that was firstly defined in RFC 862. However that document does not match current Internet Standards and specifies Echo protocol for TCP and UDP only, while a number of other transport-layer protocols have appeared since the time of publication of RFC 862. This document aligns Echo protocol specification with the current Internet Standards and specifies Echo protocol for the most wide- spread transport-layer protocols. It obsoletes RFC 347 and RFC 862 and moves the last to Historic status. Status of this Memo This Internet-Draft is submitted to IETF in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." The list of current Internet-Drafts can be accessed at http://www.ietf.org/1id-abstracts.html The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html Copyright and License Notice Copyright (c) 2010 IETF Trust and the persons identified as the Yevstifeyev Expires June 28, 2011 [Page 1] INTERNET DRAFT Echo Protocol December 25, 2010 document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 2. Protocol Specification . . . . . . . . . . . . . . . . . . . . 4 2.1. DCCP-based Echo Protocol . . . . . . . . . . . . . . . . . 4 2.2. RDP-based Echo Protocol . . . . . . . . . . . . . . . . . . 4 2.3. SCTP-based Echo Protocol . . . . . . . . . . . . . . . . . 4 2.4. TCP-Based Echo Protocol . . . . . . . . . . . . . . . . . . 4 2.5. UDP-based Echo Protocol . . . . . . . . . . . . . . . . . . 4 3. Security Considerations . . . . . . . . . . . . . . . . . . . . 5 4. RFC Editor Considerations . . . . . . . . . . . . . . . . . . . 5 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 5 5. References . . . . . . . . . . . . . . . . . . . . . . . . . . 5 5.1. Normative References . . . . . . . . . . . . . . . . . . . 5 5.2. Informative References . . . . . . . . . . . . . . . . . . 5 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Author's Addresses . . . . . . . . . . . . . . . . . . . . . . . . 6 Yevstifeyev Expires June 28, 2011 [Page 2] INTERNET DRAFT Echo Protocol December 25, 2010 1. Introduction The Echo protocol is a very useful debugging and measurement tool. The echo service simply sends back to the originating source any data it receives. The first proposal of Echo protocol appeared in RFC 347 [RFC347]. Echo protocol itself was specified in RFC 862 [RFC862]. However this document does not match current Internet Standards and specifies Echo protocol only for TCP [RFC793] and UDP [RFC768], while a number of other transport-layer protocols have appeared sine the time of publication of RFC 862. This document aligns the Echo protocol specification with current Internet Standards and specifies Echo protocol for the most wide-spread transport-layer protocols. It obsoletes RFC 347 [RFC347] and RFC 862 [RFC862] and moves the last to Historic status [RFC2026]. Note: This document intentionally makes normative references only to Full Standards documents. This is made in order to provide the possibility for this specification to become the Full Standard without waiting for all the referenced documents become Full Standards too. Yevstifeyev Expires June 28, 2011 [Page 3] INTERNET DRAFT Echo Protocol December 25, 2010 2. Protocol Specification 2.1. DCCP-based Echo Protocol The Echo protocol supports DCCP [RFC4340] as a lower-layer protocol. If this protocol is used, one DCCP host listens for incoming connection on the port TBD1. Once a connection is established any data received by this host is sent back. This continues until the calling user terminates the connection. 2.2. RDP-based Echo Protocol The Echo protocol supports RDP [RFC908] [RFC1151] as a lower-layer protocol. If this protocol is used, one RDP host listens for incoming connection on the port TBD2. Once a connection is established any data received by this host is sent back. This continues until the calling user terminates the connection. 2.3. SCTP-based Echo Protocol The Echo protocol supports SCTP [RFC4960] as a lower-layer protocol. If this protocol is used, one SCTP host listens for incoming connection on the port TBD3. Once a connection is established any data received by this host is sent back. This continues until the calling user terminates the connection. 2.4. TCP-Based Echo Protocol The Echo protocol supports TCP [RFC793] as a lower-layer protocol. If this protocol is used, one TCP host listens for incoming connection on the port 7. Once a connection is established any data received by this host is sent back. This continues until the calling user terminates the connection. 2.5. UDP-based Echo Protocol The Echo protocol supports UDP [RFC768] as a lower-layer protocol. If this protocol is used, a UDP host listens for UDP datagrams on UDP port 7. When a datagram is received, the data from it is sent back in an answering datagram. Yevstifeyev Expires June 28, 2011 [Page 4] INTERNET DRAFT Echo Protocol December 25, 2010 3. Security Considerations The echo protocol is not believed to cause any security issues that can be discussed by this memo. 4. RFC Editor Considerations RFC Editor is asked to mark the following documents as obsoleted by this RFC: RFC 347 [RFC347] RFC 862 [RFC862] RFC Editor is also asked to mark RFC 862 [RFC862] as Historic RFC. 5. IANA Considerations IANA has assigned the DCCP port number TBD1 for use with Echo protocol. IANA has assigned the RDP port number TBD2 for use with Echo protocol. IANA has assigned the SCTP port number TBD3 for use with Echo protocol. IANA has assigned the TCP port number 7 for use with Echo protocol. IANA has assigned the UDP port number 7 for use with Echo protocol. 5. References 5.1. Normative References [RFC768] Postel, J., "User Datagram Protocol", STD 6, RFC 768, August 1980. [RFC793] Postel, J., "Transmission Control Protocol", STD 7, RFC 793, September 1981. 5.2. Informative References [RFC347] Postel, J., "Echo process", RFC 347, May 1972. [RFC862] Postel, J., "Echo Protocol", STD 20, RFC 862, May 1983. Yevstifeyev Expires June 28, 2011 [Page 5] INTERNET DRAFT Echo Protocol December 25, 2010 [RFC908] Velten, D., Hinden, R., and J. Sax, "Reliable Data Protocol", RFC 908, July 1984. [RFC1151] Partridge, C. and R. Hinden, "Version 2 of the Reliable Data Protocol (RDP)", RFC 1151, April 1990. [RFC2026] Bradner, S., "The Internet Standards Process -- Revision 3", BCP 9, RFC 2026, October 1996. [RFC4340] Kohler, E., Handley, M., and S. Floyd, "Datagram Congestion Control Protocol (DCCP)", RFC 4340, March 2006. [RFC4960] Stewart, R., Ed., "Stream Control Transmission Protocol", RFC 4960, September 2007. Acknowledgments This documents is heavily based on RFC 862, whose author - John Postel - is cordially acknowledged. Author's Addresses Mykyta Yevstifeyev 8 Kuzovkov St., flat 25 Kotovsk, Ukraine EMail: evnikita2@gmail.com Yevstifeyev Expires June 28, 2011 [Page 6]