Chrony

Short description: Network Time Protocol implementation

chrony

Screenshot of chronyc

Original author(s)| Richard Curnow[1]
Developer(s)| Miroslav Lichvar, Red Hat[1]
Stable release|

4.5 / December 5, 2023; 2 years ago (2023-12-05)[2]

Written in| C
Operating system| Unix-like
Type| Time synchronization
License| GNU GPL v2
Website| chrony-project.org

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.[3] It is the default NTP client and server in Red Hat Enterprise Linux 8 and SUSE Linux Enterprise Server 15,[4][5] and available in many Linux distributions.[6][7][8]

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

## Contents

* 1 Comparison with the reference implementation
* 2 See also
* 3 References
* 4 External links

## Comparison with the reference implementation

In contrast to NTPsec, which is a security-focused fork of ntpd, chrony was implemented from scratch.[1] It was designed to synchronize time even in difficult conditions such as intermittent network connections (such as laptops) and congested networks.[1] 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.[10]

Unlike ntpd, 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[3] - to the order of 70 nanoseconds (from asymmetry),[11] comparable to Precision Time Protocol. It also supports synchronization by manual input, so as to perform time correction within an isolated network.[3]

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

## See also

* OpenNTPD

## References

1. ↑ 1.0 1.1 1.2 1.3 Linux Foundation (2017-09-28). "CII Audit Identifies Most Secure NTP Implementation". Linux Foundation. Archived from the original on 2018-02-03. https://web.archive.org/web/20180203195701/https://www.linuxfoundation.org/blog/cii-audit-identifies-secure-ntp-implementation/. Retrieved 2019-10-08.
2. ↑ "News". Chrony project. https://chrony-project.org/news.html. Retrieved 2023-12-14.
3. ↑ 3.0 3.1 3.2 3.3 "Comparison of NTP implementations". Chrony project. https://chrony-project.org/comparison.html. Retrieved 2019-10-08.
4. ↑ "Migrating to chrony". Red Hat, Inc.. 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. Retrieved 2019-10-08.
5. ↑ "Time Synchronization with NTP". SUSE. https://documentation.suse.com/sles/15-SP1/html/SLES-all/cha-ntp.html. Retrieved 2019-10-08.
6. ↑ "chrony". Debian. https://packages.debian.org/stable/chrony. Retrieved 2019-10-08.
7. ↑ "chrony". Fedora Packages. https://apps.fedoraproject.org/packages/chrony. Retrieved 2019-10-08.
8. ↑ "net-misc/chrony". Gentoo Packages. https://packages.gentoo.org/packages/net-misc/chrony. Retrieved 2019-10-08.
9. ↑ "chrony/chrony.git - Official Git repository for the Chrony project.". https://git.tuxfamily.org/chrony/chrony.git/tree/NEWS?id=4.0#n6.
10. ↑ 10.0 10.1 "Chapter 18. Configuring NTP Using the chrony Suite Red Hat Enterprise Linux 7" (in en). https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/ch-configuring_ntp_using_the_chrony_suite.
11. ↑ "chrony – Configuration examples and accuracy". https://chrony-project.org/examples.html#_client_using_local_server_and_hardware_timestamping.

## External links

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Chrony. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Chrony&oldid=452404"