The Full Wiki

More info on DAYTIME



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.


From Wikipedia, the free encyclopedia

The Internet Protocol Suite
Application Layer
BGP · DHCP · DNS · FTP · GTP · HTTP · IMAP · IRC · Megaco · MGCP · NNTP · NTP · POP · RIP · RPC · RTP · RTSP · SDP · SIP · SMTP · SNMP · SOAP · SSH · Telnet · TLS/SSL · XMPP · (more)
Transport Layer
TCP · UDP · DCCP · SCTP · RSVP · ECN · (more)
Internet Layer
IP (IPv4, IPv6) · ICMP · ICMPv6 · IGMP · IPsec · (more)
Link Layer
ARP/InARP · NDP · OSPF · Tunnels (L2TP) · PPP · Media Access Control (Ethernet, DSL, ISDN, FDDI) · (more)

The DAYTIME service is an Internet protocol defined in 1983 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.

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

On OpenBSD, inetd is configured to support the DAYTIME service by default.

An example output may be:

Tuesday, February 22, 1982 18:45:59-PST

See also

External links

Daytime may refer to:

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