/ntp

Facebook's NTP libraries

Primary LanguageGoApache License 2.0Apache-2.0

NTP CircleCI GoDoc

Collection of Facebook's NTP libraries.

Protocol

  • NTP protocol implementation
  • Chrony and ntpd control protocol implementations

Leaphash

Utility package for computing the hash value of the official leap-second.list document

leapsectz

Utility package for obtaining leap second information from the system timezone database

ntpcheck

CLI and library to perform various NTP-related tasks, including:

  • replacement for ntptime and ntpdate commands
  • human-readable diagnostics for typical problems with NTP based on data from chrony/ntpd
  • server stats and peer stats taken from chrony/ntpd with output in JSON

Quick Installation

go get github.com/facebookincubator/ntp/ntpcheck

Responder

Simple NTP server implementation with kernel timestamps support

Quick Installation

go get github.com/facebookincubator/ntp/responder

License

ntp is licensed under Apache 2.0 as found in the LICENSE file.