DAYTIME

From Wikipedia, the free encyclopedia

The DAYTIME service is an Internet protocol defined in RFC 867. It is intended for testing and measurement purposes in computer networks.

A host may connect to a server that supports the DAYTIME protocol, on either TCP or UDP port 13. The server then returns the current date and time as an ASCII string with an unspecified format.

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

[edit] Inetd implementation of DAYTIME

On Linux, FreeBSD, and other UNIX-like operating systems a daytime server is built into the inetd daemon. The daytime 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:

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

[edit] See also

[edit] External links