Chrony Explained

chrony
Author:Richard Curnow[1]
Developer:Miroslav Lichvar, Red Hat
Programming Language:C
Operating System:Unix-like
Genre:Time synchronization
License:GNU GPL v2

chrony is an implementation of the Network Time Protocol (NTP). It is an alternative to ntpd, a reference implementation of NTP. It runs on Unix-like operating systems (including Linux and macOS) and is released under the GNU GPL v2.[2] It is the default NTP client and server in Red Hat Enterprise Linux 8 and SUSE Linux Enterprise Server 15,[3] [4] and available in many Linux distributions.[5] [6] [7]

Support for Network Time Security (NTS) was added in version 4.0.[8]

Comparison with the reference implementation

In contrast to NTPsec, which is a security-focused fork of, chrony was implemented from scratch. It was designed to synchronize time even in difficult conditions such as intermittent network connections (such as laptops) and congested networks. Some improvements in this regard (compared to reference ntpd) include that it never steps (abruptly adjusts) time outside of startup, can correct for asymmetric network jitters, and can use larger clock rate adjustments on Linux to deal with a broken clock. It typically synchronizes faster and more accurately.

Unlike, it supports synchronizing the system clock via hardware timestamping (i.e. packet times on the network adapter), improving accuracy of time synchronization between machines on a LAN  - to the order of 70 nanoseconds (from asymmetry),[9] comparable to Precision Time Protocol. It also supports synchronization by manual input, so as to perform time correction within an isolated network.

does not implement broadcast, multicast, and anycast modes of operation. It also does not implement the insecure "autokey" authentication. It uses external programs to drive hardware time sources (e.g. for GNSS), unlike, which has many built-in drivers.[10]

See also

Notes and References

  1. Web site: CII Audit Identifies Most Secure NTP Implementation. Linux Foundation. Linux Foundation. 2017-09-28. 2019-10-08. https://web.archive.org/web/20180203195701/https://www.linuxfoundation.org/blog/cii-audit-identifies-secure-ntp-implementation/. 2018-02-03.
  2. Web site: Comparison of NTP implementations. Chrony project. 2019-10-08.
  3. Web site: Migrating to chrony. Red Hat, Inc.. 2019-10-08. 2019-07-16. https://web.archive.org/web/20190716221322/https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_basic_system_settings/using-chrony-to-configure-ntp#migrating-to-chrony_using-chrony-to-configure-ntp. dead.
  4. Web site: Time Synchronization with NTP. SUSE. 2019-10-08.
  5. Web site: chrony. Debian. 2019-10-08.
  6. Web site: chrony. Fedora Packages. 2019-10-08. 2019-10-08. https://web.archive.org/web/20191008070642/https://apps.fedoraproject.org/packages/chrony. dead.
  7. Web site: net-misc/chrony. Gentoo Packages. 2019-10-08.
  8. Web site: chrony/chrony.git - Official Git repository for the Chrony project.. 2021-07-31. git.tuxfamily.org.
  9. Web site: chrony – Configuration examples and accuracy . chrony-project.org.
  10. Web site: Chapter 18. Configuring NTP Using the chrony Suite Red Hat Enterprise Linux 7 . Red Hat Customer Portal . en.