The Full Wiki

More info on Discard Protocol

Discard Protocol: Wikis

Advertisements

Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.

Encyclopedia

Internet Protocol Suite
Application Layer

BGP

  1. REDIRECT template:· DHCP
  2. REDIRECT template:· DNS
  3. REDIRECT template:· FTP
  4. REDIRECT template:· HTTP
  5. REDIRECT template:· IMAP
  6. REDIRECT template:· IRC
  7. REDIRECT template:· LDAP
  8. REDIRECT template:· MGCP
  9. REDIRECT template:· NNTP
  10. REDIRECT template:· NTP
  11. REDIRECT template:· POP
  12. REDIRECT template:· RIP
  13. REDIRECT template:· RPC
  14. REDIRECT template:· RTP
  15. REDIRECT template:· SIP
  16. REDIRECT template:· SMTP
  17. REDIRECT template:· SNMP
  18. REDIRECT template:· SSH
  19. REDIRECT template:· Telnet
  20. REDIRECT template:· TLS/SSL
  21. REDIRECT template:· XMPPTemplate:·
(more)
Transport Layer

TCP

  1. REDIRECT template:· UDP
  2. REDIRECT template:· DCCP
  3. REDIRECT template:· SCTP
  4. REDIRECT template:· RSVP
  5. REDIRECT template:· ECNTemplate:·
(more)
Internet Layer

IP (IPv4, IPv6)

  1. REDIRECT template:· ICMP
  2. REDIRECT template:· ICMPv6
  3. REDIRECT template:· IGMP
  4. REDIRECT template:· IPsecTemplate:·
(more)
Link Layer

ARP/InARP

  1. REDIRECT template:· NDP
  2. REDIRECT template:· OSPF
  3. REDIRECT template:· Tunnels (L2TP)
  4. REDIRECT template:· PPP
  5. REDIRECT template:· Media Access Control (Ethernet, DSL, ISDN, FDDI)Template:· (more)

The Discard Protocol is a service in the Internet Protocol Suite defined in RFC 863. It is intended for testing, debugging, and measurement purposes.

A host may send data to a host that supports the Discard Protocol on either Transmission Control Protocol (TCP) or User Datagram Protocol (UDP) port number 9. The data sent to the server is simply discarded. No response is returned.

Inetd implementation

On most UNIX-like operating systems a discard server is built into the inetd (or xinetd) 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 reloading the configuration:

discard   stream  tcp     nowait  root    internal
discard   dgram   udp     wait    root    internal

The Discard Protocol is the TCP/UDP equivalent of the Unix filesystem node /dev/null. Such a service is guaranteed to receive what is sent to it and can be used for debugging TCP and/or UDP code requiring a guaranteed reception of payload sent.

See also

External links

Advertisements

Advertisements






Got something to say? Make a comment.
Your name
Your email address
Message