ECHO protocol
From Wikipedia, the free encyclopedia
Internet protocol suite |
5. Application layer |
DHCP • DNS • FTP • HTTP • IMAP4 • IRC • MIME • POP3 • SIP • SMTP • SNMP • SSH • TELNET • TLS/SSL • RPC • RTP • SDP • SOAP • … |
4. Transport layer |
3. Network layer |
2. Data link layer |
ATM • Bluetooth (PAN-Profile) • Ethernet • FDDI • Frame Relay • GPRS • Modems • PPP • Wi-Fi • … |
1. Physical layer |
Bluetooth RF • Ethernet physical layer • ISDN • Modems • RS232 • SONET/SDH • USB • Wi-Fi • … |
The ECHO service is an internet protocol defined in RFC 862. It was originally proposed as a way to test and measure an IP network. Now, testing and measurement is more commonly done with ping and traceroute.
A host may connect to a server that supports the ECHO protocol on either TCP or UDP port 7. The server then sends back any data it receives, with no modification by the echo server.
[edit] Linux
On Linux, an echo server is built into the inetd daemon. The echo service is not enabled by default in some distributions. If so, it may be adding the following lines to the file /etc/inetd.conf and telling inetd to reload its configuration:
echo stream tcp nowait root internal echo dgram udp wait root internal