Discard Protocol
Appearance
Internet protocol suite |
---|
Application layer |
Transport layer |
Internet layer |
Link layer |
The DISCARD protocol is an internet protocol defined in RFC 863. It is intended for testing and measurement purposes.
A host may send data to a host that supports the DISCARD protocol, on either TCP or UDP port 9. Everything sent to the server is thrown away. No response gfdgdfgdgdgdfgis sent back.
Current testing and measurement of IP networks is more commonly done with ping and traceroute computer network tools which use the ICMP protocol instead of DISCARD.
Inetd implementation of DISCARD
On Linux, FreeBSD, and other UNIX-like operating systems a discard server is built into the inetd daemon. The discard service is usually not enabled by default. It may be enabled by adding the following lines to the file /etc/inetd.conf and telling inetd to reload its configuration:
discard stream tcp nowait root internal discard dgram udp wait root internal
See also
External links
- RFC 348, The Discard process.
- RFC 863, The Discard protocol.