Network Time Protocol
From Gentoo Wiki
Jump to:navigation
Jump to:search
Resources
Not to be confused with the ntp package.
The Network Time Protocol (NTP) is used to synchronize the system time with other devices over the network. This happens in a client-server model.
Implementations
Following implementations of the Network Time Protocol are currently available:
| Name | Package | Description |
|---|---|---|
| chrony | net-misc/chrony | Versatile implementation of the Network Time Protocol. |
| clockspeed | net-misc/clockspeed | Simple Network Time Protocol (NTP) client. |
| ntp | net-misc/ntp | Suite of tools utilizing Network Time Protocol. |
| ntpsec | net-misc/ntpsec | NTP reference implementation, refactored. |
| openntpd | net-misc/openntpd | Lightweight NTP server ported from OpenBSD. |
| sntpd | net-misc/sntpd | NTP (RFC-1305 and RFC-4330) client and server for unix(like) systems. |
Sync system clock on boot
It is important for most systems to keep accurate time, so it is usual to set up an NTP time synchronization solution to adjust system time on boot. This can be essential for some systems that do not have an RTC.
The handbook gives an example of an easy way to setup time synchronization.
See also
- Pi4 Stratum 1 Time Server — setting up a Raspberry Pi 4/5 as a Stratum 1 Time Server
- System time
External resources
- RFC 5905 - Network Time Protocol Version 4: Protocol and Algorithms Specification
- RFC 5907 - Definitions of Managed Objects for Network Time Protocol Version 4 (NTPv4)
- RFC 5908 - Network Time Protocol (NTP) Server Option for DHCPv6
- RFC 7164 - RTP and Leap Seconds
- RFC 7822 - Network Time Protocol Version 4 (NTPv4) Extension Fields
- RFC 8573 - Message Authentication Code for the Network Time Protocol
- RFC 9109 - Network Time Protocol Version 4: Port Randomization