From: Harlan Stenn Date: Thu, 2 Jul 2015 09:37:05 +0000 (-0400) Subject: Merge deacon.udel.edu:/deacon/backroom/ntp-stable X-Git-Tag: NTP_4_3_51~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ced8a5e36ce8138653408cb8ccd4254957af713;p=thirdparty%2Fntp.git Merge deacon.udel.edu:/deacon/backroom/ntp-stable into deacon.udel.edu:/deacon/backroom/ntp-dev bk: 55950641OJ-CKBsatkHO6gVElPjL7g --- 6ced8a5e36ce8138653408cb8ccd4254957af713 diff --cc ChangeLog index 542d71c1d,feb47a14c..0b6311ed3 --- a/ChangeLog +++ b/ChangeLog @@@ -1,304 -1,8 +1,308 @@@ +(4.3.50) 2015/07/01 Released by Harlan Stenn +(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 2864] 4.2.8p3 fails to compile on Windows. Juergen Perlinger + * [Bug 2867] ntpd with autokey active crashed by 'ntpq -crv'. J.Perlinger + --- (4.2.8p3) 2015/06/29 Released by Harlan Stenn * [Sec 2853] Crafted remote config packet can crash some versions of