sntpd v3.0
First release as sntpd, with support for both acting as a (very limited) server and a client. It is a "multicall" binary where it can be called as ntpclient
to simulate the behavior of the original ntpclient.
Packages for Debian 10, and compatible Ubuntu releases, available at https://deb.troglobit.com/
Changes
- Initial support for a very limited server mode, enabled by default on port 123. The server reports itself as strata 1 and LOCL clock. The root delay and root dispersion calculation is rough at best. Much of the server calculation is inspired by the BusyBox ntpd, please use that one instead
- Changes to Debian packaging,
adjtimex
is now in its own.deb
- New, stripped down, command line options when called as
sntpd
- Updates to man page, new name and separate command line options
- Drop OpenWRT
mini-ntpclient.c
from project, with configure option - Drop
--disable-syslog
configure option - Drop support for really old systems, no more
gettimeofday()
Fixes
- Fix #4: Rename project from ntpclient to sntpd to avoid confusion with the original ntpclient. This change also restores original command line options, and semantics, when called with the name
ntpclient
- Fix man page spelling errors, found by lintian
- Add workaround for missing
SIGGSTAMP
on Linux 5.1 and later - Fix issues found by Coverity Scan:
- check return value of
send()
- handle uninitialized socket
- check return value of