encyclopegia.org

Discard Protocol

The Discard Protocol is a service in the Internet Protocol Suite defined in 1983 in by Jon Postel.[src] It was designed for testing, debugging, measurement, and host-management purposes.[src] 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.[src] The data sent to the server is simply discarded.[src] No response is returned.[src] For this reason, UDP is usually used, but TCP allows the services to be accessible on session-oriented connections (for example via HTTP proxies or some virtual private network (VPN)).[src]

The Discard Protocol is a service in the Internet Protocol Suite defined in 1983 in by Jon Postel.[src] It was designed for testing, debugging, measurement, and host-management purposes.[src] 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.[src] The data sent to the server is simply discarded.[src] No response is returned.[src] For this reason, UDP is usually used, but TCP allows the services to be accessible on session-oriented connections (for example via HTTP proxies or some virtual private network (VPN)).[src] ==Inetd implementation== On most Unix-like operating systems a discard server is built into the inetd (or xinetd) daemon.[src] The discard service is usually not enabled by default.[src] It may be enabled by adding the following lines to the file 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 file-system node /dev/null .[src] Such a service is guaranteed to receive what is sent to it and can be used for debugging code requiring a guaranteed reception TCP or UDP payloads.[src] On various routers, this TCP or UDP port 9 for the Discard Protocol (or port 7 for the Echo Protocol relaying ICMP datagrams) is also used by default as a proxy to relay Wake-on-LAN (WOL) magic packets from the Internet to hosts on the local network in order to wake them up remotely (these hosts must also have their network adapter configured to accept WOL datagrams and the router must have this proxy setting enabled, and possibly also a configuration of forwarding rules in its embedded firewall to open these ports on the Internet side).[src]

17 sentences · 17 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Discard Protocol." encyclopegia.org, 2024, https://encyclopegia.org/wiki/discard-protocol. Accessed 27 November 2026.

Chicago

"Discard Protocol." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/discard-protocol.

APA

encyclopegia.org. (2024). Discard Protocol. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/discard-protocol

Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Border Gateway Protocol

stub · references available

Dynamic Host Configuration Protocol

stub · references available

Uqair Protocol of 1922

stub · references available

Extensible Provisioning Protocol

stub · references available

Montreal Protocol

stub · references available

Network News Transfer Protocol

stub · references available

Distributed Social Networking Protocol

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1229254724 · 0.5 · snapshot enwiki-001229254724

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.