Releases: troglobit/sntpd
Releases · troglobit/sntpd
sntpd v3.1
Changes
- Slightly improved log messages when failing to resolve DNS names
- Update co-author's last name, changed from Nilsson to Wiberg 2021
Fixes
- Call
res_init()
when retrying resolving DNS names, this fixes long
hangs insetup_socket()
which sntpd seemingly never recover from.
This in turn caused it to not respond toSIGTERM
properly, while in
this state (init) - When either of
bind()
orconnect()
fail insetup_socket()
,
return back to mainloop()
to handle retries, and catch signals
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
ntpclient v2018_244
Changes
- Add HOWTO.md to distribution and install into docs
Fixes
- Issue #3: Open network socket using the address family returned by the hostname, or address, lookup. Fix by Laura Fang
ntpclient v2018_176
The Stuttgart release. Curated by Joachim Nilsson.
Changes
- NTP server argument is now optional, default:
pool.ntp.org
- Restore
.tar.gz
archives formake dist
and release - Make
.deb
file part of release - Cleanup and simplify
README
- Renamed
doc/
todocs/
- Moved
TODO
andCONTRIBUTING.md
todocs/
Fixes
- Issue #2: Missing fallback to IPv4 on systems with IPv6 disabled
ntpclient v2017.246
Curated by Joachim Nilsson.
Changes
- Log successful resolve of NTP host when network has been down
- Add support for building
.deb
package
Fixes
- Fix build warnings
- Define
_DEFAULT_SOURCE
, needed with newer GLIBC - Do not overload
in6addr_any
, exists innetinet/in.h
ntpclient v2017.217
Changes
- Add support for IPv6, thanks to Dieter Ries
- Behavior change:
-L
now required with-n
, otherwisestdout
is used. This to conform with de facto UNIX daemon behavior. - Convert to GNU Configure & Build System, with proper
--enable-opts
for all optional features, like precision and mini NTP client - Relocate files to
doc/
andsrc/
subdirectories - Reindent to Linux kernel coding style and add CONTRIBIBUTING.md to help newcomers with basic project info
- Cleanup README and HOWTO, move to Markdown format for comfortable presentation on GitHub
- Update and refactor
ntpclient.8
andadjtimex.1
into mdoc format - Move change log from README to separate CHANGELOG file in a format proposed by http://keepachangelog.com/
- Merge in changes from 2015_365 by Larry
- Add missing
COPYING
file, GNU license should be included - Add systemd unit file for running
ntpclient
as a daemon - Add initial Debian packaging to be able to create
.deb
files
Fixes
- Massive cleanup and build fixes to to
mini-ntpclient.c
from DD-WRT - Fix compiler warnings for unused variables when
ENABLE_DEBUG
is unset - Fix build error when building without
ENABLE_SYSLOG
support - Fixes for non-GNU libc systems, replace
%m
and__progname
- Retry DNS lookup of NTP server, useful at boot and if net goes down
- Restart/reopen network socket at least once a day to prevent lockup