ntp

module
v0.0.0-...-49e71f9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2021 License: Apache-2.0

README

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.

Directories

Path Synopsis
Package leaphash is a utility package for computing the hash value of the official leap-second.list document
Package leaphash is a utility package for computing the hash value of the official leap-second.list document
CLI to perform various NTP-related tasks
CLI to perform various NTP-related tasks
checker
Package checker provides an easy way to talk to NTPD/Chronyd and get NTPCheckResult, which abstracts away Chrony/NTP control protocol implementation details and contains tons of information useful for NTP monitoring, like NTP server variables including offset, peers and their variables and statuses.
Package checker provides an easy way to talk to NTPD/Chronyd and get NTPCheckResult, which abstracts away Chrony/NTP control protocol implementation details and contains tons of information useful for NTP monitoring, like NTP server variables including offset, peers and their variables and statuses.
cmd
protocol
chrony
Package chrony implements Chrony (https://chrony.tuxfamily.org) network protocol v6 used for monitoring of the timeserver.
Package chrony implements Chrony (https://chrony.tuxfamily.org) network protocol v6 used for monitoring of the timeserver.
control
Package control implements NTP Control Protocol (RFC1305, Appendix B).
Package control implements NTP Control Protocol (RFC1305, Appendix B).
ntp
Package ntp implementns ntp packet and basic functions to work with.
Package ntp implementns ntp packet and basic functions to work with.
announce
Package announce implements announcement of server IPs.
Package announce implements announcement of server IPs.
checker
Package checker implements checking mechanism of server aliveness.
Package checker implements checking mechanism of server aliveness.
server
Package server implements simple UDP server to work with NTP packets.
Package server implements simple UDP server to work with NTP packets.
stats
Package stats implements statistics collection and reporting.
Package stats implements statistics collection and reporting.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL