TIME protocol

TIME protocol

The TIME service is an Internet protocol defined in RFC 868. Its purpose is to provide a site-independent, machine readable date and time.

TIME can operate over either TCP or UDP. When operating over TCP, a host connects to a server that supports the TIME protocol on TCP port 37. The server then sends the time as a 32-bit unsigned binary number in network byte order representing a number of seconds since 00:00 (midnight) 1 January, 1900 GMT and closes the connection. The host receives the time and closes the connection.

When operating over UDP, the client sends a (typically empty) datagram to UDP port 37. The server responds with a single datagram of length 4 containing the time. There is no connection setup or teardown.

The TIME protocol has been superseded by the Network Time Protocol (NTP).

inetd/xinetd implementation of TIME

On Linux, FreeBSD, and other UNIX-like operating systems a time server is often built into the inetd daemon. The time 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: time stream tcp nowait root internal time dgram udp wait root internal

On OpenBSD, inetd configured to support TIME service by default.

Modern versions of Linux use xinetd instead of inetd. On modern Red Hat Linux systems there are text files /etc/xinetd.d/time (for TCP version) and /etc/xinetd.d/time-udp (for UDP version). Changing the disable parameter to disable = no will enable the service. Restart the service using the service xinetd restart command.

See also

* List of well-known ports
* Echo
* DISCARD
* DAYTIME
* CHARGEN
* Network Time Protocol

External links

*RFC 868


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Time protocol — (TP), est un protocole réseau visant à synchroniser les horloges de plusieurs systèmes informatiques sur un même réseau informatique. Sommaire 1 Histoire 2 Principe 2.1 Transaction en TCP …   Wikipédia en Français

  • Time Protocol — Fonction Synchronisation des horloges Sigle TP Port 37 RFC …   Wikipédia en Français

  • Network Time Protocol — The Network Time Protocol (NTP) is a protocol and software implementation for synchronizing the clocks of computer systems over packet switched, variable latency data networks. Originally designed by David L. Mills of the University of Delaware… …   Wikipedia

  • Precision Time Protocol — The Precision Time Protocol (PTP) is a time transfer protocol defined in the IEEE 1588 2002 standard that allows precise synchronization of networks (e.g., Ethernet). Accuracy within the nanosecond range can be achieved with this protocol when… …   Wikipedia

  • Network time protocol — Le Protocole d Heure Réseau (Network Time Protocol ou NTP) est un protocole qui permet de synchroniser, via un réseau informatique, l horloge locale d ordinateurs sur une référence d heure. NTP est un protocole assez ancien. La première version… …   Wikipédia en Français

  • Simple network time protocol — Network Time Protocol Le Protocole d Heure Réseau (Network Time Protocol ou NTP) est un protocole qui permet de synchroniser, via un réseau informatique, l horloge locale d ordinateurs sur une référence d heure. NTP est un protocole assez ancien …   Wikipédia en Français

  • Network Time Protocol — Le Protocole d Heure Réseau (Network Time Protocol ou NTP) est un protocole qui permet de synchroniser, via un réseau informatique, l horloge locale d ordinateurs sur une référence d heure. NTP est un protocole assez ancien. La première version… …   Wikipédia en Français

  • Precision Time Protocol — PTP (Precision Time Protocol) Familie: Internetprotokollfamilie Einsatzgebiet: Synchronisierung von Uhren in Computersystemen Ports: PTP im TCP/IP‑Protokollstapel: Anwendung PTP Transport …   Deutsch Wikipedia

  • Network Time Protocol — NTP (Network Time Protocol) Familie: Internetprotokollfamilie Einsatzgebiet: Synchronisierung von Uhren in Computersystemen Ports: 123/UDP NTP im TCP/IP‑Protokollstapel: Anwendung NTP Transport …   Deutsch Wikipedia

  • Precision Time Protocol — (PTP) est un protocole de synchronisation d horloge normalisé IEEE 1588 en 2001 et en juin 2008 pour la version 2. En 2005 il a été standardisé IEC 61588. Il est également appelé horloges distribuées ou Distributed Clocks (DCs) Ce protocole est… …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”