4.2.8-series Changelog
Last update: May 25, 2024 12:49 UTC (0eb8a6f62)
Release versions:
4.2.8p18
Release Date: 2024 May 25
4.2.8p17
Release Date: 2023 Jun 06
4.2.8p16
Release Date: 2023 May 30
- Sec 3808: Assertion failure in
ntpq
on malformed RT-11 date. perlinger@
- Sec 3807:
praecis_parse()
in ntpd/refclock_palisade.c
can write out-of-bounds . Reported by stenn@
- Sec 3806:
libntp/mstolfp.c
needs bounds checking. perlinger@
- solved numerically instead of using string manipulation
- Sec 3767: An out-of-bounds KoD RATE
ppoll
value triggers an assertion abort in debug-enabled ntpd
. stenn@
- Bug 3817: Bounds-check
tos floor
configuration. hart@
- Bug 3814: First poll delay of new or cleared associations miscalculated. hart@
- Bug 3802:
ntp-keygen -I
default identity modulus bits too small for OpenSSL 3. Reported by rmsh1216@163.com hart@
- Bug 3801:
gpsdjson
refclock gps_open()
device name mishandled. hart@
- Bug 3800: libopts-42.1.17 does not compile with Microsoft C. hart@
- Bug 3799: Enable
libopts
noreturn compiler advice for MSC. hart@
- Bug 3797: Windows
getaddrinfo w/AI_ADDRCONFIG
fails for localhost when disconnected, breaking ntpq
and ntpdc
. hart@
- Bug 3795:
pollskewlist
documentation uses |
when it shouldn’t.
- Bug 3793: Wrong variable type passed to
record_raw_stats()
. hart@
- Bug 3786: Timer starvation on high-load Windows
ntpd
. hart@
- Bug 3784: high-load
ntpd
on Windows deaf after enough ICMP TTL exceeded. hart@
- Bug 3781: log “Unable to listen for broadcasts” for IPv4. hart@
- Bug 3774: mode 6 packets corrupted in
rawstats
file. hart@
- Bug 3758: Provide a
device
config statement for refclocks. perlinger@
- Bug 3757: Improve handling of Linux-PPS in NTPD. perlinger@
- Bug 3741: 4.2.8p15 can’t build with glibc 2.34. perlinger@
- Bug 3725: Make copyright of
clk_wharton.c
compatible with Debian. Philippe De Muyter
- Bug 3724:
ntp-keygen
with openSSL 1.1.1 fails on Windows. perlinger@
- openssl applink needed again for openSSL-1.1.1
- Bug 3719:
configure.ac
checks for closefrom()
and getdtablesize()
missing. Reported by Brian Utterback, broken in 2010 by hart@.
- Bug 3699: Problems handling drift file and restoring previous drifts. perlinger@
- command line options override config statements where applicable
- make initial frequency settings idempotent and reversible
- make sure kernel PLL gets a recovered drift componsation
- Bug 3695: Fix memory leak with
ntpq
on Windows Server 2019. perlinger@
- Bug 3694: NMEA refclock seems to unnecessarily require location in messages.
- misleading title; essentially a request to ignore the receiver status. Added a mode bit for this. perlinger@
- Bug 3693: Improvement of error handling key lengths. perlinger@
- original patch by Richard Schmidt, with mods & unit test fixes
- Bug 3692:
/dev/gpsN
requirement prevents KPPS. perlinger@
- implement/wrap
realpath()
to resolve symlinks in device names
- Bug 3691: Buffer Overflow reading GPSD output.
- original patch by matt
- increased max PDU size to 4k to avoid truncation
- Bug 3690: newline in ntp clock variable (
parse
). perlinger@
- Bug 3689: Extension for MD5, SHA-1 and other keys. perlinger@
ntpq
and ntpdc
now use the same password processing as ntpd
does in the key file, so having a binary secret >= 11 bytes is possible for all keys. (This is a different approach to the problem than suggested)
- Bug 3688: GCC 10 build errors in testsuite. perlinger@
- Bug 3687:
ntp_crypto_rand
RNG status not known. perlinger@
- Bug 3682: Fixes for warnings when compiled without OpenSSL. perlinger@
- original patch by Gerry Garvey
- Bug 3677: additional peer events not decoded in associations listing. perlinger@
- original patch by Gerry Garvey
- Bug 3676: compiler warnings (
CMAC
, interrupt_buf
, typo
, fallthrough
).
- applied patches by Gerry Garvey
- Bug 3675:
ntpq ccmds[]
stores pointer to non-persistent storage.
- Bug 3674:
ntpq
command execute only
using ~
prefix. perlinger@
- idea+patch by Gerry Garvey
- Bug 3672: fix biased selection in median cut. perlinger@
- Bug 3666: avoid unlimited receive buffer allocation. perlinger@
- follow-up: fix inverted sense in check, reset shortfall counter
- Bug 3660: Revert 4.2.8p15 change to manycast. hart@
- Bug 3640: document
discard monitor
and fix the code. hart@
- fixed bug identified by Edward McGuire perlinger@
- Bug 3626: (SNTP) UTC offset calculation needs
dst
flag. perlinger@
- applied patch by Gerry Garvey
- backport from -dev, plus some more work on warnings for unchecked results
- Bug 3428:
ntpd
spinning consuming CPU on Linux router with full table. Reported by Israel G. Lugo. hart@
- Bug 3103:
libopts zsave_warn
format string too few arguments. Bruce Korb
- Bug 2990: multicastclient incorrectly causes bind to broadcast address. Integrated patch from Brian Utterback. hart@
- Bug 2525: Turn on
automake subdir-objects
across the project. hart@
- Bug 2410:
syslog
an error message on panic exceeded. Brian Utterback
- Use correct rounding in
mstolfp()
. perlinger/hart
M_ADDF
should use u_int32
. hart@
- Only define
tv_fmt_libbuf()
if we will use it. stenn@
- Use
recv_buffer
instead of the longer recv_space.X_recv_buffer
. hart/stenn
- Make sure the value returned by
refid_str()
prints cleanly. stenn@
- If DEBUG is enabled, the startup banner now says that debug assertions are in force and that
ntpd
will abort if any are violated. stenn@
syslog
valid incoming KoDs. stenn@
- Rename a poorly-named variable. stenn@
- Disable “embedded NUL in string” messages in
libopts
, when we can. stenn@
- Use https in the
AC_INIT URLs
in configure.ac
. stenn@
- Implement
NTP_FUNC_REALPATH
. stenn@
- Lose a
gmake
construct in ntpd/Makefile.am
. stenn@
- upgrade to: autogen-5.18.16
- upgrade to: libopts-42.1.17
- upgrade to: autoconf-2.71
- upgrade to: automake-1.16.15
- Upgrade to libevent-2.1.12-stable. stenn@
- Support OpenSSL-3.0
4.2.8p15
Release Date: 2020 Jun 23
4.2.8p14
Release Date: 2020 Mar 3
4.2.8p13
Release Date: 2019 Mar 7
4.2.8p12
Release Date: 2018 Aug 14
4.2.8p11
Release Date: 2018 Feb 27
- applied patch by Sean Haugh
- Bug 3452: PARSE driver prints uninitialized memory
- Bug 3450: Dubious error messages from plausibility checks in get_systime()
- removed error log caused by rounding/slew, ensured postcondition
- Bug 3447: AES-128-CMAC (fixes)
- refactoring the MAC code, too
- Bug 3441: Validate the assumption that AF_UNSPEC is 0
- Bug 3439: When running multiple commands / hosts in ntpq
- Bug 3438: Negative values and values > 999 days in
- applied patch by ggarvey (with minor mods)
- Bug 3437: ntpd tries to open socket with AF_UNSPEC domain
- applied patch (with mods) by Miroslav Lichvar
- Bug 3435: anchor NTP era alignment
- Bug 3433: sntp crashes when run with -a
- Bug 3430: ntpq dumps core (SIGSEGV) for “keytype md2”
- fixed several issues with hash algos in
ntpd, sntp, ntpq, ntpdc
and the test suites
- Bug 3424: Trimble Thunderbolt 1024 week millenium bug
- initial patch by Daniel Pouzzner
- Bug 3423: QNX adjtime() implementation error checking is wrong
- Bug 3417: ntpq ifstats packet counters can be negative
- made
IFSTATS
counter quantities unsigned
- Bug 3411: problem about SIGN(6) packet handling for ntp-4.2.8p10
- raised receive buffer size to 1200
- Bug 3408: refclock_jjy.c: Avoid a wrong report of the coverity static analysis tool
- Bug 3405: update-leap.in: general cleanup, HTTPS support
- Bug 3404: Fix openSSL DLL usage under Windows
- fix/drop assumptions on OpenSSL libs directory layout
- Bug 3399: NTP: linker error in 4.2.8p10 during Linux cross-compilation
- Bug 3398: tests fail with core dump
- patch contributed by Alexander Bluhm
- Bug 3397: ctl_putstr() asserts that data fits in its buffer
- rework of formatting & data transfer stuff in
ntp_control.c
- avoids unecessary buffers and size limitations.
- Bug 3394: Leap second deletion does not work on ntpd clients
- fixed handling of dynamic deletion w/o leap file
- Bug 3391: ntpd segfaults on startup due to small warmup thread stack size
- increased mimimum stack size to 32kB
- Bug 3367: Faulty LinuxPPS NMEA clock support in 4.2.8
- reverted handling of PPS kernel consumer to 4.2.6 behavior
- Bug 3365: Updates driver40(-ja).html and miscopt.html
- Bug 3358: Spurious KoD log messages in .INIT. phase
- Bug 3016: wrong error position reported for bad “:config pool”
- fixed location counter &
ntpq
output
- Bug 2900: libntp build order problem
- Bug 2878: Tests are cluttering up syslog
- Bug 2737: Wrong phone number listed for USNO
- Bug 2557: Fix Thunderbolt init
- Bug 948: Trustedkey config directive leaks memory
- Use
strlcpy()
to copy strings, not memcpy()
.
- Typos.
test_ntp_scanner_LDADD
needs ntpd/ntp_io.o
.
refclock_jjy.c
: Add missing %s
to an msyslog()
call.
- Build
ntpq
and libntpq.a
with NTP_HARD_*FLAGS
.
- Fix trivial warnings from
make check
.
- Fix bug in the override portion of the compiler hardening macro.
record_raw_stats()
: Log entire packet. Log writes.
- AES-128-CMAC support.
sntp
: tweak key file logging.
sntp: pkt_output()
: Improve debug output.
- update-leap: updates from Paul McMath.
- When using
pkg-config
, report --modversion
.
- Clean up
libevent
configure checks.
sntp
: show the IP of who sent us a crypto-NAK.
- Allow
.../N
to specify subnet bits for IPs in ntp.keys
.
authistrustedip()
- use it in more places.
- New
sysstats: sys_lamport, sys_tsrounding
.
- Update
ntp.keys .../N
documentation.
- Distribute
testconf.yml
.
- Add
DPRINTF(2,...)
lines to receive()
for packet drops.
- Rename the configuration flag
fifo
variables.
- Improve
saveconfig
output.
- Decode restrict flags on
receive()
debug output.
- Decode interface flags on
receive()
debug output.
- Warn the user if deprecated
driftfile name WanderThreshold
is used.
- Update the documentation in
ntp.conf.def
.
restrictions()
must return restrict
flags and ippeerlimit
.
- Update
ntpq peer
documentation to describe the p
type.
- Rename restrict
flags
to rflags
. Use an enum for the values.
- Provide
dump_restricts()
for debugging.
- Use consistent 4th arg type for
[gs]etsockopt
.
- Some tests might need
LIBM
.
- update-leap: Allow
-h/--help
early.
4.2.8p10
Release Date: 2017 Mar 21
4.2.8p9-win
Release Date: 2017 Feb 01
4.2.8p9
Release Date: 2016 Nov 21
4.2.8p8
Release Date: 2016 Jun 2
4.2.8p7
Release Date: 2016 Apr 26
4.2.8p6
Release Date: 2016 Jan 20
4.2.8p5
Release Date: 2016 Jan 7
4.2.8p4
Release Date: 2015 Oct 21
- Sec 1918: TALOS-CAN-0062: prevent directory traversal for VMS, too, when using
saveconfig
command
- Sec 2899: CVE-2014-9297
- Sec 2901: Drop invalid packet before checking KoD. Check for all KoDs
- Log incoming packets that fail TEST2.
- Sec 2902: configuration directives “pidfile” and “driftfile” should be local-only
- Sec 2909: added missing call to ‘free()’ in ntp_crypto.c
- Sec 2913: TALOS-CAN-0052: crash by loop counter underrun
- Sec 2916: TALOS-CAN-0054: memory corruption in password store
- Sec 2917: TALOS-CAN-0055: Infinite loop if extended logging enabled and the logfile and keyfile are the same
- Sec 2919: TALOS-CAN-0063: avoid buffer overrun in ntpq
- Sec 2920: TALOS-CAN-0064: signed/unsiged clash could lead to buffer overun and memory corruption
- Sec 2921: TALOS-CAN-0065: password length memory corruption
- Sec 2922: decodenetnum() will ASSERT botch instead of returning FAIL on some bogus values
- Sec 2941: NAK to the Future: Symmetric association authentication bypass via crypto-NAK
- Bug 2332: (reopened) Exercise thread cancellation once before dropping privileges and limiting resources in NTPD removes the need to link forcefully against
libgcc_s
which does not always work
- Bug 2595: ntpdate man page quirks
- Bug 2625: Deprecate flag1 in local refclock
- Bug 2817: Stop locking ntpd into memory by default under Linux
- Bug 2821: minor build issues: fixed refclock_gpsdjson.c
- Bug 2823: ntpsweep with recursive peers option doesn’t work
- Bug 2849: Systems with more than one default route may never synchronize
- Note that this patch might need to be reverted once Bug 2043 has been fixed
- Bug 2864: 4.2.8p3 fails to compile on Windows
- Bug 2866: segmentation fault at initgroups()
- Bug 2867: ntpd with autokey active crashed by
ntpq -crv
- Bug 2873: libevent should not include .deps/ in the tarball
- Bug 2874: Don’t distribute generated sntp/tests/fileHandlingTest.h
- Bug 2875: sntp/Makefile.am: Get rid of DIST_SUBDIRS. libevent must be configured for the distribution targets
- Bug 2883: ntpd crashes on exit with empty driftfile
- Bug 2886: Mis-spelling: “outlyer” should be “outlier”
- Bug 2888: streamline calendar functions
- Bug 2889: ntp-dev-4.3.67 does not build on Windows
- Bug 2890: Ignore ENOBUFS on routing netlink socket
- Bug 2906: make check needs better support for pthreads
- Bug 2907: dist* build targets require our libevent/ to be enabled
- Bug 2912: no munlockall() under Windows
libntp/emalloc.c
: Remove explicit include of stdint.h
- Put Unity
CPPFLAGS
items in unity_config.h
tests/ntpd/g_leapsec.cpp
typo fix.
- Phase 1 deprecation of google test in
sntp/tests/
.
- On some versions of HP-UX,
inttypes.h
does not include stdint.h
.
top_srcdir
can change based on ntp
v. sntp
.
sntp/tests/
function parameter list cleanup.
tests/libntp/
function parameter list cleanup.
tests/ntpd/
function parameter list cleanup.
sntp/unity/unity_config.h
: handle stdint.h
.
sntp/unity/unity_internals.h
: handle *INTPTR_MAX
on old Solaris.
tests/libntp/timevalops.c
and timespecops.c
fixed error printing.
tests/libntp/
improvements in code and fixed error printing.
tests/libntp: a_md5encrypt.c, authkeys.c, buftvtots.c, calendar.c, caljulian.c, caltontp.c, clocktime.c, humandate.c, hextolfp.c, decodenetnum.c
- fixed formatting; first declaration, then code (C90); deleted unnecessary comments; changed from sprintf
to snprintf
; fixed order of includes.
tests/libntp/lfpfunc.c
remove unnecessary include, remove old comments, fix formatting, cleanup.
tests/libntp/lfptostr.c
remove unnecessary include, add consts, fix formatting.
tests/libntp/statestr.c
remove empty functions, remove unnecessary include, fix formatting.
tests/libntp/modetoa.c
fixed formatting.
tests/libntp/msyslog.c
fixed formatting.
tests/libntp/numtoa.c
deleted unnecessary empty functions, fixed formatting.
tests/libntp/numtohost.c
added const, fixed formatting.
tests/libntp/refnumtoa.c
fixed formatting.
tests/libntp/ssl_init.c
fixed formatting.
tests/libntp/tvtots.c
fixed a bug, fixed formatting.
tests/libntp/uglydate.c
removed an unnecessary include.
tests/libntp/vi64ops.c
removed an unnecessary comment, fixed formatting.
tests/libntp/ymd3yd.c
removed an empty function and an unnecessary include, fixed formatting.
tests/libntp/timespecops.c
fixed formatting, fixed the order of includes, removed unnecessary comments, cleanup.
tests/libntp/timevalops.c
fixed the order of includes, deleted unnecessary comments, cleanup.
tests/libntp/sockaddrtest.h
making it agree to NTP’s conventions of formatting.
tests/libntp/lfptest.h
cleanup.
tests/libntp/test-libntp.c
fix formatting.
sntp/tests/crypto.c
is now using proper Unity’s assertions, fixed formatting.
sntp/tests/kodDatabase.c
added consts, deleted empty function, fixed formatting.
sntp/tests/kodFile.c
cleanup, fixed formatting.
sntp/tests/packetHandling.c
is now using proper Unity’s assertions, fixed formatting, deleted unused variable.
sntp/tests/keyFile.c
is now using proper Unity’s assertions, fixed formatting.
sntp/tests/packetProcessing.c
changed from sprintf
to snprintf
, fixed formatting.
sntp/tests/utilities.c
is now using proper Unity’s assertions, changed the order of includes, fixed formatting, removed unnecessary comments.
sntp/tests/sntptest.h
fixed formatting.
sntp/tests/fileHandlingTest.h
.in fixed a possible buffer overflow problem, made one function do its job, deleted unnecessary prints, fixed formatting.
sntp/unity/Makefile.am
added a missing header.
sntp/unity/unity_config.h
: Distribute it.
sntp/libevent/evconfig-private.h
: remove generated file from SCM.
sntp/unity/Makefile.am
: fix some broken paths.
sntp/unity/unity.c
: Clean up a printf()
.
- Phase 1 deprecation of google test in
tests/libntp/
.
- Don’t build
sntp/libevent/sample/
.
tests/libntp/test_caltontp
needs -lpthread
.
br-flock
: --enable-local-libevent
.
- Wrote tests for
ntpd/ntp_prio_q.c
.
scripts/lib/NTP/Util.pm:
stratum output is version-dependent.
- Get rid of the
NTP_
prefix on our assertion macros.
- Code cleanup.
libntp/icom.c
: Typo fix.
util/ntptime.c
: initialization nit.
ntpd/ntp_peer.c:newpeer()
: added a DEBUG_REQUIRE(srcadr)
.
- Add
std_unity
_tests to various Makefile.am
files.
ntpd/ntp_restrict.c
: added a few assertions, created tests for this file.
- Changed
progname
to be const in many files - now it’s consistent.
- Typo fix for
GCC
warning suppression.
- Added
tests/ntpd/ntp_scanner.c
test.
- Added declarations to all Unity tests, and did minor fixes to them. Reduced the number of warnings by half.
- Updated
generate_test_runner.rb
and updated the sntp/unity/auto
directory with the latest Unity updates from Mark.
- Retire google test - phase I.
- Unity test cleanup: move declaration of
initializing
.
- Update the
NEWS
file.
- Autoconf cleanup.
- Unit test dist cleanup.
- Cleanup various test
Makefile.am
files.
- Pthread autoconf macro cleanup.
- Fix
progname
definition in unity runner scripts.
- Clean trailing whitespace in
tests/ntpd/Makefile.am
.
- Update the patch for bug 2817.
- More updates for bug 2817.
- Fix bugs in
tests/ntpd/ntp_prio_q.c
.
gcc
on older HPUX may need +allowdups
.
- Adding missing
MCAST
protection.
- Disable certain test programs on certain platforms.
- Implement
--enable-problem-tests
(on by default).
- build system tweaks.
4.2.8p3
Release Date: 2015 Jun 29
4.2.8p3-RC3
Release Date: 2015 Jun 27
- Bug 2855: Parser fix for conditional leap smear code
- Report leap smear in the REFID
- Bug 2856: ntpd should wait() on terminated child processes
- Bug 2857: Stratus VOS does not support SIGIO
- html/drivers/driver22.html: typo fix.
refidsmear
test cleanup.
refidsmear
function support and tests.
sntp/tests/Makefile.am
: remove g_nameresolution.cpp
as it tested something that was only in the 4.2.6 sntp
.
- Modified
tests/bug-2803/Makefile.am
so it builds Unity framework tests.
- Modified
tests/libtnp/Makefile.am
so it builds Unity framework tests.
- Modified
sntp/tests/Makefile.am
so it builds Unity framework tests.
tests/sandbox/smeartest.c
: Harlan Stenn, Damir Tomic, Juergen Perlinger.
- Converted from
gtest
to Unity: tests/bug-2803/
.
- Converted from
gtest
to Unity: tests/libntp/ a_md5encrypt, atoint.c, atouint.c, authkeys.c, buftvtots.c, calendar.c, caljulian.c, calyearstart.c, clocktime.c, hextoint.c, lfpfunc.c, modetoa.c, numtoa.c, numtohost.c, refnumtoa.c, ssl_init.c, statestr.c, timespecops.c, timevalops.c, uglydate.c, vi64ops.c, ymd2yd.c
.
- Converted from
gtest
to Unity: sntp/tests/ kodDatabase.c, kodFile.c, networking.c, keyFile.c, utilities.cpp, sntptest.h, fileHandlingTest.h
.
- Converted from
gtest
to Unity: sntp/tests/ caltontp.c, humandate.c, msyslog.c, prettydate.c, recvbuff.c, sfptostr.c, tstotv.c, tvtots.c, sntp/tests/packetProcessing.c
.
4.2.8p3-RC2
Release Date: 2015 Jun 24
4.2.8p3-RC1
Release Date: 2015 May 12
4.2.8p2
Release Date: 2015 Apr 07
4.2.8p2-RC2
Release Date: 2015 Apr 3
4.2.8p2-RC1
Release Date: 2015 Mar 30
4.2.8p1
Release Date: 2015 Feb 04
4.2.8p1-RC2
Release Date: 2015 Jan 29
4.2.8p1-RC1
Release Date: 2015 Jan 24
4.2.8p1-beta5
Release Date: 2015 Jan 7
4.2.8p1-beta4
Release Date: 2015 Jan 04
4.2.8p1-beta3
Release Date: 2015 Jan 2
4.2.8p1-beta2
Release Date: 2014 Dec 27
4.2.8p1-beta1
Release Date: 2014 Dec 23
4.2.8
Release Date: 2014 Dec 19
- CID 1189401: Use
INSIST()
instead of a belt-and-suspenders pointer check.
- CID 1165098: Remove logically dead code from
refclock_true.c
.
- CID 1042586: Check the return value of
clock_gettime()
in worker_sleep()
.
- CID 1009579: Check return status of
X509_add_ext()
.
- CID 984511: Some systems have different
printf
needs for sizeof
.
- CID 975596: Copy/paste error: vallen should be
siglen
.
- CID 971094: Clean up time of check/time of use in
check_leap_file()
.
- CID 739724: Fix
printf arg
mismatch in a debug line.
- CID 739723: Print
sizeof
as unsigned.
- CID 739722: Change the way the extention and MAC fields are processed.
- Clean up the definition of the
exten
field of struct
pkt.
- CID 739715: Clean up
sockaddr_dump()
.
- CID 739714: Fix code indentation level.
- CID 739713:
devmask/recmask
copy/paste error.
- CID 739711: Ignore return status of
remove()
in ntp-keygen.c
.
- CID 739710: Check return status of
mkdir()
in sntp/kod_management.c
.
- CID 739709: Check return status of
fcntl()
in refclock_datum.c
.
- CID 739708: Check return status of
fcntl()
in refclock_arc.c
.
- CID 739559: Double close.
- CID 739558: Double close.
- CID 739473,739532: Out-of-bounds access/illegal address computation.
- CID 711660: Do a non-NULL pointer assertion check a bit earlier.
- CID 709207: Initialize
quality
for ulink_receive
.
- CID 709185:
refclock_chu.c
will leak fd==0 (better fix)
- refclock_chu.c will leak fd==0 (which should be impossible).
- CID 709173: Make sure a
libisc
function we do not use is called properly.
- CID 709169: check return from
open("/dev/null", 0)
and friends.
- CID 97377:
ntp-keygen.c
’s followlink()
might not NUL-terminate.
- CID 97198: Check return from
ioctl()
calls in refclock_acts.c
.
- CID 97194: Check return from
setsockopt()
.
- CID 97193: check return from
sscanf()
in ntp_config.c
.
- CID 97123: Future-proof possible change to
refclock_nmea.c
.
- Bug 2691: Wrong variable name in
refclock_ripencc.c
- Bug 2687: RefClock 26/hpgps doesn’t work at default line speed
- Bug 2686:
refclock_gpsdjson
needs strtoll()
, which is not always present
- Bug 2685: Better document the KOD file for
sntp
- Bug 2641:
sntp
is installed in the wrong location in Solaris
- Bug 2678:
nmea_control()
now checks refclock_params()
result
- Bug 2314: Only enable PPS if kernel consumer binding succeeds
- Kernel PPS binding
EOPNOTSUPP
is a failure condition.
- Rename
pps_enable
to hardpps_enable
.
- Bug 2677:
PATH_MAX
isn’t #define
’d under Windows
- Regression from the patch fixing Bug 2639.
- Bug 2651: Certificates with ASN timestamps w/ 4-digit years mis-parsed
- Bug 2639: Check return value of
ntp_adjtime()
- Bug 2650:
includefile
processing broken
- Bug 2661:
ntpq
crashes with mreadvar
- Bug 2657: Document that
restrict nopeer
intereferes with pool
- Bug 2503: SHT utility outdated
- Bug 2654:
refclock_true.c
doesn’t identify the Mk III
- Bug 2536:
ntpd
sandboxing support (libseccomp2
) and cleanup
- Bug 2649: Clean up html/ page installation
- Fix
make install
leaves wrong owner for files in html/.
- Bug 2556:
mrulist
is missing from the generated ntpq
man page
- Bug 2652: Windows hates directory names that contain a
:
- Bug 2502: Autogen text replacement errors.
- Bug 2640:
STA_NANO
can result in invalid ntv.constant
- Bug 2538: NTP programs print exit code in help/usage text
- Bug 2595: Man page quirks:
ntpdate
references in ntpd
- Bug 2613: www.ntp.org/bugs.html tells folks to email doc bugs to DLM
- Bug 2636: Clutter in
syslog
if gpsd
not running
- found (hopefully) last cause for clutter in protocol version
- log GPSD revision and release numbers with protocol version
- Fix coverity warning from previous patch.
- make driver work with GPSD protocol version 3.9
- use exponential back-off for connection problems
- implement rate-limit for
syslog
entries
- Bug 2622: Synchronisation problem using SHM when time difference is more than four hours
- Add
control
function – fudge
values not available during start.
- Change SHM driver so TOY restricted API is not used any more. (Plus some minor cleanup in logic and flow control)
- Bug 1128:
ntp
truncates remote
host information
- Bug 2633: Provide
stdnoreturn.h
for windows port
- Bug 2565:
ntpd
sometimes logs unexpected getifaddrs()
errors
-* Handle EINTR
on getifaddrs()
.
- Bug 2628:
mon_getmoremem()
relies on undefined behaviour
- Bug 2597: leap file processing loose ends
- uniform expiration check messages for config and timer triggered leap file loads
- timer triggered loads log messages only once per day
- fixed coverity issues
- log daily warning when leap info less than 28 days to expiration or already expired; nag hourly on last day before expiration; log when leapfile name is invalid
- Bug 2547: Automate update of “Last Update” datestamps in .html files
- Distribute the scripts needed for the fix
- Bug 2623: Missing
{}
in refclock_oncore.c
- Bug 2621: Avoid use of indeterminate address after
free()
- (minor C standard conformance issue)
- Bug 2620: Use
version.pm
for checking version numbers in NTP::Util
- Bug 2624: Fix signed compare on
l_fp
- Bug 2614: use
unsigned long
consistently in ntp_random.c
to avoid possibly undefined behaviour in signed int overflow
- Bug 2619: Save a signed int copy of the return value of
i2d_DSA_SIG()
- Provide missing
msyslog()
message in crypto_alice()
.
- Bug 2594: Update the year in
sntp/include/copyright.def
- Bug 2589: Update VS2013 project files for
libntp
- fix VS2009 compile problem.
- Bug 2600: Fix “Undisicplined Local Clock” driver1.html page
- Bug 2570: cleanup: fix log format for successful leapfile load
- reduced logging noise, moved some functions into
libntp
.
-refuse to load leapsec
file with bad/missing SHA1 hash.
- change reading the hash line code: NIST omits leading zeros.
- Bug 2546: Windows build documentation updates
- Bug 2537:
ntpd
truncates symmetric keys to 20 bytes
- Bug 2311: Add more tags to
mdoc2xxx
- Bug 2577: Update VS2013 solution and project files
- Bug 2572: cross-compiling fails for
--with-yielding-select
- Bug 2170: Use
AC_PREPROC_IFELSE
instead of AC_EGREP_CPP
- Bug 2540: bootstrap script needs to
touch
files in finer-grained groups
- Bug 2576:
refclock_gpsdjson.c
doesn’t compile if CLOCK_GPSDJSON
is not enabled at configure
time
- Bug 2562: Distribute the code in
libjsmn/
GPSD_JSON
: fix solaris issues (asprintf(), isfinite()
)
- first release of the GPSD client clock (type 46)
- Bug 2113: Warn about ignored extra args in
ntpq
- Bug 2561: Allow wildcards in the target of the
interface
command
- Bug 2541:
ntpd
terminates itself with SIGHUP
unexpectedly
- Bug 898: More documentation fixes
- Bug 2555: Autogen
mdoc
man pages all stamped with SunOS 5.10
- Bug 492: Clearly document
ntpdate
’s pending deprecation
- Bug 1186:
ntpd
fails with link local IPv6 addresses
- Bug 2466: Wrap NMEA timestamps in 1024 week cycles
- Bug 2551:
--disable-local-libevent
breaks the build
- Bug 2539: doc and code tweaks for NMEA driver
- Bug 2332: Be more careful about when we use
libgcc_s
- Force reference to
libgcc_s
when using GCC, because threading+restricted user+locked memory otherwise fails on Linux.
- Bug 792: TrueTime TL-3 WWV refclock support
- Bug 930:
ntpdc
docs refer to clockinfo
, but mean clockstat
- Bug 1002:
ntp-keygen
option and documentation updates
-p/--pvt-passwd
is now -p/--password
, and -q/--get-pvt-passwd
is now -q/--export-passwd
.
- Bug 1349:
statistics
command not documented in HTML documentation
- In
html/monopt.html
, add statistics id, definition, description, and correct typo.
- In
html/scripts/monopt.txt
, add statistics item, href, and comment.
- In
ntpd/ntp.conf.def
, under statistics correct four to eight kinds.
- In
ntpd/complete.conf.in
, add all eight kinds to statistics.
- In
html/comdex.html
, remove duplicate footer.
- Bug 1734: Include man page for
ntp.conf
- Bug 2049: Clarify
ntpdate
’s -d
option behavior
- Bug 2366: ntpdc.html:
burst/iburst
only work on servers
- Bug 2493:
ntptrace
needs a man page
- Bug 2545: Cleanup of
scripts/monitoring/ntptrap
- Bug 2532: Note in
ntpdc
docs that enable pps
only works on older ntpd
- Bug 2530: Fix documentation for enable/disable mode7 and pps
- Bug 2060: Warn about restrictions with
kod
but not limited
- Bug 2187: Update version number generation scripts
- Bug 2519:
mktime.c
does not compile on 64-bit Solaris but we do not need timegm()
and the Solaris provides mktime()
- Bug 2522: Revert Bug 2513 fix - it breaks backward compatibility
- Bug 2521:
VPATH
tweaks for perl -opts
files
- bootstrap script needs a tweak for
perl -opts
files.
- Bug 2524: Add
ntpsweep
to sntp/loc/*
files
- Bug 2526: Add
noinst
support to the sntp/loc/
framework
- Bug 135: AIX5: “Address already in use” for IPv6 wildcard
- Bug 2513: Remove any PIDFILE in
finish()
- Bug 2516: Enable
clock_gettime()
support for AIX 5+
- Bug 2517: Fix peer status errors in decode.html
- Bug 2491: VS20xx compile fixes
- Bug 2326: More leapsecond file notification cleanup
- Improve stale leapsecond notifications.
- Check hourly for a new leapfile if the old one expired.
- Notice when a new leapfile has been installed.
- Bug 2506: make sure routing updates are always tracked
- Bug 2514:
secs/* #define
usage cleanup
- Bug 1050: Change ONCORE log message for leap second announcement to avoid misunderstandings
- Bug 2499: Win32 user-space/loopback ppsapi provider drops samples
- Bug 2256: Improve
configure
’s function searches in libraries
- Bug 2272: Use C99 integer types.
ntp_calendar.h
and ntp_types.h
- Bug 2375: Improve AIX compatibility
- AIX 7 doesn’t like a
libevent
validation check.
- Bug 2490: Fixed non-const initializer coming from Bug 2250 fix
- Bug 2250: Rework of leap second handling machine
- Bug 2419: (rc-nmea) Improve clockstats reporting when receiver sends data without valid GPS fix
- Bug 2482: Add and cleanup of droproot and jail support for Solaris
- Bug 2473: NTPD exits after clock is stepped backwards externally
- Avoid possible unsigned underrun for startup condition when testing for clock backstep.
- Bug 2481:
ntpd
aborts when both user and group are specified with -u
- Bug 1642:
ntpdsim
can’t find simnulate block in config file
- Bug 2472: (WinXP) Avoid self-termination of IO thread during
exit()
- Bug 2085: Fix root distance and root dispersion calculations
clock_update() sys_rootdisp
calculation omits root delay.
- Bug 2426: Possibly uninitialized data in
crypto_send()
- CID 975596
- Bug 2450:
--version
has bogus short option
- Bug 2454: Need way to set file descriptor limit
- Bug 2451:
rlimit
command is missing from the table of contents in miscopt.html
- Bug 2452: provide
io_handler/input_handler
only on non HAVE_IO_COMPLETION_PORT
platforms
- Bug 2453: Need a way to avoid calling
mlockall
- Bug 2458:
AM_CONFIG_HEADER
is obsolete
- Bug 2425: compile
io_handler()
in ntp_io.c
unconditionally
- move part of input handler code from
ntpd.c
to ntp_io.c
and fix select()
-only platforms calling input_handler directly.
- setup
SIGIO/SIGPOLL
for asyncio
on the read side of a socketpair for the worker thread.
- Bug 2448: Fix checks for
configure --with-stack-limit
and --with-memlock
values
- Bug 2446: Quiet warnings from Oracle’s Studio compiler
- Bug 2397: License/copyright cleanup
- Bug 2439: Fix check of
EscapeCommFunction()
in ports/winnt/libntp/termios.c
- Bug 2322: Oncore driver should send 0 PPS offset to GPS
- Bug 883: log warning arguments swapped in
refclock_gpsvme.c
- Bug 2413: Fix
make check
with automake >= 1.13
- Bug 2434: Line-buffer (v. block-buffer) stdout
- Bug 2368: make check troubles in
libevent
- Bug 2427:
configure
fails to detect recvmsg()
on Solaris
- Bug 1466: Oncore should set
FLAG_PPS
- Bug 2423: Log command-line args at
LOG_INFO
- Bug 2428:
do_unconf()
should reset items
before the 2nd loop
- Bug 2415:
RES_LIMITED
flags check should use &
, not &&
- Bug 2145:
ntpq
dumps core when displaying sys_var_list
and more
- Bug 1485: Sometimes
ntpd
crashes
- Bug 2382: Implement
LOGTOD
using ldexp()
instead of shifting
- Bug 1866: Disable some debugging output in
refclock_oncore
- Bug 2149: Log an error message if
/proc/net/if_inet6
cannot be opened
- Bug 2357:
sntp/libopts/usage.c
sometimes needs -lintl
- Bug 2364:
sed -i
is not portable
- Bug 2365:
make check
fails in libevent
- Bug 2359: Fix
send_via_ntp_signd()
prototype
- Bug 2328: Don’t apply small time adjustments on Windows versions which don’t support this
- Bug 2321: Fixed Windows build, but
autogen
update still required
- Bug 2327: Rename
sntp/ag-tpl/:Old
to sntp/ag-tpl/Old
- Bug 2325: Re-enable
mlockall()
check under Linux post-1223 fix
- Bug 1223: reorganize inclusion of
sys/resource.h
- Final cleanup for
rlimit
changes.
- Allow configurable values for
RLIMIT_STACK
and RLIMIT_MEMLOCK
.
- Bug 2081 - Backward Incompatible:
rawstats
now logs everything
- Bug 2114: Update tests for
sntp
’s synch distance
- Correctly calculate
sntp
’s synch distance.
- Bug 2278: ACTS
flag3
mismatch between code and driver18.html
- Bug 2024: Identify Events in the system status word in decode.html
- Remove unused system event code
EVNT_CLKHOP
.
- Bug 2040: Provide a command-line option for the identity key bits
- Bug 1214:
proto: precision = ...
should be at INFO
, not NOTICE
- Bug 2246: Clear
sys_leap
when voting says to disarm the leap
- Bug 2202: ntpq.html: there is no
acv
billboard
- Bug 2306: keep pps hack for Win32 even if user-mode/loopback
- PPS API is activated on a serial line.
- Added user-mode/loop-back PPS API provider for Win32
- Bug 2098: Install DLM’s HTML documentation
- Bug 1320: Log
ntpd
’s initial command-line parameters
- Bug 2120: no
sysexits.h
under QNX
- Bug 2123: cleanup to html/leap.html
- Bug 969: Clarify ntpdate.html documentation about
-u
and ntpd
- Bug 1217:
libisc/ifiter_sysctl.c:internal_current()
: Ignore RTM messages with wrong version
- Bug 2296: Fix compile problem with building with old OpenSSL
- Update fix for Bug 2294 to handle
--without-crypto
.
- Bug 2301: Remove spurious debug output from
ntpq
- Bug 922: Allow interspersed
-4
and -6
flags on the ntpq
command line
- Bug 2294:
ntpd
crashes in FIPS mode
- Bug 2291:
sntp
should report why it cannot open file.kod
- Bug 2293: add support for
SO_BINTIME
, refine support for SO_TIMESTAMPNS
- Bug 938: The argument to the
-D
flag takes a number, not a string
- Bug 1013:
ntpdate
’s HTML page claims wrong default version
- Bug 1374: Support
SO_TIMESTAMPNS
- Bug 2266: Remove deprecated
refclock_trak.c
from Windows Makefile equivalents
- Bug 2274: Bring libopts/enum.c back to (old) ANSI C compliance
- Bug 2287:
ntpdate
returns 0 even if adjtime()
call fails
- Bug 1997: Fix
sntp
broadcast timeouts
- Bug 2234: Fix incorrect
ntptrace
html documentation
- Bug 2262: Install html docs in
$htmldir
- Install sntp.html into htmldir.
- Bug 752: ToS cleanup from Mike Tatarinov
- Use proper ToS network packet markings for IPv4 and IPv6.
- Bug 1232: Convert SHM refclock to use struct timespec
- Add nanosecond support to SHM driver.
- Bug 2258: Add
syslog
message about leap insertion
- Bug 2263: broadcast server doesn’t work for host with
OS_MISSES_SPECIFIC_ROUTE_UPDATES
- Bug 2271: Decode refclock types when built with
--disable-all-clocks
- Bug 2276:
clk_sel240x.c #define
’s _XOPEN_SOURCE
, breaking QNX6
- Bug 2264: Cleanup SEL240X Refclock
- Bug 2160: Log warning about expired leapseconds file
- Bug 2164: Greater precision needed for
ntpq
offset report
- Bug 2270: Install fails due to repeated man5 page names
- Bug 2242:
configure
fails to detect getifaddrs
function on Solaris
- Bug 2249: Bad operator for
test
in make check
of libevent
- Bug 2252: palisade: formats nanosecs to a 6-char field
- Bug 2247: Get rid of the TRAK refclock - deprecated since 2006
- Bug 1545: Note why we are logging the Version string
- Bug 1872: Remove legacy ppsclock fdpps,
#ifdef PPS
- Bug 2075: Fix spelling of “incompatible”
- Bug 2241: MDNS registration should only happen if requested
- Bug 1454: Add parse clock support for the SEL-240x GPS products
- Bug 2227: Enable
mrulist
access control via restrict ... nomrulist
- Bug 2225:
libevent
configure hangs
- Bug 2224: Use-after-free in routing socket code after dropping root
- Bug 2211:
findbcastinter()
: possibly undefined variable iface
used
- Bug 2220: Incorrect check for maximum association id in
ntpq
- Bug 2204: Build with
--enable-getifaddrs=glibc
fails
- Bug 2178:
refclock_tsyncpci.c
reach register fails to shift
- Bug 2191:
dcfd -Y y2kcheck
on CentOS 6.2 x86_64 breaks make check
- Bug 2193: Building timestruct tests with Clang 3.1 fails
- Bug 2179: Remove
sntp/header.h
- Bug 1744: Remove obsolete
ntpdate/ntptime*
items
- Bug 2174:
ntpd
rejects source UDP ports less than 123 as bogus
- [Bug 2141:
handle_sigio()
calls get_systime()
, which must be reentrant when SIGIO
is used.
- Sanity checks relative to the
prior get_systime()
are disabled in ntpd
on systems with signaled I/O, but active in sntp
and ntpdate
.
- Bug 1122: openssl detection via
pkg-config
fails when no additional -Idir
flags are needed
- Bug 2156: clock instability with LOCAL driver, from Miroslav Lichvar
- Bug 2159: Windows
ntpd
using leapfile erroneous leap second 20120401
- Bug 2048: add the clock variable timecode to SHM refclock
- Bug 2148:
ntpd
4.2.7p258 segfault with 0x0100000 bit in NMEA mode
- Bug 2140: Rework of Windows I/O completion port handling to avoid garbling serial input in UNIX line discipline emulation
- Bug 2143: NMEA driver: discard data if quality indication not good, add statistic counters (mode bit enabled) to
clockstats
file
- Bug 2135: defer calls to
io_input
to main thread under Windows
- Bug 2131: Set the system variable
settimeofday
only after clock step
- Bug 2134:
--enable-C99-snprintf
does not force rpl_snprintf
use
- Bug 603: Only link with
nlist()
-related libraries when needed
- Bug 2126: Compile error on Windows with
libopts
from Autogen 5.14
- Bug 2115:
ntptrace
should accept both rootdispersion
and rootdisp
- Bug 2111: Remove
minpoll
delay before iburst
for pool and manycastclient
- Bug 2109:
make clean check
is broken with gtest
available
- Bug 2110:
systime.c
typo breaks build on microsecond clocks
- Bug 2104:
ntpdc
fault with oversize -c
command
- Bug 2106: Fix warnings when using
-Wformat-security
- Bug 2100: conversion problem with
timespec/timeval <--> l_fp
fixed; added tests to expose the bug
- Bug 2095:
ntptrace
now needs rv
instead of pstat
- reported by Michael Tatarinov.
- Bug 2015: Overriding
sys_tick
should recalculate sys_precision
- Bug 2037: Fuzzed non-interpolated clock may decrease
- Bug 2068:
tos ceiling
default and cap changed to 15
- from 4.2.6p5-RC2:
ntpd
sends nonprintable stratum 16 refid to ntpq
.
- Bug 2092:
clock_select()
selection jitter miscalculated
- Bug 2093: Reintroduce smaller stratum factor to system peer metric
- Bug 2082: from 4.2.6p5-RC3: 3-char refid sent by
ntpd
4.2.6p5-RC2 ends with extra dot
- Bug 2086: from 4.2.6p5-RC3:
get_systime()
should not offset by sys_residual
- Bug 2087: from 4.2.6p5-RC3:
sys_jitter
calculation overweights sys.peer
jitter
- Bug 2050: from 4.2.6p5-RC2: Orphan mode stratum counting to infinity
- Bug 2059: from 4.2.6p5-RC2: optional billboard column
server
does not honor -n
- Bug 2066: from 4.2.6p5-RC2:
ntpq lopeers ipv6 local
column overrun
- Bug 2069: from 4.2.6p5-RC2: broadcastclient, multicastclient spin up duplicate ephemeral associations without broadcastdelay
- Bug 2072: from 4.2.6p5-RC2: Orphan parent selection metric needs
ntohl()
- Bug 2073: Correct
ntpq
billboard’s MODE_PASSIVE t
from u
to S
- Bug 2052: Autokey
CRYPTO_ASSOC host@group vallen
needs checking
- Bug 1940: ignore auth key if hex decoding fails
- Bug 1995: fix wrong use of
ZERO()
macro in ntp_calendar.c
- add compile time stamp based era unfolding for
step_systime()
and necessary support to ‘ntp-calendar.c’.
- Bug 2036:
gcc
2.95.3 preprocessor can’t nest #ifdef
in macro args
- Bug 2035:
ntpq -c mrulist
sleeps 1 sec between queries, not 5 msec
- Bug 2029:
make check
clutters syslog
- Bug 2025: Switching between daemon and kernel loops can doubly-correct drift
- Bug 2028:
ntpd -n
(nofork) redirects logging to stderr
- Bug 1945:
mbg_gps166.h
use of _TM_DEFINED
conflicts with MS VC
- Bug 1946:
parse_start
uses open; does not work on Windows
- Bug 1947: Porting parse-based Wharton refclock driver to Windows
- Bug 2019: Allow selection of cipher for private key files
- Bug 2020:
ntp-keygen -s
no longer sets host in cert file name
- Bug 1981: Initial offset convergence applies frequency correction 2x with kernel discipline
- Bug 2008: Initial offset convergence degraded with 500 PPM
adjtime()
- Bug 2009:
EVNT_NSET adj_systime()
mishandled by Windows ntpd
- Bug 1999: NMEA does not send
PMOTG
messages any more
- Bug 2003: from 4.2.6p4-RC3:
ntpq_read_assoc_peervars()
broken
- Bug 2000:
ntpd
worker threads must block signals expected in main thread
- Require
-D4
or higher for ntpd SIGALRM
debug trace
- Bug 2001: add
ntpq -c
timerstats like ntpdc -c
timerstats
- from 4.2.6p4-RC3:
ntpdc
timerstats reports overruns as handled.
- Bug 1993:
ntpd
Windows port adj_systime()
broken in 4.2.7p203
- Bug 1992:
util/tg2
doesn’t compile, needs libntp
- Bug 1988: Better
sntp
send failed error message needed
- Bug 1989:
sntp
manual page sometimes refers to SNTP as a program
- Bug 1990:
sntp
output should include stratum
- Bug 1986: Require Visual C++ 2005 or later compilers in Windows port
- Bug 1983:
--without-sntp
build breaks in sntp
subdir
- Bug 1984: from 4.2.6p4-RC3:
ntp/libisc
fails to compile on OS X 10.7
- Bug 1985: from 4.2.6p4-RC3:
logconfig =allall
rejected
- Bug 1975: from 4.2.6p4-RC2:
libntp/mktime.c
won’t work with 64-bit time_t
- Bug 1976:
genLocInfo
writes to srcdir break make distcheck
- Bug 1977: Fix flag/description mismatches in
ntp-keygen-opts.def
- Bug 1972: from 4.2.6p4-RC2: checking for
struct rtattr
fails
- Bug 1973: Widen reference clock mode from 8 to 32 bits
- Bug 1608: from 4.2.6p4-RC2: Parse Refclock driver should honor
trusttime
- Bug 1970: from 4.2.6p4-RC2:
UNLINK_EXPR_SLIST()
causes crash if list is empty
- Bug 1966: Broken
FILES
section for ntp.keys.def
- Bug 1948: Update man page section layout
- Bug 1963: add reset command for
ntpq :config
, similar to ntpdc
’s
- Bug 1964:
--without-sntp
should not build sntp
- Bug 1961: from 4.2.6p4:
html2man
update: distribute ntp-wait.html
- Bug 1134: from 4.2.6p4-RC1:
ntpd
fails binding to tentative IPv6 addresses
- Bug 1790: from 4.2.6p4-RC1: Update
config.guess
and config.sub
to detect AIX6
- Bug 1958:
genLocInfo
must export PATH
- Bug 1954: Fix typos in
[s]bin_PROGRAMS
in ntpd/Makefile.am
- Bug 1950: Control installation of
event_rpcgen.py
- Bug 1304: Update sntp.html to reflect new implementation
- Bug 1938:
addr_eqprefix()
doesn’t clear enough storage
- Bug 1936: Correctly set
IPV6_MULTICAST_LOOP
- Bug 1932:
libevent/util_internal.h builtin_expect
compile error with gcc
2.95
- Bug 1933: WWVB/Spectracom driver timestamps
LF
s, not CR
s
- Bug 1927:
io_closeclock()
should purge pending recvbufs
- Bug 1931:
cv
always includes fudgetime1
, never fudgetime2
- Bug 988: Local clock eats up
-g
option, so ntpd
stops with large initial time offset
- Bug 1921: LOCAL, ACTS drivers with
prefer
excluded from initial candidate list
- Bug 1922:
tos orphanwait
applied incorrectly at startup
- Bug 1923: orphan parent favored over LOCAL, ACTS drivers
- Bug 1924: Billboard tally codes sometimes do not match operation, variables
- Bug 1911: missing curly brace in
libntp/ntp_rfc2553.c
- Bug 1910: Support the Tristate Ltd. TS-GPSclock-01
- Bug 1904: 4.2.7p160 Windows build broken (
POSIX_SHELL
)
- Bug 1906: 4.2.7p160 -
libtool
: compile: cannot determine name of library object in ./libevent
- Bug 1901: Simulator does not set
progname
- Bug 1890: 4.2.7p156 segfault in duplicate
freeaddrinfo()
- Bug 1851:
freeaddrinfo()
called after getaddrinfo()
fails
- Bug 1887: DNS fails on 4.2.7p153 using threads
- Bug 1881: describe the
{+,-,s}
characters in configure --help
output
- Bug 1875:
asn2ntp()
rewritten with caltontp()
; timegm()
substitute likely to crash with 64bit time_t
- Bug 1840:
ntp_lists.h FIFO
macros buggy
- Bug 1874:
ntpq -c rv 0 sys_var_list
empty
- Bug 1732:
ntpd
ties up CPU on disconnected USB refclock/device
- Bug 1861:
tickadj
build failure using uClibc
- Bug 1862:
in6addr_any
test in configure
fooled by arm gcc 4.1.3 -O2
- Bug 1844:
ntpd
4.2.7p131 NetBSD, --gc-sections
links bad executable
- Bug 1848:
ntpd
4.2.7p139 --disable-thread-support
does not compile
make check ntpd --saveconfigquit
clutters syslog
.
- Bug 1846: MacOSX: debug symbol not found by
propdelay
or tickadj
- Bug 1839: 4.2.7p135 still installs
libevent ev*.h
headers
- Bug 1837: Build fails on Win7 due to
regedit
requiring privilege
- Bug 1834:
ntpdate
4.2.7p131 aborts with assertion failure
- Bug 1832:
ntpdate
doesn’t allow timeout > 2s
- Bug 1833: The checking
sem_timedwait()
fails without -pthread
- Bug 1087:
-v/--normalverbose
conflicts with -v/--version
in sntp
- Bug 1088:
sntp
should (only) report the time difference without -s/-a
- Bug 1811: Update the download location in
WHERE-TO-START
- Bug 1799:
ntpq mrv
crash
- Bug 1801:
ntpq mreadvar
requires prior association caching
- Bug 1797: Restore stale timestamp check from the
RANGEGATE
cleanup
- Bug 1794:
ntpq -c rv
missing clk_wander
information
- Bug 1795:
ntpq readvar
does not display last variable
- Bug 1788:
tvtots.c
tables inaccurate
- Bug 1786: Remove extra semicolon from
ntp_proto.c
- Bug 1780: Windows
ntpd
4.2.7p114 crashes in ioctl()
- Bug 1781:
longlong
undefined in sntp handle_pkt()
on Debian amd64
- Bug 1776:
sntp
mishandles -t/--timeout
and -a/--authentication
- Bug 1773: openssl not detected during
./configure
- Bug 1774: Segfaults if
cryptostats
enabled and built without OpenSSL
- Bug 1772:
refclock_open()
return value check wrong for ACTS
- Bug 1771: algorithmic error in
clocktime()
fixed
- Bug 1764: Move Palisade modem control logic to
configure.ac
- Palisade driver doesn’t build on Linux.
- Bug 1768:
TIOCFLUSH
undefined in linux for refclock_acts
- Bug 1766: Oncore clock has offset/high jitter at startup
- Bug 1761:
clockstuff/clktest-opts.h
omitted from tarball
- Bug 1762: from 4.2.6p3-RC12: manycastclient responses interfere
- Bug 1458: from 4.2.6p3-RC12: Can not compile NTP on FreeBSD 4.7
- Bug 1760: from 4.2.6p3-RC12:
ntpd
Windows interpolation cannot be disabled
- Bug 1758: from 4.2.6p3-RC12:
setsockopt IPV6_MULTICAST_IF
with wrong ifindex
- Bug 1753: 4.2.7p94 faults on startup in
newpeer(), strdup(NULL)
- Bug 1754: from 4.2.6p3-RC12:
--version
output should be more verbose
- Bug 1757: from 4.2.6p3-RC12: oncore
snprintf("%m")
doesn’t expand %m
- Bug 1751: from 4.2.6p3-RC12: Support for Atari FreeMiNT OS
- Bug 1510: from 4.2.6p3-RC12: Add modes 20/21 for driver 8 to support RAWDCF @ 75 baud
- Bug 1741: from 4.2.6p3-RC12: Enable multicast reception on each address (Windows)
- Bug 1743: from 4.2.6p3-RC12: Display timezone offset when showing time for
sntp
in the local timezone
- Bug 1742: form 4.2.6p3-RC12: Fix a typo in an error message in the
build
script
- Bug 1738: Windows
ntpd
has wrong net adapter name
- Bug 1740:
ntpdc -c reslist
packet count wrongly treated as signed
- Bug 1736:
tos
int, bool options broken in 4.2.7p66
- Bug 1735:
clocktime()
abortsntp
on bogus input
- Bug 1618: Unreachable code in
jjy_start()
- Bug 1725: from 4.2.6p3-RC11:
ntpd
sends multicast from only one address
- Bug 1727:
ntp-keygen PLEN, ILEN
undeclared --without-crypto
- Bug 1728: from 4.2.6p3-RC11: In
ntp_openssl.m4
, don’t add -I/usr/include
or -L/usr/lib
to CPPFLAGS
or LDFLAGS
- Bug 1681:
sntp
logging cleanup
- Bug 1683: from 4.2.6p3-RC10: Non-localhost on loopback exempted from nic rules
- from 4.2.6p3-RC9: Interface binding does not seem to work as intended.
- Bug 1719: Cleanup for
ntp-keygen
and fix -V
crash, from Dave Mills
- Bug 1574: from 4.2.6p3-RC9:
sntp
doesn’t set tv_usec
correctly
- Bug 1708:
make check
fails with googletest 1.4.0
- Bug 1709: from 4.2.6p3-RC9:
ntpdate
ignores replies with equal receive and transmit timestamps
- Bug 1715:
sntp utilitiesTest.IPv6Address
failed
- Bug 1718: Improve
gtest
checks in configure.ac
- Bug 1697:
filegen
implementation should be improved
- Bug 1692:
packageinfo.sh
needs to be “sourced” using ./
- Bug 1695:
ntpdate
takes longer than necessary
- Bug 1690: Unit tests fails to build on some systems
- Bug 1691: Use first NMEA sentence each second
- Bug 1685: from 4.2.6p3-RC8: NMEA driver mode byte confusion
- Bug 1680: Fix alignment of
clock_select()
arrays
- Bug 1679: Fix test for
-lsocket
- Bug 1676: from 4.2.6p3-RC7: NMEA:
$GPGLL
did not work after fix for Bug 1571
- Bug 1678:
restrict source
treated as restrict default
- Bug 1571: from 4.2.6p3-RC6: NMEA does not relate data to PPS edge
- Bug 1572: from 4.2.p63-RC6: NMEA time adjustment for
GPZDG
buggy
- Bug 1675: from 4.2.6p3-RC6: Prohibit
includefile
remote config
- Bug 1671: Automatic delay calibration is sometimes inaccurate
- Bug 1669: from 4.2.6p3-RC5: NTP fails to compile on IBM AIX 5.3
- Bug 1670: Fix peer->bias and broadcastdelay
- Bug 1649: from 4.2.6p3-RC5: Require NMEA checksum if
$GPRMC
or previously seen
- Bug 1277: Provide and use O(1) FIFOs, esp. in the config tree code
- Bug 1584: from 4.2.6p3-RC4: wrong SNMP type for precision, resolution
- from 4.2.6p3-RC3:
ntpsnmpd
OID must be mib-2.197.
- Bug 1659: from 4.2.6p3-RC4: Need
CLOCK_TRUETIME
not CLOCK_TRUE
- from 4.2.6p3-RC3: Support Truetime Satellite Clocks on Windows.
- Bug 1663:
ntpdsim
should not open net sockets
- Bug 1665: from 4.2.6p3-RC4:
is_anycast() u_int32_t
should be u_int32
- Bug 1080: from 4.2.6p3-RC3:
ntpd
on ipv6 routers very chatty
- Bug 750: from 4.2.6p3-RC3: Non-existing device causes coredump with RIPE-NCC driver
- Bug 1567: from 4.2.6p3-RC3: Support Arbiter 1093C Satellite Clock on Windows
- Bug 1581: from 4.2.6p3-RC3:
printf
format string mismatch
- from 4.2.6p3-beta1:
ntp_intres.c size_t printf
format string mismatch.
- from 4.2.6p2: IRIG string buffers undersized.
- Bug 1660: from 4.2.6p3-RC3: On some systems, test is in
/usr/bin
, not /bin
- Bug 1661: from 4.2.6p3-RC3: Re-indent
refclock_ripencc.c
- Bug 1657: darwin needs
res_9_init
, not res_init
- Bug 1554: peer may stay selected as system peer after becoming unreachable
- Bug 1644: from 4.2.6p3-RC3:
cvo.sh
should use lsb_release
to identify linux distros
- Bug 1646:
ntpd
crashes with relative path to logfile
- Bug 1643: from 4.2.6p3-RC3: Range-check the decoding of the RIPE-NCC status codes
- Bug 1636: from 4.2.6p3-RC2: segfault after denied remote config
- Bug 1635: from 4.2.6p3-RC2:
filegen ... enable
is not default
- Bug 1344: from 4.2.6p3-RC1:
ntpd
on Windows exits without logging cause
- Bug 1629: 4.2.7p50
configure.ac
changes invalidate config.cache
- Bug 1630: 4.2.7p50 cannot bootstrap on Autoconf 2.61
- Bug 1628: Clean up
-lxnet/-lsocket
usage for (open)solaris
- Bug 1588: finish
configure --disable-autokey
implementation
- Bug 1616:
refclock_acts.c
: if (pp->leap == 2)
is always false
- Bug 1620: Backward Incompatible
discard minimum
value should be in seconds, not log2 seconds
- Bug 1578: Consistently use
-lm
when needed
- Bug 1573: from 4.2.6p3-beta1: Miscalculation of offset in
sntp
- Bug 1602: Refactor some of the
sntp/
directory to facililtate testing
- Bug 1593:
ntpd
abort in free()
with logconfig
syntax error
- Bug 1595: from 4.2.6p3-beta1: empty last line in key file causes duplicate key to be added
- Bug 1597: from 4.2.6p3-beta1: packet processing ignores
RATE
KoD packets, because of a bug in string comparison
- Bug 1586:
ntpd
4.2.7p40 doesn’t write to syslog
after fork on QNX
- Bug 1395: ease
ntpdate
elimination with ntpd -w/--wait-sync
- Bug 1396: allow servers on
ntpd
command line like ntpdate
- Bug 1570: serial clock drivers get outdated input from kernel tty line buffer after startup
- Bug 1575: from 4.2.6p2-RC7: use
snprintf
with LIB_BUFLENGTH
in inttoa.c, tvtoa.c
and utvtoa.c
- Bug 1576:
sys/sysctl.h
depends on sys/param.h
on OpenBSD
- Bug 1560: Initial support for orphanwait, from Dave Mills
- Bug 715: from 4.2.6p2-RC6:
libisc
Linux IPv6 interface iteration drops multicast flags
- Bug 1561: from 4.2.6p2-RC5:
ntpq, ntpdc passwd
prompts for MD5 password w/SHA1
- Bug 1565: from 4.2.6p2-RC5:
sntp/crypto.c
compile fails on MacOS over vsnprintf()
- Bug 1555: from 4.2.6p2-RC4:
sntp
illegal C (mixed code and declarations)
- Bug 1558: pool prototype associations have 0.0.0.0 for remote addr
- Bug 1325: from 4.2.6p2-RC3: unreachable code
sntp recv_bcst_data()
- Bug 1459: from 4.2.6p2-RC3:
sntp
MD5 authentication does not work with ntpd
- Bug 1552: from 4.2.6p2-RC3: update and complete broadcast and crypto features in
sntp
- Bug 1553: from 4.2.6p2-RC3:
sntp/configure.ac
OpenSSL support
- Bug 1526:
ntpd
DNS pipe read EINTR with no network at startup
- Bug 1542:
ntpd mrulist
response may have incorrect last.older
- Bug 1543:
ntpq mrulist
must refresh nonce when retrying
- Bug 1544:
ntpq mrulist sscanf
timestamp format mismatch on 64-bit
- Bug 1512: from 4.2.6p2-RC3:
ntpsnmpd
should connect to net-snmpd
via a unix-domain socket by default
- Provide a command-line
socket name
option.
- Bug 1538: from 4.2.6p2-RC3: update
refclock_nmea.c
’s call to getprotobyname()
- Bug 1541: from 4.2.6p2-RC3: Fix wrong keyword for
maxclock
- Bug 1465: Make sure time from TS2100 is not invalid
- Bug 1528: from 4.2.6p2-RC2: Fix
EDITLINE_LIBS
link order for ntpq
and ntpdc
.
- from 4.2.6p2-RC2: Remove
--with-arlib
from br-flock
.
- Bug 1531: Require nonce with
mrulist
requests
- Bug 1532: Remove
ntpd
support for ntpdc
’s monlist
in favor of ntpq
’s mrulist
- Bug 1534: from 4.2.6p2-RC2: conflicts with VC++ 2010
errno.h
- Bug 1535: from 4.2.6p2-RC2:
restrict -4 default
and restrict -6 default
ignored
- Bug 1390: Control PPS on the Oncore M12
- Bug 1518: Windows
ntpd
should lock to one processor more conservatively
- Bug 1520:
%u
formats for size_t
gives warnings with 64-bit builds
- Bug 1522: Enable range syntax
trustedkey (301 ... 399)
- Bug 1516: unpeer by IP address fails, DNS name works
- Bug 1517:
ntpq
and ntpdc
should verify reverse DNS before use
ntpq
and ntpdc
now use the following format for showing purported DNS names from IP address “reverse” DNS lookups when the DNS name does not exist or does not include the original IP address among the results: 192.168.1.2 (fake.dns.local)
.
- Bug 1432: Don’t set inheritable flag for linux capabilities
- Bug 1483:
AI_NUMERICSERV
undefined in 4.2.7p20
- hostname in
ntp.conf restrict
parameter rejected.
- Bug 1497:
fudge
is broken by getnetnum()
change
- Bug 1503: Auto-enabling of monitor for
restrict ... limited
wrong
- Bug 1504:
ntpdate
tickles ntpd discard minimum 1
rate limit if restrict ... limited
is used
- Bug 2399: Reset
sys_kodsent
in proto_clr_stats()
- Bug 1514: from 4.2.6p1-RC6: Typo in
ntp_proto.c
: fabs(foo < .4) should be fabs(foo) < .4
- Bug 1464: from 4.2.6p1-RC6: synchronization source wrong for refclocks ARCRON_MSF (27) and SHM (28)
- Bug 1306: constant conditionals in
audio_gain()
- Bug 1338: Update the association type codes in ntpq.html
ntpq
displays incorrect association type codes.
- Bug 1478: from 4.2.6p1-RC5: linking fails:
EVP_MD_pkey_type
- Bug 1479: from 4.2.6p1-RC5: not finding readline headers
- Bug 1484: from 4.2.6p1-RC5:
ushort
is not defined in QNX6
- Bug 1480: from 4.2.6p1-RC5:
snprintf()
cleanup caused unterminated refclock IDs
- Bug 1477: from 4.2.6p1-RC5: First non-gmake
make
in clone w/VPATH can’t make COPYRIGHT
- Bug 1474: from 4.2.6p1-RC4:
ntp_keygen LCRYPTO
after libntp.a
- Bug 1455: from 4.2.6p1:
ntpd
does not try /etc/ntp.audio
- Bug 1469:
u_int32, int32
changes broke HP-UX 10.20 build
- Bug 1470: from 4.2.6p1:
make distdir
compiles keyword-gen
- Bug 1471: CID 120 CID 121 CID 122
is_ip_address() uninit
family
- Bug 1472: CID 116 CID 117 minor warnings in new DNS code
- Bug 1473: from 4.2.6p1:
make distcheck version.m4
error
- Bug 1467: from 4.2.6p1: Fix bogus rebuild of
sntp/sntp.html
- Bug 1468:
make install
broken for root on default NFS mount
- Bug 47: Debugging and logging do not work after a fork
- Bug 1010:
getaddrinfo()
could block and thus should not be called by the main thread/process
- Bug 1140: from 4.2.6p1-RC5: Clean up debug.html, decode.html, and ntpq.html
- Bug 1448: from 4.2.6p1-RC3: Some macros not correctly conditionally or absolutely defined on Windows
- Bug 1449: from 4.2.6p1-RC3:
ntpsim.h
in ntp_config.c
should be used conditionally
- Bug 1450: from 4.2.6p1-RC3: Option to exclude warnings not unconditionally defined on Windows
- Bug 702:
ntpd
service logic should use libopts
to examine cmdline
- Bug 1451: from 4.2.6p1-RC3:
sntp
leaks KoD entry updating
- Bug 1453: from 4.2.6p1-RC3: Use
$CC
in config.cache
filename
- Bug 620:
ntpdc getresponse() esize != *rsize s/b size != *rsize
- Bug 1446: 4.2.7p6 requires
autogen
, missing ntpd.1, *.texi, *.menu
- Bug 1443: Remove unnecessary dependencies on
ntp_io.h
- Bug 1442: Move Windows functions into
libntp
files
- Bug 1127: from 4.2.6p1-RC3: Check the return of
X590_verify()
- Bug 1439: from 4.2.6p1-RC3:
.texi
gen after binary is linked
- Bug 1440: from 4.2.6p1-RC3: Update
configure.ac
to support kfreebsd
- Bug 1445: from 4.2.6p1-RC3: IRIX does not have
-lcap
or support linux capabilities
- Bug 1429:
ntpd -4
option does not reliably force IPv4 resolution
- Bug 1431: System headers must come before ntp headers in
ntp_intres.c
- Bug 1426:
scripts/VersionName
needs .
on the search path
- Bug 1427: quote missing in
./build
- shows up on NetBSD
- Bug 1428: Use
AC_HEADER_RESOLV
to fix breaks from resolv.h
- Bug 1419:
ntpdate, ntpdc, sntp, ntpd
ignore configure --bindir
- Bug 1421: add
util/tg2
, a clone of tg
that works on Linux, NetBSD, and FreeBSD
- Bug 1348:
ntpd
Windows port should wait for sendto()
completion
- Bug 1413: test OpenSSL headers regarding
-Wno-strict-prototypes
- Bug 1418: building
ntpd/ntpdc/ntpq
statically with ssl fails
- Bug 1412:
m4/os_cflags.m4
caches results that depend on $CC
- Bug 1414: Enable
make distcheck
success with BSD make
- Bug 1407:
configure.ac
: recent GNU Make -v
does not include version
Docs
html/
updates from Dave Mills.
- html doc reconciliation with DLM’s copy.
html/
cleanups from Hal Murray.
- Documentation cleanup from Mike T.
- Documentation EOL cleanup.
- Documentation nit cleanup.
- Documentation and code cleanup from Dave Mills. No more
NTP_MAXASSOC
.
- Make all of the
html/ .html
files use the same format for “Last update”.
- Clean up last-update timestamps of
html/*.html
files.
- Fix the “Last update” entries in the
html/
subtree.
- Tweak the “Modified” line on appropriate html pages.
- Update documentation templates and definitions.
- Include missing
html/icons/sitemap.png
, reported by Michael Tatarinov.
- Documentation updates for 4.2.7p22 changes and additions, updating
ntpdc.html, ntpq.html, accopt.html, confopt.html, manyopt.html, miscopt.html
, and miscopt.txt
.
accopt.html
: non-ntpport doc changes from Dave Mills.
- Reinstate doc fix to
authentic.html
from Mike T.
- Copyright file cleanup from Dave Mills.
- Fix typo in
html/confopt.html
- Fix typos in
decode.html
and debug.html
.
- Updates to
driver28.html
.
- Fix typo in
driver28.html
.
- Update
driver45.html
page.
- Initial cut at a basic
driver45.html
page.
ntp-wait, ntpd, ntpdc, ntpq, ntpsnmpd autogen
documentation updates.
- Add a reference to RFC 5907 in the
ntpsnmpd
documentation.
orphanwait
documentation updates.
- Fix typo in
html/select.html
.
sntp
documentation and documentation tag cleanup.
calc_tickadj/Makefile.am man/mdoc
page build cleanup.
- Fix the man page installation for the ``scripts/ files.
- Clean the
man5_MANS
in ntpd/
.
- Prepare for
ntp.keys.5
.
- More
sntp.1
cleanups.
- Fix
mdoc2man
.
mdoc2man
improvements.
- Use patched
mdoc2man
script, from Eric Feng.
- Refactor and enhance
mdoc2texi
.
mdoc2texi
fixes: trailing punctuation.
mdoc2texi
fixes: parseQuote
, closing of list item tables.
mdoc2texi
fixes: Handle_ArCmFlIc, Handle_Fn, HandleQ
.
- from 4.2.6p3: Create and use
scripts/check--help
when generating .texi
files.
- Autogen documentation cleanup.
- Require a version string for
perl
scripts that use autogen
.
- Update several
.def
files to use autogen-5.17 feature set.
- Begin support for
autogen
maintaining ntp.conf
and ntp.keys
docs.
- Use
autogen
to produce ntp-keygen
docs.
- Update the
autogen
include list for scripts/Makefile.am
.
- Update
ntp-wait autogen
docs.
- Update the
ntpd autogen
docs.
- Update the
ntpsnmpd autogen
docs.
- Add “license name
to
ntp.lic` for autogen-5.11.10.
- Update
cmd-doc.tlib
to autogen-5.11.10pre5.
cmd-doc.tlib
cleanup from Bruce Korb.
- Use the latest
autogen
’s new copyright template code.
autogen
documentation template cleanup.
- If we have local overrides for
autogen
template files, use them.
- Convert
snmp
docs to mdoc
format, which requires autogen
5.11.9.
- 4.2.7p164 documentation updates re:
tos orphanwait
expanded scope.
Builds
- Upgrade to autogen-5.18.5pre1
- from 4.2.6p3-RC11: Bump minimum Automake version to 1.11, required for
AM_COND_IF
use in LIBOPTS_CHECK
.
- Automake-1.12 wants us to use
AM_PROG_AR
.
- Use a single set of Automake options for each package in
configure.ac AM_INIT
, remove Makefile.am AUTOMAKE_OPTIONS=
lines.
- Enable all relevant
automake
warnings.
- from 4.2.6p3-RC12: Relax minimum Automake version to 1.10 with updated
libopts.m4
.
- Try bison-3.0.2 instead of bison-2.5.
- Upgrade to libevent-2.1.3-alpha-dev.
- Correct
event_base_gettimeofday_cached()
workaround code in sntp
to work with corrected libevent
.
- Allow for version suffix in
libevent
in ntp_libevent.m4
.
- Fix
make distcheck
with --enable-libevent-regress
problem with unwritable $srcdir
.
- Don’t build
libevent
with openssl support. Right now, libevent
doesn’t use pkg-config
to find openssl’s installation location.
- Add missing
--enable-local-libevent
help to top-level configure.
- Update
libevent --disable-libevent-regress
handling to work when building libevent
using mingw
.
- Fix
make distcheck
break in libevent/sample
caused by typo.
libevent
: When building on systems with CLOCK_MONOTONIC
available, separate the internal timeline (possibly counting since system boot) from the gettimeofday()
timeline in event_base
cached timevals. Adds new event_base_tv_cached()
to retrieve cached callback round start time on the internal timeline, and changes event_based_gettimeofday_cached()
to always return times using the namesake timeline. This preserves the benefit of using the never-stepped monotonic clock for event timeouts while providing clients with times consistently using gettimeofday()
.
- Update to libopts-40.2.15.
- From 4.2.6p4:
libopts/file.c
fix from Bruce Korb (arg-type=file
).
- Move
m4
directory to sntp/m4
.
- Share a single set of
genver
output between sntp
and the top level.
- Share a single set of
autogen
included .defs
in sntp/include
.
- Share a single set of
build-aux
scripts (e.g. config.guess, missing
).
- Add
ntp_libntp.m4
and ntp_ipv6.m4
to reduce configure.ac
duplication.
- Warn and exit
build/flock-build
if bootstrap needs to be run.
- Update the building of OS-specific programs.
- Add
--enable-c99-sprintf
to configure args for -noopenssl
variety of flock-build
to avoid regressions in (v)snprintf()
replacement.
- Add
--disable-thread-support
to one flock-build
variation.
- Avoid invoking
config.status
twice in a row in build script.
- Correct
msyslog.c
build break on Solaris 2.9 from #ifdef/#if
mixup.
- Correct
./build
on systems without gtest
available.
- Use
make V=0
in build script to increase signal/noise ratio.
- Avoid race with parallel builds using same source directory in
scripts/genver
by using build directory for temporary files.
- From 4.2.6p1-RC6: Correct
SIMUL=4 ./flock-build -1
to prioritize -1/--one
.
- Fix warnings seen on FreeBSD 9.
- Fix check for
-lipv6
on HP-UX 11.
- Fix for openssl
pkg-config
detection eval failure.
make V=0
and configure --enable-silent-rules
supported.
- Default to silent
make
rules, override with make V=1
or ./configure --disable-silent-rules
.
- Correct
--with-openssl-incdir
defaulting with pkg-config
.
- Default
--with-openssl-libdir
and --with-openssl-incdir
to the values from pkg-config
, falling back on our usual search paths if pkg-config
is not available or does not have openssl.pc
on PKG_CONFIG_PATH
.
- Avoid overwriting user variable
LDFLAGS
with OpenSSL flags, instead they are added to LDFLAGS_NTP
.
- Cleanup to the new
scripts/*/Makefile.am
files.
- Fix the
check-scm-rev
invocation in several Makefile.am
s.
- Incorporate Oliver Kindernay’s GSoC 2013
scripts/
cleanup.
- from 4.2.6p3-RC8: First cut at using
scripts/checkChangeLog
.
- from 4.2.6p3-RC7: Added
scripts/checkChangeLog
.
- More cleanup to the bootstrap script.
- Handle additional man page sections in the bootstrap script.
- For the bootstrap script, touch
.html
files last.
- Add
make check
test case that would have caught Bug 1678.
- A number of compiler warnings eliminated.
- FlexeLint cleanups.
- Remove extra
nlist
check from configure.ac
.
- Clean up
configure.ac
.
- Cleanup
configure.ac
’s TSYNC PCI
section.
- from 4.2.6p3-RC12: Clean up
m4
quoting in configure.ac, *.m4
files, resolving intermittent AC_LANG_PROGRAM
possibly undefined errors.
- Clean up missing
;;
entries in configure.ac
.
configure.ac
: add --disable-autokey, #define AUTOKEY
to enable future support for building without Autokey, but with OpenSSL for its digest
algorithms (hash functions). Code must be modified to use #ifdef AUTOKEY
instead of #ifdef OPENSSL
where appropriate to complete this.
sntp
- Improve
sntp
KoD data file fopen()
error message.
- Fix
ntpsweep
to use sntp
instead of ntpdate
, from Oliver Kindernay.
- Bump
sntp/include/autogen-version.def
.
EEXIST
is OK for mkdir()
in sntp/kod_management.c
.
- Document a tricky
malloc()
of dns_ctx
in sntp
.
- Clean up testing/debugging of fix for Bug 938 from
sntp/main.c
.
- In
sntp/m4/ntp_openssl.m4
, Support multiple package names for the crypto library. Add legacy support for -Wl,-rpath
.
- Change the link order for
ntpsntpd
.
- Update
sntp
tests to track the change of root dispersion to synchronization distance.
- Restore the original
CLOCK_MONOTONIC
output format in sntp
.
sntp
documentation and behavior improvements suggested by Steven Sommars.
- Have
sntp
report synchronization distance instead of root dispersion.
sntp
: change -h/--headspace
to -g/--gap
, and change the default gap from 10 to 50ms
- Backward Incompatible from 4.2.6p4:
sntp: -l/--filelog
-> -l/--logfile
, to be consistent with ntpd
.
- remove old
binsubdir
stuff from SNTP, as NTP_LOCINFO
does that now.
- Fix warnings in
ntp_request.c
Bug 1973 oversight and sntp/main.c
.
- (CID 159, apparent overrun due to union, actually correct).
- Rename file containing 1.xxxx ChangeSet revision from version to scm-rev to avoid invoking GNU make implicit rules attempting to compile
version.c
into version. Problem was with sntp/version.o
during make distcheck
after fix for spurious sntp
rebuilds.
- Move
sntp
last in top-level Makefile.am SUBDIRS
so that the libevent
tearoff (if required) and sntp
are compiled after the rest.
- Correct spurious
sntp
rebuilds triggered by a make
misperception sntp/version
was out-of-date relative to phony target FRC.version
.
- Remove
libevent-cfg
from sntp/Makefile.am
.
- Avoid relying on remake rules for routine
build/flock-build
for libevent
as for the top-level and sntp
subproject.
- Move “can’t write KoD file” warning from
sntp
shutdown to startup.
- Convert
sntp
to libevent
event-driven socket programming. Instead of blocking name resolution and querying one NTP server at a time, resolve server names and send NTP queries without blocking. Add sntp
command-line options to adjust timing and optionally wait for all servers to respond instead of exiting after the first.
- Move
init_logging(), change_logfile()
, and setup_logfile()
from ntpd
to libntp
, use them in sntp
.
- Test
--without-sntp
in flock-build
script’s -no-refclocks
variety.
sntp/Makefile.am
needs any passed-in CFLAGS
.
- Simplify the built-sources stuff in
sntp/
.
- Add
configure --without-sntp
option to disable building sntp
and sntp/tests
. withsntp=no
in the environment changes the default.
- Remove top-level
libopts
, use sntp/libopts
.
- from 4.2.6p3-RC11: Remove
log_msg()
and debug_msg()
from sntp
in favor of msyslog()
.
- Put the
sntp
tests under sntp/
… and only build/run them if we have gtest
.
- from 4.2.6p2-RC3: Do not depend on ASCII in
sntp
.
- Move
sntp/include/mansec2subst.sed
to sntp/scripts/mansec2subst.sed
.
- Convert more of the
sntp-opt.def
documentation from man
to mdoc
.
- Share a single
sntp/libevent/build-aux
directory between all three configure
scripts.
- Finish conversion to
genLocInfo
.
- validate
MANTAGFMT
in genLocInfo
.
ntp_locs.m4
: handle the case where . is not in the PATH
.
- More
genLocInfo
improvements and cleanup.
- Added
ntp_locs.m4
.
- Add the man page tag “flavor” to the
loc.*
files.
- Add/distribute
genLocInfo
.
- Create
loc/darwin
for Mac OSX.
- Added
loc/debian
.
- Added
loc.freebsd
(and distribute it).
- Added
loc.legacy
(and distribute it).
- Added
loc/redhat
.
- Added
loc/solaris
.
- Move
loc/
to sntp/loc/
.
- Added
sntp/loc/netbsd
based on info from Christos Zoulas.
- Update
sntp/loc/solaris
to conform to stock locations.
- If no “more specific”
loc
file is found for redhat* or fedora*, look for a loc/redhat
file.
- If no “more specific”
loc
file is found and uname
says this is Linux, look for a loc/linux
file.
- Implement
--with-locfile=filename configure
argument. If filename is empty we’ll look under loc/
for a good fit. If the filename contains a /
character, it will be treated as a “normal” pathname. Otherwise, that explicit file will be searched for under loc/
.
- Removed
sntp/m4/ntp_bindir.m4
- no longer needed.
- Move
scripts/cvo.sh
to sntp/scripts/cvo.sh
.
- Move
scripts/genLocInfo
to sntp/scripts/genLocInfo
.
- Remove hacks to get
NTP_LOCINFO
-related data to sntp/
.
- Remove
sntp l_fp_output()
test now that it uses prettydate()
.
- Do not force “legacy” when
--with-locfile
is not given, genLocInfo
will find the correct default for the system.
- DEFAULT INSTALLATION DIRECTORY CHANGES ON SOME OSes: to get the old behavior, pass
--with-locfile=legacy
to configure
- Give
NTP_LOCINFO
an optional path-to
argument.
- Improve the help text:
--with-locfile=XXX
.
- work around solaris
/bin/sh
issues for genLocInfo
.
refclocks
refclock_acts.c
updates and cleanup from Dave Mills.
- Move refclock-specific scheduled timer code under
#ifdef REFCLOCK
and move “action” and “nextaction” data for same from struct peer
to
struct refclockproc
. These provide a way to schedule a callback some seconds in the future.
- ACTS refclock cleanup from Dave Mills.
- Use an enum for the ACTS state table.
- Apply
tos orphanwait
(def. 300 seconds) to LOCAL and ACTS reference clock drivers, in addition to orphan parent operation. LOCAL and ACTS are not selectable during the orphanwait
delay at startup and after each no_sys_peer
event. This prevents a particular form of clock-hopping, such as using LOCAL briefly at startup before remote peers are selectable. This fixes the issue reported in Bug 988.
setvar modemsetup = ATE0...
overrides ACTS driver default.
- Preserve last timecode in ACTS driver (
ntpq -ccv
).
- Tolerate previous ATE1 state when sending ACTS setup.
- Enable ACTS and CHU reference clock drivers on Windows.
- Use
acts_close()
in acts_shutdown()
to avoid leaving a stale lockfile if unpeered via runtime configuration while the modem is open.
- Correct
acts_close()
test of pp->io.fd to see if it is open.
refclock_nmea.c
merge cleanup thanks to Juergen Perlinger.
refclock_nmea.c
refactoring by Juergen Perlinger.
- Conditionalize NMEA serial open message under
clockevent
.
- Change some error logging to
syslog
to ignore logconfig
mask, such as reporting PPSAPI failure in NMEA and WWVB refclocks.
- Added support for Garmin’s
$PGRMF
sentence to NMEA driver.
- NMEA driver documentation update from Juergen Perlinger.
- From 4.2.6p1-RC6: Correct CHU, dumbclock, and WWVB drivers to check for 0 returned from
refclock_open()
on failure.
- Initialize
refclockproc.rio.fd
to -1, harmonize refclock shutdown entrypoints to avoid crashing, particularly if refclock_open()
fails.
- Include 4.2.6p1: Fix widely cut-n-pasted bug in refclock shutdown after failed start.
- In
refclock_wwv.c
rename SECOND
to WWV_SEC
and MINUTE
to WWV_MIN
.
- Attempt to resolve strict-aliasing violation in
refclock_tsyncpci.c
.
- Add
refclock_tsyncpci.c
(driver 45) supporting Spectracom TSYNC timing boards.
- Fix && -> & typo in
refclock_palisade.c
debug statements.
- Log failure to fetch time from HOPF_P hardware.
- Check
HOPF_S sscanf()
conversion count before converted values.
- JJY driver improvements for Tristate JJY01/02, including changes to its clockstats format.
- Remove never-used, incomplete
ports/winnt/ntpd/refclock_trimbledc
.[ch]
- Remove kernel line discipline driver code for clk and chu, deprecate related
LDISC_ flags
, and remove associated ntpd
code to decode the timestamps, remove clktest
line discipline test program.
- Compare entire timestamp to reject duplicates in
refclock_pps()
.
- Change
refclock_open()
to return -1 on failure like open()
.
- Update all
refclock_open()
callers to check for fd <= 0 indicating failure, so they work with older and newer refclock_open()
and can easily backport.
ntpq
- Add
ntpq reslist
command to query access restrictions, similar to ntpdc
’s reslist
.
- Disable mode 7 (
ntpdc
) query processing in ntpd
by default. ntpq
is believed to provide all functionality ntpdc
did, and uses a less-fragile protocol that’s safer and easier to maintain. If you do find some management via ntpdc
is needed, you can use enable mode7
in the ntpd
configuration.
ntpq mrulist
shows intermediate counts every five seconds while retrieving list, and allows Ctrl-C interruption of the retrieval, showing the incomplete list as retrieved. Reduce delay between successive mrulist retrieval queries from 30 to 5 msec. Do not give up mrulist retrieval when a single query times out.
- Add missing
break;
to ntp_control.c ctl_putsys()
for caliberrs, used by ntpq -c kerninfo
introduced in 4.2.7p104.
- Move
ntp_control.h
variable IDs to ntp_control.c
, remove their use by ntpq
. They are implementation details private to ntpd
. Bug 597 was caused by ntpq
’s reliance on these IDs it need not know about.
- Add
ntpq kerninfo, authinfo
, and sysinfo
commands similar to ntpdc
’s.
- Add
ntpq pstats
command similar to ntpdc
’s.
- Remove
ntpq pstatus
command, rv/readvar
does the same and more.
- Allow
ntpq &1 associd
use without preceding association-fetching.
- from 4.2.6p2-RC3: Escape unprintable characters in a refid in
ntpq -p
billboard.
- Add
ntpq -c iostats
similar to ntpdc -c iostats
.
- Add
ntpq -c ifstats
similar to ntpdc -c ifstats
.
- Add
ntpq -c sysstats
similar to ntpdc -c sysstats
.
- Add
ntpq -c monstats
to show monlist
knobs and stats.
- Add
ntpq -c mrulist
similar to ntpdc -c monlist
but not limited to 600 rows, and with filtering and sorting options:
ntpq -c "mrulist mincount=2 laddr=192.168.1.2 sort=-avgint"
ntpq -c "mrulist sort=addr"
ntpq -c "mrulist mincount=2 sort=count"
ntpq -c "mrulist sort=-lstint"
ntpq
: increase response reassembly limit from 24 to 32 packets, add discussion in comment regarding results with even larger MAXFRAGS
.
ntpq
: handle passwd MYPASSWORD
(without prompting) as with ntpdc
.
- Extend
ntpq readvar
(alias rv
) to allow fetching up to three named variables in one operation: ntpq -c "rv 0 version offset frequency"
.
ntpq
: use srchost
variable to show .POOL. prototype associations' hostname instead of address 0.0.0.0.
- Clean up an exit status in
ntpq.c
.
- Remove 1024 associations-per-server limit from
ntpq
.
- Remove blank line between
ntpq mreadvar
associations.
ntpq autogen
docs.
- Produce
ntpq.1
with the new autogen
macros.
- Fix nits in the
ntpq
man page.
- Cleanup to
ntpq.texi
.
ntpdc
- Remove the deprecated
detail
stanza from ntpdc-opts.def
.
- Remove use of
MAXFILENAME
in mode 7 (ntpdc
) on-wire structs.
- Limit
ntpdc -c monlist
response in ntpd
to 600 entries, the previous overall limit on the MRU list depth which was driven by the monlist implementation limit of one request with a single multipacket response.
ntpdc
: do not examine argument to passwd
if not supplied.
ntpdc
documentation fixes and cleanup.
- Note the deprecation of
ntpdc
in its documentation.
ntp-keygen
ntp-keygen
private key cipher default now triple-key triple DES CBC.
ntp-keygen -M
is intended to ignore all other defaults and options, so do not attempt to open existing Autokey host certificate before generating symmetric keys and terminating.
- Restore IFF, MV, and GQ identity parameter filename convention to
ntpkey_<scheme>par_<group/host>
in ntpd
, matching ntp-keygen
.
- Backward Incompatible
ntp-keygen -i
option long name changed from misleading --issuer-name
to --ident
.
- Change
ntpd MAXFILENAME
from 128 to 256 to match ntp-keygen
.
- from 4.2.6p3-RC12: Suppress
ntp-keygen
OpenSSL version display for --help, --version
, display both build and runtime OpenSSL versions when they differ.
- Add
ntp-keygen -l/--lifetime
to control certificate expiry.
- Create
ntp-keygen.{html,texi}
.
ntp-keygen autogen
documentation updates.
Windows
- Treat zero counter as indication of precise system time in Windows PPSAPI helper function
pps_ntp_timestamp_from_counter()
, enabling PPSAPI providers to use the Windows 8 precise clock directly.
- Use
GetSystemTimePreciseAsFileTime()
on Windows 8.
ntp-keygen
on Windows XP and later systems will now create links expected by ntpd
. They are hardlinks on Windows, soft on POSIX.
- Force
.exe
minimum Windows version to 0x0400 to allow NT4 in vs2005/*.vcproj
files.
- Use
_mkgmtime()
as timegm()
in the Windows port, rather than libntp/mktime.c
’s timegm()
. Fixed Bug 1875 on Windows using the old asn2ntp()
code from before 4.2.7p147.
- Provide fallback definitions for
GetAdaptersAddresses()
for Windows build environments lacking iphlpapi.h
.
- Enable
tickadj
-like taming of wildly off-spec Windows clock using NTPD_TICKADJ_PPM
env. var. specifying baseline slew.
- Enable raw
tty
line discipline in Windows port.
- Allow
tty
open/close/open to succeed on Windows port.
- Enable generating
ntpd/ntp_keyword.h
after keyword-gen.c
changes on Windows as well as POSIX platforms.
- from 4.2.6p2-RC5: Windows port: do not exit in
ntp_timestamp_from_counter()
without first logging the reason.
- From 4.2.6p1-RC6: Correct Windows port’s
refclock_open()
to return 0 on failure not -1.
- Windows compiling
hints/winnt.html
update from G. Sunil Tej.
Linux
- Eliminate warnings about shadowing global “basename” on Linux.
- Remove
signal_no_reset: signal 17 had flags 4000000
logging, as it indicates no problem and is interpreted as an error. Previously some bits had been ignored one-by-one, but Linux SA_RESTORER
definition is unavailable to user headers.
unit tests
- Add unit tests for
msnprintf()
.
- Add more unit tests for
timeval_tostr()
and timespec_tostr()
.
- Fix
tvalops.cpp
unit test failures for 32-bit builds.
- Unit tests extended for hard-coded system time.
- Pass the configuration source into the parser as argument rather than through a global variable.
- Quiet warnings from
ntp_calendar.h
: avoid using argument names.
- Fix a variable lifetime issue.
- In
ntp_dir_sep.m4
, we care about $host_os
, not $target_os
.
- Add check for enable stats to
ntpd/complete.conf.in
- Remove
\n
’s from syslog
output strings.
- Have
NTP_LIBNTP
check for time.h
and clock_getres()
.
- Cleanup to
ntpsnmpd-opts.def
.
- Documentation cleanup to the
ntpd, ntpdc, ntpq
and ntp-wait .def
files.
- In
ntp.conf.def
, cleanup SEE ALSO, document rlimit
options.
- Make sure
agtexi-file.tpl
defines label-str
.
- Cleanup to
ntp.conf.def
.
- Update the copyright year.
- Create
agtexi-file.tpl
.
- Remove extraneous parens.
- Add a missing
%s syslog
format string.
- Distribute
ntp.conf.def
and ntp.keys.def
.
- Potential bugfix for
agtexi-cmd.tpl
.
- Look for
syslog
’s facilitynames[]
.
- Cleanup
kclk_sel240x.o
rules in libparse/Makefile.am
.
- Conditionalize
msyslog
messages about rejected mode 6 requests due to nomodify
and nomrulist
restrictions under logconfig +sysinfo
.
- Increment
sys_restricted
in a few rejection paths due to nomodify
restrictions where previosuly overlooked.
tickadj
may need to be linked with PTHREAD_LIBS
.
U_INT32_MAX
cleanup in include/ntp_types.h
.
- When linking,
ntp_keygen
and tickadj
need $(LIBM)
.
- Correct
authnumfreekeys
accounting broken in 4.2.7p262.
LCRYPTO
is gone - replace with VER_SUFFIX
.
- Improve
ntpd
scalability for servers with many trusted keys.
- Update one of the license URLs.
- Fix build break triggered by updating
deps-ver
and libntp/systime.c
at the same time by explicitly depending systime_s.c
on systime.c
.
- Refactor
timespecops.h
and timevalops.h
into inline functions.
- Floor peer delay using system precision, as with jitter, reflecting inability to measure shorter intervals.
- from 4.2.6p5-RC3: Ensure NULL peer->dstadr is not accessed in orphan parent selection.
- from 4.2.6p5-RC2: Exclude not-yet-determined
sys_refid
from use in loopback TEST12 (from Dave Mills).
- from 4.2.6p5-RC2: Never send KoD rate limiting response to
MODE_SERVER
.
- Floor calculation of
sys_rootdisp
at sys_mindisp
in clock_update
(from Dave Mills).
- Restore 4.2.6
clock_combine()
weighting to ntp-dev, reverting to pre-4.2.7p70 method while also avoiding divide-by-zero (from Dave Mills).
- Round
l_fp
traffic interval when converting to integer in rate limit and KoD calculation.
- Clean up
-libm
entries regarding libntp.a
- Update the
NEWS
file so we note the default disable of mode 7 requests.
- Clean up some bitrotted code in libntp/socket.c.
- Directly limit the number of datagrams in a
mrulist
response, rather than limiting the number of entries returned to indirectly limit the datagram count.
- Log signal description along with number on
ntpd
exit.
- Send all peer variables to trappers in
report_event()
.
- Fix the
CLOCK_MONOTONIC TRACE()
message.
- Cleanups for
ntp-wait-opts.def
and ntp.keys.def
.
- Actually use long long for
(u_)int64
by correcting spelling of SIZEOF_LONG_LONG
in ntp_types.h
.
- Correct
init_logging()
’s def_syslogmask
type to u_int32
following change of ntp_syslogmask
from u_long
to u_int32
in p202.
- Add support for installing programs and scripts to
libexec
.
- Match
addr_eqprefix() sizeof
and memcpy
destination to make it clear to static analysis that there is no buffer overrun (CID 402).
ntp-wait
: some versions of ntpd
spell associd
differently.
- Update
.point-changed-filelist
for the new man pages.
- Update
.point-changed-filelist
.
- Upgrade local
autoopts
templates to 5.11.10pre5.
- Update the
std_def_list
to include the ntp.lic
file.
- Distribute the
ntp.lic
file.
- Add ntp.org/license to the
ntp.lic
file.
- Clean up the
ntp.lic
file.
- Typo in
emalloc.c
hides file and line number from emalloc()
error msg.
parsesolaris.c
compile fails on SPARC Solaris with conflicting printf
.
ntp_util.c
compile fails on AIX and OSF with conflicting statsdir
.
- Remove hardcoded 1/960 s. fudge for
<CR>
transmission time at 9600 8n1 from WWVB/Spectracom driver introduced in 4.2.7p169.
- Use
filegen_config()
consistently when changing filegen
options.
mprintf()
should go to stdout
, not stderr. DPRINTF()
uses mprintf()
.
- Repair a few simulator problems (more remain).
- Use 64-bit scalars in
LFPTOD()
and DTOLFP()
on more platforms by conditionalizing on HAVE_U_INT64
rather than UINT64_MAX
.
- Convert receive buffer queue from doubly-linked list to FIFO.
- Change
pool DNS
messages from msyslog
to debug trace output.
- Remove unused
FLAG_SYSPEER
from peer->status.
- Respect
tos orphanwait
at startup. Previously there was an unconditional 300 s. startup orphanwait
, though other values were respected for subsequent orphan wait periods after no_sys_peer
events.
- Fix a couple of unused variable warnings.
- cleanup in
timespecops.c / timevalops.c
- Fix leak in
refclock_datum.c
start failure path.
- Coverity Scan cleanups and error checking fixes.
- Detect
vsnprintf()
support for %m
and disable our %m
expansion.
- On systems without C99-compliant
(v)snprintf()
, use C99-snprintf
replacements
- Remove remaining
sprintf()
calls except refclock_ripencc.c
(which is kept out of --enable-all-clocks
as a result), upstream libs which use sprintf()
only after careful buffer sizing.
ntp_crypto.c
string buffer safety.
- Buffer safety and sign extension fixes (thanks Coverity Scan).
- String buffer safety cleanup, converting to
strlcpy()
and strlcat()
.
- Use
utmpname()
before pututline()
so repeated steps do not accidentally record into wtmp
where utmp
was intended.
- Use
setutent()
before each pututline()
including first.
- One more lock-while-init in
lib/isc/task.c
to quiet lock analysis.
- Use
TRACE()
instead of DPRINTF()
for libntp
and utilities, which use the debug
variable regardless of #ifdef DEBUG
.
- Declare
debug
in libntp
instead of each program. Expose extern declaration to utilities, libntp
, and DEBUG ntpd
.
- Lock under-construction task, taskmgr objects to satisfy Coverity’s mostly-correct assumptions about which variables are protected by which locks.
- Ensure
CONFIG_SHELL
is not empty before relying on it for #!
scripts.
- Add
INC_ALIGNED_PTR()
macro to align pointers like malloc()
.
- Do not cache paths to
perl, test
, or pkg-config
, searching the PATH
at configure time is worth it to pick up tool updates.
- ElectricFence was suffering bitrot - remove it.
valgrind
works well.
- Correct Solaris 2.1x
PTHREAD_ONCE_INIT
extra braces test to avoid triggering warnings due to excess braces.
- Provide bug report and URL options to Autoconf.
- older
autoconf
sometimes dislikes []
.
- Move blocking worker and resolver to
libntp
from ntpd
.
- Use threads rather than forked child processes for blocking worker when possible. Override with
configure --disable-thread-support
.
- Move more
m4sh
tests needed by libntp
to shared .m4
files.
- Split up
ntp_libntp.m4
into smaller, more specific subsets.
- Enable
gcc -Wcast-align
, fix many instances of warnings when casting a pointer to a more-strictly-aligned underlying type.
- Fix leak in
ntp_control.c read_mru_list()
.
- Fix unexposed fencepost error in
format_time_fraction()
.
- Avoid shadowing the
group
global variable.
- Change new
timeval
and timespec
to string routines to use snprintf()
rather than hand-crafted conversion, avoid signed int overflow there.
- Add configure support for
SIZEOF_LONG_LONG
to enable portable use of snprintf()
with time_t
.
- Grow
ntpd/work_thread.c
arrays as needed.
- Add
DEBUG_*
variants of ntp_assert.h
macros which compile away using ./configure --disable-debugging
.
- Return to a single
autoreconf
invocation in ./bootstrap
script.
- crypto group changes from Dave Mills.
- Lose the
RANGEGATE
check in PPS, from Dave Mills.
- added
timespecops.{c,h}
and tievalops.{c.h}
to libntp
and include added tspecops.cpp
to tests/libntp
- Add
erealloc_zero()
, refactor estrdup(), emalloc(), emalloc_zero()
to separate tracking callsite file/line from using debug MS C runtime, and to reduce code duplication.
- Begin moving some of the low-level socket stuff to
libntp
.
- Remove nearly all
strcpy()
and most strcat()
from NTP distribution.
- One major pocket remains in
ntp_crypto.c. libopts
& libisc
also have (safe) uses of strcpy()
and strcat()
remaining.
- Autokey multiple identity group improvements from Dave Mills.
- from 4.2.6p3: Update
genCommitLog
for the bk-5 release.
- from 4.2.6p3: Update
bk
triggers for the bk-5 release.
- Support for multiple Autokey identity groups from Dave Mills.
- from 4.2.6p3-RC12: Other
manycastclient
repairs:
- Separate handling of scope ID embedded in many
in6_addr
from ifindex
used for IPv6 multicasting ioctls.
- Add
INT_PRIVACY
endpt bit flag for IPv6 RFC 4941 privacy addresses.
- Enable outbound multicast from only one address per interface in the same subnet, and in that case prefer embedded MAC address modified EUI-64 IPv6 addresses first, then static, and last RFC 4941 privacy addresses.
- Use
setsockopt(IP[V6]_MULTICAST_IF)
before each send to multicast to select the local source address, using the correct socket is not enough.
server ... ident <groupname>
changes from Dave Mills.
- An almost complete rebuild of the initial loopfilter configuration process, including the code that determines the interval between frequency file updates, from Dave Mills.
- Add
nonvolatile ntp.conf
directive to control how often the driftfile
is written.
- Correct frequency estimate with no drift file, from David Mills.
- Refactor calendar functions in terms of new common code.
- Include Linus Karlsson’s GSoC 2010 testing code.
- refinements to new startup behavior from David Mills.
- Fix from Dave Mills for a rare singularity in
clock_combine()
.
- Remove unused
bias
configuration keyword.
- Remove
calldelay
and sign
remnants from parser, ntp_config.c
.
- from 4.2.6p3:
ntpsnmpd, libntpq
warning cleanup.
- Remove
calldelay
and sign
keywords (Dave Mills).
- Lose peer_count from
ntp_peer.c
and ntp_proto.c
(Dave Mills).
- Variable name cleanup from Dave Mills.
- Clock select bugfix from Dave Mills.
- Clock combining algorithm improvements from Dave Mills.
- More Initial convergence improvements from Dave Mills.
- Cleanup
NTP_LIB_M
.
- Use
AC_SEARCH_LIBS
instead of AC_CHECK_LIB
for NTP_LIB_M
.
- Typo fix in a comment in
ntp_proto.c
.
clock_filter()
/reachability fixes from Dave Mills.
- Rewrite of multiprecision macros in
ntp_fp.h
from J. Perlinger
include/ntp_crypto.h
: make assumption AUTOKEY
implies OPENSSL
explicit.
- from 4.2.6p2-RC3: Simplify hash client code by providing
OpenSSL EVP_*()
API when built without OpenSSL. (already in 4.2.7)
- Update the
ChangeLog
entries when merging items from -stable.
- Modify full MRU list preemption when full to match
discard monitor
documentation, by removing exception for count == 1
.
ntpdate
: stop querying source after KoD packet response, log it.
ntpdate
: rate limit each server to 2s between packets.
- From J. N. Perlinger: avoid pointer wraparound warnings in
dolfptoa(), printf
format mismatches with 64-bit size_t
.
- Broadcast client (ephemeral) associations should be demobilized only if they are not heard from for 10 consecutive polls, regardless of surviving the clock selection. Fix from David Mills.
- Modify internal representation of MRU list to use
l_fp
fixed-point NTP timestamps instead of seconds since startup. This increases the resolution and substantially improves accuracy of sorts involving timestamps, at the cost of flushing all MRU entries when the clock is stepped, to ensure the timestamps can be compared with the current get_systime()
results.
- Add
ntp.conf mru
directive to configure MRU parameters, such as mru mindepth 600 maxage 64 maxdepth 5000 maxmem 1024
or mru initalloc 0 initmem 16 incalloc 99 incmem 4
. Several pairs are equivalent with one in units of MRU entries and its twin in units of kilobytes of memory, so the last one used in ntp.conf
controls: maxdepth/maxmem, initalloc/initmem, incalloc/incmem
. With the above values, ntpd
will preallocate 16kB worth of MRU entries, allocating 4kB worth each time more are needed, with a hard limit of 1MB of MRU entries. Until there are more than 600 entries none would be reused. Then only entries for addresses last seen 64 seconds or longer ago are reused.
- New
pool
directive implementation modeled on manycastclient
.
- Do not abort on non-ASCII characters in
ntp.conf
, ignore them.
configure
: remove check for pointer type used with qsort()
, we require ANSI C which mandates void *
.
- Reset
sys_kodsent
to 0 in proto_clr_stats()
.
- Add
sptoa()/sockporttoa()
similar to stoa()/socktoa()
adding :port
.
- Use
memcpy()
instead of memmove()
when buffers can not overlap.
- Remove
sockaddr_storage
from our sockaddr_u union
of sockaddr, sockaddr_in
, and sockaddr_in6
, shaving about 100 bytes from its size and substantially decreasing MRU entry memory consumption.
restrict source ...
configures override restrictions for time sources, allows tight default restrictions to be used with the pool directive (where server addresses are not known in advance).
- Ignore
preempt
modifier on manycastclient
and pool
prototype associations. The resulting associations are preemptible, but the prototype must not be.
- Maintain and use linked list of associations (
struct peer
) in ntpd
, avoiding walking 128 hash table entries to iterate over peers.
- Remove more workarounds unneeded since we require ISO C90 AKA ANSI C:
- remove fallback implementations for
memmove(), memset, strstr()
.
- do not test for
atexit()
or memcpy()
.
- Collapse a bunch of code duplication in
ntpd/ntp_restrict.c
added with support for IPv6.
- Correct some corner case failures in automatically enabling the MRU list if any
restrict ... limited
is in effect, and in disabling MRU maintenance. (ntp_monitor.c, ntp_restrict.c
)
- Reverse the internal sort order of the address restriction lists, but preserve the same behavior. This allows removal of special-case code related to the default restrictions and more straightforward lookups of restrictions for a given address (now, stop on first match).
- Move
ntp_restrict.c
MRU doubly-linked list maintenance code into ntp_lists.h
macros, allowing more duplicated source excision.
- Repair
ntpdate.c
to no longer test HAVE_TIMER_SETTIME
.
- Do not reference peer_node/unpeer_node after freeing when built with
--disable-saveconfig
and using DNS.
- Use all addresses for each restrict by hostname.
- Use async DNS to resolve trap directive hostnames.
- Stop using
getaddrinfo()
to convert numeric address strings to on-wire addresses in favor of is_ip_address()
alone.
- Attempts to cure CID 108 CID 118 CID 119
TAINTED_SCALAR
warnings.
- Broaden
ylwrap
workaround VPATH_HACK
to all non-GNU make
.
- Include 4.2.6p1: Convert many
sprintf()
calls to snprintf()
, also strcpy(), strcat()
.
- Include 4.2.6p1: Remove some dead code checking for
emalloc()
returning NULL.
- New async DNS resolver in
ntpd
allows nonblocking queries anytime, instead of only once at startup.
- Include 4.2.6p1-RC3: Use
TZ=UTC
instead of TZ=
when calling date
in scripts/mkver.in
.