Chrony

Last updated
chrony
Original author(s) Richard Curnow [1]
Developer(s) Miroslav Lichvar, Red Hat [1]
Stable release
4.5 [2] [3]   OOjs UI icon edit-ltr-progressive.svg / 5 December 2023;12 months ago (5 December 2023)
Repository
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. [4] It is the default NTP client and server in Red Hat Enterprise Linux 8 and SUSE Linux Enterprise Server 15, [5] [6] and available in many Linux distributions. [7] [8] [9]

Contents

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

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. [11]

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

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

See also

Related Research Articles

<span class="mw-page-title-main">Linux distribution</span> Operating system based on the Linux kernel

A Linux distribution is an operating system that includes the Linux kernel for its kernel functionality. Although the name does not imply product distribution per se, a distro, if distributed on its own, is often obtained via a website intended specifically for the purpose. Distros have been designed for a wide variety of systems ranging from personal computers to servers and from embedded devices to supercomputers.

<span class="mw-page-title-main">YaST</span> Installation and configuration tool for openSUSE and SUSE Linux

YaST is a Linux operating system setup and configuration tool.

<span class="mw-page-title-main">GNOME Evolution</span> Personal information manager software and workgroup information management tool for GNOME

GNOME Evolution is the official personal information manager for GNOME. It has been an official part of GNOME since Evolution 2.0 was included with the GNOME 2.8 release in September 2004. It combines e-mail, address book, calendar, task list and note-taking features. Its user interface and functionality is similar to Microsoft Outlook. Evolution is free software licensed under the terms of the GNU Lesser General Public License (LGPL).

<span class="mw-page-title-main">Network Time Protocol</span> Standard protocol for synchronizing time across devices

The Network Time Protocol (NTP) is a networking protocol for clock synchronization between computer systems over packet-switched, variable-latency data networks. In operation since before 1985, NTP is one of the oldest Internet protocols in current use. NTP was designed by David L. Mills of the University of Delaware.

phpLDAPadmin is a web app for administering Lightweight Directory Access Protocol (LDAP) servers. It's written in the PHP programming language, and is licensed under the GNU General Public License. The application is available in 14 languages and supports UTF-8 encoded directory strings.

Clock synchronization is a topic in computer science and engineering that aims to coordinate otherwise independent clocks. Even when initially set accurately, real clocks will differ after some amount of time due to clock drift, caused by clocks counting time at slightly different rates. There are several problems that occur as a result of clock rate differences and several solutions, some being more acceptable than others in certain contexts.

<span class="mw-page-title-main">OpenNTPD</span> Implementation of the Network Time Protocol

OpenNTPD is a Unix daemon implementing the Network Time Protocol to synchronize the local clock of a computer system with remote NTP servers. It is also able to act as an NTP server to NTP-compatible clients.

PowerLinux is the combination of a Linux-based operating system (OS) running on PowerPC- or Power ISA-based computers from IBM. It is often used in reference along with Linux on Power, and is also the name of several Linux-only IBM Power Systems.

CPython is the reference implementation of the Python programming language. Written in C and Python, CPython is the default and most widely used implementation of the Python language.

The Network Time Protocol daemon (ntpd) is an operating system program that maintains the system time in synchronization with time servers using the Network Time Protocol (NTP).

<span class="mw-page-title-main">NetworkManager</span> Software

NetworkManager is a daemon that sits on top of libudev and other Linux kernel interfaces and provides a high-level interface for the configuration of the network interfaces.

<span class="mw-page-title-main">SUSE Linux Enterprise</span> Linux distribution

SUSE Linux Enterprise (SLE) is a Linux-based operating system developed by SUSE. It is available in two editions, suffixed with Server (SLES) for servers and mainframes, and Desktop (SLED) for workstations and desktop computers.

ntpdate is a computer program used to quickly synchronize and set computers' date and time by querying a Network Time Protocol (NTP) server. It is available for a wide variety of unix-like operating systems.

Spacewalk is open-source systems management software for system provisioning, patching and configuration licensed under the GNU GPLv2.

<span class="mw-page-title-main">KVIrc</span> IRC Client

KVIrc is a graphical IRC client for Linux, Unix, Mac OS and Windows. The name is an acronym of K Visual IRC in which the K stands for a dependency to KDE, which became optional from version 2.0.0. The software is based on the Qt framework and its code is released under a modified GNU General Public License.

Linux on IBM Z or Linux on zSystems is the collective term for the Linux operating system compiled to run on IBM mainframes, especially IBM Z / IBM zSystems and IBM LinuxONE servers. Similar terms which imply the same meaning are Linux/390, Linux/390x, etc. The three Linux distributions certified for usage on the IBM Z hardware platform are Red Hat Enterprise Linux, SUSE Linux Enterprise Server, and Ubuntu.

<span class="mw-page-title-main">Open vSwitch</span> Virtual network switch

Open vSwitch (OVS) is an open-source implementation of a distributed virtual multilayer switch. The main purpose of Open vSwitch is to provide a switching stack for hardware virtualization environments, while supporting multiple protocols and standards used in computer networks.

The OpenPOWER Foundation is a collaboration around Power ISA-based products initiated by IBM and announced as the "OpenPOWER Consortium" on August 6, 2013. IBM's focus is to open up technology surrounding their Power Architecture offerings, such as processor specifications, firmware, and software with a liberal license, and will be using a collaborative development model with their partners.

<span class="mw-page-title-main">Windows Subsystem for Linux</span> Feature for a Linux environment in Windows

Windows Subsystem for Linux (WSL) is a feature of Microsoft Windows that allows for using a Linux environment without the need for a separate virtual machine or dual booting. WSL is installed by default in Windows 11. In Windows 10, it can be installed either by joining the Windows Insider program or manually via Microsoft Store or Winget.

References

  1. 1 2 3 4 Linux Foundation (2017-09-28). "CII Audit Identifies Most Secure NTP Implementation". Linux Foundation. Archived from the original on 2018-02-03. Retrieved 2019-10-08.
  2. "chrony – News".
  3. "4.5 · Tags · chrony / chrony · GitLab".
  4. 1 2 3 4 "Comparison of NTP implementations". Chrony project. Retrieved 2019-10-08.
  5. "Migrating to chrony". Red Hat, Inc. Archived from the original on 2019-07-16. Retrieved 2019-10-08.
  6. "Time Synchronization with NTP". SUSE. Retrieved 2019-10-08.
  7. "chrony". Debian. Retrieved 2019-10-08.
  8. "chrony". Fedora Packages. Archived from the original on 2019-10-08. Retrieved 2019-10-08.
  9. "net-misc/chrony". Gentoo Packages. Retrieved 2019-10-08.
  10. "chrony/chrony.git - Official Git repository for the Chrony project". git.tuxfamily.org. Retrieved 2021-07-31.
  11. 1 2 "Chapter 18. Configuring NTP Using the chrony Suite Red Hat Enterprise Linux 7". Red Hat Customer Portal.
  12. "chrony – Configuration examples and accuracy". chrony-project.org.