Jump to content

chrony

This is a fully translated article. Click here for more information.
From DawoumWiki, the free Mathematics self-learning

chrony
Original author(s)Richard Curnow[1]
Developer(s)Miroslav Lichvar, Red Hat[1]
Stable release
4.7 / 11 June 2025; 7 months ago (2025-06-11)
Repositorygitlab.com/chrony/chrony.git
Written inC
Operating systemUnix-like
TypeTime synchronization
LicenseGNU GPL v2
Websitechrony-project.org

chrony는 는 Network Time Protocol (NTP)의 구현입니다. 그것은 NTP의 참조 구현ntpd의 대안입니다. 그것은 유닉스-계열 운영 시스템 (LinuxmacOS 포함)에서 실행되고 GNU GPL v2에 따라 출시됩니다.[2] 그것은 Red Hat Enterprise Linux 8와 SUSE Linux Enterprise Server 15에서 기본 NTP 클라이언트와 서버이고,[3][4]  많은 리눅스 배포판에서 사용할 수 있습니다.[5][6][7]

Network Time Security (NTS)에 대한 지원이 버전 4.0에 추가되었습니다.[8]

Installation

데비안 저장소에서 설치할 수 있습니다:

  • sudo apt install chrony

현재 실행중인 systemd-timesyncd를 제거하고, 서비스를 시작하고, 활성화합니다.

Comparison with the reference implementation

ntpd의 보안-초점 포크인 NTPsec과 달리, chrony는 바닥부터 다시 구현되었습니다.[1] 그것은 간헐적인 네트워크 연결 (예를 들어, 랩탑) 및 혼잡한 네트워크와 같은 어려운 조건에서도 시간을 동기화하도록 설계되었습니다.[1]  이와 관련하여 (참조 ntpd와 비교하여) 일부 개선 사항에는 시작 외부에서 시간을 단계 (갑작스럽게 조정)하지 않고, 비대칭 네트워크 지터를 수정할 수 있고, 리눅스에서 깨진 시간을 처리하기 위해 더 큰 시간 율 조정을 사용할 수 있다는 점이 포함됩니다. 그것은 전형적으로 더 빠르고 정확하게 동기화됩니다.[9]

ntpd와 달리, 그것은 하드웨어 타임스탬핑 (즉, 네트워크 어댑터의 패킷 시간)을 통해 시스템 시계 동기화를 지원하여, Precision Time Protocol와 비교할 수 있는 – (비대칭으로부터) 70 나노초의 정도로[10]LAN에 있는 기계 사이의 시간 동기화 정확도를 향상시킵니다.[2] 그것은 역시 수동 입력에 의한 동기화를 지원하여 격리된 네트워크 내에서 시간 수정을 수행합니다.[2]

Chrony는 브로드캐스트, 멀티캐스트 및 애니캐스트 작동 모드를 구현하지 않습니다. 그것은 역시 안전하지 않은 "autokey" 인증을 구현하지 않습니다.[2] 그것은, ntpd와 달리, 많은 내장 드라이버가 있는 하드웨어 시간 소스 (예를 들어, GNSS에 대한 gpsd)를 구동하기 위해 외부 프로그램을 사용합니다.[9]

See also

References

  1. ^ a b c d 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. ^ a b c d "Comparison of NTP implementations". Chrony project. Retrieved 2019-10-08.
  3. ^ "Migrating to chrony". Red Hat, Inc. Archived from the original on 2019-07-16. Retrieved 2019-10-08.
  4. ^ "Time Synchronization with NTP". SUSE. Retrieved 2019-10-08.
  5. ^ "chrony". Debian. Retrieved 2019-10-08.
  6. ^ "chrony". Fedora Packages. Archived from the original on 2019-10-08. Retrieved 2019-10-08.
  7. ^ "net-misc/chrony". Gentoo Packages. Retrieved 2019-10-08.
  8. ^ "chrony/chrony.git - Official Git repository for the Chrony project". git.tuxfamily.org. Retrieved 2021-07-31.
  9. ^ a b "Chapter 18. Configuring NTP Using the chrony Suite Red Hat Enterprise Linux 7". Red Hat Customer Portal.
  10. ^ "chrony – Configuration examples and accuracy". chrony-project.org.