From: Harlan Stenn Date: Wed, 27 Apr 2016 06:51:43 +0000 (+0000) Subject: Merge psp-deb1.ntp.org:/home/stenn/ntp-stable X-Git-Tag: NTP_4_3_92~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=742d6396958ad5c36f420e352bbcddd6d3fa5eb7;p=thirdparty%2Fntp.git Merge psp-deb1.ntp.org:/home/stenn/ntp-stable into psp-deb1.ntp.org:/home/stenn/ntp-dev bk: 5720617fGdHAEHpbl1AF4wmmDrADNA --- 742d6396958ad5c36f420e352bbcddd6d3fa5eb7 diff --cc ChangeLog index 726f2f13e,f61a44798..53cc1e9d6 --- a/ChangeLog +++ b/ChangeLog @@@ -1,623 -1,63 +1,681 @@@ ---- -(4.2.8p7) 2016/04/26 Released by Harlan Stenn - ++From ntp-4.2.8p7: + * [Sec 2901] KoD packets must have non-zero transmit timestamps. HStenn. + * [Sec 2936] Skeleton Key: Any system knowing the trusted key can serve + time. Include passive servers in this check. HStenn. + * [Sec 2945] Additional KoD packet checks. HStenn. + * [Sec 2978] Interleave can be partially triggered. HStenn. + * [Sec 3007] Validate crypto-NAKs. Danny Mayer. + * [Sec 3008] Always check the return value of ctl_getitem(). + - initial work by HStenn + - Additional cleanup of ctl_getitem by perlinger@ntp.org + * [Sec 3009] Crafted addpeer with hmode > 7 causes OOB error. perlinger@ntp.org + - added more stringent checks on packet content + * [Sec 3010] remote configuration trustedkey/requestkey values + are not properly validated. perlinger@ntp.org + - sidekick: Ignore keys that have an unsupported MAC algorithm + but are otherwise well-formed + * [Sec 3011] Duplicate IPs on unconfig directives will cause an assertion botch + - graciously accept the same IP multiple times. perlinger@ntp.org + * [Sec 3020] Refclock impersonation. HStenn. + * [Bug 2831] Segmentation Fault in DNS lookup during startup. perlinger@ntp.org + - fixed yet another race condition in the threaded resolver code. + * [Bug 2858] bool support. Use stdbool.h when available. HStenn. + * [Bug 2879] Improve NTP security against timing attacks. perlinger@ntp.org + - integrated patches by Loganaden Velvidron + with some modifications & unit tests + * [Bug 2952] Symmetric active/passive mode is broken. HStenn. + * [Bug 2960] async name resolution fixes for chroot() environments. + Reinhard Max. + * [Bug 2994] Systems with HAVE_SIGNALED_IO fail to compile. perlinger@ntp.org + * [Bug 2995] Fixes to compile on Windows + * [Bug 2999] out-of-bounds access in 'is_safe_filename()'. perlinger@ntp.org + * [Bug 3013] Fix for ssl_init.c SHA1 test. perlinger@ntp.org + - Patch provided by Ch. Weisgerber + * [Bug 3015] ntpq: config-from-file: "request contains an unprintable character" + - A change related to [Bug 2853] forbids trailing white space in + remote config commands. perlinger@ntp.org + * [Bug 3019] NTPD stops processing packets after ERROR_HOST_UNREACHABLE + - report and patch from Aleksandr Kostikov. + - Overhaul of Windows IO completion port handling. perlinger@ntp.org + * [Bug 3022] authkeys.c should be refactored. perlinger@ntp.org + - fixed memory leak in access list (auth[read]keys.c) + - refactored handling of key access lists (auth[read]keys.c) + - reduced number of error branches (authreadkeys.c) + * [Bug 3023] ntpdate cannot correct dates in the future. perlinger@ntp.org + * [Bug 3030] ntpq needs a general way to specify refid output format. HStenn. + * [Bug 3031] ntp broadcastclient unable to synchronize to an server + when the time of server changed. perlinger@ntp.org + - Check the initial delay calculation and reject/unpeer the broadcast + server if the delay exceeds 50ms. Retry again after the next + broadcast packet. + * [Bug 3036] autokey trips an INSIST in authistrustedip(). Harlan Stenn. + * Document ntp.key's optional IP list in authenetic.html. Harlan Stenn. + * Update html/xleave.html documentation. Harlan Stenn. + * Update ntp.conf documentation. Harlan Stenn. + * Fix some Credit: attributions in the NEWS file. Harlan Stenn. + * Fix typo in html/monopt.html. Harlan Stenn. + * Add README.pullrequests. Harlan Stenn. + * Cleanup to include/ntp.h. Harlan Stenn. +(4.3.91) 2016/01/24 Released by Harlan Stenn +From ntp-4.2.8p7: +* [Bug 2994] Systems with HAVE_SIGNALED_IO fail to compile. perlinger@ntp.org +* [Bug 2995] Fixes to compile on Windows +(4.3.90) 2016/01/20 Released by Harlan Stenn +From ntp-4.2.8p6: +* [Sec 2935] Deja Vu: Replay attack on authenticated broadcast mode. HStenn. +* [Sec 2936] Skeleton Key: Any trusted key system can serve time. HStenn. +* [Sec 2937] ntpq: nextvar() missing length check. perlinger@ntp.org +* [Sec 2938] ntpq saveconfig command allows dangerous characters + in filenames. perlinger@ntp.org +* [Sec 2939] reslist NULL pointer dereference. perlinger@ntp.org +* [Sec 2940] Stack exhaustion in recursive traversal of restriction + list. perlinger@ntp.org +* [Sec 2942]: Off-path DoS attack on auth broadcast mode. HStenn. +* [Sec 2945] Zero Origin Timestamp Bypass. perlinger@ntp.org +* [Sec 2948] Potential Infinite Loop in ntpq ( and ntpdc) perlinger@ntp.org +* [Bug 2772] adj_systime overflows tv_usec. perlinger@ntp.org +* [Bug 2814] msyslog deadlock when signaled. perlinger@ntp.org + - applied patch by shenpeng11@huawei.com with minor adjustments +* [Bug 2882] Look at ntp_request.c:list_peers_sum(). perlinger@ntp.org +* [Bug 2891] Deadlock in deferred DNS lookup framework. perlinger@ntp.org +* [Bug 2892] Several test cases assume IPv6 capabilities even when + IPv6 is disabled in the build. perlinger@ntp.org + - Found this already fixed, but validation led to cleanup actions. +* [Bug 2905] DNS lookups broken. perlinger@ntp.org + - added limits to stack consumption, fixed some return code handling +* [Bug 2971] ntpq bails on ^C: select fails: Interrupted system call + - changed stacked/nested handling of CTRL-C. perlinger@ntp.org + - make CTRL-C work for retrieval and printing od MRU list. perlinger@ntp.org +* [Bug 2980] reduce number of warnings. perlinger@ntp.org + - integrated several patches from Havard Eidnes (he@uninett.no) +* [Bug 2985] bogus calculation in authkeys.c perlinger@ntp.org + - implement 'auth_log2()' using integer bithack instead of float calculation +* Make leapsec_query debug messages less verbose. Harlan Stenn. +* Disable incomplete t-ntp_signd.c test. Harlan Stenn. +(4.3.89) 2016/01/08 Released by Harlan Stenn +ntp-4.2.8p5 +No changes since 4.3.88. +(4.3.88) 2015/12/06 Released by Harlan Stenn +Below are from 4.2.8p5: +* Quiet a warning from clang. Harlan Stenn. +(4.3.87) 2015/12/05 Released by Harlan Stenn +Below are from 4.2.8p5: +* CID 1341677: Nits in sntp/tests/keyFile.c. HStenn. +* CID 1341678: Nits in sntp/tests/keyFile.c. HStenn. +* CID 1341679: Nits in sntp/tests/keyFile.c. HStenn. +* CID 1341680: Nits in sntp/tests/keyFile.c. HStenn. +* CID 1341681: Nits in sntp/tests/keyFile.c. HStenn. +* CID 1341682: Nit in libntp/authreadkeys.c. HStenn. +* CID 1341684: Nit in tests/ntpd/t-ntp_signd.c. HStenn. +(4.3.86) 2015/12/04 Released by Harlan Stenn +Below are from 4.2.8p5: +* CID 1341527: Quiet a CHECKED_RETURN in sntp/tests/t-log.c. HStenn. +* CID 1341533: Missing assertion in sntp/tests/t-log.c. HStenn. +* CID 1341534: Resource leak in tests/ntpd/t-ntp_signd.c. HStenn. +* CID 1341535: Resource leak in tests/ntpd/t-ntp_signd.c. HStenn. +* CID 1341536: Resource leak in tests/ntpd/t-ntp_signd.c. HStenn. +* CID 1341537: Resource leak in tests/ntpd/t-ntp_signd.c. HStenn. +* CID 1341538: Memory leak in tests/ntpd/ntp_prio_q.c:262. HStenn. +* Header cleanup in tests/sandbox/uglydate.c. Harlan Stenn. +* Header cleanup in tests/libntp/sfptostr.c. Harlan Stenn. +(4.3.85) 2015/12/02 Released by Harlan Stenn +Below are from 4.2.8p5: +* [Bug 2829] Look at pipe_fds in ntpd.c (did so. perlinger@ntp.org) +* [Bug 2887] stratum -1 config results as showing value 99 + - fudge stratum only accepts values [0..16]. perlinger@ntp.org +* [Bug 2944] errno is not preserved properly in ntpdate after sendto call. + - applied patch by Christos Zoulas. perlinger@ntp.org +* [Bug 2967] ntpdate command suffers an assertion failure + - fixed ntp_rfc2553.c to return proper address length. perlinger@ntp.org +* [Bug 2971] ntpq bails on ^C: select fails: Interrupted system call + - changed stacked/nested handling of CTRL-C. perlinger@ntp.org +(4.3.84) 2015/11/26 Released by Harlan Stenn +Below are from 4.2.8p5: +* Libevent autoconf pthread fixes for FreeBSD-10. Harlan Stenn. +(4.3.83) 2015/11/25 Released by Harlan Stenn +Below are from 4.2.8p5: +* Unity test cleanup. Harlan Stenn. +(4.3.82) 2015/11/23 Released by Harlan Stenn +Below are from 4.2.8p5: +* CID 1339955: Free allocated memory in caljulian test. HStenn. +* CID 1339962: Explicitly initialize variable in caljulian test. HStenn. +(4.3.81) 2015/11/21 Released by Harlan Stenn +Below are from 4.2.8p5: +* Unity test cleanup. Harlan Stenn. +(4.3.80) 2015/11/20 Released by Harlan Stenn +Below are from 4.2.8p5: +* [Bug 2958] ntpq: fatal error messages need a final newline. Craig Leres. +* [Bug 2969] Seg fault from ntpq/mrulist when looking at server with + lots of clients. perlinger@ntp.org +* Unity test cleanup. Harlan Stenn. +(4.3.79) 2015/11/17 Released by Harlan Stenn +Below are from 4.2.8p5: +* [Bug 2932] Update leapsecond file info in miscopt.html. CWoodbury, HStenn. +* [Bug 2957] 'unsigned int' vs 'size_t' format clash. perlinger@ntp.org + - accept key file only if there are no parsing errors + - fixed size_t/u_int format clash + - fixed wrong use of 'strlcpy' +* [Bug 2962] truncation of size_t/ptrdiff_t on 64bit targets. perlinger@ntp.org + - fixed several other warnings (cast-alignment, missing const, missing prototypes) + - promote use of 'size_t' for values that express a size + - use ptr-to-const for read-only arguments + - make sure SOCKET values are not truncated (win32-specific) + - format string fixes +* [Bug 2965] Local clock didn't work since 4.2.8p4. Martin Burnicki. +* Unity test cleanup. Harlan Stenn. +(4.3.78) 2015/11/07 Released by Harlan Stenn +Below are from 4.2.8p5: +* [Sec 2956] small-step/big-step. Close the panic gate earlier. HStenn. +* [Bug 2934] tests/ntpd/t-ntp_scanner.c has a magic constant wired in. HMurray +* [Bug 2954] Version 4.2.8p4 crashes on startup with sig fault + - fixed data race conditions in threaded DNS worker. perlinger@ntp.org + - limit threading warm-up to linux; FreeBSD bombs on it. perlinger@ntp.org +* Unity cleanup for FreeBSD-6.4. Harlan Stenn. +* Unity test cleanup. Harlan Stenn. +(4.3.77) 2015/10/22 Released by Harlan Stenn +Below are from 4.2.8p4: +* [Sec 2899] CVE-2014-9297 perlinger@ntp.org +* [Sec 2901] Drop invalid packet before checking KoD. Check for all KoD's. + Danny Mayer. Log incoming packets that fail TEST2. Harlan Stenn. +* [Sec 2902] configuration directives "pidfile" and "driftfile" + should be local-only. perlinger@ntp.org (patch by Miroslav Lichvar) +* [Sec 2909] added missing call to 'free()' in ntp_crypto.c. perlinger@ntp.org +* [Sec 2913] TALOS-CAN-0052: crash by loop counter underrun. perlinger@ntp.org +* [Sec 2916] TALOS-CAN-0054: memory corruption in password store. JPerlinger +* [Sec 2917] TALOS-CAN-0055: Infinite loop if extended logging enabled and + the logfile and keyfile are the same. perlinger@ntp.org +* [Sec 1918] TALOS-CAN-0062: prevent directory traversal for VMS, too, when + using 'saveconfig' command. perlinger@ntp.org +* [Bug 2919] TALOS-CAN-0063: avoid buffer overrun in ntpq. perlinger@ntp.org +* [Sec 2020] TALOS-CAN-0064: signed/unsiged clash could lead to buffer overun + and memory corruption. perlinger@ntp.org +* [Sec 2921] TALOS-CAN-0065: password length memory corruption. JPerlinger. +* [Sec 2922] decodenetnum() will ASSERT botch instead of returning FAIL + on some bogus values. Harlan Stenn. +* [Sec 2941] NAK to the Future: Symmetric association authentication + bypass via crypto-NAK. Patch applied. perlinger@ntp.org +(4.3.76) 2015/10/05 Released by Harlan Stenn +Below are from 4.2.8p4: +* [Bug 2912] no munlockall() under Windows. David Taylor, Harlan Stenn. +(4.3.75) 2015/10/01 Released by Harlan Stenn +Below are from 4.2.8p4: +* build system tweaks. Harlan Stenn. +(4.3.74) 2015/09/30 Released by Harlan Stenn +Below are from 4.2.8p4: +* [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. J.Perlinger +* [Bug 2888] streamline calendar functions. perlinger@ntp.org +* Implement --enable-problem-tests (on by default). Harlan Stenn. +(4.3.73) 2015/09/29 Released by Harlan Stenn +Below are from 4.2.8p4: +* More updates for bug 2817. Harlan Stenn. +* Fix bugs in tests/ntpd/ntp_prio_q.c. Harlan Stenn. +* gcc on older HPUX may need +allowdups. Harlan Stenn. +* Disable certain test programs on certain platforms. Harlan Stenn. +(4.3.72) 2015/09/21 Released by Harlan Stenn +Below are from 4.2.8p4: +* Unit test dist cleanup. Harlan Stenn. +* Cleanup various test Makefile.am files. Harlan Stenn. +* Pthread autoconf macro cleanup. Harlan Stenn. +* Fix progname definition in unity runner scripts. Harlan Stenn. +* Clean trailing whitespace in tests/ntpd/Makefile.am. Harlan Stenn. +* Update the patch for bug 2817. Harlan Stenn. +(4.3.71) 2015/09/15 Released by Harlan Stenn +Below are from 4.2.8p4: +* [Bug 2907] dist* build targets require our libevent/ to be enabled. HStenn. +* Retire google test - phase I. Harlan Stenn. +* Unity test cleanup: move declaration of 'initializing'. Harlan Stenn. +(4.3.70) 2015/08/03 Released by Harlan Stenn +Below are from 4.2.8p4: +* [Bug 2889] ntp-dev-4.3.67 does not build on Windows. perlinger@ntp.org +(4.3.69) 2015/08/01 Released by Harlan Stenn +Below are from 4.2.8p4: +* [Bug 2821] minor build issues: fixed refclock_gpsdjson.c. perlinger@ntp.org +(4.3.68) 2015/07/31 Released by Harlan Stenn +Below are from 4.2.8p4: +* [Bug 2890] Ignore ENOBUFS on routing netlink socket. Konstantin Khlebnikov. +(4.3.67) 2015/07/29 Released by Harlan Stenn +Below are from 4.2.8p4: +* Added tests/ntpd/ntp_scanner.c test. Damir Tomić. +* Added declarations to all Unity tests, and did minor fixes to them. + Reduced the number of warnings by half. Damir Tomić. +* Updated generate_test_runner.rb and updated the sntp/unity/auto directory + with the latest Unity updates from Mark. Damir Tomić. +(4.3.66) 2015/07/28 Released by Harlan Stenn +Below are from 4.2.8p4: +* Typo fix for GCC warning suppression. Harlan Stenn. +(4.3.65) 2015/07/27 Released by Harlan Stenn +Below are from 4.2.8p4: +* [Bug 2595] ntpdate man page quirks. Hal Murray, Harlan Stenn. +* [Bug 2625] Deprecate flag1 in local refclock. Hal Murray, Harlan Stenn. +* [Bug 2817] Stop locking ntpd into memory by default under Linux. H.Stenn. +* Wrote tests for ntpd/ntp_prio_q.c. Tomasz Flendrich +* ntpd/ntp_restrict.c: added a few assertions, created tests for this file. + Tomasz Flendrich +* Changed progname to be const in many files - now it's consistent. Tomasz + Flendrich +(4.3.64) 2015/07/26 Released by Harlan Stenn +Below are from 4.2.8p4: +* [Bug 2886] Mis-spelling: "outlyer" should be "outlier". dave@horsfall.org +* tests/libntp/timevalops.c and timespecops.c fixed error printing. D.Tomić. +* tests/libntp/statestr.c remove empty functions, remove unnecessary include, + fix formatting. Tomasz Flendrich +* tests/libntp/ssl_init.c fixed formatting. Tomasz Flendrich +* tests/libntp/tvtots.c fixed a bug, fixed formatting. Tomasz Flendrich +* tests/libntp/uglydate.c removed an unnecessary include. Tomasz Flendrich +* tests/libntp/vi64ops.c removed an unnecessary comment, fixed formatting. +* tests/libntp/ymd3yd.c removed an empty function and an unnecessary include, +fixed formatting. Tomasz Flendrich +* tests/libntp/timespecops.c fixed formatting, fixed the order of includes, + removed unnecessary comments, cleanup. Tomasz Flendrich +* tests/libntp/timevalops.c fixed the order of includes, deleted unnecessary + comments, cleanup. Tomasz Flendrich +* tests/libntp/sockaddrtest.h making it agree to NTP's conventions of formatting. + Tomasz Flendrich +* tests/libntp/lfptest.h cleanup. Tomasz Flendrich +* tests/libntp/test-libntp.c fix formatting. Tomasz Flendrich +* sntp/tests/crypto.c is now using proper Unity's assertions, fixed formatting. + Tomasz Flendrich +* sntp/tests/kodDatabase.c added consts, deleted empty function, + fixed formatting. Tomasz Flendrich +* sntp/tests/kodFile.c cleanup, fixed formatting. Tomasz Flendrich +* sntp/tests/packetHandling.c is now using proper Unity's assertions, + fixed formatting, deleted unused variable. Tomasz Flendrich +* sntp/tests/keyFile.c is now using proper Unity's assertions, fixed formatting. + Tomasz Flendrich +* sntp/tests/packetProcessing.c changed from sprintf to snprintf, + fixed formatting. Tomasz Flendrich +* sntp/tests/utilities.c is now using proper Unity's assertions, changed + the order of includes, fixed formatting, removed unnecessary comments. + Tomasz Flendrich +* sntp/tests/sntptest.h fixed formatting. Tomasz Flendrich +* sntp/tests/fileHandlingTest.h.in fixed a possible buffer overflow problem, + made one function do its job, deleted unnecessary prints, fixed formatting. + Tomasz Flendrich +(4.3.63) 2015/07/21 Released by Harlan Stenn +Below are from 4.2.8p4: +* [Bug 2883] ntpd crashes on exit with empty driftfile. Miroslav Lichvar. +(4.3.62) 2015/07/20 Released by Harlan Stenn +Below are from 4.2.8p4: +* [Bug 2849] Systems with more than one default route may never + synchronize. Brian Utterback. Note that this patch might need to + be reverted once Bug 2043 has been fixed. +* libntp/icom.c: Typo fix. Harlan Stenn. +* util/ntptime.c: initialization nit. Harlan Stenn. +* ntpd/ntp_peer.c:newpeer(): added a DEBUG_REQUIRE(srcadr). Harlan Stenn. +(4.3.61) 2015/07/19 Released by Harlan Stenn +Below are from 4.2.8p4: +* Code cleanup. Harlan Stenn. +(4.3.60) 2015/07/16 Released by Harlan Stenn +Below are from 4.2.8p4: +* Get rid of the NTP_ prefix on our assertion macros. Harlan Stenn. +(4.3.59) 2015/07/13 Released by Harlan Stenn +Below are from 4.2.8p4: +* [Bug 2823] ntpsweep with recursive peers option doesn't work. H.Stenn. +* scripts/lib/NTP/Util.pm: stratum output is version-dependent. Harlan Stenn. +(4.3.58) 2015/07/12 Released by Harlan Stenn +Below are from 4.2.8p4: +* [Bug 2875] sntp/Makefile.am: Get rid of DIST_SUBDIRS. libevent must + be configured for the distribution targets. Harlan Stenn. +* br-flock: --enable-local-libevent. Harlan Stenn. +(4.3.57) 2015/07/09 Released by Harlan Stenn +Below are from 4.2.8p4: +* Phase 1 deprecation of google test in tests/libntp/. Harlan Stenn. +* Don't build sntp/libevent/sample/. Harlan Stenn. +* tests/libntp/test_caltontp needs -lpthread. Harlan Stenn. +(4.3.56) 2015/07/07 Released by Harlan Stenn +Below are from 4.2.8p4: +* [Bug 2873] libevent should not include .deps/ in the tarball. H.Stenn +* sntp/unity/unity.c: Clean up a printf(). Harlan Stenn. +(4.3.55) 2015/07/06 Released by Harlan Stenn +Below are from 4.2.8p4: +* [Bug 2874] Don't distribute generated sntp/tests/fileHandlingTest.h. H.Stenn +* sntp/unity/Makefile.am: fix some broken paths. Harlan Stenn. +(4.3.54) 2015/07/05 Released by Harlan Stenn +Below are from 4.2.8p4: +* 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. Tomasz Flendrich +(4.3.53) 2015/07/04 Released by Harlan Stenn +Below are from 4.2.8p4: +* [Bug 2866] segmentation fault at initgroups(). Harlan Stenn. +* Phase 1 deprecation of google test in sntp/tests/. Harlan Stenn. +* On some versions of HP-UX, inttypes.h does not include stdint.h. H.Stenn. +* sntp/tests/ function parameter list cleanup. Damir Tomić. +* tests/libntp/ function parameter list cleanup. Damir Tomić. +* tests/ntpd/ function parameter list cleanup. Damir Tomić. +* sntp/unity/unity_config.h: handle stdint.h. Harlan Stenn. +* sntp/unity/unity_internals.h: handle *INTPTR_MAX on old Solaris. H.Stenn. +* tests/libntp/timevalops.c and timespecops.c fixd error printing. D.Tomić. +* tests/libntp/ improvements in code and fixed error printing. Damir Tomić. +* sntp/unity/unity_config.h: Distribute it. Harlan Stenn. +* sntp/libevent/evconfig-private.h: remove generated file from SCM. H.Stenn. +* tests/libntp/lfpfunc.c remove unnecessary include, remove old comments, + fix formatting, cleanup. Tomasz Flendrich +* tests/libntp/lfptostr.c remove unnecessary include, add consts, fix formatting. + Tomasz Flendrich +* tests/libntp/modetoa.c fixed formatting. Tomasz Flendrich +* tests/libntp/msyslog.c fixed formatting. Tomasz Flendrich +* tests/libntp/numtoa.c deleted unnecessary empty functions, fixed formatting. + Tomasz Flendrich +* tests/libntp/numtohost.c added const, fixed formatting. Tomasz Flendrich +* tests/libntp/refnumtoa.c fixed formatting. Tomasz Flendrich +* sntp/unity/Makefile.am added a missing header. Tomasz Flendrich +(4.3.52) 2015/07/03 Released by Harlan Stenn +Below are from 4.2.8p4: +* libntp/emalloc.c: Remove explicit include of stdint.h. Harlan Stenn. +(4.3.51) 2015/07/02 Released by Harlan Stenn +Below are from 4.2.8p4: +* [Bug 2864] 4.2.8p3 fails to compile on Windows. Juergen Perlinger +* [Bug 2867] ntpd with autokey active crashed by 'ntpq -crv'. J.Perlinger +(4.3.50) 2015/07/01 Released by Harlan Stenn +* internal infrastructure update. +(4.3.49) 2015/06/30 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2846] Report 'unsynchronized' status during the leap second. + Fixed in Martin's changes to Bug 2855. Martin Burnicki. +* [Bug 2860] ntpq ifstats sanity check is too stringent. Frank Kardel. +* README.leapsmear added. Martin Burnicki. +* README.leapsmear edited. Harlan Stenn. +* tests/libntp/msyslog.c: fixed a gcc warning. Tomasz Flendrich. +* ntpd/ntp.conf.def: Document DSCP and leapsmearinterval. Harlan Stenn. +* html/miscopt.html: Document leapsmearinterval, other cleanup. Harlan Stenn. +(4.3.48) 2015/06/28 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 1060] Buffer overruns in libparse/clk_rawdcf.c. Helge Oldach. +* [Bug 2859] Improve raw DCF77 robustness deconding. Frank Kardel. +(4.3.47) 2015/06/27 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2855] Report leap smear in the REFID. Harlan Stenn. +* [Bug 2856] ntpd should wait() on terminated child processes. Paul Green. +* [Bug 2857] Stratus VOS does not support SIGIO. Paul Green. +* html/drivers/driver22.html: typo fix. Harlan Stenn. +* refidsmear test cleanup. Tomasz Flendrich. +* refidsmear function support and tests. Harlan Stenn. +* sntp/tests/Makefile.am: remove g_nameresolution.cpp as it tested + something that was only in the 4.2.6 sntp. Harlan Stenn. +* Modified tests/bug-2803/Makefile.am so it builds Unity framework tests. + Damir Tomić +* Modified tests/libtnp/Makefile.am so it builds Unity framework tests. + Damir Tomić +* Modified sntp/tests/Makefile.am so it builds Unity framework tests. + Damir Tomić +* tests/sandbox/smeartest.c: Harlan Stenn, Damir Tomic, Juergen Perlinger. +* Converted from gtest to Unity: tests/bug-2803/. Damir Tomić +* 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. + Damir Tomić +* Converted from gtest to Unity: sntp/tests/ kodDatabase.c, kodFile.c, + networking.c, keyFile.c, utilities.cpp, sntptest.h, + fileHandlingTest.h. Damir Tomić +(4.3.46) 2015/06/25 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2855] Parser fix for conditional leap smear code. Harlan Stenn. +(4.3.45) 2015/06/24 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2855] Implement conditional leap smear code. Martin Burnicki. +* [Bug 2855] leap smear cleanup. Harlan Stenn. +* Initial support for experimental leap smear code. Harlan Stenn. +* automake-1.15 cleanup for sntp/tests/fileHandlingTest.h.in . Harlan Stenn. +(4.3.44) 2015/06/22 Released by Harlan Stenn +Below are from 4.2.8p3: +* Initial support for experimental leap smear code. Harlan Stenn. +* Unity cleanup. +(4.3.43) 2015/06/21 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2852] 'make check' can't find unity.h. Hal Murray. +* [Bug 2854] Missing brace in libntp/strdup.c. Masanari Iida. +* Fixes to sntp/tests/fileHandlingTest.h.in. Harlan Stenn. +* Unity cleanup. +(4.3.42) 2015/06/17 Released by Harlan Stenn +Below are from 4.2.8p3: +* Unity cleanup. +(4.3.41) 2015/06/14 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2778] Make "apeers" output otherwise match "peers" output. +* update bootstrap for Unity. +* Disable IPv6 refid test due to probable endian issue. +(4.3.40) 2015/06/13 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2845] Harden memory allocation in ntpd. +* Unity test framework +(4.3.39) 2015/06/12 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2843] make check fails on 4.3.36 + Fixed compiler warnings about numeric range overflow + (The original topic was fixed in a byplay to bug#2830) +(4.3.38) 2015/06/11 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2778] Implement "apeers" ntpq command to include associd. +(4.3.37) 2015/06/08 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + Update autokey data ASAP when 'sys_tai' changes. + Fix unit test that was broken by changes for autokey update. + Avoid potential signature length issue and use DPRINTF where possible + in ntp_crypto.c. +(4.3.36) 2015/06/07 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2836] DFC77 patches from Frank Kardel to make decoding more + robust, and require 2 consecutive timestamps to be consistent. +* [Bug 2842] Bug in mdoc2man. +* sntp/scripts/genLocInfo: treat raspbian as debian. +(4.3.35) 2015/06/05 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey + NTPD transfers the current TAI (instead of an announcement) now. + This might still needed improvement. +* [Bug 2837] add test for DSCP to ntpd/complete.conf.in +* [Bug 2842] Glitch in ntp.conf.def documentation stanza. +* Report select() debug messages at debug level 3 now. +(4.3.34) 2015/06/04 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2824] Convert update-leap to perl. (also see 2769) +* [Bug 2832] refclock_jjy.c supports the TDC-300. +* [Bug 2834] Correct a broken html tag in html/refclock.html +* [Bug 2837] Allow a configurable DSCP value. +(4.3.33) 2015/05/12 Released by Harlan Stenn +Below are from 4.2.8p3: +* 4.2.8p3-RC1 +* [Bug 2745] ntpd -x steps clock on leap second + Do leap second stepping only of the step adjustment is beyond the + proper jump distance limit and step correction is allowed at all. +(4.3.32) 2015/05/09 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2792] If the IFF_RUNNING interface flag is supported then an + interface is ignored as long as this flag is not set since the + interface is not usable (e.g., no link). +* [Bug 2808] GPSD_JSON driver enhancements, step 1. + Increase internal token buffer to parse all JSON data, even SKY. +(4.3.31) 2015/05/08 Released by Harlan Stenn +Below are from 4.2.8p3: +* CID 739725: Fix a rare resource leak in libevent/listener.c. +* [Bug 2750] build for Win64 + Building for 32bit of loopback ppsapi needs def file +* [Bug 2808] GPSD_JSON driver enhancements, step 1. + Increase internal token buffer to parse all JSON data, even SKY. + Defer logging of errors during driver init until the first unit is + started, so the syslog is not cluttered when the driver is not used. +* [Bug 2821] Add a missing NTP_PRINTF and a missing const. +* Add an assert to the ntpq ifstats code. +* Clean up the RLIMIT_STACK code. +(4.3.30) 2015/05/07 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2825] Quiet file installation in html/ . +(4.3.29) 2015/05/05 Released by Harlan Stenn +(4.3.28) 2015/05/04 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2822] New leap column in sntp broke NTP::Util.pm. +(4.3.27) 2015/05/03 Released by Harlan Stenn +Below are from 4.2.8p3: +* Windows port build cleanup. +(4.3.26) 2015/05/02 Released by Harlan Stenn +Below are from 4.2.8p3: +* CID 1296235: Fix refclock_jjy.c and correcting type of the driver40-ja.html +(4.3.25) 2015/05/01 Released by Harlan Stenn +* [Bug 2818] refclock_shm.c missing a line from -stable version. +Below are from 4.2.8p3: +* [Bug 2590] autogen-5.18.5. +* [Bug 2650] fix includefile processing. +(4.3.24) 2015/04/30 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2745] ntpd -x steps clock on leap second + Do leap second stepping only of the step adjustment is beyond the + proper jump distance limit and step correction is allowed at all. +* [Bug 2806] refclock_jjy.c supports the Telephone JJY +* [Bug 2808] GPSD_JSON driver enhancements, step 1 + Various improvements, see http://bugs.ntp.org/2808 for details. + Changed libjsmn to a more recent version. + fix coverity issues with refclock_gpsdjson and refclock_shm + Add a few more tallies as per Hal Murray's suggestions +(4.3.23) 2015/04/29 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2805] ntpd fails to join multicast group. +(4.3.22) 2015/04/28 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2612] restrict: Warn when 'monitor' can't be disabled because + of 'limited'. +(4.3.21) 2015/04/27 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2776] Clean up EVP_MD_do_all_sorted() test. +* [Bug 2813] HP-UX needs -D__STDC_VERSION__=199901L and limits.h. +* [Bug 2815] net-snmp before v5.4 has circular library dependencies. +(4.3.20) 2015/04/26 Released by Harlan Stenn +Below are from 4.2.8p3: +* CID 1295478: Quiet a pedantic potential error from the fix for Bug 2776. +* CID 1269537: Clean up a line of dead code in getShmTime(). +* ntpq.c cleanup. +* Improve the ntpq documentation around the controlkey keyid. +* autogen-5.18.5. +(4.3.19) 2015/04/25 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2804] Fix regression in previous fix. +(4.3.18) 2015/04/24 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2776] Improve ntpq's 'help keytype'. +* [Bug 2800] refclock_true.c true_debug() can't open debug log because + of incompatible open/fdopen parameters. +* [Bug 2804] install-local-data assumes GNU 'find' semantics. +(4.3.17) 2015/04/23 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2776] Improve ntpq's 'help keytype' on pre-OpenSSL 1.0. +(4.3.16) 2015/04/22 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2776] Improve ntpq's 'help keytype'. +* [Bug 2794] Clean up kernel clock status reports. +(4.3.15) 2015/04/20 Released by Harlan Stenn +Below are from 4.2.8p3: +* [Bug 2804] install-local-data assumes GNU 'find' semantics. +* [Bug 2808] GPSD_JSON driver enhancements, step 1. + Various improvements, see http://bugs.ntp.org/2808 for details. + Changed libjsmn to a more recent version. +* [Bug 2810] refclock_shm.c memory barrier code needs tweaks for QNX. +(4.3.14) 2015/04/07 Released by Harlan Stenn +Below are from 4.2.8p2: +* [Sec 2779] ntpd accepts unauthenticated packets with symmetric key crypto. +* [Sec 2781] Authentication doesn't protect symmetric associations against + DoS attacks. +(4.3.13) 2015/04/03 Released by Harlan Stenn +Below are from 4.2.8p2: +* [Bug 2763] Fix for different thresholds for forward and backward steps. +(4.3.12) 2015/04/02 Released by Harlan Stenn +* [Bug 2795] fixed some minor warnings. +Below are from 4.2.8p2: +* [Bug 2788] New flag -G (force_step_once). +* [Bug 2592] FLAG_TSTAMP_PPS cleanup for refclock_parse.c. +* [Bug 2794] Clean up kernel clock status reports. +* [Bug 2795] Cannot build without OpenSLL (on Win32). + Provided a Win32 specific wrapper around libevent/arc4random.c. +* [Bug 2796] ntp-keygen crashes in 'getclock()' on Win32. +* [Bug 2797] ntp-keygen trapped in endless loop for MD5 keys + on big-endian machines. +* [Bug 2798] sntp should decode and display the leap indicator. +* Simple cleanup to html/build.html +(4.3.11) 2015/03/29 Released by Harlan Stenn +Below are from 4.2.8p2: +* [Bug 2346] "graceful termination" signals do not do peer cleanup. +* [Bug 2769] cleannup for update-leap +(4.3.10) 2015/03/22 Released by Harlan Stenn +Below are from 4.2.8p2: +* [Bug 1787] DCF77's formerly "antenna" bit is "call bit" since 2003. +* [Bug 2769] New script: update-leap +* [Bug 2777] Fixed loops and decoding of Meinberg GPS satellite info. + Removed non-ASCII characters from some copyright comments. + Removed trailing whitespace. + Updated definitions for Meinberg clocks from current Meinberg header files. + Now use C99 fixed-width types and avoid non-ASCII characters in comments. + Account for updated definitions pulled from Meinberg header files. + Updated comments on Meinberg GPS receivers which are not only called GPS16x. + Replaced some constant numbers by defines from ntp_calendar.h + Modified creation of parse-specific variables for Meinberg devices + in gps16x_message(). + Reworked mk_utcinfo() to avoid printing of ambiguous leap second dates. + Modified mbg_tm_str() which now expexts an additional parameter controlling + if the time status shall be printed. +* [Bug 2789] Quiet compiler warnings from libevent. +* [Bug 2790] If ntpd sets the Windows MM timer highest resolution + pause briefly before measuring system clock precision to yield + correct results. +* Comment from Juergen Perlinger in ntp_calendar.c to make the code clearer. +* Use predefined function types for parse driver functions + used to set up function pointers. + Account for changed prototype of parse_inp_fnc_t functions. + Cast parse conversion results to appropriate types to avoid + compiler warnings. + Let ioctl() for Windows accept a (void *) to avoid compiler warnings + when called with pointers to different types. +(4.3.9) 2015/03/16 Released by Harlan Stenn +Below are from 4.2.8p2: +* [Bug 2763] Allow different thresholds for forward and backward steps. +(4.3.8) 2015/03/10 Released by Harlan Stenn +* [Bug 2752] Update for mkver.bat for Windows from David Taylor. + Account for release numbering scheme for 4.3.x and later. +Below are from 4.2.8p2: +* [Bug 2774] Unreasonably verbose printout - leap pending/warning +(4.3.7) 2015/03/07 Released by Harlan Stenn +* [Bug 2784] Fix for 2782 uses clock_gettime() instead of time(). +(4.3.6) 2015/03/06 Released by Harlan Stenn +Below are from 4.2.8p2: +* [Bug 2782] Refactor refclock_shm.c, add memory barrier protection. +(4.3.5) 2015/03/05 Released by Harlan Stenn +Below are from 4.2.8p2: +* [Bug 2783] Quiet autoconf warnings about missing AC_LANG_SOURCE. +(4.3.4) 2015/03/04 Released by Harlan Stenn +Below are from 4.2.8p2: +* [Bug 2773] Early leap announcement from Palisade/Thunderbolt +* [Bug 2775] ntp-keygen.c fails to compile under Windows. +(4.3.3) 2015/02/28 Released by Harlan Stenn +Below are from 4.2.8p2: +* [Bug 2751] jitter.h has stale copies of l_fp macros. +* [Bug 2756] ntpd hangs in startup with gcc 3.3.5 on ARM. +* [Bug 2757] Quiet compiler warnings. +* [Bug 2759] Expose nonvolatile/clk_wander_threshold to ntpq. +* [Bug 2766] ntp-keygen output files should not be world-readable. +* [Bug 2767] ntp-keygen -M should symlink to ntp.keys. +* [Bug 2771] nonvolatile value is documented in wrong units. +(4.3.2) 2015/02/25 Released by Harlan Stenn +(4.3.1) 2015/02/21 Released by Harlan Stenn +Below are from 4.2.8p2: +* [Bug 1960] setsockopt IPV6_MULTICAST_IF: Invalid argument. +* [Bug 2728] See if C99-style structure initialization works. +* [Bug 2749] ntp/lib/NTP/Util.pm needs update for ntpq -w, IPv6, .POOL. . +* [Bug 2751] jitter.h has stale copies of l_fp macros. +* [Bug 2757] Quiet compiler warnings. +(4.3.0) 2015/02/11 Released by Harlan Stenn +From 4.2.8p2: +* [Bug 2747] Upgrade libevent to 2.1.5-beta. + +ntp-4.3 begins. + +--- + +* [Bug 2994] Systems with HAVE_SIGNALED_IO fail to compile. perlinger@ntp.org +* [Bug 2995] Fixes to compile on Windows --- (4.2.8p6) 2016/01/20 Released by Harlan Stenn