Jump to content

Character Generator Protocol

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Tpikonen (talk | contribs) at 13:38, 23 June 2005. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

The CHARGEN (character generator) service is an internet protocol defined in RFC 864. It is intended for testing and measurement purposes.

A host may connect to a server that supports the CHARGEN protocol, on either TCP or UDP port 19. Upon opening a TCP connection, the server starts sending arbitrary characters to the connecting host and continues until the hosts closes the connection. In the UDP version of the protocol, the server sends an UDP packet containing a random number (between 0 and 512) of characters everytime it receives an UDP packet from the connecting host. Any data received by the server is thrown away.

Current testing and measurement of IP networks is more commonly done with ping and traceroute.