ChangeLog revision 1.1.1.8
1219820Sjeff--- 2219820Sjeff 3219820Sjeff* [Sec 2956] small-step/big-step. Close the panic gate earlier. HStenn. 4219820Sjeff* CID 1339955: Free allocated memory in caljulian test. HStenn. 5219820Sjeff* CID 1339962: Explicitly initialize variable in caljulian test. HStenn. 6219820Sjeff* CID 1341527: Quiet a CHECKED_RETURN in sntp/tests/t-log.c. HStenn. 7219820Sjeff* CID 1341533: Missing assertion in sntp/tests/t-log.c. HStenn. 8219820Sjeff* CID 1341534: Resource leak in tests/ntpd/t-ntp_signd.c. HStenn. 9219820Sjeff* CID 1341535: Resource leak in tests/ntpd/t-ntp_signd.c. HStenn. 10219820Sjeff* CID 1341536: Resource leak in tests/ntpd/t-ntp_signd.c. HStenn. 11219820Sjeff* CID 1341537: Resource leak in tests/ntpd/t-ntp_signd.c. HStenn. 12219820Sjeff* CID 1341538: Memory leak in tests/ntpd/ntp_prio_q.c:262. HStenn. 13219820Sjeff* CID 1341677: Nits in sntp/tests/keyFile.c. HStenn. 14219820Sjeff* CID 1341678: Nits in sntp/tests/keyFile.c. HStenn. 15219820Sjeff* CID 1341679: Nits in sntp/tests/keyFile.c. HStenn. 16219820Sjeff* CID 1341680: Nits in sntp/tests/keyFile.c. HStenn. 17219820Sjeff* CID 1341681: Nits in sntp/tests/keyFile.c. HStenn. 18219820Sjeff* CID 1341682: Nit in libntp/authreadkeys.c. HStenn. 19219820Sjeff* CID 1341684: Nit in tests/ntpd/t-ntp_signd.c. HStenn. 20219820Sjeff* [Bug 2829] Look at pipe_fds in ntpd.c (did so. perlinger@ntp.org) 21219820Sjeff* [Bug 2887] stratum -1 config results as showing value 99 22219820Sjeff - fudge stratum should only accept values [0..16]. perlinger@ntp.org 23219820Sjeff* [Bug 2932] Update leapsecond file info in miscopt.html. CWoodbury, HStenn. 24219820Sjeff* [Bug 2934] tests/ntpd/t-ntp_scanner.c has a magic constant wired in. HMurray 25219820Sjeff* [Bug 2944] errno is not preserved properly in ntpdate after sendto call. 26219820Sjeff - applied patch by Christos Zoulas. perlinger@ntp.org 27219820Sjeff* [Bug 2952] Symmetric active/passive mode is broken. HStenn. 28219820Sjeff* [Bug 2954] Version 4.2.8p4 crashes on startup with sig fault 29219820Sjeff - fixed data race conditions in threaded DNS worker. perlinger@ntp.org 30219820Sjeff - limit threading warm-up to linux; FreeBSD bombs on it. perlinger@ntp.org 31219820Sjeff* [Bug 2957] 'unsigned int' vs 'size_t' format clash. perlinger@ntp.org 32219820Sjeff - accept key file only if there are no parsing errors 33219820Sjeff - fixed size_t/u_int format clash 34219820Sjeff - fixed wrong use of 'strlcpy' 35219820Sjeff* [Bug 2958] ntpq: fatal error messages need a final newline. Craig Leres. 36219820Sjeff* [Bug 2962] truncation of size_t/ptrdiff_t on 64bit targets. perlinger@ntp.org 37219820Sjeff - fixed several other warnings (cast-alignment, missing const, missing prototypes) 38219820Sjeff - promote use of 'size_t' for values that express a size 39219820Sjeff - use ptr-to-const for read-only arguments 40219820Sjeff - make sure SOCKET values are not truncated (win32-specific) 41219820Sjeff - format string fixes 42219820Sjeff* [Bug 2965] Local clock didn't work since 4.2.8p4. Martin Burnicki. 43219820Sjeff* [Bug 2967] ntpdate command suffers an assertion failure 44219820Sjeff - fixed ntp_rfc2553.c to return proper address length. perlinger@ntp.org 45219820Sjeff* [Bug 2969] Seg fault from ntpq/mrulist when looking at server with 46219820Sjeff lots of clients. perlinger@ntp.org 47219820Sjeff* [Bug 2971] ntpq bails on ^C: select fails: Interrupted system call 48219820Sjeff - changed stacked/nested handling of CTRL-C. perlinger@ntp.org 49219820Sjeff* Unity cleanup for FreeBSD-6.4. Harlan Stenn. 50* Unity test cleanup. Harlan Stenn. 51* Libevent autoconf pthread fixes for FreeBSD-10. Harlan Stenn. 52* Header cleanup in tests/sandbox/uglydate.c. Harlan Stenn. 53* Header cleanup in tests/libntp/sfptostr.c. Harlan Stenn. 54* Quiet a warning from clang. Harlan Stenn. 55* Update the NEWS file. Harlan Stenn. 56* Update scripts/calc_tickadj/Makefile.am. Harlan Stenn. 57--- 58(4.2.8p4) 2015/10/21 Released by Harlan Stenn <stenn@ntp.org> 59(4.2.8p4-RC1) 2015/10/06 Released by Harlan Stenn <stenn@ntp.org> 60 61* [Sec 2899] CVE-2014-9297 perlinger@ntp.org 62* [Sec 2901] Drop invalid packet before checking KoD. Check for all KoD's. 63 Danny Mayer. Log incoming packets that fail TEST2. Harlan Stenn. 64* [Sec 2902] configuration directives "pidfile" and "driftfile" 65 should be local-only. perlinger@ntp.org (patch by Miroslav Lichvar) 66* [Sec 2909] added missing call to 'free()' in ntp_crypto.c. perlinger@ntp.org 67* [Sec 2913] TALOS-CAN-0052: crash by loop counter underrun. perlinger@ntp.org 68* [Sec 2916] TALOS-CAN-0054: memory corruption in password store. JPerlinger 69* [Sec 2917] TALOS-CAN-0055: Infinite loop if extended logging enabled and 70 the logfile and keyfile are the same. perlinger@ntp.org 71* [Sec 1918] TALOS-CAN-0062: prevent directory traversal for VMS, too, when 72 using 'saveconfig' command. perlinger@ntp.org 73* [Bug 2919] TALOS-CAN-0063: avoid buffer overrun in ntpq. perlinger@ntp.org 74* [Sec 2020] TALOS-CAN-0064: signed/unsiged clash could lead to buffer overun 75 and memory corruption. perlinger@ntp.org 76* [Sec 2921] TALOS-CAN-0065: password length memory corruption. JPerlinger. 77* [Sec 2922] decodenetnum() will ASSERT botch instead of returning FAIL 78 on some bogus values. Harlan Stenn. 79* [Sec 2941] NAK to the Future: Symmetric association authentication 80 bypass via crypto-NAK. Patch applied. perlinger@ntp.org 81* [Bug 2332] (reopened) Exercise thread cancellation once before dropping 82 privileges and limiting resources in NTPD removes the need to link 83 forcefully against 'libgcc_s' which does not always work. J.Perlinger 84* [Bug 2595] ntpdate man page quirks. Hal Murray, Harlan Stenn. 85* [Bug 2625] Deprecate flag1 in local refclock. Hal Murray, Harlan Stenn. 86* [Bug 2817] Stop locking ntpd into memory by default under Linux. H.Stenn. 87* [Bug 2821] minor build issues: fixed refclock_gpsdjson.c. perlinger@ntp.org 88* [Bug 2823] ntpsweep with recursive peers option doesn't work. H.Stenn. 89* [Bug 2849] Systems with more than one default route may never 90 synchronize. Brian Utterback. Note that this patch might need to 91 be reverted once Bug 2043 has been fixed. 92* [Bug 2864] 4.2.8p3 fails to compile on Windows. Juergen Perlinger 93* [Bug 2866] segmentation fault at initgroups(). Harlan Stenn. 94* [Bug 2867] ntpd with autokey active crashed by 'ntpq -crv'. J.Perlinger 95* [Bug 2873] libevent should not include .deps/ in the tarball. H.Stenn 96* [Bug 2874] Don't distribute generated sntp/tests/fileHandlingTest.h. H.Stenn 97* [Bug 2875] sntp/Makefile.am: Get rid of DIST_SUBDIRS. libevent must 98 be configured for the distribution targets. Harlan Stenn. 99* [Bug 2883] ntpd crashes on exit with empty driftfile. Miroslav Lichvar. 100* [Bug 2886] Mis-spelling: "outlyer" should be "outlier". dave@horsfall.org 101* [Bug 2888] streamline calendar functions. perlinger@ntp.org 102* [Bug 2889] ntp-dev-4.3.67 does not build on Windows. perlinger@ntp.org 103* [Bug 2890] Ignore ENOBUFS on routing netlink socket. Konstantin Khlebnikov. 104* [Bug 2906] make check needs better support for pthreads. Harlan Stenn. 105* [Bug 2907] dist* build targets require our libevent/ to be enabled. HStenn. 106* [Bug 2912] no munlockall() under Windows. David Taylor, Harlan Stenn. 107* libntp/emalloc.c: Remove explicit include of stdint.h. Harlan Stenn. 108* Put Unity CPPFLAGS items in unity_config.h. Harlan Stenn. 109* tests/ntpd/g_leapsec.cpp typo fix. Harlan Stenn. 110* Phase 1 deprecation of google test in sntp/tests/. Harlan Stenn. 111* On some versions of HP-UX, inttypes.h does not include stdint.h. H.Stenn. 112* top_srcdir can change based on ntp v. sntp. Harlan Stenn. 113* sntp/tests/ function parameter list cleanup. Damir Tomi��. 114* tests/libntp/ function parameter list cleanup. Damir Tomi��. 115* tests/ntpd/ function parameter list cleanup. Damir Tomi��. 116* sntp/unity/unity_config.h: handle stdint.h. Harlan Stenn. 117* sntp/unity/unity_internals.h: handle *INTPTR_MAX on old Solaris. H.Stenn. 118* tests/libntp/timevalops.c and timespecops.c fixed error printing. D.Tomi��. 119* tests/libntp/ improvements in code and fixed error printing. Damir Tomi��. 120* tests/libntp: a_md5encrypt.c, authkeys.c, buftvtots.c, calendar.c, caljulian.c, 121 caltontp.c, clocktime.c, humandate.c, hextolfp.c, decodenetnum.c - fixed 122 formatting; first declaration, then code (C90); deleted unnecessary comments; 123 changed from sprintf to snprintf; fixed order of includes. Tomasz Flendrich 124* tests/libntp/lfpfunc.c remove unnecessary include, remove old comments, 125 fix formatting, cleanup. Tomasz Flendrich 126* tests/libntp/lfptostr.c remove unnecessary include, add consts, fix formatting. 127 Tomasz Flendrich 128* tests/libntp/statestr.c remove empty functions, remove unnecessary include, 129 fix formatting. Tomasz Flendrich 130* tests/libntp/modetoa.c fixed formatting. Tomasz Flendrich 131* tests/libntp/msyslog.c fixed formatting. Tomasz Flendrich 132* tests/libntp/numtoa.c deleted unnecessary empty functions, fixed formatting. 133 Tomasz Flendrich 134* tests/libntp/numtohost.c added const, fixed formatting. Tomasz Flendrich 135* tests/libntp/refnumtoa.c fixed formatting. Tomasz Flendrich 136* tests/libntp/ssl_init.c fixed formatting. Tomasz Flendrich 137* tests/libntp/tvtots.c fixed a bug, fixed formatting. Tomasz Flendrich 138* tests/libntp/uglydate.c removed an unnecessary include. Tomasz Flendrich 139* tests/libntp/vi64ops.c removed an unnecessary comment, fixed formatting. 140* tests/libntp/ymd3yd.c removed an empty function and an unnecessary include, 141fixed formatting. Tomasz Flendrich 142* tests/libntp/timespecops.c fixed formatting, fixed the order of includes, 143 removed unnecessary comments, cleanup. Tomasz Flendrich 144* tests/libntp/timevalops.c fixed the order of includes, deleted unnecessary 145 comments, cleanup. Tomasz Flendrich 146* tests/libntp/sockaddrtest.h making it agree to NTP's conventions of formatting. 147 Tomasz Flendrich 148* tests/libntp/lfptest.h cleanup. Tomasz Flendrich 149* tests/libntp/test-libntp.c fix formatting. Tomasz Flendrich 150* sntp/tests/crypto.c is now using proper Unity's assertions, fixed formatting. 151 Tomasz Flendrich 152* sntp/tests/kodDatabase.c added consts, deleted empty function, 153 fixed formatting. Tomasz Flendrich 154* sntp/tests/kodFile.c cleanup, fixed formatting. Tomasz Flendrich 155* sntp/tests/packetHandling.c is now using proper Unity's assertions, 156 fixed formatting, deleted unused variable. Tomasz Flendrich 157* sntp/tests/keyFile.c is now using proper Unity's assertions, fixed formatting. 158 Tomasz Flendrich 159* sntp/tests/packetProcessing.c changed from sprintf to snprintf, 160 fixed formatting. Tomasz Flendrich 161* sntp/tests/utilities.c is now using proper Unity's assertions, changed 162 the order of includes, fixed formatting, removed unnecessary comments. 163 Tomasz Flendrich 164* sntp/tests/sntptest.h fixed formatting. Tomasz Flendrich 165* sntp/tests/fileHandlingTest.h.in fixed a possible buffer overflow problem, 166 made one function do its job, deleted unnecessary prints, fixed formatting. 167 Tomasz Flendrich 168* sntp/unity/Makefile.am added a missing header. Tomasz Flendrich 169* sntp/unity/unity_config.h: Distribute it. Harlan Stenn. 170* sntp/libevent/evconfig-private.h: remove generated filefrom SCM. H.Stenn. 171* sntp/unity/Makefile.am: fix some broken paths. Harlan Stenn. 172* sntp/unity/unity.c: Clean up a printf(). Harlan Stenn. 173* Phase 1 deprecation of google test in tests/libntp/. Harlan Stenn. 174* Don't build sntp/libevent/sample/. Harlan Stenn. 175* tests/libntp/test_caltontp needs -lpthread. Harlan Stenn. 176* br-flock: --enable-local-libevent. Harlan Stenn. 177* Wrote tests for ntpd/ntp_prio_q.c. Tomasz Flendrich 178* scripts/lib/NTP/Util.pm: stratum output is version-dependent. Harlan Stenn. 179* Get rid of the NTP_ prefix on our assertion macros. Harlan Stenn. 180* Code cleanup. Harlan Stenn. 181* libntp/icom.c: Typo fix. Harlan Stenn. 182* util/ntptime.c: initialization nit. Harlan Stenn. 183* ntpd/ntp_peer.c:newpeer(): added a DEBUG_REQUIRE(srcadr). Harlan Stenn. 184* Add std_unity_tests to various Makefile.am files. Harlan Stenn. 185* ntpd/ntp_restrict.c: added a few assertions, created tests for this file. 186 Tomasz Flendrich 187* Changed progname to be const in many files - now it's consistent. Tomasz 188 Flendrich 189* Typo fix for GCC warning suppression. Harlan Stenn. 190* Added tests/ntpd/ntp_scanner.c test. Damir Tomi��. 191* Added declarations to all Unity tests, and did minor fixes to them. 192 Reduced the number of warnings by half. Damir Tomi��. 193* Updated generate_test_runner.rb and updated the sntp/unity/auto directory 194 with the latest Unity updates from Mark. Damir Tomi��. 195* Retire google test - phase I. Harlan Stenn. 196* Unity test cleanup: move declaration of 'initializing'. Harlan Stenn. 197* Update the NEWS file. Harlan Stenn. 198* Autoconf cleanup. Harlan Stenn. 199* Unit test dist cleanup. Harlan Stenn. 200* Cleanup various test Makefile.am files. Harlan Stenn. 201* Pthread autoconf macro cleanup. Harlan Stenn. 202* Fix progname definition in unity runner scripts. Harlan Stenn. 203* Clean trailing whitespace in tests/ntpd/Makefile.am. Harlan Stenn. 204* Update the patch for bug 2817. Harlan Stenn. 205* More updates for bug 2817. Harlan Stenn. 206* Fix bugs in tests/ntpd/ntp_prio_q.c. Harlan Stenn. 207* gcc on older HPUX may need +allowdups. Harlan Stenn. 208* Adding missing MCAST protection. Harlan Stenn. 209* Disable certain test programs on certain platforms. Harlan Stenn. 210* Implement --enable-problem-tests (on by default). Harlan Stenn. 211* build system tweaks. Harlan Stenn. 212--- 213(4.2.8p3) 2015/06/29 Released by Harlan Stenn <stenn@ntp.org> 214 215* [Sec 2853] Crafted remote config packet can crash some versions of 216 ntpd. Aleksis Kauppinen, Juergen Perlinger, Harlan Stenn. 217* [Sec 2853] Initial work on tests/sec-2853/. Harlan Stenn. 218* [Bug 1060] Buffer overruns in libparse/clk_rawdcf.c. Helge Oldach. 219* [Bug 2846] Report 'unsynchronized' status during the leap second. 220 Fixed in Martin's changes to Bug 2855. Martin Burnicki. 221* [Bug 2859] Improve raw DCF77 robustness deconding. Frank Kardel. 222* [Bug 2860] ntpq ifstats sanity check is too stringent. Frank Kardel. 223* README.leapsmear added. Martin Burnicki. 224* README.leapsmear edited. Harlan Stenn. 225* tests/libntp/msyslog.c: fixed a gcc warning. Tomasz Flendrich. 226* ntpd/ntp.conf.def: Document DSCP and leapsmearinterval. Harlan Stenn. 227* html/miscopt.html: Document leapsmearinterval, other cleanup. Harlan Stenn. 228--- 229(4.2.8p3-RC3) 2015/06/27 Released by Harlan Stenn <stenn@ntp.org> 230 231* [Bug 2855] Parser fix for conditional leap smear code. Harlan Stenn. 232* [Bug 2855] Report leap smear in the REFID. Harlan Stenn. 233* [Bug 2856] ntpd should wait() on terminated child processes. Paul Green. 234* [Bug 2857] Stratus VOS does not support SIGIO. Paul Green. 235* html/drivers/driver22.html: typo fix. Harlan Stenn. 236* refidsmear test cleanup. Tomasz Flendrich. 237* refidsmear function support and tests. Harlan Stenn. 238* sntp/tests/Makefile.am: remove g_nameresolution.cpp as it tested 239 something that was only in the 4.2.6 sntp. Harlan Stenn. 240* Modified tests/bug-2803/Makefile.am so it builds Unity framework tests. 241 Damir Tomi�� 242* Modified tests/libtnp/Makefile.am so it builds Unity framework tests. 243 Damir Tomi�� 244* Modified sntp/tests/Makefile.am so it builds Unity framework tests. 245 Damir Tomi�� 246* tests/sandbox/smeartest.c: Harlan Stenn, Damir Tomic, Juergen Perlinger. 247* Converted from gtest to Unity: tests/bug-2803/. Damir Tomi�� 248* Converted from gtest to Unity: tests/libntp/ a_md5encrypt, atoint.c, 249 atouint.c, authkeys.c, buftvtots.c, calendar.c, caljulian.c, 250 calyearstart.c, clocktime.c, hextoint.c, lfpfunc.c, modetoa.c, 251 numtoa.c, numtohost.c, refnumtoa.c, ssl_init.c, statestr.c, 252 timespecops.c, timevalops.c, uglydate.c, vi64ops.c, ymd2yd.c. 253 Damir Tomi�� 254* Converted from gtest to Unity: sntp/tests/ kodDatabase.c, kodFile.c, 255 networking.c, keyFile.c, utilities.cpp, sntptest.h, 256 fileHandlingTest.h. Damir Tomi�� 257* Converted from gtest to Unity: sntp/tests/ caltontp.c, humandate.c, 258 msyslog.c, prettydate.c, recvbuff.c, sfptostr.c, tstotv.c, tvtots.c, 259 sntp/tests/packetProcessing.c. Tomasz Flendrich 260--- 261(4.2.8p3-RC2) 2015/06/24 Released by Harlan Stenn <stenn@ntp.org> 262 263* [Bug 2778] Implement "apeers" ntpq command to include associd. 264* [Bug 2805] ntpd fails to join multicast group. 265* [Bug 2824] Convert update-leap to perl. (also see 2769) 266* [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey 267 NTPD transfers the current TAI (instead of an announcement) now. 268 This might still needed improvement. 269 Update autokey data ASAP when 'sys_tai' changes. 270 Fix unit test that was broken by changes for autokey update. 271 Avoid potential signature length issue and use DPRINTF where possible 272 in ntp_crypto.c. 273* [Bug 2832] refclock_jjy.c supports the TDC-300. 274* [Bug 2834] Correct a broken html tag in html/refclock.html 275* [Bug 2836] DFC77 patches from Frank Kardel to make decoding more 276 robust, and require 2 consecutive timestamps to be consistent. 277* [Bug 2837] Allow a configurable DSCP value. 278* [Bug 2837] add test for DSCP to ntpd/complete.conf.in 279* [Bug 2842] Glitch in ntp.conf.def documentation stanza. 280* [Bug 2842] Bug in mdoc2man. 281* [Bug 2843] make check fails on 4.3.36 282 Fixed compiler warnings about numeric range overflow 283 (The original topic was fixed in a byplay to bug#2830) 284* [Bug 2845] Harden memory allocation in ntpd. 285* [Bug 2852] 'make check' can't find unity.h. Hal Murray. 286* [Bug 2854] Missing brace in libntp/strdup.c. Masanari Iida. 287* [Bug 2855] Implement conditional leap smear code. Martin Burnicki. 288* [Bug 2855] leap smear cleanup. Harlan Stenn. 289* Initial support for experimental leap smear code. Harlan Stenn. 290* Fixes to sntp/tests/fileHandlingTest.h.in. Harlan Stenn. 291* Report select() debug messages at debug level 3 now. 292* sntp/scripts/genLocInfo: treat raspbian as debian. 293* Unity test framework fixes. 294 ** Requires ruby for changes to tests. 295* Initial support for PACKAGE_VERSION tests. 296* sntp/libpkgver belongs in EXTRA_DIST, not DIST_SUBDIRS. 297* tests/bug-2803/Makefile.am must distribute bug-2803.h. 298* automake-1.15 cleanup for sntp/tests/fileHandlingTest.h.in . Harlan Stenn. 299--- 300(4.2.8p3-RC1) 2015/05/12 Released by Harlan Stenn <stenn@ntp.org> 301 302* CID 739725: Fix a rare resource leak in libevent/listener.c. 303* CID 1295478: Quiet a pedantic potential error from the fix for Bug 2776. 304* CID 1296235: Fix refclock_jjy.c and correcting type of the driver40-ja.html 305* CID 1269537: Clean up a line of dead code in getShmTime(). 306* [Bug 2590] autogen-5.18.5. 307* [Bug 2612] restrict: Warn when 'monitor' can't be disabled because 308 of 'limited'. 309* [Bug 2650] fix includefile processing. 310* [Bug 2745] ntpd -x steps clock on leap second 311 Fixed an initial-value problem that caused misbehaviour in absence of 312 any leapsecond information. 313 Do leap second stepping only of the step adjustment is beyond the 314 proper jump distance limit and step correction is allowed at all. 315* [Bug 2750] build for Win64 316 Building for 32bit of loopback ppsapi needs def file 317* [Bug 2776] Improve ntpq's 'help keytype'. 318* [Bug 2782] Refactor refclock_shm.c, add memory barrier protection. 319* [Bug 2792] If the IFF_RUNNING interface flag is supported then an 320 interface is ignored as long as this flag is not set since the 321 interface is not usable (e.g., no link). 322* [Bug 2794] Clean up kernel clock status reports. 323* [Bug 2800] refclock_true.c true_debug() can't open debug log because 324 of incompatible open/fdopen parameters. 325* [Bug 2804] install-local-data assumes GNU 'find' semantics. 326* [Bug 2806] refclock_jjy.c supports the Telephone JJY. 327* [Bug 2808] GPSD_JSON driver enhancements, step 1. 328 Fix crash during cleanup if GPS device not present and char device. 329 Increase internal token buffer to parse all JSON data, even SKY. 330 Defer logging of errors during driver init until the first unit is 331 started, so the syslog is not cluttered when the driver is not used. 332 Various improvements, see http://bugs.ntp.org/2808 for details. 333 Changed libjsmn to a more recent version. 334* [Bug 2810] refclock_shm.c memory barrier code needs tweaks for QNX. 335* [Bug 2813] HP-UX needs -D__STDC_VERSION__=199901L and limits.h. 336* [Bug 2815] net-snmp before v5.4 has circular library dependencies. 337* [Bug 2821] Add a missing NTP_PRINTF and a missing const. 338* [Bug 2822] New leap column in sntp broke NTP::Util.pm. 339* [Bug 2825] Quiet file installation in html/ . 340* [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey 341 NTPD transfers the current TAI (instead of an announcement) now. 342 This might still needed improvement. 343* Add an assert to the ntpq ifstats code. 344* Clean up the RLIMIT_STACK code. 345* Improve the ntpq documentation around the controlkey keyid. 346* ntpq.c cleanup. 347* Windows port build cleanup. 348--- 349(4.2.8p2) 2015/04/07 Released by Harlan Stenn <stenn@ntp.org> 350(4.2.8p2-RC3) 2015/04/03 Released by Harlan Stenn <stenn@ntp.org> 351 352* [Bug 2763] Fix for different thresholds for forward and backward steps. 353* Initial import of the Unity test framework. 354--- 355(4.2.8p2-RC2) 2015/04/03 Released by Harlan Stenn <stenn@ntp.org> 356 357* [Bug 2592] FLAG_TSTAMP_PPS cleanup for refclock_parse.c. 358* [Bug 2769] New script: update-leap 359* [Bug 2769] cleannup for update-leap 360* [Bug 2788] New flag -G (force_step_once). 361* [Bug 2794] Clean up kernel clock status reports. 362* [Bug 2795] Cannot build without OpenSLL (on Win32). 363 Provided a Win32 specific wrapper around libevent/arc4random.c. 364 fixed some minor warnings. 365* [Bug 2796] ntp-keygen crashes in 'getclock()' on Win32. 366* [Bug 2797] ntp-keygen trapped in endless loop for MD5 keys 367 on big-endian machines. 368* [Bug 2798] sntp should decode and display the leap indicator. 369* Simple cleanup to html/build.html 370--- 371(4.2.8p2-RC1) 2015/03/30 Released by Harlan Stenn <stenn@ntp.org> 372 373* [Bug 2794] Don't let reports on normal kernel status changes 374 look like errors. 375* [Bug 2788] New flag -G (force_step_once). 376* [Bug 2592] Account for PPS sources which can provide an accurate 377 absolute time stamp, and status information. 378 Fixed indention and removed trailing whitespace. 379* [Bug 1787] DCF77's formerly "antenna" bit is "call bit" since 2003. 380* [Bug 1960] setsockopt IPV6_MULTICAST_IF: Invalid argument. 381* [Bug 2346] "graceful termination" signals do not do peer cleanup. 382* [Bug 2728] See if C99-style structure initialization works. 383* [Bug 2747] Upgrade libevent to 2.1.5-beta. 384* [Bug 2749] ntp/lib/NTP/Util.pm needs update for ntpq -w, IPv6, .POOL. . 385* [Bug 2751] jitter.h has stale copies of l_fp macros. 386* [Bug 2756] ntpd hangs in startup with gcc 3.3.5 on ARM. 387* [Bug 2757] Quiet compiler warnings. 388* [Bug 2759] Expose nonvolatile/clk_wander_threshold to ntpq. 389* [Bug 2763] Allow different thresholds for forward and backward steps. 390* [Bug 2766] ntp-keygen output files should not be world-readable. 391* [Bug 2767] ntp-keygen -M should symlink to ntp.keys. 392* [Bug 2771] nonvolatile value is documented in wrong units. 393* [Bug 2773] Early leap announcement from Palisade/Thunderbolt 394* [Bug 2774] Unreasonably verbose printout - leap pending/warning 395* [Bug 2775] ntp-keygen.c fails to compile under Windows. 396* [Bug 2777] Fixed loops and decoding of Meinberg GPS satellite info. 397 Removed non-ASCII characters from some copyright comments. 398 Removed trailing whitespace. 399 Updated definitions for Meinberg clocks from current Meinberg header files. 400 Now use C99 fixed-width types and avoid non-ASCII characters in comments. 401 Account for updated definitions pulled from Meinberg header files. 402 Updated comments on Meinberg GPS receivers which are not only called GPS16x. 403 Replaced some constant numbers by defines from ntp_calendar.h 404 Modified creation of parse-specific variables for Meinberg devices 405 in gps16x_message(). 406 Reworked mk_utcinfo() to avoid printing of ambiguous leap second dates. 407 Modified mbg_tm_str() which now expexts an additional parameter controlling 408 if the time status shall be printed. 409* [Sec 2779] ntpd accepts unauthenticated packets with symmetric key crypto. 410* [Sec 2781] Authentication doesn't protect symmetric associations against 411 DoS attacks. 412* [Bug 2783] Quiet autoconf warnings about missing AC_LANG_SOURCE. 413* [Bug 2784] Fix for 2782 uses clock_gettime() instead of get_ostime(). 414* [Bug 2789] Quiet compiler warnings from libevent. 415* [Bug 2790] If ntpd sets the Windows MM timer highest resolution 416 pause briefly before measuring system clock precision to yield 417 correct results. 418* Comment from Juergen Perlinger in ntp_calendar.c to make the code clearer. 419* Use predefined function types for parse driver functions 420 used to set up function pointers. 421 Account for changed prototype of parse_inp_fnc_t functions. 422 Cast parse conversion results to appropriate types to avoid 423 compiler warnings. 424 Let ioctl() for Windows accept a (void *) to avoid compiler warnings 425 when called with pointers to different types. 426--- 427(4.2.8p1) 2015/02/04 Released by Harlan Stenn <stenn@ntp.org> 428 429* Update the NEWS file. 430* [Sec 2671] vallen in extension fields are not validated. 431--- 432(4.2.8p1-RC2) 2015/01/29 Released by Harlan Stenn <stenn@ntp.org> 433 434* [Bug 2627] shm refclock allows only two units with owner-only access 435 rework: reverted sense of mode bit (so default reflects previous 436 behaviour) and updated ducumentation. 437* [Bug 2732] - Leap second not handled correctly on Windows 8 438 use 'GetTickCount()' to get the true elapsed time of slew 439 (This should work for all versions of Windows >= W2K) 440* [Bug 2738] Missing buffer initialization in refclocK_parse.c::parsestate(). 441* [Bug 2739] Parse driver with PPS enabled occasionally evaluates 442 PPS timestamp with wrong sign. 443 Removed some German umlauts. 444* [Bug 2740] Removed some obsolete code from the parse driver. 445* [Bug 2741] Incorrect buffer check in refclocK_parse.c::parsestatus(). 446--- 447(4.2.8p1-RC1) 2015/01/24 Released by Harlan Stenn <stenn@ntp.org> 448 449* Start the RC for 4.2.8p1. 450* [Bug 2187] Update version number generation scripts. 451* [Bug 2617] Fix sntp Usage documentation section. 452* [Sec 2672] Code cleanup: On some OSes ::1 can be spoofed... 453* [Bug 2736] Show error message if we cannot open the config file. 454* Copyright update. 455* Fix the package name. 456--- 457(4.2.8p1-beta5) 2015/01/07 Released by Harlan Stenn <stenn@ntp.org> 458 459* [Bug 2695] Windows build: __func__ not supported under Windows. 460* [Bug 2728] Work around C99-style structure initialization code 461 for older compilers, specifically Visual Studio prior to VS2013. 462--- 463(4.2.8p1-beta4) 2015/01/04 Released by Harlan Stenn <stenn@ntp.org> 464 465* [Bug 1084] PPSAPI for ntpd on Windows with DLL backends 466* [Bug 2695] Build problem on Windows (sys/socket.h). 467* [Bug 2715] mdnstries option for ntp.conf from NetBSD. 468* Fix a regression introduced to timepps-Solaris.h as part of: 469 [Bug 1206] Required compiler changes for Windows 470 (4.2.5p181) 2009/06/06 471--- 472(4.2.8p1-beta3) 2015/01/02 Released by Harlan Stenn <stenn@ntp.org> 473 474* [Bug 2627] shm refclock allows only two units with owner-only access 475 Use mode bit 0 to select public access for units >= 2 (units 0 & 1 are 476 always private. 477* [Bug 2681] Fix display of certificate EOValidity dates on 32-bit systems. 478* [Bug 2695] 4.2.8 does not build on Windows. 479* [bug 2700] mrulist stopped working in 4.2.8. 480* [Bug 2706] libparse/info_trimble.c build dependencies are broken. 481* [Bug 2713] variable type/cast, parameter name, general cleanup from NetBSD. 482* [Bug 2714] libevent may need to be built independently of any build of sntp. 483* [Bug 2715] mdnstries option for ntp.conf from NetBSD. 484--- 485(4.2.8p1-beta2) 2014/12/27 Released by Harlan Stenn <stenn@ntp.org> 486 487* [Bug 2674] Install sntp in sbin on NetBSD. 488* [Bug 2693] ntp-keygen doesn't build without OpenSSL and sntp. 489* [Bug 2707] Avoid a C90 extension in libjsmn/jsmn.c. 490* [Bug 2709] see if we have a C99 compiler (not yet required). 491--- 492(4.2.8p1-beta1) 2014/12/23 Released by Harlan Stenn <stenn@ntp.org> 493 494* [Sec 2672] On some OSes ::1 can be spoofed, bypassing source IP ACLs. 495* [Bug 2693] ntp-keygen doesn't build without OpenSSL. 496* [Bug 2697] IN6_IS_ADDR_LOOPBACK build problems on some OSes. 497* [Bug 2699] HAVE_SYS_SELECT_H is misspelled in refclock_gpsdjson.c. 498--- 499(4.2.8) 2014/12/19 Released by Harlan Stenn <stenn@ntp.org> 500 501* [Sec 730] Increase RSA_generate_key modulus. 502* [Sec 2666] Use cryptographic random numbers for md5 key generation. 503* [Sec 2667] buffer overflow in crypto_recv(). 504* [Sec 2668] buffer overflow in ctl_putdata(). 505* [Sec 2669] buffer overflow in configure(). 506* [Sec 2670] Missing return; from error clause. 507* [Sec 2671] vallen in extension fields are not validated. 508* [Sec 2672] On some OSes ::1 can be spoofed, bypassing source IP ACLs. 509* [Bug 2691] Wrong variable name in refclock_ripencc.c. 510(4.2.7p486-RC) 2014/12/18 Released by Harlan Stenn <stenn@ntp.org> 511* [Bug 2687] RefClock 26/hpgps doesn't work at default line speed 512(4.2.7p485-RC) 2014/12/12 Released by Harlan Stenn <stenn@ntp.org> 513* [Bug 2686] refclock_gpsdjson needs strtoll(), which is not always present. 514(4.2.7p484-RC) 2014/12/11 Released by Harlan Stenn <stenn@ntp.org> 515(4.2.7p483) 2014/12/08 Released by Harlan Stenn <stenn@ntp.org> 516* [Bug 2685] Better document the KOD file for sntp. 517(4.2.7p482) 2014/12/02 Released by Harlan Stenn <stenn@ntp.org> 518* [Bug 2641] sntp is installed in the wrong location in Solaris. 519* [Bug 2678] nmea_control() now checks 'refclock_params()' result. 520(4.2.7p481) 2014/11/22 Released by Harlan Stenn <stenn@ntp.org> 521* [Bug 2314] Only enable PPS if kernel consumer binding succeeds. 522* [Bug 2314] Kernel PPS binding EOPNOTSUPP is a failure condition. 523* Rename pps_enable to hardpps_enable. 524(4.2.7p480) 2014/11/21 Released by Harlan Stenn <stenn@ntp.org> 525* [Bug 2677] PATH_MAX isn't #define'd under Windows. 526 Regression from the patch fixing Bug 2639. 527(4.2.7p479) 2014/11/15 Released by Harlan Stenn <stenn@ntp.org> 528* [Bug 2651] Certificates with ASN timestamps w/ 4-digit years mis-parsed. 529(4.2.7p478) 2014/11/14 Released by Harlan Stenn <stenn@ntp.org> 530* [Sec 2630] buffer overrun in ntpq tokenize(). 531* [Bug 2639] Check return value of ntp_adjtime(). 532* [Bug 2650] includefile processing broken. 533* [Bug 2661] ntpq crashes with mreadvar. 534(4.2.7p477) 2014/11/13 Released by Harlan Stenn <stenn@ntp.org> 535* [Bug 2657] Document that "restrict nopeer" intereferes with "pool". 536(4.2.7p476) 2014/10/08 Released by Harlan Stenn <stenn@ntp.org> 537* [Bug 2503] SHT utility outdated 538(4.2.7p475) 2014/09/11 Released by Harlan Stenn <stenn@ntp.org> 539* [Bug 2654] refclock_true.c doesn't identify the Mk III. 540(4.2.7p474) 2014/09/10 Released by Harlan Stenn <stenn@ntp.org> 541* [Bug 2536] ntpd sandboxing support (libseccomp2) cleanup. 542* [Bug 2649] Clean up html/ page installation. 543(4.2.7p473) 2014/09/06 Released by Harlan Stenn <stenn@ntp.org> 544* [Bug 2649] Clean up html/ page installation. 545(4.2.7p472) 2014/09/06 Released by Harlan Stenn <stenn@ntp.org> 546* [Bug 2556] mrulist is missing from the generated ntpq man page. 547(4.2.7p471) 2014/09/05 Released by Harlan Stenn <stenn@ntp.org> 548* [Bug 2649] "make install" leaves wrong owner for files in html/. 549* [Bug 2652] Windows hates directory names that contain a :. 550(4.2.7p470) 2014/09/02 Released by Harlan Stenn <stenn@ntp.org> 551* [Bug 2502] Autogen text replacement errors. 552* autogen-5.18.5pre1 553* html/ cleanups from Hal Murray. 554(4.2.7p469) 2014/09/01 Released by Harlan Stenn <stenn@ntp.org> 555* [Bug 2536] ntpd sandboxing support (libseccomp2) cleanup. 556(4.2.7p468) 2014/08/31 Released by Harlan Stenn <stenn@ntp.org> 557* [Bug 2556] ntpq man page cleanup. 558* autogen-5.18.4 559(4.2.7p467) 2014/08/28 Released by Harlan Stenn <stenn@ntp.org> 560* [Bug 2639] Check return value of ntp_adjtime(). 561* [Bug 2640] STA_NANO can result in invalid ntv.constant. 562(4.2.7p466) 2014/08/27 Released by Harlan Stenn <stenn@ntp.org> 563* [Bug 2536] ntpd sandboxing support (libseccomp2) cleanup. 564(4.2.7p465) 2014/08/23 Released by Harlan Stenn <stenn@ntp.org> 565* [Bug 2538] NTP programs print exit code in help/usage text. 566* [Bug 2595] Man page quirks: ntpdate references in ntpd. 567* [Bug 2613] www.ntp.org/bugs.html tells folks to email doc bugs to DLM. 568* [Bug 2636] Clutter in syslog if gpsd not running 569 - found (hopefully) last cause for clutter in protocol version 570 - log GPSD revision and release numbers with protocol version 571(4.2.7p464) 2014/08/22 Released by Harlan Stenn <stenn@ntp.org> 572* [Bug 2636] Fix coverity warning from previous patch. 573(4.2.7p463) 2014/08/21 Released by Harlan Stenn <stenn@ntp.org> 574* [Bug 2636] Clutter in syslog if gpsd not running 575 - make driver work with GPSD protocol version 3.9 576 - use exponential back-off for connection problems 577 - implement rate-limit for syslog entries 578(4.2.7p462) 2014/08/16 Released by Harlan Stenn <stenn@ntp.org> 579* [Bug 2622] Synchronisation problem using SHM [...] 580 Add 'control' function -- fudge values not available during start. 581(4.2.7p461) 2014/08/14 Released by Harlan Stenn <stenn@ntp.org> 582* [Bug 1128] ntpq truncates "remote" host information. 583* More autogen-5.18.4pre14 cleanup. 584(4.2.7p460) 2014/08/13 Released by Harlan Stenn <stenn@ntp.org> 585* More autogen-5.18.4pre14 cleanup. 586(4.2.7p459) 2014/08/12 Released by Harlan Stenn <stenn@ntp.org> 587* [Bug 2630] Limit the ntpq command buffer to 512 bytes. 588* FlexeLint cleanups. 589* Try bison-3.0.2 instead of bison-2.5. 590(4.2.7p458) 2014/08/11 Released by Harlan Stenn <stenn@ntp.org> 591* [Bug 2633] Provide stdnoreturn.h for windows port. 592(4.2.7p457) 2014/08/09 Released by Harlan Stenn <stenn@ntp.org> 593* [Bug 2622] Synchronisation problem using SHM when time difference is 594 more than four hours: Change SHM driver so TOY restricted API is not 595 used any more. (Plus some minor cleanup in logic and flow control) 596* Pass the configration source into the parser as argument rather 597 than through a global variable. 598* Fix nits in the ntpq man page. 599* autogen-5.18.4pre14 600(4.2.7p456) 2014/08/07 Released by Harlan Stenn <stenn@ntp.org> 601* CID 739722: Change the way the extention and MAC fields are processed. 602(4.2.7p455) 2014/08/03 Released by Harlan Stenn <stenn@ntp.org> 603* [Bug 2565] ntpd sometimes logs unexpected getifaddrs() errors. 604* CID 739722: Clean up the definition of the exten field of struct pkt. 605(4.2.7p454) 2014/07/30 Released by Harlan Stenn <stenn@ntp.org> 606* [Bug 2628] 'mon_getmoremem()' relies on undefined behaviour 607(4.2.7p453) 2014/07/19 Released by Harlan Stenn <stenn@ntp.org> 608* [Bug 2597] leap file loose ends (follow-up) 609 - uniform expiration check messages for config and timer triggered 610 leap file loads 611 - timer triggered loads log messages only once per day 612(4.2.7p452) 2014/07/18 Released by Harlan Stenn <stenn@ntp.org> 613* Make all of the html/ .html files use the same format for "Last update". 614(4.2.7p451) 2014/07/17 Released by Harlan Stenn <stenn@ntp.org> 615* Fix the "Last update" entries in the html/ subtree. 616(4.2.7p450) 2014/07/16 Released by Harlan Stenn <stenn@ntp.org> 617* Distribute the scripts needed for the fix for Bug 2547. 618(4.2.7p449) 2014/07/16 Released by Harlan Stenn <stenn@ntp.org> 619* [Bug 2547] Automate update of "Last Update" datestamps in .html files. 620* [Bug 2623] Missing {} in refclock_oncore.c. 621* Quiet warnings from ntp_calendar.h: avoid using argument names. 622* Fix typos in decode.html and debug.html . 623(4.2.7p448) 2014/07/15 Released by Harlan Stenn <stenn@ntp.org> 624* [Bug 2621] Avoid use of indeterminate address after 'free()' 625 (minor C standard conformance issue) 626* Quiet warnings from ntp_calendar.h: avoid using argument names. 627(4.2.7p447) 2014/07/05 Released by Harlan Stenn <stenn@ntp.org> 628* [Bug 2620] Use version.pm for checking version numbers in NTP::Util. 629* [Bug 2624] Fix signed compare on 'l_fp'. 630(4.2.7p446) 2014/06/28 Released by Harlan Stenn <stenn@ntp.org> 631* [Bug 2597] leap file processing -- loose ends. 632* [Bug 2614] use 'unsigned long' consistently in ntp_random.c 633 to avoid possibly undefined behaviour in signed int overflow 634* [Bug 2619] Save a signed int copy of the return value of i2d_DSA_SIG(). 635 Provide missing msyslog() message in crypto_alice(). 636* Fix a variable lifetime issue. 637* Allow for version suffix in libevent in ntp_libevent.m4. 638(4.2.7p445) 2014/06/12 Released by Harlan Stenn <stenn@ntp.org> 639* [Bug 2556] mrulist isn't mentioned in the ntpq man page. 640(4.2.7p444) 2014/05/19 Released by Harlan Stenn <stenn@ntp.org> 641* [Bug 2597] leap file processing -- loose ends 642 fixed coverity issues 643(4.2.7p443) 2014/05/10 Released by Harlan Stenn <stenn@ntp.org> 644* [Bug 2594] Update the year in sntp/include/copyright.def. 645(4.2.7p442) 2014/05/09 Released by Harlan Stenn <stenn@ntp.org> 646* [Bug 2589] Update VS2013 project files for libntp. 647* [Bug 2600] Fix "Undisicplined Local Clock" driver1.html page. 648(4.2.7p441) 2014/05/04 Released by Harlan Stenn <stenn@ntp.org> 649* [Bug 2597] leap file processing -- loose ends 650 log daily warning when leap info less than 28 days to expiration or 651 already expired; nag hourly on last day before expiration; log when 652 leapfile name is invalid 653(4.2.7p440) 2014/04/09 Released by Harlan Stenn <stenn@ntp.org> 654* [Bug 2536] ntpd sandboxing support (libseccomp2) cleanup. 655* [Bug 2570] cleanup: fix log format for successful leapfile load 656(4.2.7p439) 2014/04/03 Released by Harlan Stenn <stenn@ntp.org> 657* [Bug 2589] fix VS2009 compile problem. 658(4.2.7p438) 2014/04/01 Released by Harlan Stenn <stenn@ntp.org> 659* [Bug 2546] Windows build documentation updates. 660(4.2.7p437) 2014/03/31 Released by Harlan Stenn <stenn@ntp.org> 661* [Bug 2537] ntpd truncates symmetric keys to 20 bytes. 662* [Bug 2546] Documentation updates. 663(4.2.7p436) 2014/03/31 Released by Harlan Stenn <stenn@ntp.org> 664* Update to libopts-40.2.15, and autogen-5.18.3pre18. 665* [Bug 2311] Add more tags to mdoc2xxx. 666* [Bug 2502] Assorted text replacement errors in 4.2.7p345 667* [Bug 2538] ntp programs print exit code as part of the "usage" text. 668(4.2.7p435) 2014/03/29 Released by Harlan Stenn <stenn@ntp.org> 669* [Bug 2570] cleanup: reduced logging noise, moved some functions 670 into libntp. 671(4.2.7p434) 2014/03/21 Released by Harlan Stenn <stenn@ntp.org> 672* [Bug 2577] Update VS2013 solution and project files. 673(4.2.7p433) 2014/03/10 Released by Harlan Stenn <stenn@ntp.org> 674* Clean up last-update timestamps of html/*.html files. 675* [Bug 2546] Documentation updates. 676(4.2.7p432) 2014/03/09 Released by Harlan Stenn <stenn@ntp.org> 677* CID 711660: Do a non-NULL pointer assertion check a bit earlier. 678(4.2.7p431) 2014/03/05 Released by Harlan Stenn <stenn@ntp.org> 679* [Bug 2572] cross-compiling fails for --with-yielding-select. 680(4.2.7p430) 2014/03/04 Released by Harlan Stenn <stenn@ntp.org> 681* Upgrade to libevent-2.1.3-alpha-dev. 682* [Bug 2572] cross-compiling fails for --with-yielding-select. 683(4.2.7p429) 2014/03/03 Released by Harlan Stenn <stenn@ntp.org> 684* CID 1165098: Remove logically dead code from refclock_true.c. 685* CID 1189401: Use INSIST() instead of a belt-and-suspenders pointer check. 686* In ntp_dir_sep.m4, we care about $host_os, not $target_os. 687* [Bug 2170] Use AC_PREPROC_IFELSE instead of AC_EGREP_CPP. 688* [Bug 2540] bootstrap script needs to 'touch' files in finer-grained groups. 689* [Bug 2570] refuse to load leapsec file with bad/missing SHA1 hash 690 -- change reading the hash line code: NIST omits leading zeros. 691* [Bug 2576] refclock_gpsdjson.c doesn't compile if CLOCK_GPSDJSON is 692 not enabled at configure time. 693(4.2.7p428) 2014/03/03 Released by Harlan Stenn <stenn@ntp.org> 694* [Bug 2570] refuse to load leapsec file with bad/missing SHA1 hash 695* [Bug 2562] Distribute the code in libjsmn/ . 696(4.2.7p427) 2014/03/02 Released by Harlan Stenn <stenn@ntp.org> 697* [Bug 2562] GPSD_JSON: fix solaris issues (asprintf(), isfinite()) 698* [Bug 2562] first release of the GPSD client clock (type 46) 699(4.2.7p426) 2014/02/28 Released by Harlan Stenn <stenn@ntp.org> 700* [Bug 2113] Warn about ignored extra args in ntpq. 701* [Bug 2540] bootstrap script needs to 'touch' files in finer-grained groups. 702* [Bug 2561] Allow wildcards in the target of the "interface" command. 703* [Bug 2572] cross-compiling fails for --with-yielding_select. 704(4.2.7p425) 2014/02/26 Released by Harlan Stenn <stenn@ntp.org> 705* Copyright file update. 706(4.2.7p424) 2014/02/24 Released by Harlan Stenn <stenn@ntp.org> 707* [Bug 2541] ntpd terminates itself with SIGHUP unexpectedly. 708(4.2.7p423) 2014/02/23 Released by Harlan Stenn <stenn@ntp.org> 709* [Bug 2565] Handle EINTR on getifaddrs(). 710(4.2.7p422) 2014/02/17 Released by Harlan Stenn <stenn@ntp.org> 711* [Bug 2536] ntpd sandboxing support (libseccomp2). 712(4.2.7p421) 2014/02/10 Released by Harlan Stenn <stenn@ntp.org> 713* [Bug 898] More documentation fixes. 714* [Bug 2555] Autogen mdoc man pages all stamped with SunOS 5.10. 715* calc_tickadj/Makefile.am man/mdoc page build cleanup. 716(4.2.7p420) 2014/02/09 Released by Harlan Stenn <stenn@ntp.org> 717* [Bug 492] Clearly document ntpdate's pending deprecation. 718* [Bug 1186] ntpd fails with link local IPv6 addresses. 719* [Sec 2542] Strengthen the mrulist nonce. 720(4.2.7p419) 2014/02/08 Released by Harlan Stenn <stenn@ntp.org> 721* [Bug 2466] Wrap NMEA timestamps in 1024 week cycles. 722(4.2.7p418) 2014/02/05 Released by Harlan Stenn <stenn@ntp.org> 723* [Bug 2551] --disable-local-libevent breaks the build. 724(4.2.7p417) 2014/02/02 Released by Harlan Stenn <stenn@ntp.org> 725* [Bug 2539] doc and code tweaks for NMEA driver. 726* Add check for enable stats to ntpd/complete.conf.in 727* Fix typo in html/confopt.html 728(4.2.7p416) 2014/01/31 Released by Harlan Stenn <stenn@ntp.org> 729* Tweak the 'Modified' line on appropriate html pages. 730* Note in the deprecation of ntpdc in its documentation. 731* [Bug 2332] Be more careful about when we use 'libgcc_s'. 732(4.2.7p415) 2014/01/28 Released by Harlan Stenn <stenn@ntp.org> 733* Fix the man page installation for the scripts/ files. 734(4.2.7p414) 2014/01/28 Released by Harlan Stenn <stenn@ntp.org> 735* [Bug 792] TrueTime TL-3 WWV refclock support. 736* [Bug 898] Documentation fixes. 737* [Bug 930] ntpdc docs refer to 'clockinfo', but mean 'clockstat'. 738* [Bug 1002] ntp-keygen option and documentation updates: -p/--pvt-passwd 739 is now -p/--password, and -q/--get-pvt-passwd is now -q/--export-passwd. 740* [Bug 1349] statistics command not documented in HTML documentation. 741 In html/monopt.html, add statistics id, definition, description, and 742 correct typo. 743 In html/scripts/monopt.txt, add statistics item, href, and comment. 744 In ntpd/ntp.conf.def, under statistics correct four to eight kinds. 745 In ntpd/complete.conf.in, add all eight kinds to statistics. 746 In html/comdex.html, remove duplicate footer. 747* [Bug 1734] Include man page for ntp.conf (fixed in 4.2.7p297). 748* [Bug 2049] Clarify ntpdate's -d option behavior. 749* [Bug 2366] ntpdc.html: burst/iburst only work on servers. 750* [Bug 2493] ntptrace needs a man page (fixed in 4.2.7p402). 751* [Bug 2545] Cleanup of scripts/monitoring/ntptrap. 752(4.2.7p413) 2014/01/27 Released by Harlan Stenn <stenn@ntp.org> 753* Require a version string for perl scripts that use autogen. 754* html/ cleanup. 755(4.2.7p412) 2014/01/20 Released by Harlan Stenn <stenn@ntp.org> 756* [Bug 2540] bootstrap script needs to 'touch' files in finer-grained groups. 757(4.2.7p411) 2014/01/12 Released by Harlan Stenn <stenn@ntp.org> 758* [Bug 2532] Note in ntpdc docs that "enable pps" only works on older ntpd. 759(4.2.7p410) 2014/01/08 Released by Harlan Stenn <stenn@ntp.org> 760* [Bug 2332] Force reference to 'libgcc_s' when using GCC, because 761 threading+restricted user+locked memory otherwise fails on Linux. 762* [Bug 2530] Fix documentation for enable/disable mode7 and pps. 763* Cleanup to the new scripts/*/Makefile.am files. 764(4.2.7p409) 2014/01/04 Released by Harlan Stenn <stenn@ntp.org> 765* [Bug 2060] Warn about restrictions with "kod" but not "limited". 766(4.2.7p408) 2013/12/29 Released by Harlan Stenn <stenn@ntp.org> 767* [Bug 2187] Update version number generation scripts. 768(4.2.7p407) 2013/12/29 Released by Harlan Stenn <stenn@ntp.org> 769* [Bug 2519] mktime.c does not compile on 64-bit Solaris but we do not 770 need timegm() and the Solaris provides mktime(). 771* [Bug 2522] Revert Bug 2513 fix - it breaks backward compatibility. 772(4.2.7p406) 2013/12/28 Released by Harlan Stenn <stenn@ntp.org> 773* [Bug 2521] VPATH tweaks for perl -opts files. 774(4.2.7p405) 2013/12/27 Released by Harlan Stenn <stenn@ntp.org> 775* [Bug 2521] bootstrap script needs a tweak for perl -opts files. 776* [Bug 2524] Add ntpsweep to sntp/loc/* files. 777* [Bug 2526] Add "noinst" support to the sntp/loc/ framework. 778(4.2.7p404) 2013/12/24 Released by Harlan Stenn <stenn@ntp.org> 779* [Bug 135] AIX5: "Address already in use" for IPv6 wildcard. 780(4.2.7p403) 2013/12/23 Released by Harlan Stenn <stenn@ntp.org> 781* [Bug 2513] Remove any PIDFILE in finish(). 782* [Bug 2516] Enable clock_gettime() support for AIX 5+. 783* [Bug 2517] Fix peer status errors in decode.html. 784(4.2.7p402) 2013/12/23 Released by Harlan Stenn <stenn@ntp.org> 785* Incorporate Oliver Kindernay's GSoC 2013 scripts/ cleanup. 786(4.2.7p401) 2013/11/30 Released by Harlan Stenn <stenn@ntp.org> 787* [Bug 2491] VS20xx compile fixes. 788(4.2.7p400) 2013/11/29 Released by Harlan Stenn <stenn@ntp.org> 789* [Bug 2491] VS2013 project files. 790(4.2.7p399) 2013/11/28 Released by Harlan Stenn <stenn@ntp.org> 791* [Bug 2326] More leapsecond file notification cleanup. 792* [Bug 2506] make sure routing updates are always tracked 793* [Bug 2514] secs/* #define usage cleanup. 794(4.2.7p398) 2013/11/25 Released by Harlan Stenn <stenn@ntp.org> 795* [Bug 2326] More leapsecond file notification cleanup. 796* Improve sntp KoD data file fopen() error message. 797(4.2.7p397) 2013/11/20 Released by Harlan Stenn <stenn@ntp.org> 798* [Bug 2326] More leapsecond file notification cleanup. 799(4.2.7p396) 2013/11/19 Released by Harlan Stenn <stenn@ntp.org> 800* [Bug 2326] Improve stale leapsecond notifications. 801(4.2.7p395) 2013/11/12 Released by Harlan Stenn <stenn@ntp.org> 802* Upgrade to autogen-5.18.3pre5 and libopts-40.1.15. 803(4.2.7p394) 2013/11/05 Released by Harlan Stenn <stenn@ntp.org> 804* [Bug 1050] Change ONCORE log message for leap second announcement 805 to avoid misunderstandings. 806* [Bug 2499] Win32 user-space/loopback ppsapi provider drops samples. 807* [Bug 2256] Improve configure's function searches in libraries. 808(4.2.7p393) 2013/10/16 Released by Harlan Stenn <stenn@ntp.org> 809* [Bug 2272] Use C99 integer types. ntp_calendar.h and ntp_types.h . 810(4.2.7p392) 2013/10/15 Released by Harlan Stenn <stenn@ntp.org> 811* [Bug 2375] Improve AIX compatibility. 812* [Bug 2490] Fixed non-const initializer coming from [Bug 2250] fix. 813(4.2.7p391) 2013/10/12 Released by Harlan Stenn <stenn@ntp.org> 814* [Bug 2250] Rework of leap second handling machine. 815* [Bug 2419] [rc-nmea] Improve clockstats reporting when receiver sends 816 data without valid GPS fix. 817(4.2.7p390) 2013/09/26 Released by Harlan Stenn <stenn@ntp.org> 818* [Bug 2482] Cleanup of droproot and jail support for Solaris. 819(4.2.7p389) 2013/09/24 Released by Harlan Stenn <stenn@ntp.org> 820* [Bug 2473] revisited: NTPD exits after clock is stepped backwards 821 Avoid possible unsigned underrun for startup condition when testing 822 for clock backstep. 823* [Bug 2481] ntpd aborts when both user and group are specified with -u. 824* [Bug 2482] Add droproot and jail support for Solaris. 825(4.2.7p388) 2013/09/19 Released by Harlan Stenn <stenn@ntp.org> 826* [Bug 2473] NTPD exits after clock is stepped backwards externally 827(4.2.7p387) 2013/09/16 Released by Harlan Stenn <stenn@ntp.org> 828* [Bug 1642] ntpdsim can't find simnulate block in config file. 829(4.2.7p386) 2013/09/01 Released by Harlan Stenn <stenn@ntp.org> 830* [Bug 2472] (WinXP) Avoid self-termination of IO thread during exit(). 831(4.2.7p385) 2013/08/19 Released by Harlan Stenn <stenn@ntp.org> 832* CID 975596: Copy/paste error: vallen should be siglen. 833* CID 1009579: Check return status of X509_add_ext(). 834* [2085] Fix root distance and root dispersion calculations. 835* [Bug 2426] Possibly uninitialized data in crypto_send() - CID 975596. 836(4.2.7p384) 2013/08/18 Released by Harlan Stenn <stenn@ntp.org> 837* [Bug 2450] --version has bogus short option. 838(4.2.7p383) 2013/08/10 Released by Harlan Stenn <stenn@ntp.org> 839* (no changes - force a rebuild for a new Coverity scan) 840(4.2.7p382) 2013/08/08 Released by Harlan Stenn <stenn@ntp.org> 841* [Bug 2454] Need way to set file descriptor limit - cleanup. 842(4.2.7p381) 2013/08/07 Released by Harlan Stenn <stenn@ntp.org> 843* [Bug 2451] rlimit command is missing from the table of contents in 844 miscopt.html . 845* [Bug 2452] provide io_handler/input_handler only on 846 non HAVE_IO_COMPLETION_PORT platforms 847* [Bug 2453] Need a way to avoid calling mlockall. 848* [Bug 2454] Need way to set file descriptor limit. 849* [Bug 2458] AM_CONFIG_HEADER is obsolete. 850(4.2.7p380) 2013/08/03 Released by Harlan Stenn <stenn@ntp.org> 851* CID 984511: Some systems have different printf needs for sizeof. 852(4.2.7p379) 2013/08/02 Released by Harlan Stenn <stenn@ntp.org> 853* CID 739724: Fix printf arg mismatch in a debug line. 854* [Bug 2425] compile io_handler() in ntp_io.c unconditionally 855* [Bug 2448] Fix checks for configure --with-stack-limit and --with-memlock 856 values. 857(4.2.7p378) 2013/08/01 Released by Harlan Stenn <stenn@ntp.org> 858* [Bug 2425] move part of input handler code from ntpd.c to ntp_io.c 859 and fix select()-only platforms calling input_handler directly. 860* [Bug 2446] Quiet warnings from Oracle's Studio compiler. 861* Upgrade to AutoGen-5.18.1pre3 862* Upgrade to libopts-40.1.15. 863(4.2.7p377) 2013/07/28 Released by Harlan Stenn <stenn@ntp.org> 864* [Bug 2397] License/copyright cleanup. 865* [Bug 2439] Fix check of EscapeCommFunction() in ports/winnt/libntp/termios.c. 866(4.2.7p376) 2013/07/24 Released by Harlan Stenn <stenn@ntp.org> 867* [Bug 2322] Oncore driver should send 0 PPS offset to GPS. 868(4.2.7p375) 2013/07/22 Released by Harlan Stenn <stenn@ntp.org> 869* [Bug 883] log warning arguments swapped in refclock_gpsvme.c. 870* [Bug 2368] Correct bug in previous attempt. 871* [Bug 2413] Fix "make check" with automake >= 1.13. 872* [Bug 2434] Line-buffer (v. block-buffer) stdout. 873(4.2.7p374) 2013/07/21 Released by Harlan Stenn <stenn@ntp.org> 874* [Bug 2368] make check troubles in libevent. 875* [Bug 2425] setup SIGIO/SIGPOLL for asyncio on the read side 876 of a socketpair for the worker thread. 877(4.2.7p373) 2013/07/20 Released by Harlan Stenn <stenn@ntp.org> 878* [Bug 2427] configure fails to detect recvmsg() on Solaris. 879(4.2.7p372) 2013/07/17 Released by Harlan Stenn <stenn@ntp.org> 880* [Bug 1466] Oncore should set FLAG_PPS. 881* [Bug 2375] AIX 7 doesn't like a libevent validation check. 882* [Bug 2423] Log command-line args at LOG_INFO. 883* [Bug 2428] do_unconf() should reset 'items' before the 2nd loop. 884(4.2.7p371) 2013/07/07 Released by Harlan Stenn <stenn@ntp.org> 885* CID 1042586: Check the return value of clock_gettime() in worker_sleep(). 886* Upgrade to libopts-39.0.14 from 5.17.5pre10. 887(4.2.7p370) 2013/07/06 Released by Harlan Stenn <stenn@ntp.org> 888* Remove \n's from syslog output strings. 889(4.2.7p369) 2013/07/05 Released by Harlan Stenn <stenn@ntp.org> 890* [Bug 2415] RES_LIMITED flags check should use &, not &&. 891* Have NTP_LIBNTP check for time.h and clock_getres(). 892* Fix ntpsweep to use sntp instead of ntpdate, from Oliver Kindernay. 893(4.2.7p368) 2013/05/01 Released by Harlan Stenn <stenn@ntp.org> 894* [Bug 2145] ntpq dumps core when displaying sys_var_list and more. 895(4.2.7p367) 2013/04/25 Released by Harlan Stenn <stenn@ntp.org> 896* [Bug 1485] Sometimes ntpd crashes 897* [Bug 2382] Implement LOGTOD using ldexp() instead of shifting. 898(4.2.7p366) 2013/04/17 Released by Harlan Stenn <stenn@ntp.org> 899* [Bug 1866] Disable some debugging output in refclock_oncore. 900(4.2.7p365) 2013/04/16 Released by Harlan Stenn <stenn@ntp.org> 901* [Bug 2149] Log an error message if /proc/net/if_inet6 cannot be opened. 902(4.2.7p364) 2013/03/26 Released by Harlan Stenn <stenn@ntp.org> 903* Bump sntp/include/autogen-version.def . 904(4.2.7p363) 2013/03/26 Released by Harlan Stenn <stenn@ntp.org> 905* [Bug 2357] sntp/libopts/usage.c sometimes needs -lintl. 906* Upgrade to libopts from 5.17.3pre10. 907(4.2.7p362) 2013/03/19 Released by Harlan Stenn <stenn@ntp.org> 908* [Bug 2364] "sed -i" is not portable. 909(4.2.7p361) 2013/03/17 Released by Harlan Stenn <stenn@ntp.org> 910* [Bug 2357] sntp/libopts/usage.c sometimes needs -lintl. 911* [Bug 2365] "make check" fails in libevent. 912(4.2.7p360) 2013/03/15 Released by Harlan Stenn <stenn@ntp.org> 913* Upgrade libevent (coverity fixes, etc.). 914* EEXIST is OK for mkdir() in sntp/kod_management.c. 915(4.2.7p359) 2013/03/03 Released by Harlan Stenn <stenn@ntp.org> 916* [Bug 2359] Fix send_via_ntp_signd() prototype. 917(4.2.7p358) 2013/02/27 Released by Harlan Stenn <stenn@ntp.org> 918* Upgrade to autogen-5.17.3pre4 and libopts-38.0.13. 919* [Bug 2357] sntp/libopts/usage.c on NetBSD needs -lintl. 920(4.2.7p357) 2013/02/22 Released by Harlan Stenn <stenn@ntp.org> 921* Upgrade to autogen-5.17.2pre and libopts-38.0.13. 922(4.2.7p356) 2013/02/19 Released by Harlan Stenn <stenn@ntp.org> 923* Added loc/debian. 924(4.2.7p355) 2013/02/18 Released by Harlan Stenn <stenn@ntp.org> 925* CID 739708: Check return status of fcntl() in refclock_arc.c. 926* CID 739709: Check return status of fcntl() in refclock_datum.c. 927* CID 739710: Check return status of mkdir() in sntp/kod_management.c. 928* CID 739711: Ignore return status of remove() in ntp-keygen.c. 929* CID 739723: Print sizeof as unsigned. 930* CID 971094: Clean up time of check/time of use in check_leap_file(). 931(4.2.7p354) 2013/02/10 Released by Harlan Stenn <stenn@ntp.org> 932* CID 97194: Check return from setsockopt(). 933* CID 739473,739532: Out-of-bounds access/illegal address computation. 934* CID 739558: Double close. 935* CID 739559: Double close. 936* CID 739713: devmask/recmask copy/paste error. 937* CID 739714: Fix code indentation level. 938* CID 739715: Clean up sockaddr_dump(). 939(4.2.7p353) 2013/02/09 Released by Harlan Stenn <stenn@ntp.org> 940* [Bug 2326] Check hourly for a new leapfile if the old one expired. 941(4.2.7p352) 2013/01/28 Released by Harlan Stenn <stenn@ntp.org> 942* [Bug 2326] Notice when a new leapfile has been installed. 943(4.2.7p351) 2013/01/24 Released by Harlan Stenn <stenn@ntp.org> 944* [Bug 2328] Don't apply small time adjustments on Windows versions 945 which don't support this. 946(4.2.7p350) 2013/01/21 Released by Harlan Stenn <stenn@ntp.org> 947* Added sntp/loc/netbsd based on info from Christos Zoulas. 948(4.2.7p349) 2013/01/20 Released by Harlan Stenn <stenn@ntp.org> 949* [Bug 2321] Fixed Windows build, but autogen update still required. 950(4.2.7p348) 2013/01/17 Released by Harlan Stenn <stenn@ntp.org> 951* [Bug 2327] Rename sntp/ag-tpl/:Old to sntp/ag-tpl/Old. 952* Cleanup to ntpsnmpd-opts.def. 953* Cleanup to ntpq.texi. 954* Documentation cleanup to the ntpd, ntpdc, ntpq and ntp-wait 955 .def files. 956* In ntp.conf.def, cleanup SEE ALSO, document 'rlimit' options. 957* Add a reference to RFC5907 in the ntpsnmpd documentation. 958(4.2.7p347) 2013/01/07 Released by Harlan Stenn <stenn@ntp.org> 959* [Bug 2325] Re-enable mlockall() check under Linux post-1223 fix. 960(4.2.7p346) 2013/01/06 Released by Harlan Stenn <stenn@ntp.org> 961* [Bug 1223] reorganize inclusion of sys/resource.h. 962(4.2.7p345) 2013/01/04 Released by Harlan Stenn <stenn@ntp.org> 963* Update several .def files to use autogen-5.17 feature set. 964(4.2.7p344) 2013/01/03 Released by Harlan Stenn <stenn@ntp.org> 965* Refactor and enhance mdoc2texi. 966* Make sure agtexi-file.tpl defines label-str. 967* Cleanup to ntp.conf.def. 968* Upgrade to autogen-5.17 and libopts-37.0.12. 969(4.2.7p343) 2013/01/02 Released by Harlan Stenn <stenn@ntp.org> 970* Update the copyright year. 971(4.2.7p342) 2012/12/31 Released by Harlan Stenn <stenn@ntp.org> 972* [Bug 2081 - Backward Incompatible] rawstats now logs everything. 973(4.2.7p341) 2012/12/30 Released by Harlan Stenn <stenn@ntp.org> 974(4.2.7p340) 2012/12/29 Released by Harlan Stenn <stenn@ntp.org> 975* mdoc2texi fixes: trailing punctuation. 976(4.2.7p339) 2012/12/26 Released by Harlan Stenn <stenn@ntp.org> 977* mdoc2texi fixes: parseQuote, closing of list item tables. 978* ntp-wait, ntpd, ntpdc, ntpq, ntpsnmpd autogen documentation updates. 979(4.2.7p338) 2012/12/25 Released by Harlan Stenn <stenn@ntp.org> 980* mdoc2texi fixes: Handle_ArCmFlIc, Handle_Fn, HandleQ. 981* ntp-keygen autogen documentation updates. 982* ntpq autogen docs. 983(4.2.7p337) 2012/12/22 Released by Harlan Stenn <stenn@ntp.org> 984* [Bug 1223] More final cleanup for rlimit changes. 985(4.2.7p336) 2012/12/21 Released by Harlan Stenn <stenn@ntp.org> 986* [Bug 1223] Final cleanup for rlimit changes. 987(4.2.7p335) 2012/12/18 Released by Harlan Stenn <stenn@ntp.org> 988* Update documentation templates and definitions. 989* Create agtexi-file.tpl . 990(4.2.7p334) 2012/12/10 Released by Harlan Stenn <stenn@ntp.org> 991* [Bug 2114] Update tests for sntp's synch distance. 992* Create ntp-keygen.{html,texi}. 993(4.2.7p333) 2012/12/07 Released by Harlan Stenn <stenn@ntp.org> 994* Autogen documentation cleanup. 995(4.2.7p332) 2012/12/06 Released by Harlan Stenn <stenn@ntp.org> 996* sntp documentation cleanup. 997(4.2.7p331) 2012/12/03 Released by Harlan Stenn <stenn@ntp.org> 998* [Bug 2114] Correctly calculate sntp's synch distance. 999(4.2.7p330) 2012/12/03 Released by Harlan Stenn <stenn@ntp.org> 1000* autogen doc cleanup 1001(4.2.7p329) 2012/12/01 Released by Harlan Stenn <stenn@ntp.org> 1002* [Bug 2278] ACTS flag3 mismatch between code and driver18.html. 1003* Use an enum for the ACTS state table. 1004* html doc reconciliation with DLM's copy. 1005(4.2.7p328) 2012/11/30 Released by Harlan Stenn <stenn@ntp.org> 1006* html doc reconciliation with DLM's copy. 1007(4.2.7p327) 2012/11/29 Released by Harlan Stenn <stenn@ntp.org> 1008* [Bug 2024] Identify Events in the system status word in decode.html.' 1009* [Bug 2040] Provide a command-line option for the identity key bits. 1010* Create loc/darwin for Mac OSX 1011(4.2.7p326) 2012/11/21 Released by Harlan Stenn <stenn@ntp.org> 1012* [Bug 1214] 'proto: precision = ...' should be at INFO, not NOTICE. 1013* [Bug 2246] Clear sys_leap when voting says to disarm the leap. 1014(4.2.7p325) 2012/11/20 Released by Harlan Stenn <stenn@ntp.org> 1015* [Bug 2202] ntpq.html: there is no "acv" billboard. 1016* [Bug 2306] keep pps hack for Win32 even if user-mode/loopback 1017 PPS API is activated on a serial line. 1018(4.2.7p324) 2012/11/19 Released by Harlan Stenn <stenn@ntp.org> 1019* Reinstate doc fix to authentic.html from Mike T. 1020* [Bug 1223] cleanup for rlimit changes. 1021* [Bug 2098] Install DLM's HTML documentation. 1022* [Bug 2306] Added user-mode/loop-back PPS API provider for Win32 1023(4.2.7p323) 2012/11/18 Released by Harlan Stenn <stenn@ntp.org> 1024* html/ updates from Dave Mills. 1025(4.2.7p322) 2012/11/15 Released by Harlan Stenn <stenn@ntp.org> 1026* [Bug 1223] Allow configurable values for RLIMIT_STACK and 1027 RLIMIT_MEMLOCK. 1028* [Bug 1320] Log ntpd's initial command-line parameters. (updated fix) 1029* [Bug 2120] no sysexits.h under QNX. 1030* [Bug 2123] cleanup to html/leap.html. 1031(4.2.7p321) 2012/11/13 Released by Harlan Stenn <stenn@ntp.org> 1032* [Bug 1320] Log ntpd's initial command-line parameters. 1033(4.2.7p320) 2012/11/12 Released by Harlan Stenn <stenn@ntp.org> 1034* [Bug 969] Clarify ntpdate.html documentation about -u and ntpd. 1035* [Bug 1217] libisc/ifiter_sysctl.c:internal_current(): Ignore RTM 1036 messages with wrong version 1037(4.2.7p319) 2012/11/11 Released by Harlan Stenn <stenn@ntp.org> 1038* [Bug 2296] Fix compile problem with building with old OpenSSL. 1039(4.2.7p318) 2012/11/05 Released by Harlan Stenn <stenn@ntp.org> 1040* [Bug 2301] Remove spurious debug output from ntpq. 1041(4.2.7p317) 2012/11/05 Released by Harlan Stenn <stenn@ntp.org> 1042* [Bug 922] Allow interspersed -4 and -6 flags on the ntpq command line. 1043(4.2.7p316) 2012/10/27 Released by Harlan Stenn <stenn@ntp.org> 1044* [Bug 2296] Update fix for Bug 2294 to handle --without-crypto. 1045(4.2.7p315) 2012/10/26 Released by Harlan Stenn <stenn@ntp.org> 1046* [Bug 2294] ntpd crashes in FIPS mode. 1047(4.2.7p314) 2012/10/23 Released by Harlan Stenn <stenn@ntp.org> 1048* Document a tricky malloc() of dns_ctx in sntp. 1049(4.2.7p313) 2012/10/23 Released by Harlan Stenn <stenn@ntp.org> 1050* [Bug 2291] sntp should report why it cannot open file.kod. 1051* [Bug 2293] add support for SO_BINTIME, refine support for 1052 SO_TIMESTAMPNS (bug 1374) 1053(4.2.7p312) 2012/10/11 Released by Harlan Stenn <stenn@ntp.org> 1054* Clean up testing/debugging of fix for [Bug 938] from sntp/main.c . 1055(4.2.7p311) 2012/10/10 Released by Harlan Stenn <stenn@ntp.org> 1056* [Bug 938] The argument to the -D flag takes a number, not a string. 1057* [Bug 1013] ntpdate's HTML page claims wrong default version. 1058* [Bug 1374] Support SO_TIMESTAMPNS. 1059(4.2.7p310) 2012/10/09 Released by Harlan Stenn <stenn@ntp.org> 1060* [Bug 1374] Support SO_TIMESTAMPNS. 1061* [Bug 2266] Remove deprecated refclock_trak.c from Windows Makefile 1062 equivalents. 1063* [Bug 2274] Bring libopts/enum.c back to (old) ANSI C compliance. 1064(4.2.7p309) 2012/10/04 Released by Harlan Stenn <stenn@ntp.org> 1065* [Bug 2287] ntpdate returns 0 even if adjtime() call fails. 1066(4.2.7p308) 2012/09/29 Released by Harlan Stenn <stenn@ntp.org> 1067* CID 97198: Check return from ioctl() calls in refclock_acts.c. 1068(4.2.7p307) 2012/09/29 Released by Harlan Stenn <stenn@ntp.org> 1069* [Bug 1997] Fix sntp broadcast timeouts. 1070* [Bug 2234] Fix incorrect ntptrace html documentation. 1071* [Bug 2262] Install html docs in $htmldir. 1072* Fix typo in html/select.html. 1073(4.2.7p306) 2012/09/15 Released by Harlan Stenn <stenn@ntp.org> 1074* [Bug 752] ToS cleanup from Mike Tatarinov. 1075(4.2.7p305) 2012/09/15 Released by Harlan Stenn <stenn@ntp.org> 1076* [Bug 752] Use proper ToS network packet markings for IPv4 and IPv6. 1077* [Bug 1232] Convert SHM refclock to use struct timespec. 1078* [Bug 2258] Add syslog message about leap insertion. 1079* [Bug 2263] broadcast server doesn't work for host with 1080 OS_MISSES_SPECIFIC_ROUTE_UPDATES. 1081* [Bug 2271] Decode refclock types when built with --disable-all-clocks. 1082* [Bug 2276] clk_sel240x.c #define's _XOPEN_SOURCE, breaking QNX6. 1083* Updates to driver28.html. 1084(4.2.7p304) 2012/09/06 Released by Harlan Stenn <stenn@ntp.org> 1085* [Bug 2264] Cleanup SEL240X Refclock. 1086* In refclock_wwv.c rename SECOND to WWV_SEC and MINUTE to WWV_MIN. 1087(4.2.7p303) 2012/09/05 Released by Harlan Stenn <stenn@ntp.org> 1088* [Bug 1232] Add nanosecond support to SHM driver. 1089(4.2.7p302) 2012/09/05 Released by Harlan Stenn <stenn@ntp.org> 1090* [Bug 2160] Log warning about expired leapseconds file. 1091(4.2.7p301) 2012/09/03 Released by Harlan Stenn <stenn@ntp.org> 1092* [Bug 2164] Greater precision needed for ntpq offset report. 1093* Clean the man5_MANS in ntpd/ . 1094(4.2.7p300) 2012/09/03 Released by Harlan Stenn <stenn@ntp.org> 1095* [Bug 2262] Install sntp.html into htmldir. 1096* [Bug 2270] Install fails due to repeated man5 page names. 1097(4.2.7p299) 2012/09/01 Released by Harlan Stenn <stenn@ntp.org> 1098* More cleanup to the bootstrap script. 1099(4.2.7p298) 2012/09/01 Released by Harlan Stenn <stenn@ntp.org> 1100* Handle additional man page sections in the bootstrap script. 1101* Remove extraneous parens. 1102* Add a missing "%s" syslog format string. 1103(4.2.7p297) 2012/09/01 Released by Harlan Stenn <stenn@ntp.org> 1104* Fix mdoc2man. 1105* Distribute ntp.conf.def and ntp.keys.def. 1106(4.2.7p296) 2012/08/31 Released by Harlan Stenn <stenn@ntp.org> 1107* Begin support for autogen maintaining ntp.conf and ntp.keys docs. 1108* Upgrade to autogen-5.16.2 and libopts-36.5.11. 1109* Potential bugfix for agtexi-cmd.tpl. 1110(4.2.7p295) 2012/08/11 Released by Harlan Stenn <stenn@ntp.org> 1111* Look for syslog's facilitynames[]. 1112(4.2.7p294) 2012/08/08 Released by Harlan Stenn <stenn@ntp.org> 1113* [Bug 2242] configure fails to detect getifaddrs function on Solaris. 1114* [Bug 2249] Bad operator for 'test' in 'make check' of libevent. 1115* [Bug 2252] palisade: formats nanosecs to a 6-char field. 1116* Attempt to resolve strict-aliasing violation in refclock_tsyncpci.c. 1117* Fix && -> & typo in refclock_palisade.c debug statements. 1118(4.2.7p293) 2012/08/04 Released by Harlan Stenn <stenn@ntp.org> 1119* [Bug 2247] (more) Get rid of the TRAK refclock - deprecated since 2006. 1120* Documentation cleanup from Mike T. 1121* Cleanup kclk_sel240x.o rules in libparse/Makefile.am. 1122(4.2.7p292) 2012/08/02 Released by Harlan Stenn <stenn@ntp.org> 1123* [Bug 1545] Note why we are logging the Version string. 1124* [Bug 1872] Remove legacy ppsclock fdpps, #ifdef PPS. 1125* [Bug 2075] Fix spelling of 'incompatible'. 1126* [Bug 2247] Get rid of the TRAK refclock - deprecated since 2006. 1127* Clean up an exit status in ntpq.c. 1128(4.2.7p291) 2012/07/31 Released by Harlan Stenn <stenn@ntp.org> 1129* [Bug 2241] MDNS registration should only happen if requested. 1130(4.2.7p290) 2012/07/20 Released by Harlan Stenn <stenn@ntp.org> 1131* [Bug 1454] Add parse clock support for the SEL-240x GPS products. 1132* CID 709185: refclock_chu.c will leak fd==0 (better fix) 1133(4.2.7p289) 2012/07/16 Released by Harlan Stenn <stenn@ntp.org> 1134* CID 97123: Future-proof possible change to refclock_nmea.c. 1135* CID 97377: ntp-keygen.c's followlink() might not NUL-terminate. 1136* CID 709185: refclock_chu.c will leak fd==0 (which should be impossible). 1137(4.2.7p288) 2012/07/03 Released by Harlan Stenn <stenn@ntp.org> 1138* CID 709173: Make sure a libisc function we do not use is called properly. 1139(4.2.7p287) 2012/07/03 Released by Harlan Stenn <stenn@ntp.org> 1140* Remove 1024 associations-per-server limit from ntpq. 1141* Remove blank line between ntpq mreadvar associations. 1142(4.2.7p286) 2012/06/28 Released by Harlan Stenn <stenn@ntp.org> 1143* CID 97193: check return from sscanf() in ntp_config.c. 1144* CID 709169: check return from open("/dev/null", 0) and friends. 1145* CID 709207: Initialize "quality" for ulink_receive. 1146(4.2.7p285) 2012/06/18 Released by Harlan Stenn <stenn@ntp.org> 1147* [Bug 2227] Enable mrulist access control via "restrict ... nomrulist". 1148* Automake-1.12 wants us to use AM_PROG_AR. 1149* Conditionalize msyslog messages about rejected mode 6 requests due to 1150 nomodify and nomrulist restrictions under "logconfig +sysinfo". 1151* Increment sys_restricted in a few rejection paths due to nomodify 1152 restrictions where previosuly overlooked. 1153(4.2.7p284) 2012/06/16 Released by Harlan Stenn <stenn@ntp.org> 1154* [Bug 2225] libevent configure hangs. 1155* Update bundled libevent to git master, post libevent 2.1.1-alpha. 1156(4.2.7p283) 2012/06/16 Released by Harlan Stenn <stenn@ntp.org> 1157* In sntp/m4/ntp_openssl.m4, Support multiple package names for the 1158 crypto library. Add legacy support for -Wl,-rpath. 1159(4.2.7p282) 2012/06/15 Released by Harlan Stenn <stenn@ntp.org> 1160* tickadj may need to be linked with PTHREAD_LIBS. 1161(4.2.7p281) 2012/06/14 Released by Harlan Stenn <stenn@ntp.org> 1162* U_INT32_MAX cleanup in include/ntp_types.h . 1163* When linking, ntp_keygen and tickadj need $(LIBM). 1164(4.2.7p280) 2012/06/13 Released by Harlan Stenn <stenn@ntp.org> 1165* [Bug 2224] Use-after-free in routing socket code after dropping root. 1166(4.2.7p279) 2012/06/10 Released by Harlan Stenn <stenn@ntp.org> 1167* [Bug 2211] findbcastinter(): possibly undefined variable iface used. 1168* [Bug 2220] Incorrect check for maximum association id in ntpq. 1169(4.2.7p278) 2012/06/03 Released by Harlan Stenn <stenn@ntp.org> 1170* [Bug 2204] Build with --enable-getifaddrs=glibc fails. 1171* [Bug 2178] refclock_tsyncpci.c reach register fails to shift. 1172* [Bug 2191] dcfd -Y y2kcheck on CentOS 6.2 x86_64 breaks make check. 1173(4.2.7p277) 2012/05/25 Released by Harlan Stenn <stenn@ntp.org> 1174* [Bug 2193] Building timestruct tests with Clang 3.1 fails. 1175(4.2.7p276) 2012/05/15 Released by Harlan Stenn <stenn@ntp.org> 1176* [Bug 2179] Remove sntp/header.h. 1177(4.2.7p275) 2012/04/28 Released by Harlan Stenn <stenn@ntp.org> 1178* [Bug 1744] Remove obsolete ntpdate/ntptime* items. 1179(4.2.7p274) 2012/04/25 Released by Harlan Stenn <stenn@ntp.org> 1180* [Bug 2174] ntpd rejects source UDP ports less than 123 as bogus. 1181(4.2.7p273) 2012/04/19 Released by Harlan Stenn <stenn@ntp.org> 1182* [Bug 2141] handle_sigio() calls get_systime(), which must be 1183 reentrant when SIGIO is used. Sanity checks relative to the prior 1184 get_systime() are disabled in ntpd on systems with signaled I/O, but 1185 active in sntp and ntpdate. 1186* Correct authnumfreekeys accounting broken in 4.2.7p262. 1187(4.2.7p272) 2012/04/14 Released by Harlan Stenn <stenn@ntp.org> 1188* LCRYPTO is gone - replace with VER_SUFFIX. 1189* Change the link order for ntpsntpd. 1190* Remove extra 'nlist' check from configure.ac. 1191(4.2.7p271) 2012/04/11 Released by Harlan Stenn <stenn@ntp.org> 1192* [Bug 1122] openssl detection via pkg-config fails when no additional 1193 -Idir flags are needed. 1194* Avoid overwriting user variable LDFLAGS with OpenSSL flags, instead 1195 they are added to LDFLAGS_NTP. 1196(4.2.7p270) 2012/03/26 Released by Harlan Stenn <stenn@ntp.org> 1197* Update driver45.html page. 1198(4.2.7p269) 2012/03/25 Released by Harlan Stenn <stenn@ntp.org> 1199* Clean up configure.ac. 1200* Cleanup configure.ac's TSYNC PCI section. 1201(4.2.7p268) 2012/03/24 Released by Harlan Stenn <stenn@ntp.org> 1202* Update driver45.html page. 1203(4.2.7p267) 2012/03/23 Released by Harlan Stenn <stenn@ntp.org> 1204* Initial cut at a basic driver45.html page. 1205(4.2.7p266) 2012/03/21 Released by Harlan Stenn <stenn@ntp.org> 1206* Add refclock_tsyncpci.c (driver 45) supporting Spectracom TSYNC timing 1207 boards. 1208(4.2.7p265) 2012/03/20 Released by Harlan Stenn <stenn@ntp.org> 1209* Treat zero counter as indication of precise system time in Windows 1210 PPSAPI helper function pps_ntp_timestamp_from_counter(), enabling 1211 PPSAPI providers to use the Windows 8 precise clock directly. 1212(4.2.7p264) 2012/03/14 Released by Harlan Stenn <stenn@ntp.org> 1213* [Bug 2160] Note if leapseconds file is past its prime. 1214* Use GetSystemTimePreciseAsFileTime() on Windows 8. 1215(4.2.7p263) 2012/03/13 Released by Harlan Stenn <stenn@ntp.org> 1216* [Bug 2156] clock instability with LOCAL driver, from Miroslav Lichvar. 1217* [Bug 2159] Windows ntpd using leapfile erroneous leap second 20120401. 1218(4.2.7p262) 2012/02/29 Released by Harlan Stenn <stenn@ntp.org> 1219* Improve ntpd scalability for servers with many trusted keys. 1220(4.2.7p261) 2012/02/27 Released by Harlan Stenn <stenn@ntp.org> 1221* [Bug 2048] add the clock variable timecode to SHM refclock. 1222(4.2.7p260) 2012/02/24 Released by Harlan Stenn <stenn@ntp.org> 1223* Fix the check-scm-rev invocation in several Makefile.am's. 1224(4.2.7p259) 2012/02/22 Released by Harlan Stenn <stenn@ntp.org> 1225* [Bug 2148] ntpd 4.2.7p258 segfault with 0x0100000 bit in NMEA mode. 1226* refclock_nmea.c merge cleanup thanks to Juergen Perlinger. 1227(4.2.7p258) 2012/02/21 Released by Harlan Stenn <stenn@ntp.org> 1228* [Bug 2140] Rework of Windows I/O completion port handling to avoid 1229 garbling serial input in UNIX line discipline emulation. 1230* [Bug 2143] NMEA driver: discard data if quality indication not good, 1231 add statistic counters (mode bit enabled) to clockstats file. 1232(4.2.7p257) 2012/02/17 Released by Harlan Stenn <stenn@ntp.org> 1233* [Bug 2135] defer calls to 'io_input' to main thread under Windows. 1234(4.2.7p256) 2012/02/08 Released by Harlan Stenn <stenn@ntp.org> 1235* [Bug 2131] Set the system variable settimeofday only after clock step. 1236* [Bug 2134] --enable-C99-snprintf does not force rpl_snprintf use. 1237(4.2.7p255) 2012/01/29 Released by Harlan Stenn <stenn@ntp.org> 1238* [Bug 603] Only link with nlist()-related libraries when needed: 1239 More cleanup. 1240(4.2.7p254) 2012/01/29 Released by Harlan Stenn <stenn@ntp.org> 1241* [Bug 603] Only link with nlist()-related libraries when needed. 1242(4.2.7p253) 2012/01/26 Released by Harlan Stenn <stenn@ntp.org> 1243* [Bug 2126] Compile error on Windows with libopts from Autogen 5.14. 1244* Update one of the license URLs. 1245(4.2.7p252) 2012/01/25 Released by Harlan Stenn <stenn@ntp.org> 1246* Upgrade to autogen-5.14 (and libopts-36.1.11). 1247(4.2.7p251) 2012/01/17 Released by Harlan Stenn <stenn@ntp.org> 1248* [Bug 2115] ntptrace should accept both rootdispersion and rootdisp. 1249(4.2.7p250) 2012/01/15 Released by Harlan Stenn <stenn@ntp.org> 1250* [Bug 2113] Warn about ignored extra args in ntpq. 1251* Update the copyright year. 1252(4.2.7p249) 2012/01/10 Released by Harlan Stenn <stenn@ntp.org> 1253* [Bug 2111] Remove minpoll delay before iburst for pool and 1254 manycastclient. 1255* Move refclock-specific scheduled timer code under #ifdef REFCLOCK 1256 and move "action" and "nextaction" data for same from struct peer to 1257 struct refclockproc. These provide a way to schedule a callback some 1258 seconds in the future. 1259(4.2.7p248) 2012/01/08 Released by Harlan Stenn <stenn@ntp.org> 1260* [Bug 2109] "make clean check" is broken with gtest available. 1261* [Bug 2110] systime.c typo breaks build on microsecond clocks. 1262(4.2.7p247) 2012/01/07 Released by Harlan Stenn <stenn@ntp.org> 1263* Fix build break triggered by updating deps-ver and libntp/systime.c at 1264 the same time by explicitly depending systime_s.c on systime.c. 1265(4.2.7p246) 2012/01/06 Released by Harlan Stenn <stenn@ntp.org> 1266* [Bug 2104] ntpdc fault with oversize -c command. 1267* [Bug 2106] Fix warnings when using -Wformat-security. 1268* Refactor timespecops.h and timevalops.h into inline functions. 1269(4.2.7p245) 2011/12/31 Released by Harlan Stenn <stenn@ntp.org> 1270* [Bug 2100] conversion problem with timespec/timeval <--> l_fp fixed; 1271 added tests to expose the bug. 1272(4.2.7p244) 2011/12/25 Released by Harlan Stenn <stenn@ntp.org> 1273* Updates from 4.2.6p5. 1274(4.2.7p243) 2011/12/23 Released by Harlan Stenn <stenn@ntp.org> 1275* [Bug 2095] ntptrace now needs 'rv' instead of 'pstat', reported 1276 by Michael Tatarinov. 1277(4.2.7p242) 2011/12/21 Released by Harlan Stenn <stenn@ntp.org> 1278* Include missing html/icons/sitemap.png, reported by Michael Tatarinov. 1279* Documentation updates from Dave Mills. 1280(4.2.7p241) 2011/12/18 Released by Harlan Stenn <stenn@ntp.org> 1281* [Bug 2015] Overriding sys_tick should recalculate sys_precision. 1282* [Bug 2037] Fuzzed non-interpolated clock may decrease. 1283* [Bug 2068] "tos ceiling" default and cap changed to 15. 1284* Floor peer delay using system precision, as with jitter, reflecting 1285 inability to measure shorter intervals. 1286(4.2.7p240) 2011/12/15 Released by Harlan Stenn <stenn@ntp.org> 1287* [Bug 2092] clock_select() selection jitter miscalculated. 1288* [Bug 2093] Reintroduce smaller stratum factor to system peer metric. 1289(4.2.7p239) 2011/12/11 Released by Harlan Stenn <stenn@ntp.org> 1290* Documentation updates from Dave Mills. 1291(4.2.7p238) 2011/12/09 Released by Harlan Stenn <stenn@ntp.org> 1292* [Bug 2082] from 4.2.6p5-RC3: 3-char refid sent by ntpd 4.2.6p5-RC2 1293 ends with extra dot. 1294* [Bug 2085] from 4.2.6p5-RC3: clock_update() sys_rootdisp calculation 1295 omits root delay. 1296* [Bug 2086] from 4.2.6p5-RC3: get_systime() should not offset by 1297 sys_residual. 1298* [Bug 2087] from 4.2.6p5-RC3: sys_jitter calculation overweights 1299 sys.peer jitter. 1300* from 4.2.6p5-RC3: Ensure NULL peer->dstadr is not accessed in orphan 1301 parent selection. 1302(4.2.7p237) 2011/12/01 Released by Harlan Stenn <stenn@ntp.org> 1303* [Bug 2050] from 4.2.6p5-RC2: Orphan mode stratum counting to infinity. 1304* [Bug 2059] from 4.2.6p5-RC2: optional billboard column "server" does 1305 not honor -n. 1306* [Bug 2066] from 4.2.6p5-RC2: ntpq lopeers ipv6 "local" column overrun. 1307* [Bug 2068] from 4.2.6p5-RC2: ntpd sends nonprintable stratum 16 refid 1308 to ntpq. 1309* [Bug 2069] from 4.2.6p5-RC2: broadcastclient, multicastclient spin up 1310 duplicate ephemeral associations without broadcastdelay. 1311* [Bug 2072] from 4.2.6p5-RC2: Orphan parent selection metric needs 1312 ntohl(). 1313* [Bug 2073] Correct ntpq billboard's MODE_PASSIVE t from 'u' to 'S'. 1314* from 4.2.6p5-RC2: Exclude not-yet-determined sys_refid from use in 1315 loopback TEST12 (from Dave Mills). 1316* from 4.2.6p5-RC2: Never send KoD rate limiting response to MODE_SERVER. 1317* Floor calculation of sys_rootdisp at sys_mindisp in clock_update (from 1318 Dave Mills). 1319* Restore 4.2.6 clock_combine() weighting to ntp-dev, reverting to pre- 1320 4.2.7p70 method while also avoiding divide-by-zero (from Dave Mills). 1321* Round l_fp traffic interval when converting to integer in rate limit 1322 and KoD calculation. 1323(4.2.7p236) 2011/11/16 Released by Harlan Stenn <stenn@ntp.org> 1324* Documentation updates from Dave Mills. 1325(4.2.7p235) 2011/11/16 Released by Harlan Stenn <stenn@ntp.org> 1326* [Bug 2052] Autokey CRYPTO_ASSOC host@group vallen needs checking. 1327(4.2.7p234) 2011/11/07 Released by Harlan Stenn <stenn@ntp.org> 1328* Clean up -libm entries regarding libntp.a 1329(4.2.7p233) 2011/11/06 Released by Harlan Stenn <stenn@ntp.org> 1330* Documentation updates from Dave Mills. 1331(4.2.7p232) 2011/11/05 Released by Harlan Stenn <stenn@ntp.org> 1332* Update the NEWS file so we note the default disable of mode 7 requests. 1333* Clean up some bitrotted code in libntp/socket.c. 1334(4.2.7p231) 2011/11/03 Released by Harlan Stenn <stenn@ntp.org> 1335* [Bug 1940] ignore auth key if hex decoding fails. 1336* Add ntpq reslist command to query access restrictions, similar to 1337 ntpdc's reslist. 1338(4.2.7p230) 2011/11/01 Released by Harlan Stenn <stenn@ntp.org> 1339* Disable mode 7 (ntpdc) query processing in ntpd by default. ntpq is 1340 believed to provide all functionality ntpdc did, and uses a less- 1341 fragile protocol that's safer and easier to maintain. If you do find 1342 some management via ntpdc is needed, you can use "enable mode7" in the 1343 ntpd configuration. 1344* Directly limit the number of datagrams in a mrulist response, rather 1345 than limiting the number of entries returned to indirectly limit the 1346 datagram count. 1347* Documentation updates from Dave Mills. 1348(4.2.7p229) 2011/10/26 Released by Harlan Stenn <stenn@ntp.org> 1349* [Bug 1995] fix wrong use of ZERO() macro in 'ntp_calendar.c' 1350(4.2.7p228) 2011/10/23 Released by Harlan Stenn <stenn@ntp.org> 1351* [Bug 1995] add compile time stamp based era unfolding for 1352 'step_systime()' and necessary support to 'ntp-calendar.c'. 1353(4.2.7p227) 2011/10/22 Released by Harlan Stenn <stenn@ntp.org> 1354* [Bug 2036] gcc 2.95.3 preprocessor can't nest #ifdef in macro args. 1355* A number of compiler warnings eliminated. 1356(4.2.7p226) 2011/10/21 Released by Harlan Stenn <stenn@ntp.org> 1357* [Bug 2035] ntpq -c mrulist sleeps 1 sec between queries, not 5 msec. 1358* Documentation updates from Dave Mills. 1359(4.2.7p225) 2011/10/15 Released by Harlan Stenn <stenn@ntp.org> 1360* Documentation updates from Dave Mills. 1361(4.2.7p224) 2011/10/14 Released by Harlan Stenn <stenn@ntp.org> 1362* ntpq mrulist shows intermediate counts every five seconds while 1363 retrieving list, and allows Ctrl-C interruption of the retrieval, 1364 showing the incomplete list as retrieved. Reduce delay between 1365 successive mrulist retrieval queries from 30 to 5 msec. Do not 1366 give up mrulist retrieval when a single query times out. 1367(4.2.7p223) 2011/10/12 Released by Harlan Stenn <stenn@ntp.org> 1368* Documentation updates from Dave Mills. 1369(4.2.7p222) 2011/10/11 Released by Harlan Stenn <stenn@ntp.org> 1370* [Bug 2029] "make check" clutters syslog. 1371* Log signal description along with number on ntpd exit. 1372(4.2.7p221) 2011/10/10 Released by Harlan Stenn <stenn@ntp.org> 1373* [Bug 2025] Switching between daemon and kernel loops can doubly- 1374 correct drift 1375* [Bug 2028] ntpd -n (nofork) redirects logging to stderr. 1376* Documentation updates from Dave Mills. 1377(4.2.7p220) 2011/10/05 Released by Harlan Stenn <stenn@ntp.org> 1378* [Bug 1945] mbg_gps166.h use of _TM_DEFINED conflicts with MS VC. 1379* [Bug 1946] parse_start uses open; does not work on Windows. 1380* [Bug 1947] Porting parse-based Wharton refclock driver to Windows. 1381* [Bug 2024] Remove unused system event code EVNT_CLKHOP. 1382(4.2.7p219) 2011/10/04 Released by Harlan Stenn <stenn@ntp.org> 1383* Documentation updates from Dave Mills. 1384(4.2.7p218) 2011/10/03 Released by Harlan Stenn <stenn@ntp.org> 1385* [Bug 2019] Allow selection of cipher for private key files. 1386* Documentation updates from Dave Mills. 1387* ntp-keygen private key cipher default now triple-key triple DES CBC. 1388* ntp-keygen -M is intended to ignore all other defaults and 1389 options, so do not attempt to open existing Autokey host certificate 1390 before generating symmetric keys and terminating. 1391* Restore IFF, MV, and GQ identity parameter filename convention to 1392 ntpkey_<scheme>par_<group/host> in ntpd, matching ntp-keygen. 1393* Change some error logging to syslog to ignore logconfig mask, such 1394 as reporting PPSAPI failure in NMEA and WWVB refclocks. 1395* ntp-keygen on Windows XP and later systems will now create links 1396 expected by ntpd. They are hardlinks on Windows, soft on POSIX. 1397* Conditionalize NMEA serial open message under clockevent. 1398* Send all peer variables to trappers in report_event(). 1399(4.2.7p217) 2011/09/29 Released by Harlan Stenn <stenn@ntp.org> 1400* [Bug 2020] ntp-keygen -s no longer sets host in cert file name. 1401* [Backward Incompatible] ntp-keygen -i option long name changed from 1402 misleading --issuer-name to --ident. 1403(4.2.7p216) 2011/09/27 Released by Harlan Stenn <stenn@ntp.org> 1404* sntp documentation tag cleanup. 1405* mdoc2man improvements. 1406(4.2.7p215) 2011/09/24 Released by Harlan Stenn <stenn@ntp.org> 1407* Use patched mdoc2man script, from Eric Feng. 1408* Sync with ntp-4.2.6p4 (a no-op). 1409(4.2.7p214) 2011/09/20 Released by Harlan Stenn <stenn@ntp.org> 1410* [Bug 1981] Initial offset convergence applies frequency correction 2x 1411 with kernel discipline. 1412* [Bug 2008] Initial offset convergence degraded with 500 PPM adjtime(). 1413* [Bug 2009] EVNT_NSET adj_systime() mishandled by Windows ntpd. 1414(4.2.7p213) 2011/09/08 Released by Harlan Stenn <stenn@ntp.org> 1415* [Bug 1999] NMEA does not send PMOTG messages any more. 1416(4.2.7p212) 2011/09/07 Released by Harlan Stenn <stenn@ntp.org> 1417* [Bug 2003] from 4.2.6p4-RC3: ntpq_read_assoc_peervars() broken. 1418(4.2.7p211) 2011/09/01 Released by Harlan Stenn <stenn@ntp.org> 1419* Update libevent to git head (2.1 branch) as of 2.0.14-stable. 1420(4.2.7p210) 2011/08/31 Released by Harlan Stenn <stenn@ntp.org> 1421* Require -D4 or higher for ntpd SIGALRM debug trace from [Bug 2000]. 1422(4.2.7p209) 2011/08/27 Released by Harlan Stenn <stenn@ntp.org> 1423* [Bug 2000] ntpd worker threads must block signals expected in main 1424 thread. 1425* [Bug 2001] add ntpq -c timerstats like ntpdc -c timerstats. 1426* [Bug 2001] from 4.2.6p4-RC3: ntpdc timerstats reports overruns as 1427 handled. 1428* Update sntp tests to track the change of root dispersion to 1429 synchronization distance. 1430(4.2.7p208) 2011/08/24 Released by Harlan Stenn <stenn@ntp.org> 1431* Fix the CLOCK_MONOTONIC TRACE() message. 1432(4.2.7p207) 2011/08/22 Released by Harlan Stenn <stenn@ntp.org> 1433* Restore the original CLOCK_MONOTONIC output format in sntp. 1434* Cleanups for ntp-wait-opts.def and ntp.keys.def . 1435(4.2.7p206) 2011/08/20 Released by Harlan Stenn <stenn@ntp.org> 1436* [Bug 1993] ntpd Windows port adj_systime() broken in 4.2.7p203. 1437* sntp documentation and behavior improvements suggested by 1438 Steven Sommars. 1439* Have sntp report synchronization distance instead of root dispersion. 1440* Clean up ntp-wait-opts.def . 1441(4.2.7p205) 2011/08/19 Released by Harlan Stenn <stenn@ntp.org> 1442* [Bug 1992] util/tg2 doesn't compile, needs libntp. 1443(4.2.7p204) 2011/08/16 Released by Harlan Stenn <stenn@ntp.org> 1444* Added support for Garmin's $PGRMF sentence to NMEA driver 1445* [Bug 1988] Better sntp send failed error message needed. 1446* [Bug 1989] sntp manual page sometimes refers to SNTP as a program. 1447* [Bug 1990] sntp output should include stratum. 1448(4.2.7p203) 2011/08/13 Released by Harlan Stenn <stenn@ntp.org> 1449* [Bug 1986] Require Visual C++ 2005 or later compilers in Windows port. 1450* Actually use long long for (u_)int64 by correcting spelling of 1451 SIZEOF_LONG_LONG in ntp_types.h. 1452* Force .exe minimum Windows version to 0x0400 to allow NT4 in 1453 vs2005/*.vcproj files. 1454* Fix make distcheck with --enable-libevent-regress problem with 1455 unwritable $srcdir. 1456* Correct init_logging()'s def_syslogmask type to u_int32 following 1457 change of ntp_syslogmask from u_long to u_int32 in p202. 1458(4.2.7p202) 2011/08/09 Released by Harlan Stenn <stenn@ntp.org> 1459* [Bug 1983] --without-sntp build breaks in sntp subdir. 1460* [Bug 1984] from 4.2.6p4-RC3: ntp/libisc fails to compile on OS X 10.7. 1461* [Bug 1985] from 4.2.6p4-RC3: "logconfig =allall" rejected. 1462(4.2.7p201) 2011/08/05 Released by Harlan Stenn <stenn@ntp.org> 1463* sntp: change -h/--headspace to -g/--gap, and change the default gap 1464 from 10 to 50ms 1465* [Backward Incompatible] from 4.2.6p4: sntp: -l/--filelog -> 1466 -l/--logfile, to be consistent with ntpd. 1467* Documentation updates from Dave Mills. 1468* From 4.2.6p4: libopts/file.c fix from Bruce Korb (arg-type=file). 1469(4.2.7p200) 2011/08/04 Released by Harlan Stenn <stenn@ntp.org> 1470* Sync with 4.2.6p4-RC2. 1471(4.2.7p199) 2011/07/29 Released by Harlan Stenn <stenn@ntp.org> 1472* Documentation updates from Dave Mills. 1473(4.2.7p198) 2011/07/28 Released by Harlan Stenn <stenn@ntp.org> 1474* remove old binsubdir stuff from SNTP, as NTP_LOCINFO does that now. 1475(4.2.7p197) 2011/07/28 Released by Harlan Stenn <stenn@ntp.org> 1476* [Bug 1975] from 4.2.6p4-RC2: libntp/mktime.c won't work with 64-bit 1477 time_t 1478* [Bug 1976] genLocInfo writes to srcdir break 'make distcheck'. 1479* [Bug 1977] Fix flag/description mismatches in ntp-keygen-opts.def. 1480* Do not force "legacy" when --with-locfile is not given, genLocInfo 1481 will find the correct default for the system. 1482* Fix warnings in ntp_request.c ([Bug 1973] oversight) and sntp/main.c 1483 (CID 159, apparent overrun due to union, actually correct). 1484* Update sntp/loc/solaris to conform to stock locations. 1485(4.2.7p196) 2011/07/27 Released by Harlan Stenn <stenn@ntp.org> 1486* DEFAULT INSTALLATION DIRECTORY CHANGES ON SOME OSes: to get the old 1487 behavior, pass --with-locfile=legacy to 'configure' 1488* [Bug 1972] from 4.2.6p4-RC2: checking for struct rtattr fails. 1489* [Bug 1973] Widen reference clock mode from 8 to 32 bits. 1490* Removed sntp/m4/ntp_bindir.m4 - no longer needed. 1491* Move loc/ to sntp/loc/ . 1492* Move scripts/cvo.sh to sntp/scripts/cvo.sh . 1493* Move scripts/genLocInfo to sntp/scripts/genLocInfo . 1494* Give NTP_LOCINFO an optional path-to argument. 1495* Remove hacks to get NTP_LOCINFO-related data to sntp/ . 1496* Move sntp/include/mansec2subst.sed to sntp/scripts/mansec2subst.sed . 1497* If no "more specific" loc file is found for redhat* or fedora*, 1498 look for a loc/redhat file. 1499* If no "more specific" loc file is found and uname says this is Linux, 1500 look for a loc/linux file. 1501* Improve the help text: --with-locfile=XXX . 1502* work around solaris /bin/sh issues for genLocInfo. 1503(4.2.7p195) 2011/07/25 Released by Harlan Stenn <stenn@ntp.org> 1504* Added loc/redhat. 1505(4.2.7p194) 2011/07/25 Released by Harlan Stenn <stenn@ntp.org> 1506* [Bug 1608] from 4.2.6p4-RC2: Parse Refclock driver should honor 1507 trusttime. 1508* Add support for installing programs and scripts to libexec. 1509* Added loc/solaris. 1510(4.2.7p193) 2011/07/24 Released by Harlan Stenn <stenn@ntp.org> 1511* [Bug 1970] from 4.2.6p4-RC2: UNLINK_EXPR_SLIST() causes crash if list 1512 is empty. 1513* Update libevent to 2.1 HEAD as of merge of 2.0.13-stable-dev. 1514* Match addr_eqprefix() sizeof and memcpy destination to make it clear 1515 to static analysis that there is no buffer overrun (CID 402). 1516(4.2.7p192) 2011/07/18 Released by Harlan Stenn <stenn@ntp.org> 1517* [Bug 1966] Broken FILES section for ntp.keys.def. 1518(4.2.7p191) 2011/07/17 Released by Harlan Stenn <stenn@ntp.org> 1519* [Bug 1948] Update man page section layout. 1520* [Bug 1963] add reset command for ntpq :config, similar to ntpdc's. 1521* [Bug 1964] --without-sntp should not build sntp. 1522(4.2.7p190) 2011/07/13 Released by Harlan Stenn <stenn@ntp.org> 1523* [Bug 1961] from 4.2.6p4: html2man update: distribute ntp-wait.html. 1524* Require autogen-5.12. 1525(4.2.7p189) 2011/07/11 Released by Harlan Stenn <stenn@ntp.org> 1526* [Bug 1134] from 4.2.6p4-RC1: ntpd fails binding to tentative IPv6 1527 addresses. 1528* [Bug 1790] from 4.2.6p4-RC1: Update config.guess and config.sub to 1529 detect AIX6. 1530(4.2.7p188) 2011/06/28 Released by Harlan Stenn <stenn@ntp.org> 1531* [Bug 1958] genLocInfo must export PATH. 1532* ntp-wait: some versions of ntpd spell "associd" differently. 1533(4.2.7p187) 2011/06/24 Released by Harlan Stenn <stenn@ntp.org> 1534* [Bug 1954] Fix typos in [s]bin_PROGRAMS in ntpd/Makefile.am. 1535* Implement --with-locfile=filename configure argument. If filename is 1536 empty we'll look under loc/ for a good fit. If the filename contains 1537 a / character, it will be treated as a "normal" pathname. Otherwise, 1538 that explicit file will be searched for under loc/ . 1539(4.2.7p186) 2011/06/23 Released by Harlan Stenn <stenn@ntp.org> 1540* [Bug 1950] Control installation of event_rpcgen.py. 1541* Update .point-changed-filelist for the new man pages. 1542* Update the building of OS-specific programs. 1543* Finish conversion to genLocInfo. 1544* validate MANTAGFMT in genLocInfo. 1545* Documentation update from Dave Mills. 1546(4.2.7p185) 2011/06/21 Released by Harlan Stenn <stenn@ntp.org> 1547* ntp_locs.m4: handle the case where . is not in the PATH. 1548* More genLocInfo cleanup. 1549(4.2.7p184) 2011/06/20 Released by Harlan Stenn <stenn@ntp.org> 1550* Added ntp_locs.m4. 1551* genLocInfo improvements. 1552* Add the man page tag "flavor" to the loc.* files. 1553* Add/distribute genLocInfo. 1554(4.2.7p183) 2011/06/19 Released by Harlan Stenn <stenn@ntp.org> 1555* Update the autogen include list for scripts/Makefile.am. 1556* Added loc.freebsd (and distribute it). 1557* Added loc.legacy (and distribute it). 1558(4.2.7p182) 2011/06/15 Released by Harlan Stenn <stenn@ntp.org> 1559* [Bug 1304] Update sntp.html to reflect new implementation. 1560* Update .point-changed-filelist . 1561* ntpdc documentation fixes. 1562* Update ntp-wait autogen docs. 1563* Update the ntpd autogen docs. 1564* Update the ntpsnmpd autogen docs. 1565* Use autogen to produce ntp-keygen docs. 1566* Add "license name" to ntp.lic for autogen-5.11.10. 1567* Prepare for ntp.keys.5. 1568(4.2.7p181) 2011/06/07 Released by Harlan Stenn <stenn@ntp.org> 1569* [Bug 1938] addr_eqprefix() doesn't clear enough storage. 1570(4.2.7p180) 2011/06/06 Released by Harlan Stenn <stenn@ntp.org> 1571* Upgrade to libevent-2.0.12. 1572* More sntp.1 cleanups. 1573* Produce ntpq.1 with the new autogen macros. 1574* Remove the deprecated "detail" stanza from ntpdc-opts.def. 1575(4.2.7p179) 2011/06/03 Released by Harlan Stenn <stenn@ntp.org> 1576* Update cmd-doc.tlib to autogen-5.11.10pre5. 1577* Upgrade local autoopts templates to 5.11.10pre5. 1578(4.2.7p178) 2011/06/02 Released by Harlan Stenn <stenn@ntp.org> 1579* Update the std_def_list to include the ntp.lic file. 1580* Distribute the ntp.lic file. 1581* Add http://ntp.org/license to the ntp.lic file. 1582(4.2.7p177) 2011/06/01 Released by Harlan Stenn <stenn@ntp.org> 1583* Use the latest autogen's new copyright template code. 1584* Clean up the ntp.lic file. 1585(4.2.7p176) 2011/05/31 Released by Harlan Stenn <stenn@ntp.org> 1586* sntp documentation cleanup. 1587* autogen documentation template cleanup. 1588(4.2.7p175) 2011/05/30 Released by Harlan Stenn <stenn@ntp.org> 1589* [Bug 1936] Correctly set IPV6_MULTICAST_LOOP. 1590* cmd-doc.tlib cleanup from Bruce Korb. 1591* sntp documentation cleanup. 1592(4.2.7p174) 2011/05/28 Released by Harlan Stenn <stenn@ntp.org> 1593* ntpdc documentation cleanup. 1594* sntp documentation cleanup. 1595* Don't build libevent with openssl support. Right now, libevent 1596 doesn't use pkg-config to find openssl's installation location. 1597(4.2.7p173) 2011/05/25 Released by Harlan Stenn <stenn@ntp.org> 1598* Typo in emalloc.c hides file and line number from emalloc() error msg. 1599* parsesolaris.c compile fails on SPARC Solaris with conflicting printf. 1600* ntp_util.c compile fails on AIX and OSF with conflicting statsdir. 1601(4.2.7p172) 2011/05/24 Released by Harlan Stenn <stenn@ntp.org> 1602* Remove hardcoded 1/960 s. fudge for <CR> transmission time at 9600 8n1 1603 from WWVB/Spectracom driver introduced in 4.2.7p169. 1604(4.2.7p171) 2011/05/23 Released by Harlan Stenn <stenn@ntp.org> 1605* Eliminate warnings about shadowing global "basename" on Linux. 1606* Use filegen_config() consistently when changing filegen options. 1607* mprintf() should go to stdout, not stderr. DPRINTF() uses mprintf(). 1608* Repair a few simulator problems (more remain). 1609* Documentation updates from Dave Mills. 1610(4.2.7p170) 2011/05/19 Released by Harlan Stenn <stenn@ntp.org> 1611* [Bug 1932] libevent/util_internal.h builtin_expect compile error with 1612 gcc 2.95. 1613* Use 64-bit scalars in LFPTOD() and DTOLFP() on more platforms by 1614 conditionalizing on HAVE_U_INT64 rather than UINT64_MAX. 1615(4.2.7p169) 2011/05/18 Released by Harlan Stenn <stenn@ntp.org> 1616* [Bug 1933] WWVB/Spectracom driver timestamps LFs, not CRs. 1617(4.2.7p168) 2011/05/16 Released by Harlan Stenn <stenn@ntp.org> 1618* Convert receive buffer queue from doubly-linked list to FIFO. 1619(4.2.7p167) 2011/05/14 Released by Harlan Stenn <stenn@ntp.org> 1620* [Bug 1927] io_closeclock() should purge pending recvbufs. 1621* [Bug 1931] cv always includes fudgetime1, never fudgetime2. 1622* Use acts_close() in acts_shutdown() to avoid leaving a stale lockfile 1623 if unpeered via runtime configuration while the modem is open. 1624* Correct acts_close() test of pp->io.fd to see if it is open. 1625* 4.2.7p164 documentation updates re: 'tos orphanwait' expanded scope. 1626(4.2.7p166) 2011/05/13 Released by Harlan Stenn <stenn@ntp.org> 1627* If we have local overrides for autogen template files, use them. 1628* Convert more of the sntp-opt.def documentation from man to mdoc. 1629(4.2.7p165) 2011/05/11 Released by Harlan Stenn <stenn@ntp.org> 1630* Convert snmp docs to mdoc format, which requires autogen 5.11.9. 1631* from 4.2.6p4-RC1: Require autogen 5.11.9. 1632(4.2.7p164) 2011/05/11 Released by Harlan Stenn <stenn@ntp.org> 1633* [Bug 988] Local clock eats up -g option, so ntpd stops with large 1634 initial time offset. 1635* [Bug 1921] LOCAL, ACTS drivers with "prefer" excluded from initial 1636 candidate list. 1637* [Bug 1922] "tos orphanwait" applied incorrectly at startup. 1638* [Bug 1923] orphan parent favored over LOCAL, ACTS drivers. 1639* [Bug 1924] Billboard tally codes sometimes do not match operation, 1640 variables. 1641* Change "pool DNS" messages from msyslog to debug trace output. 1642* Remove unused FLAG_SYSPEER from peer->status. 1643* Respect "tos orphanwait" at startup. Previously there was an 1644 unconditional 300 s. startup orphanwait, though other values were 1645 respected for subsequent orphan wait periods after no_sys_peer events. 1646* Apply "tos orphanwait" (def. 300 seconds) to LOCAL and ACTS reference 1647 clock drivers, in addition to orphan parent operation. LOCAL and ACTS 1648 are not selectable during the orphanwait delay at startup and after 1649 each no_sys_peer event. This prevents a particular form of clock- 1650 hopping, such as using LOCAL briefly at startup before remote peers 1651 are selectable. This fixes the issue reported in [Bug 988]. 1652* Documentation updates from Dave Mills. 1653(4.2.7p163) 2011/05/08 Released by Harlan Stenn <stenn@ntp.org> 1654* [Bug 1911] missing curly brace in libntp/ntp_rfc2553.c 1655(4.2.7p162) 2011/05/03 Released by Harlan Stenn <stenn@ntp.org> 1656* [Bug 1910] Support the Tristate Ltd. TS-GPSclock-01. 1657(4.2.7p161) 2011/05/02 Released by Harlan Stenn <stenn@ntp.org> 1658* [Bug 1904] 4.2.7p160 Windows build broken (POSIX_SHELL). 1659* [Bug 1906] 4.2.7p160 - libtool: compile: cannot determine name of 1660 library object in ./libevent 1661* Share a single sntp/libevent/build-aux directory between all three 1662 configure scripts. 1663* Add missing --enable-local-libevent help to top-level configure. 1664(4.2.7p160) 2011/05/01 Released by Harlan Stenn <stenn@ntp.org> 1665* from 4.2.6p4-RC1: Upgrade to libopts 35.0.10 from AutoGen 5.11.9pre8. 1666* [Bug 1901] Simulator does not set progname. 1667(4.2.7p159) 2011/04/28 Released by Harlan Stenn <stenn@ntp.org> 1668* Fix a couple of unused variable warnings. 1669* cleanup in timespecops.c / timevalops.c 1670(4.2.7p158) 2011/04/24 Released by Harlan Stenn <stenn@ntp.org> 1671* Update libevent --disable-libevent-regress handling to work when 1672 building libevent using mingw. 1673(4.2.7p157) 2011/04/21 Released by Harlan Stenn <stenn@ntp.org> 1674* [Bug 1890] 4.2.7p156 segfault in duplicate freeaddrinfo(). 1675(4.2.7p156) 2011/04/19 Released by Harlan Stenn <stenn@ntp.org> 1676* [Bug 1851] freeaddrinfo() called after getaddrinfo() fails. 1677(4.2.7p155) 2011/04/18 Released by Harlan Stenn <stenn@ntp.org> 1678* Fix leak in refclock_datum.c start failure path. 1679(4.2.7p154) 2011/04/17 Released by Harlan Stenn <stenn@ntp.org> 1680* [Bug 1887] DNS fails on 4.2.7p153 using threads. 1681(4.2.7p153) 2011/04/16 Released by Harlan Stenn <stenn@ntp.org> 1682* A few more Coverity Scan cleanups. 1683(4.2.7p152) 2011/04/15 Released by Harlan Stenn <stenn@ntp.org> 1684* Update embedded libevent to current 2.1 git HEAD. 1685(4.2.7p151) 2011/04/14 Released by Harlan Stenn <stenn@ntp.org> 1686* Detect vsnprintf() support for "%m" and disable our "%m" expansion. 1687* Add --enable-c99-sprintf to configure args for -noopenssl variety of 1688 flock-build to avoid regressions in (v)snprintf() replacement. 1689* More msnprintf() unit tests. 1690* Coverity Scan error checking fixes. 1691* Log failure to fetch time from HOPF_P hardware. 1692* Check HOPF_S sscanf() conversion count before converted values. 1693(4.2.7p150) 2011/04/13 Released by Harlan Stenn <stenn@ntp.org> 1694* Remove never-used, incomplete ports/winnt/ntpd/refclock_trimbledc.[ch] 1695* On systems without C99-compliant (v)snprintf(), use C99-snprintf 1696 replacements (http://www.jhweiss.de/software/snprintf.html) 1697* Remove remaining sprintf() calls except refclock_ripencc.c (which is 1698 kept out of --enable-all-clocks as a result), upstream libs which use 1699 sprintf() only after careful buffer sizing. 1700(4.2.7p149) 2011/04/11 Released by Harlan Stenn <stenn@ntp.org> 1701* [Bug 1881] describe the {+,-,s} characters in configure --help output. 1702(4.2.7p148) 2011/04/09 Released by Harlan Stenn <stenn@ntp.org> 1703* Use _mkgmtime() as timegm() in the Windows port, rather than 1704 libntp/mktime.c's timegm(). Fixed [Bug 1875] on Windows using the old 1705 asn2ntp() code from before 4.2.7p147. 1706* ntp_crypto.c string buffer safety. 1707* Remove use of MAXFILENAME in mode 7 (ntpdc) on-wire structs. 1708* Change ntpd MAXFILENAME from 128 to 256 to match ntp-keygen. 1709* Buffer safety and sign extension fixes (thanks Coverity Scan). 1710(4.2.7p147) 2011/04/07 Released by Harlan Stenn <stenn@ntp.org> 1711* [Bug 1875] 'asn2ntp()' rewritten with 'caltontp()'; 'timegm()' 1712 substitute likely to crash with 64bit time_t. 1713(4.2.7p146) 2011/04/05 Released by Harlan Stenn <stenn@ntp.org> 1714* String buffer safety cleanup, converting to strlcpy() and strlcat(). 1715* Use utmpname() before pututline() so repeated steps do not 1716 accidentally record into wtmp where utmp was intended. 1717* Use setutent() before each pututline() including first. 1718(4.2.7p145) 2011/04/04 Released by Harlan Stenn <stenn@ntp.org> 1719* [Bug 1840] ntp_lists.h FIFO macros buggy. 1720(4.2.7p144) 2011/04/03 Released by Harlan Stenn <stenn@ntp.org> 1721* [Bug 1874] ntpq -c "rv 0 sys_var_list" empty. 1722(4.2.7p143) 2011/03/31 Released by Harlan Stenn <stenn@ntp.org> 1723* [Bug 1732] ntpd ties up CPU on disconnected USB refclock. 1724* [Bug 1861] tickadj build failure using uClibc. 1725* [Bug 1862] in6addr_any test in configure fooled by arm gcc 4.1.3 -O2. 1726* Remove kernel line discipline driver code for clk and chu, deprecate 1727 related LDISC_ flags, and remove associated ntpd code to decode the 1728 timestamps, remove clktest line discipline test program. 1729* Remove "signal_no_reset: signal 17 had flags 4000000" logging, as it 1730 indicates no problem and is interpreted as an error. Previously some 1731 bits had been ignored one-by-one, but Linux SA_RESTORER definition is 1732 unavailable to user headers. 1733(4.2.7p142) 2011/03/21 Released by Harlan Stenn <stenn@ntp.org> 1734* [Bug 1844] ntpd 4.2.7p131 NetBSD, --gc-sections links bad executable. 1735* Fix "make distcheck" break in libevent/sample caused by typo. 1736(4.2.7p141) 2011/03/20 Released by Harlan Stenn <stenn@ntp.org> 1737* Add "ntpq -c iostats" similar to "ntpdc -c iostats". 1738* Compare entire timestamp to reject duplicates in refclock_pps(). 1739(4.2.7p140) 2011/03/17 Released by Harlan Stenn <stenn@ntp.org> 1740* [Bug 1848] ntpd 4.2.7p139 --disable-thread-support does not compile. 1741* Add --disable-thread-support to one flock-build variation. 1742* One more lock-while-init in lib/isc/task.c to quiet lock analysis. 1743(4.2.7p139) 2011/03/16 Released by Harlan Stenn <stenn@ntp.org> 1744* [Bug 1848] make check ntpd --saveconfigquit clutters syslog. 1745(4.2.7p138) 2011/03/08 Released by Harlan Stenn <stenn@ntp.org> 1746* [Bug 1846] MacOSX: debug symbol not found by propdelay or tickadj. 1747(4.2.7p137) 2011/03/07 Released by Harlan Stenn <stenn@ntp.org> 1748* Use TRACE() instead of DPRINTF() for libntp and utilities, which 1749 use the "debug" variable regardless of #ifdef DEBUG. 1750* Declare debug in libntp instead of each program. Expose extern 1751 declaration to utilities, libntp, and DEBUG ntpd. 1752* Lock under-construction task, taskmgr objects to satisfy Coverity's 1753 mostly-correct assumptions about which variables are protected by 1754 which locks. 1755(4.2.7p136) 2011/03/02 Released by Harlan Stenn <stenn@ntp.org> 1756* [Bug 1839] 4.2.7p135 still installs libevent ev*.h headers. 1757(4.2.7p135) 2011/03/02 Released by Harlan Stenn <stenn@ntp.org> 1758* libevent: When building on systems with CLOCK_MONOTONIC available, 1759 separate the internal timeline (possibly counting since system boot) 1760 from the gettimeofday() timeline in event_base cached timevals. Adds 1761 new event_base_tv_cached() to retrieve cached callback round start 1762 time on the internal timeline, and changes 1763 event_based_gettimeofday_cached() to always return times using the 1764 namesake timeline. This preserves the benefit of using the never- 1765 stepped monotonic clock for event timeouts while providing clients 1766 with times consistently using gettimeofday(). 1767* Correct event_base_gettimeofday_cached() workaround code in 1768 sntp to work with corrected libevent. 1769* Remove sntp l_fp_output() test now that it uses prettydate(). 1770* [Bug 1839] 4.2.7p131 installs libevent ev*.h headers. 1771* Ensure CONFIG_SHELL is not empty before relying on it for #! scripts. 1772(4.2.7p134) 2011/02/24 Released by Harlan Stenn <stenn@ntp.org> 1773* [Bug 1837] Build fails on Win7 due to regedit requiring privilege. 1774* Provide fallback definitions for GetAdaptersAddresses() for Windows 1775 build environments lacking iphlpapi.h. 1776* Rename file containing 1.xxxx ChangeSet revision from version to 1777 scm-rev to avoid invoking GNU make implicit rules attempting to 1778 compile version.c into version. Problem was with sntp/version.o 1779 during make distcheck after fix for spurious sntp rebuilds. 1780* Add INC_ALIGNED_PTR() macro to align pointers like malloc(). 1781(4.2.7p133) 2011/02/23 Released by Harlan Stenn <stenn@ntp.org> 1782* [Bug 1834] ntpdate 4.2.7p131 aborts with assertion failure. 1783* Move sntp last in top-level Makefile.am SUBDIRS so that the libevent 1784 tearoff (if required) and sntp are compiled after the rest. 1785* Use a single set of Automake options for each package in configure.ac 1786 AM_INIT, remove Makefile.am AUTOMAKE_OPTIONS= lines. 1787* Correct spurious sntp rebuilds triggered by a make misperception 1788 sntp/version was out-of-date relative to phony target FRC.version. 1789* Do not cache paths to perl, test, or pkg-config, searching the PATH 1790 at configure time is worth it to pick up tool updates. 1791(4.2.7p132) 2011/02/22 Released by Harlan Stenn <stenn@ntp.org> 1792* [Bug 1832] ntpdate doesn't allow timeout > 2s. 1793* [Bug 1833] The checking sem_timedwait() fails without -pthread. 1794* ElectricFence was suffering bitrot - remove it. valgrind works well. 1795* Enable all relevant automake warnings. 1796* Correct Solaris 2.1x PTHREAD_ONCE_INIT extra braces test to avoid 1797 triggering warnings due to excess braces. 1798* Remove libevent-cfg from sntp/Makefile.am. 1799* Provide bug report and URL options to Autoconf. 1800* Avoid relying on remake rules for routine build/flock-build for 1801 libevent as for the top-level and sntp subproject. 1802(4.2.7p131) 2011/02/21 Released by Harlan Stenn <stenn@ntp.org> 1803* [Bug 1087] -v/--normalverbose conflicts with -v/--version in sntp. 1804* [Bug 1088] sntp should (only) report the time difference without -s/-a. 1805* older autoconf sometimes dislikes []. 1806* Move "can't write KoD file" warning from sntp shutdown to startup. 1807* refclock_acts.c cleanup from Dave Mills. 1808* Convert sntp to libevent event-driven socket programming. Instead of 1809 blocking name resolution and querying one NTP server at a time, 1810 resolve server names and send NTP queries without blocking. Add 1811 sntp command-line options to adjust timing and optionally wait for all 1812 servers to respond instead of exiting after the first. 1813* Import libevent 2.0.10-stable plus local patches as a tearoff, used 1814 only if the target system lacks an installed libevent 2.0.9 or later. 1815* Move blocking worker and resolver to libntp from ntpd. 1816* Use threads rather than forked child processes for blocking worker 1817 when possible. Override with configure --disable-thread-support. 1818* Move init_logging(), change_logfile(), and setup_logfile() from ntpd 1819 to libntp, use them in sntp. 1820* Test --without-sntp in flock-build script's -no-refclocks variety. 1821* Avoid invoking config.status twice in a row in build script. 1822* Move more m4sh tests needed by libntp to shared .m4 files. 1823* Split up ntp_libntp.m4 into smaller, more specific subsets. 1824* Enable gcc -Wcast-align, fix many instances of warnings when casting 1825 a pointer to a more-strictly-aligned underlying type. 1826(4.2.7p130) 2011/02/12 Released by Harlan Stenn <stenn@ntp.org> 1827* [Bug 1811] Update the download location in WHERE-TO-START. 1828(4.2.7p129) 2011/02/09 Released by Harlan Stenn <stenn@ntp.org> 1829* Add missing "break;" to ntp_control.c ctl_putsys() for caliberrs, used 1830 by ntpq -c kerninfo introduced in 4.2.7p104. 1831* Fix leak in ntp_control.c read_mru_list(). 1832(4.2.7p128) 2011/01/30 Released by Harlan Stenn <stenn@ntp.org> 1833* [Bug 1799] ntpq mrv crash. 1834* [Bug 1801] ntpq mreadvar requires prior association caching. 1835(4.2.7p127) 2011/01/28 Released by Harlan Stenn <stenn@ntp.org> 1836* [Bug 1797] Restore stale timestamp check from the RANGEGATE cleanup. 1837(4.2.7p126) 2011/01/27 Released by Harlan Stenn <stenn@ntp.org> 1838* Fix unexposed fencepost error in format_time_fraction(). 1839* Add more unit tests for timeval_tostr() and timespec_tostr(). 1840(4.2.7p125) 2011/01/26 Released by Harlan Stenn <stenn@ntp.org> 1841* [Bug 1794] ntpq -c rv missing clk_wander information. 1842* [Bug 1795] ntpq readvar does not display last variable. 1843(4.2.7p124) 2011/01/25 Released by Harlan Stenn <stenn@ntp.org> 1844* sntp/Makefile.am needs any passed-in CFLAGS. 1845(4.2.7p123) 2011/01/24 Released by Harlan Stenn <stenn@ntp.org> 1846* [Bug 1788] tvtots.c tables inaccurate 1847(4.2.7p122) 2011/01/22 Released by Harlan Stenn <stenn@ntp.org> 1848* ACTS refclock cleanup from Dave Mills. 1849* Avoid shadowing the "group" global variable. 1850(4.2.7p121) 2011/01/21 Released by Harlan Stenn <stenn@ntp.org> 1851* [Bug 1786] Remove extra semicolon from ntp_proto.c . 1852(4.2.7p120) 2011/01/20 Released by Harlan Stenn <stenn@ntp.org> 1853* Change new timeval and timespec to string routines to use snprintf() 1854 rather than hand-crafted conversion, avoid signed int overflow there. 1855* Add configure support for SIZEOF_LONG_LONG to enable portable use of 1856 snprintf() with time_t. 1857* Grow ntpd/work_thread.c arrays as needed. 1858* Add DEBUG_* variants of ntp_assert.h macros which compile away using 1859 ./configure --disable-debugging. 1860* Fix tvalops.cpp unit test failures for 32-bit builds. 1861* Return to a single autoreconf invocation in ./bootstrap script. 1862* Fix warnings seen on FreeBSD 9. 1863* crypto group changes from Dave Mills. 1864* Lose the RANGEGATE check in PPS, from Dave Mills. 1865* ACTS refclock cleanup from Dave Mills. 1866* Documentation updates from Dave Mills. 1867* NMEA driver documentation update from Juergen Perlinger. 1868(4.2.7p119) 2011/01/18 Released by Harlan Stenn <stenn@ntp.org> 1869* added timespecops.{c,h} and tievalops.{c.h} to libntp and include 1870 added tspecops.cpp to tests/libntp 1871* Correct msyslog.c build break on Solaris 2.9 from #ifdef/#if mixup. 1872(4.2.7p118) 2011/01/15 Released by Harlan Stenn <stenn@ntp.org> 1873* Simplify the built-sources stuff in sntp/ . 1874* Fix check for -lipv6 on HP-UX 11. 1875(4.2.7p117) 2011/01/13 Released by Harlan Stenn <stenn@ntp.org> 1876* Add configure --without-sntp option to disable building sntp and 1877 sntp/tests. withsntp=no in the environment changes the default. 1878* Build infrastructure cleanup: 1879 Move m4 directory to sntp/m4. 1880 Share a single set of genver output between sntp and the top level. 1881 Share a single set of autogen included .defs in sntp/include. 1882 Share a single set of build-aux scripts (e.g. config.guess, missing). 1883 Add ntp_libntp.m4 and ntp_ipv6.m4 to reduce configure.ac duplication. 1884 Warn and exit build/flock-build if bootstrap needs to be run. 1885(4.2.7p116) 2011/01/10 Released by Harlan Stenn <stenn@ntp.org> 1886* refclock_nmea.c refactoring by Juergen Perlinger. 1887(4.2.7p115) 2011/01/09 Released by Harlan Stenn <stenn@ntp.org> 1888* [Bug 1780] Windows ntpd 4.2.7p114 crashes in ioctl(). 1889* [Bug 1781] longlong undefined in sntp handle_pkt() on Debian amd64. 1890(4.2.7p114) 2011/01/08 Released by Harlan Stenn <stenn@ntp.org> 1891* Fix for openssl pkg-config detection eval failure. 1892* Add erealloc_zero(), refactor estrdup(), emalloc(), emalloc_zero() to 1893 separate tracking callsite file/line from using debug MS C runtime, 1894 and to reduce code duplication. 1895(4.2.7p113) 2011/01/07 Released by Harlan Stenn <stenn@ntp.org> 1896* [Bug 1776] sntp mishandles -t/--timeout and -a/--authentication. 1897* Default to silent make rules, override with make V=1 or ./configure 1898 --disable-silent-rules. 1899* Correct --with-openssl-incdir defaulting with pkg-config. 1900* Correct ./build on systems without gtest available. 1901* Begin moving some of the low-level socket stuff to libntp. 1902(4.2.7p112) 2011/01/06 Released by Harlan Stenn <stenn@ntp.org> 1903* [Bug 1773] openssl not detected during ./configure. 1904* [Bug 1774] Segfaults if cryptostats enabled and built without OpenSSL. 1905* Use make V=0 in build script to increase signal/noise ratio. 1906(4.2.7p111) 2011/01/05 Released by Harlan Stenn <stenn@ntp.org> 1907* [Bug 1772] refclock_open() return value check wrong for ACTS. 1908* Default --with-openssl-libdir and --with-openssl-incdir to the values 1909 from pkg-config, falling back on our usual search paths if pkg-config 1910 is not available or does not have openssl.pc on PKG_CONFIG_PATH. 1911* Change refclock_open() to return -1 on failure like open(). 1912* Update all refclock_open() callers to check for fd <= 0 indicating 1913 failure, so they work with older and newer refclock_open() and can 1914 easily backport. 1915* Initialize refclockproc.rio.fd to -1, harmonize refclock shutdown 1916 entrypoints to avoid crashing, particularly if refclock_open() fails. 1917* Enable tickadj-like taming of wildly off-spec Windows clock using 1918 NTPD_TICKADJ_PPM env. var. specifying baseline slew. 1919(4.2.7p110) 2011/01/04 Released by Harlan Stenn <stenn@ntp.org> 1920* [Bug 1771] algorithmic error in 'clocktime()' fixed. 1921* Unit tests extended for hard-coded system time. 1922* make V=0 and configure --enable-silent-rules supported. 1923* setvar modemsetup = ATE0... overrides ACTS driver default. 1924* Preserve last timecode in ACTS driver (ntpq -ccv). 1925* Tolerate previous ATE1 state when sending ACTS setup. 1926* Enable raw tty line discipline in Windows port. 1927* Allow tty open/close/open to succeed on Windows port. 1928* Enable ACTS and CHU reference clock drivers on Windows. 1929(4.2.7p109) 2011/01/02 Released by Harlan Stenn <stenn@ntp.org> 1930* Remove nearly all strcpy() and most strcat() from NTP distribution. 1931 One major pocket remains in ntp_crypto.c. libopts & libisc also have 1932 (safe) uses of strcpy() and strcat() remaining. 1933* Documentation updates from Dave Mills. 1934(4.2.7p108) 2011/01/01 Released by Harlan Stenn <stenn@ntp.org> 1935* [Bug 1764] Move Palisade modem control logic to configure.ac. 1936* [Bug 1768] TIOCFLUSH undefined in linux for refclock_acts. 1937* Autokey multiple identity group improvements from Dave Mills. 1938* from 4.2.6p3: Update the copyright year. 1939(4.2.7p107) 2010/12/31 Released by Harlan Stenn <stenn@ntp.org> 1940* [Bug 1764] Palisade driver doesn't build on Linux. 1941* [Bug 1766] Oncore clock has offset/high jitter at startup. 1942* Move ntp_control.h variable IDs to ntp_control.c, remove their use by 1943 ntpq. They are implementation details private to ntpd. [Bug 597] was 1944 caused by ntpq's reliance on these IDs it need not know about. 1945* refclock_acts.c updates from Dave Mills. 1946(4.2.7p106) 2010/12/30 Released by Harlan Stenn <stenn@ntp.org> 1947* from 4.2.6p3: Update genCommitLog for the bk-5 release. 1948(4.2.7p105) 2010/12/29 Released by Harlan Stenn <stenn@ntp.org> 1949(4.2.7p104) 2010/12/28 Released by Harlan Stenn <stenn@ntp.org> 1950* from 4.2.6p3: Create and use scripts/check--help when generating 1951 .texi files. 1952* from 4.2.6p3: Update bk triggers for the bk-5 release. 1953* Support for multiple Autokey identity groups from Dave Mills. 1954* Documentation updates from Dave Mills. 1955* Add ntpq kerninfo, authinfo, and sysinfo commands similar to ntpdc's. 1956(4.2.7p103) 2010/12/24 Released by Harlan Stenn <stenn@ntp.org> 1957* Add ntpq pstats command similar to ntpdc's. 1958* Remove ntpq pstatus command, rv/readvar does the same and more. 1959* Documentation updates from Dave Mills. 1960(4.2.7p102) 2010/12/23 Released by Harlan Stenn <stenn@ntp.org> 1961* Allow ntpq &1 associd use without preceding association-fetching. 1962* Documentation updates from Dave Mills. 1963(4.2.7p101) 2010/12/22 Released by Harlan Stenn <stenn@ntp.org> 1964* from 4.2.6p3-RC12: Upgrade to libopts 34.0.9 from AutoGen 5.11.6pre7. 1965* from 4.2.6p3-RC12: Relax minimum Automake version to 1.10 with updated 1966 libopts.m4. 1967(4.2.7p100) 2010/12/21 Released by Harlan Stenn <stenn@ntp.org> 1968* [Bug 1743] from 4.2.6p3-RC12: Display timezone offset when showing 1969 time for sntp in the local timezone (documentation updates). 1970(4.2.7p99) 2010/12/21 Released by Harlan Stenn <stenn@ntp.org> 1971* Add unit tests for msnprintf(). 1972(4.2.7p98) 2010/12/20 Released by Harlan Stenn <stenn@ntp.org> 1973* [Bug 1761] clockstuff/clktest-opts.h omitted from tarball. 1974* [Bug 1762] from 4.2.6p3-RC12: manycastclient responses interfere. 1975* Documentation updates from Dave Mills. 1976(4.2.7p97) 2010/12/19 Released by Harlan Stenn <stenn@ntp.org> 1977* [Bug 1458] from 4.2.6p3-RC12: Can not compile NTP on FreeBSD 4.7. 1978* [Bug 1760] from 4.2.6p3-RC12: ntpd Windows interpolation cannot be 1979 disabled. 1980* from 4.2.6p3-RC12: Upgrade to libopts 34.0.9 from AutoGen 5.11.6pre5. 1981* Documentation updates from Dave Mills. 1982(4.2.7p96) 2010/12/18 Released by Harlan Stenn <stenn@ntp.org> 1983* [Bug 1758] from 4.2.6p3-RC12: setsockopt IPV6_MULTICAST_IF with wrong 1984 ifindex. 1985* Documentation updates from Dave Mills. 1986(4.2.7p95) 2010/12/17 Released by Harlan Stenn <stenn@ntp.org> 1987* [Bug 1753] 4.2.7p94 faults on startup in newpeer(), strdup(NULL). 1988* [Bug 1754] from 4.2.6p3-RC12: --version output should be more verbose. 1989* [Bug 1757] from 4.2.6p3-RC12: oncore snprintf("%m") doesn't expand %m. 1990* from 4.2.6p3-RC12: Suppress ntp-keygen OpenSSL version display for 1991 --help, --version, display both build and runtime OpenSSL versions 1992 when they differ. 1993* from 4.2.6p3-RC12: Upgrade to libopts 33.5.8 from AutoGen 5.11.6pre3. 1994* Documentation updates from Dave Mills. 1995(4.2.7p94) 2010/12/15 Released by Harlan Stenn <stenn@ntp.org> 1996* [Bug 1751] from 4.2.6p3-RC12: Support for Atari FreeMiNT OS. 1997* Documentation updates from Dave Mills. 1998(4.2.7p93) 2010/12/13 Released by Harlan Stenn <stenn@ntp.org> 1999* [Bug 1510] from 4.2.6p3-RC12: Add modes 20/21 for driver 8 to support 2000 RAWDCF @ 75 baud. 2001* [Bug 1741] from 4.2.6p3-RC12: Enable multicast reception on each 2002 address (Windows). 2003* from 4.2.6p3-RC12: Other manycastclient repairs: 2004 Separate handling of scope ID embedded in many in6_addr from ifindex 2005 used for IPv6 multicasting ioctls. 2006 Add INT_PRIVACY endpt bit flag for IPv6 RFC 4941 privacy addresses. 2007 Enable outbound multicast from only one address per interface in the 2008 same subnet, and in that case prefer embedded MAC address modified 2009 EUI-64 IPv6 addresses first, then static, and last RFC 4941 privacy 2010 addresses. 2011 Use setsockopt(IP[V6]_MULTICAST_IF) before each send to multicast to 2012 select the local source address, using the correct socket is not 2013 enough. 2014* "server ... ident <groupname>" changes from Dave Mills. 2015* Documentation updates from Dave Mills. 2016(4.2.7p92) 2010/12/08 Released by Harlan Stenn <stenn@ntp.org> 2017* [Bug 1743] from 4.2.6p3-RC12: Display timezone offset when showing 2018 time for sntp in the local timezone. 2019(4.2.7p91) 2010/12/07 Released by Harlan Stenn <stenn@ntp.org> 2020* [Bug 1732] ntpd ties up CPU on disconnected USB device. 2021* [Bug 1742] form 4.2.6p3-RC12: Fix a typo in an error message in the 2022 "build" script. 2023(4.2.7p90) 2010/12/06 Released by Harlan Stenn <stenn@ntp.org> 2024* [Bug 1738] Windows ntpd has wrong net adapter name. 2025* [Bug 1740] ntpdc -c reslist packet count wrongly treated as signed. 2026(4.2.7p89) 2010/12/04 Released by Harlan Stenn <stenn@ntp.org> 2027* [Bug 1736] tos int, bool options broken in 4.2.7p66. 2028* from 4.2.6p3-RC12: Clean up the SNTP documentation. 2029(4.2.7p88) 2010/12/02 Released by Harlan Stenn <stenn@ntp.org> 2030* [Bug 1735] 'clocktime()' aborts ntpd on bogus input 2031(4.2.7p87) 2010/12/01 Released by Harlan Stenn <stenn@ntp.org> 2032* from 4.2.6p3-RC12: Clean up m4 quoting in configure.ac, *.m4 files, 2033 resolving intermittent AC_LANG_PROGRAM possibly undefined errors. 2034(4.2.7p86) 2010/11/29 Released by Harlan Stenn <stenn@ntp.org> 2035* Documentation updates from Dave Mills. 2036(4.2.7p85) 2010/11/24 Released by Harlan Stenn <stenn@ntp.org> 2037* Documentation updates from Dave Mills. 2038(4.2.7p84) 2010/11/22 Released by Harlan Stenn <stenn@ntp.org> 2039* [Bug 1618] Unreachable code in jjy_start(). 2040* [Bug 1725] from 4.2.6p3-RC11: ntpd sends multicast from only one 2041 address. 2042* from 4.2.6p3-RC11: Upgrade libopts to 33.3.8. 2043* from 4.2.6p3-RC11: Bump minimum Automake version to 1.11, required for 2044 AM_COND_IF use in LIBOPTS_CHECK. 2045* An almost complete rebuild of the initial loopfilter configuration 2046 process, including the code that determines the interval between 2047 frequency file updates, from Dave Mills. 2048* Documentation updates from Dave Mills. 2049* Add ntp-keygen -l/--lifetime to control certificate expiry. 2050* JJY driver improvements for Tristate JJY01/02, including changes 2051 to its clockstats format. 2052* Add "nonvolatile" ntp.conf directive to control how often the 2053 driftfile is written. 2054(4.2.7p83) 2010/11/17 Released by Harlan Stenn <stenn@ntp.org> 2055* [Bug 1727] ntp-keygen PLEN, ILEN undeclared --without-crypto. 2056* Remove top-level libopts, use sntp/libopts. 2057* from 4.2.6p3-RC11: Remove log_msg() and debug_msg() from sntp in favor 2058 of msyslog(). 2059* Documentation updates from Dave Mills. 2060(4.2.7p82) 2010/11/16 Released by Harlan Stenn <stenn@ntp.org> 2061* [Bug 1728] from 4.2.6p3-RC11: In ntp_openssl.m4, don't add 2062 -I/usr/include or -L/usr/lib to CPPFLAGS or LDFLAGS. 2063(4.2.7p81) 2010/11/14 Released by Harlan Stenn <stenn@ntp.org> 2064* [Bug 1681] from 4.2.6p3-RC10: More sntp logging cleanup. 2065* [Bug 1683] from 4.2.6p3-RC10: Non-localhost on loopback exempted from 2066 nic rules. 2067* [Bug 1719] Cleanup for ntp-keygen and fix -V crash, from Dave Mills. 2068(4.2.7p80) 2010/11/10 Released by Harlan Stenn <stenn@ntp.org> 2069* [Bug 1574] from 4.2.6p3-RC9: sntp doesn't set tv_usec correctly. 2070* [Bug 1681] from 4.2.6p3-RC9: sntp logging cleanup. 2071* [Bug 1683] from 4.2.6p3-RC9: Interface binding does not seem to work 2072 as intended. 2073* [Bug 1708] make check fails with googletest 1.4.0. 2074* [Bug 1709] from 4.2.6p3-RC9: ntpdate ignores replies with equal 2075 receive and transmit timestamps. 2076* [Bug 1715] sntp utilitiesTest.IPv6Address failed. 2077* [Bug 1718] Improve gtest checks in configure.ac. 2078(4.2.7p79) 2010/11/07 Released by Harlan Stenn <stenn@ntp.org> 2079* Correct frequency estimate with no drift file, from David Mills. 2080(4.2.7p78) 2010/11/04 Released by Harlan Stenn <stenn@ntp.org> 2081* [Bug 1697] filegen implementation should be improved. 2082* Refactor calendar functions in terms of new common code. 2083* Documentation updates from Dave Mills. 2084(4.2.7p77) 2010/11/03 Released by Harlan Stenn <stenn@ntp.org> 2085* [Bug 1692] packageinfo.sh needs to be "sourced" using ./ . 2086* [Bug 1695] ntpdate takes longer than necessary. 2087(4.2.7p76) 2010/11/02 Released by Harlan Stenn <stenn@ntp.org> 2088* [Bug 1690] Unit tests fails to build on some systems. 2089* [Bug 1691] Use first NMEA sentence each second. 2090* Put the sntp tests under sntp/ . 2091* ... and only build/run them if we have gtest. 2092* Documentation updates from Dave Mills. 2093(4.2.7p75) 2010/10/30 Released by Harlan Stenn <stenn@ntp.org> 2094* Documentation updates from Dave Mills. 2095* Include Linus Karlsson's GSoC 2010 testing code. 2096(4.2.7p74) 2010/10/29 Released by Harlan Stenn <stenn@ntp.org> 2097* [Bug 1685] from 4.2.6p3-RC8: NMEA driver mode byte confusion. 2098* from 4.2.6p3-RC8: First cut at using scripts/checkChangeLog. 2099* Documentation updates from Dave Mills. 2100(4.2.7p73) 2010/10/27 Released by Harlan Stenn <stenn@ntp.org> 2101* [Bug 1680] Fix alignment of clock_select() arrays. 2102* refinements to new startup behavior from David Mills. 2103* For the bootstrap script, touch .html files last. 2104* Add 'make check' test case that would have caught [Bug 1678]. 2105(4.2.7p72) 2010/10/26 Released by Harlan Stenn <stenn@ntp.org> 2106* [Bug 1679] Fix test for -lsocket. 2107* Clean up missing ;; entries in configure.ac. 2108(4.2.7p71) 2010/10/25 Released by Harlan Stenn <stenn@ntp.org> 2109* [Bug 1676] from 4.2.6p3-RC7: NMEA: $GPGLL did not work after fix 2110 for Bug 1571. 2111* [Bug 1678] "restrict source" treated as "restrict default". 2112* from 4.2.6p3-RC7: Added scripts/checkChangeLog. 2113(4.2.7p70) 2010/10/24 Released by Harlan Stenn <stenn@ntp.org> 2114* [Bug 1571] from 4.2.6p3-RC6: NMEA does not relate data to PPS edge. 2115* [Bug 1572] from 4.2.p63-RC6: NMEA time adjustment for GPZDG buggy. 2116* [Bug 1675] from 4.2.6p3-RC6: Prohibit includefile remote config. 2117* Enable generating ntpd/ntp_keyword.h after keyword-gen.c changes on 2118 Windows as well as POSIX platforms. 2119* Fix from Dave Mills for a rare singularity in clock_combine(). 2120(4.2.7p69) 2010/10/23 Released by Harlan Stenn <stenn@ntp.org> 2121* [Bug 1671] Automatic delay calibration is sometimes inaccurate. 2122(4.2.7p68) 2010/10/22 Released by Harlan Stenn <stenn@ntp.org> 2123* [Bug 1669] from 4.2.6p3-RC5: NTP fails to compile on IBM AIX 5.3. 2124* [Bug 1670] Fix peer->bias and broadcastdelay. 2125* Documentation updates from Dave Mills. 2126* Documentation EOL cleanup. 2127(4.2.7p67) 2010/10/21 Released by Harlan Stenn <stenn@ntp.org> 2128* [Bug 1649] from 4.2.6p3-RC5: Require NMEA checksum if $GPRMC or 2129 previously seen. 2130(4.2.7p66) 2010/10/19 Released by Harlan Stenn <stenn@ntp.org> 2131* [Bug 1277] Provide and use O(1) FIFOs, esp. in the config tree code. 2132* Remove unused 'bias' configuration keyword. 2133(4.2.7p65) 2010/10/16 Released by Harlan Stenn <stenn@ntp.org> 2134* [Bug 1584] from 4.2.6p3-RC4: wrong SNMP type for precision, 2135 resolution. 2136* Remove 'calldelay' and 'sign' remnants from parser, ntp_config.c. 2137(4.2.7p64) 2010/10/15 Released by Harlan Stenn <stenn@ntp.org> 2138* [Bug 1584] from 4.2.6p3-RC3: ntpsnmpd OID must be mib-2.197. 2139* [Bug 1659] from 4.2.6p3-RC4: Need CLOCK_TRUETIME not CLOCK_TRUE. 2140* [Bug 1663] ntpdsim should not open net sockets. 2141* [Bug 1665] from 4.2.6p3-RC4: is_anycast() u_int32_t should be u_int32. 2142* from 4.2.6p3: ntpsnmpd, libntpq warning cleanup. 2143* Remove 'calldelay' and 'sign' keywords (Dave Mills). 2144* Documentation updates from Dave Mills. 2145(4.2.7p63) 2010/10/13 Released by Harlan Stenn <stenn@ntp.org> 2146* [Bug 1080] from 4.2.6p3-RC3: ntpd on ipv6 routers very chatty. 2147* Documentation nit cleanup. 2148* Documentation updates from Dave Mills. 2149(4.2.7p62) 2010/10/12 Released by Harlan Stenn <stenn@ntp.org> 2150* [Bug 750] from 4.2.6p3-RC3: Non-existing device causes coredump with 2151 RIPE-NCC driver. 2152* [Bug 1567] from 4.2.6p3-RC3: Support Arbiter 1093C Satellite Clock on 2153 Windows. 2154* [Bug 1581] from 4.2.6p3-RC3: printf format string mismatch leftover. 2155* [Bug 1659] from 4.2.6p3-RC3: Support Truetime Satellite Clocks on 2156 Windows. 2157* [Bug 1660] from 4.2.6p3-RC3: On some systems, test is in /usr/bin, not 2158 /bin. 2159* [Bug 1661] from 4.2.6p3-RC3: Re-indent refclock_ripencc.c. 2160* Lose peer_count from ntp_peer.c and ntp_proto.c (Dave Mills). 2161* Documentation updates from Dave Mills. 2162(4.2.7p61) 2010/10/06 Released by Harlan Stenn <stenn@ntp.org> 2163* Documentation and code cleanup from Dave Mills. No more NTP_MAXASSOC. 2164(4.2.7p60) 2010/10/04 Released by Harlan Stenn <stenn@ntp.org> 2165* Documentation updates from Dave Mills. 2166(4.2.7p59) 2010/10/02 Released by Harlan Stenn <stenn@ntp.org> 2167* Documentation updates from Dave Mills. 2168* Variable name cleanup from Dave Mills. 2169* [Bug 1657] darwin needs res_9_init, not res_init. 2170(4.2.7p58) 2010/09/30 Released by Harlan Stenn <stenn@ntp.org> 2171* Clock select bugfix from Dave Mills. 2172* [Bug 1554] peer may stay selected as system peer after becoming 2173 unreachable. 2174* [Bug 1644] from 4.2.6p3-RC3: cvo.sh should use lsb_release to identify 2175 linux distros. 2176* [Bug 1646] ntpd crashes with relative path to logfile. 2177(4.2.7p57) 2010/09/27 Released by Harlan Stenn <stenn@ntp.org> 2178* Documentation updates from Dave Mills. 2179(4.2.7p56) 2010/09/25 Released by Harlan Stenn <stenn@ntp.org> 2180* Clock combining algorithm improvements from Dave Mills. 2181* Documentation updates from Dave Mills. 2182* [Bug 1642] ntpdsim can't find simulate block in config file. 2183* [Bug 1643] from 4.2.6p3-RC3: Range-check the decoding of the RIPE-NCC 2184 status codes. 2185(4.2.7p55) 2010/09/22 Released by Harlan Stenn <stenn@ntp.org> 2186* Documentation updates from Dave Mills. 2187* [Bug 1636] from 4.2.6p3-RC2: segfault after denied remote config. 2188(4.2.7p54) 2010/09/21 Released by Harlan Stenn <stenn@ntp.org> 2189* More Initial convergence improvements from Dave Mills. 2190* Documentation updates from Dave Mills. 2191* [Bug 1635] from 4.2.6p3-RC2: "filegen ... enable" is not default. 2192(4.2.7p53) 2010/09/20 Released by Harlan Stenn <stenn@ntp.org> 2193* Documentation updates from Dave Mills. 2194* More Initial convergence improvements from Dave Mills. 2195(4.2.7p52) 2010/09/19 Released by Harlan Stenn <stenn@ntp.org> 2196* Initial convergence improvements from Dave Mills. 2197(4.2.7p51) 2010/09/18 Released by Harlan Stenn <stenn@ntp.org> 2198* [Bug 1344] from 4.2.6p3-RC1: ntpd on Windows exits without logging 2199 cause. 2200* [Bug 1629] 4.2.7p50 configure.ac changes invalidate config.cache. 2201* [Bug 1630] 4.2.7p50 cannot bootstrap on Autoconf 2.61. 2202(4.2.7p50) 2010/09/16 Released by Harlan Stenn <stenn@ntp.org> 2203* Cleanup NTP_LIB_M. 2204* [Bug 1628] Clean up -lxnet/-lsocket usage for (open)solaris. 2205(4.2.7p49) 2010/09/13 Released by Harlan Stenn <stenn@ntp.org> 2206* Documentation updates from Dave Mills. 2207(4.2.7p48) 2010/09/12 Released by Harlan Stenn <stenn@ntp.org> 2208* Documentation updates from Dave Mills. 2209(4.2.7p47) 2010/09/11 Released by Harlan Stenn <stenn@ntp.org> 2210* Documentation updates from Dave Mills. 2211* [Bug 1588] finish configure --disable-autokey implementation. 2212* [Bug 1616] refclock_acts.c: if (pp->leap == 2) is always false. 2213* [Bug 1620] [Backward Incompatible] "discard minimum" value should be in 2214 seconds, not log2 seconds. 2215(4.2.7p46) 2010/09/10 Released by Harlan Stenn <stenn@ntp.org> 2216* Use AC_SEARCH_LIBS instead of AC_CHECK_LIB for NTP_LIB_M. 2217(4.2.7p45) 2010/09/05 Released by Harlan Stenn <stenn@ntp.org> 2218* [Bug 1578] Consistently use -lm when needed. 2219(4.2.7p44) 2010/08/27 Released by Harlan Stenn <stenn@ntp.org> 2220* [Bug 1573] from 4.2.6p3-beta1: Miscalculation of offset in sntp. 2221(4.2.7p43) 2010/08/26 Released by Harlan Stenn <stenn@ntp.org> 2222* [Bug 1602] Refactor some of the sntp/ directory to facililtate testing. 2223(4.2.7p42) 2010/08/18 Released by Harlan Stenn <stenn@ntp.org> 2224* [Bug 1593] ntpd abort in free() with logconfig syntax error. 2225* [Bug 1595] from 4.2.6p3-beta1: empty last line in key file causes 2226 duplicate key to be added 2227* [Bug 1597] from 4.2.6p3-beta1: packet processing ignores RATE KoD packets, 2228 Because of a bug in string comparison. 2229(4.2.7p41) 2010/07/28 Released by Harlan Stenn <stenn@ntp.org> 2230* [Bug 1581] from 4.2.6p3-beta1: ntp_intres.c size_t printf format 2231 string mismatch. 2232* [Bug 1586] ntpd 4.2.7p40 doesn't write to syslog after fork on QNX. 2233* Avoid race with parallel builds using same source directory in 2234 scripts/genver by using build directory for temporary files. 2235* orphanwait documentation updates. 2236(4.2.7p40) 2010/07/12 Released by Harlan Stenn <stenn@ntp.org> 2237* [Bug 1395] ease ntpdate elimination with ntpd -w/--wait-sync 2238* [Bug 1396] allow servers on ntpd command line like ntpdate 2239(4.2.7p39) 2010/07/09 Released by Harlan Stenn <stenn@ntp.org> 2240* Fix typo in driver28.html. 2241* [Bug 1581] from 4.2.6p2: size_t printf format string mismatches, IRIG 2242 string buffers undersized. Mostly backported from earlier ntp-dev 2243 fixes by Juergen Perlinger. 2244(4.2.7p38) 2010/06/20 Released by Harlan Stenn <stenn@ntp.org> 2245* [Bug 1570] backported to 4.2.6p2-RC7. 2246* [Bug 1575] from 4.2.6p2-RC7: use 'snprintf' with LIB_BUFLENGTH in 2247 inttoa.c, tvtoa.c and utvtoa.c 2248* [Bug 1576] backported to 4.2.6p2-RC7. 2249* Typo fix in a comment in ntp_proto.c. 2250(4.2.7p37) 2010/06/19 Released by Harlan Stenn <stenn@ntp.org> 2251* [Bug 1576] sys/sysctl.h depends on sys/param.h on OpenBSD. 2252(4.2.7p36) 2010/06/15 Released by Harlan Stenn <stenn@ntp.org> 2253* [Bug 1560] Initial support for orphanwait, from Dave Mills. 2254* clock_filter()/reachability fixes from Dave Mills. 2255(4.2.7p35) 2010/06/12 Released by Harlan Stenn <stenn@ntp.org> 2256* Rewrite of multiprecision macros in 'ntp_fp.h' from J. Perlinger 2257 <perlinger@ntp.org> 2258* [Bug 715] from 4.2.6p2-RC6: libisc Linux IPv6 interface iteration 2259 drops multicast flags. 2260(4.2.7p34) 2010/06/05 Released by Harlan Stenn <stenn@ntp.org> 2261* [Bug 1570] serial clock drivers get outdated input from kernel tty 2262 line buffer after startup 2263(4.2.7p33) 2010/06/04 Released by Harlan Stenn <stenn@ntp.org> 2264* [Bug 1561] from 4.2.6p2-RC5: ntpq, ntpdc "passwd" prompts for MD5 2265 password w/SHA1. 2266* [Bug 1565] from 4.2.6p2-RC5: sntp/crypto.c compile fails on MacOS over 2267 vsnprintf(). 2268* from 4.2.6p2-RC5: Windows port: do not exit in 2269 ntp_timestamp_from_counter() without first logging the reason. 2270(4.2.7p32) 2010/05/19 Released by Harlan Stenn <stenn@ntp.org> 2271* Copyright file cleanup from Dave Mills. 2272* [Bug 1555] from 4.2.6p2-RC4: sntp illegal C (mixed code and 2273 declarations). 2274* [Bug 1558] pool prototype associations have 0.0.0.0 for remote addr. 2275* configure.ac: add --disable-autokey, #define AUTOKEY to enable future 2276 support for building without Autokey, but with OpenSSL for its digest 2277 algorithms (hash functions). Code must be modified to use #ifdef 2278 AUTOKEY instead of #ifdef OPENSSL where appropriate to complete this. 2279* include/ntp_crypto.h: make assumption AUTOKEY implies OPENSSL explicit. 2280(4.2.7p31) 2010/05/11 Released by Harlan Stenn <stenn@ntp.org> 2281* [Bug 1325] from 4.2.6p2-RC3: unreachable code sntp recv_bcst_data(). 2282* [Bug 1459] from 4.2.6p2-RC3: sntp MD5 authentication does not work 2283 with ntpd. 2284* [Bug 1552] from 4.2.6p2-RC3: update and complete broadcast and crypto 2285 features in sntp. 2286* [Bug 1553] from 4.2.6p2-RC3: sntp/configure.ac OpenSSL support. 2287* from 4.2.6p2-RC3: Escape unprintable characters in a refid in ntpq -p 2288 billboard. 2289* from 4.2.6p2-RC3: Simplify hash client code by providing OpenSSL 2290 EVP_*() API when built without OpenSSL. (already in 4.2.7) 2291* from 4.2.6p2-RC3: Do not depend on ASCII in sntp. 2292(4.2.7p30) 2010/05/06 Released by Harlan Stenn <stenn@ntp.org> 2293* [Bug 1526] ntpd DNS pipe read EINTR with no network at startup. 2294* Update the ChangeLog entries when merging items from -stable. 2295(4.2.7p29) 2010/05/04 Released by Harlan Stenn <stenn@ntp.org> 2296* [Bug 1542] ntpd mrulist response may have incorrect last.older. 2297* [Bug 1543] ntpq mrulist must refresh nonce when retrying. 2298* [Bug 1544] ntpq mrulist sscanf timestamp format mismatch on 64-bit. 2299* Windows compiling hints/winnt.html update from G. Sunil Tej. 2300(4.2.7p28) 2010/05/03 Released by Harlan Stenn <stenn@ntp.org> 2301* [Bug 1512] from 4.2.6p2-RC3: ntpsnmpd should connect to net-snmpd 2302 via a unix-domain socket by default. 2303 Provide a command-line 'socket name' option. 2304* [Bug 1538] from 4.2.6p2-RC3: update refclock_nmea.c's call to 2305 getprotobyname(). 2306* [Bug 1541] from 4.2.6p2-RC3: Fix wrong keyword for "maxclock". 2307(4.2.7p27) 2010/04/27 Released by Harlan Stenn <stenn@ntp.org> 2308(4.2.7p26) 2010/04/24 Released by Harlan Stenn <stenn@ntp.org> 2309* [Bug 1465] from 4.2.6p2-RC2: Make sure time from TS2100 is not 2310 invalid (backport from -dev). 2311* [Bug 1528] from 4.2.6p2-RC2: Fix EDITLINE_LIBS link order for ntpq 2312 and ntpdc. 2313* [Bug 1531] Require nonce with mrulist requests. 2314* [Bug 1532] Remove ntpd support for ntpdc's monlist in favor of ntpq's 2315 mrulist. 2316* [Bug 1534] from 4.2.6p2-RC2: conflicts with VC++ 2010 errno.h. 2317* [Bug 1535] from 4.2.6p2-RC2: "restrict -4 default" and "restrict 2318 -6 default" ignored. 2319(4.2.7p25) 2010/04/20 Released by Harlan Stenn <stenn@ntp.org> 2320* [Bug 1528] from 4.2.6p2-RC2: Remove --with-arlib from br-flock. 2321* [Bug 1503] [Bug 1504] [Bug 1518] [Bug 1522] from 4.2.6p2-RC2: 2322 all of which were fixed in 4.2.7 previously. 2323(4.2.7p24) 2010/04/13 Released by Harlan Stenn <stenn@ntp.org> 2324* [Bug 1390] Control PPS on the Oncore M12. 2325* [Bug 1518] Windows ntpd should lock to one processor more 2326 conservatively. 2327* [Bug 1520] '%u' formats for size_t gives warnings with 64-bit builds. 2328* [Bug 1522] Enable range syntax "trustedkey (301 ... 399)". 2329* Documentation updates for 4.2.7p22 changes and additions, updating 2330 ntpdc.html, ntpq.html, accopt.html, confopt.html, manyopt.html, 2331 miscopt.html, and miscopt.txt. 2332* accopt.html: non-ntpport doc changes from Dave Mills. 2333* Modify full MRU list preemption when full to match "discard monitor" 2334 documentation, by removing exception for count == 1. 2335(4.2.7p23) 2010/04/04 Released by Harlan Stenn <stenn@ntp.org> 2336* [Bug 1516] unpeer by IP address fails, DNS name works. 2337* [Bug 1517] ntpq and ntpdc should verify reverse DNS before use. 2338 ntpq and ntpdc now use the following format for showing purported 2339 DNS names from IP address "reverse" DNS lookups when the DNS name 2340 does not exist or does not include the original IP address among 2341 the results: "192.168.1.2 (fake.dns.local)". 2342(4.2.7p22) 2010/04/02 Released by Harlan Stenn <stenn@ntp.org> 2343* [Bug 1432] Don't set inheritable flag for linux capabilities. 2344* [Bug 1465] Make sure time from TS2100 is not invalid. 2345* [Bug 1483] AI_NUMERICSERV undefined in 4.2.7p20. 2346* [Bug 1497] fudge is broken by getnetnum() change. 2347* [Bug 1503] Auto-enabling of monitor for "restrict ... limited" wrong. 2348* [Bug 1504] ntpdate tickles ntpd "discard minimum 1" rate limit if 2349 "restrict ... limited" is used. 2350* ntpdate: stop querying source after KoD packet response, log it. 2351* ntpdate: rate limit each server to 2s between packets. 2352* From J. N. Perlinger: avoid pointer wraparound warnings in dolfptoa(), 2353 printf format mismatches with 64-bit size_t. 2354* Broadcast client (ephemeral) associations should be demobilized only 2355 if they are not heard from for 10 consecutive polls, regardless of 2356 surviving the clock selection. Fix from David Mills. 2357* Add "ntpq -c ifstats" similar to "ntpdc -c ifstats". 2358* Add "ntpq -c sysstats" similar to "ntpdc -c sysstats". 2359* Add "ntpq -c monstats" to show monlist knobs and stats. 2360* Add "ntpq -c mrulist" similar to "ntpdc -c monlist" but not 2361 limited to 600 rows, and with filtering and sorting options: 2362 ntpq -c "mrulist mincount=2 laddr=192.168.1.2 sort=-avgint" 2363 ntpq -c "mrulist sort=addr" 2364 ntpq -c "mrulist mincount=2 sort=count" 2365 ntpq -c "mrulist sort=-lstint" 2366* Modify internal representation of MRU list to use l_fp fixed-point 2367 NTP timestamps instead of seconds since startup. This increases the 2368 resolution and substantially improves accuracy of sorts involving 2369 timestamps, at the cost of flushing all MRU entries when the clock is 2370 stepped, to ensure the timestamps can be compared with the current 2371 get_systime() results. 2372* Add ntp.conf "mru" directive to configure MRU parameters, such as 2373 "mru mindepth 600 maxage 64 maxdepth 5000 maxmem 1024" or 2374 "mru initalloc 0 initmem 16 incalloc 99 incmem 4". Several pairs are 2375 equivalent with one in units of MRU entries and its twin in units of 2376 kilobytes of memory, so the last one used in ntp.conf controls: 2377 maxdepth/maxmem, initalloc/initmem, incalloc/incmem. With the above 2378 values, ntpd will preallocate 16kB worth of MRU entries, allocating 2379 4kB worth each time more are needed, with a hard limit of 1MB of MRU 2380 entries. Until there are more than 600 entries none would be reused. 2381 Then only entries for addresses last seen 64 seconds or longer ago are 2382 reused. 2383* Limit "ntpdc -c monlist" response in ntpd to 600 entries, the previous 2384 overall limit on the MRU list depth which was driven by the monlist 2385 implementation limit of one request with a single multipacket 2386 response. 2387* New "pool" directive implementation modeled on manycastclient. 2388* Do not abort on non-ASCII characters in ntp.conf, ignore them. 2389* ntpq: increase response reassembly limit from 24 to 32 packets, add 2390 discussion in comment regarding results with even larger MAXFRAGS. 2391* ntpq: handle "passwd MYPASSWORD" (without prompting) as with ntpdc. 2392* ntpdc: do not examine argument to "passwd" if not supplied. 2393* configure: remove check for pointer type used with qsort(), we 2394 require ANSI C which mandates void *. 2395* Reset sys_kodsent to 0 in proto_clr_stats(). 2396* Add sptoa()/sockporttoa() similar to stoa()/socktoa() adding :port. 2397* Use memcpy() instead of memmove() when buffers can not overlap. 2398* Remove sockaddr_storage from our sockaddr_u union of sockaddr, 2399 sockaddr_in, and sockaddr_in6, shaving about 100 bytes from its size 2400 and substantially decreasing MRU entry memory consumption. 2401* Extend ntpq readvar (alias rv) to allow fetching up to three named 2402 variables in one operation: ntpq -c "rv 0 version offset frequency". 2403* ntpq: use srchost variable to show .POOL. prototype associations' 2404 hostname instead of address 0.0.0.0. 2405* "restrict source ..." configures override restrictions for time 2406 sources, allows tight default restrictions to be used with the pool 2407 directive (where server addresses are not known in advance). 2408* Ignore "preempt" modifier on manycastclient and pool prototype 2409 associations. The resulting associations are preemptible, but the 2410 prototype must not be. 2411* Maintain and use linked list of associations (struct peer) in ntpd, 2412 avoiding walking 128 hash table entries to iterate over peers. 2413* Remove more workarounds unneeded since we require ISO C90 AKA ANSI C: 2414 - remove fallback implementations for memmove(), memset, strstr(). 2415 - do not test for atexit() or memcpy(). 2416* Collapse a bunch of code duplication in ntpd/ntp_restrict.c added with 2417 support for IPv6. 2418* Correct some corner case failures in automatically enabling the MRU 2419 list if any "restrict ... limited" is in effect, and in disabling MRU 2420 maintenance. (ntp_monitor.c, ntp_restrict.c) 2421* Reverse the internal sort order of the address restriction lists, but 2422 preserve the same behavior. This allows removal of special-case code 2423 related to the default restrictions and more straightforward lookups 2424 of restrictions for a given address (now, stop on first match). 2425* Move ntp_restrict.c MRU doubly-linked list maintenance code into 2426 ntp_lists.h macros, allowing more duplicated source excision. 2427* Repair ntpdate.c to no longer test HAVE_TIMER_SETTIME. 2428* Do not reference peer_node/unpeer_node after freeing when built with 2429 --disable-saveconfig and using DNS. 2430(4.2.7p21) 2010/03/31 Released by Harlan Stenn <stenn@ntp.org> 2431* [Bug 2399] Reset sys_kodsent in proto_clr_stats(). 2432* [Bug 1514] from 4.2.6p1-RC6: Typo in ntp_proto.c: fabs(foo < .4) 2433 should be fabs(foo) < .4. 2434* [Bug 1464] from 4.2.6p1-RC6: synchronization source wrong for 2435 refclocks ARCRON_MSF (27) and SHM (28). 2436* From 4.2.6p1-RC6: Correct Windows port's refclock_open() to 2437 return 0 on failure not -1. 2438* From 4.2.6p1-RC6: Correct CHU, dumbclock, and WWVB drivers to 2439 check for 0 returned from refclock_open() on failure. 2440* From 4.2.6p1-RC6: Correct "SIMUL=4 ./flock-build -1" to 2441 prioritize -1/--one. 2442* [Bug 1306] constant conditionals in audio_gain(). 2443(4.2.7p20) 2010/02/13 Released by Harlan Stenn <stenn@ntp.org> 2444* [Bug 1483] hostname in ntp.conf "restrict" parameter rejected. 2445* Use all addresses for each restrict by hostname. 2446* Use async DNS to resolve trap directive hostnames. 2447(4.2.7p19) 2010/02/09 Released by Harlan Stenn <stenn@ntp.org> 2448* [Bug 1338] Update the association type codes in ntpq.html. 2449* [Bug 1478] from 4.2.6p1-RC5: linking fails: EVP_MD_pkey_type. 2450* [Bug 1479] from 4.2.6p1-RC5: not finding readline headers. 2451* [Bug 1484] from 4.2.6p1-RC5: ushort is not defined in QNX6. 2452(4.2.7p18) 2010/02/07 Released by Harlan Stenn <stenn@ntp.org> 2453* [Bug 1480] from 4.2.6p1-RC5: snprintf() cleanup caused 2454 unterminated refclock IDs. 2455* Stop using getaddrinfo() to convert numeric address strings to on-wire 2456 addresses in favor of is_ip_address() alone. 2457(4.2.7p17) 2010/02/05 Released by Harlan Stenn <stenn@ntp.org> 2458* [Bug 1477] from 4.2.6p1-RC5: First non-gmake make in clone 2459 w/VPATH can't make COPYRIGHT. 2460* Attempts to cure CID 108 CID 118 CID 119 TAINTED_SCALAR warnings. 2461* Broaden ylwrap workaround VPATH_HACK to all non-GNU make. 2462(4.2.7p16) 2010/02/04 Released by Harlan Stenn <stenn@ntp.org> 2463* [Bug 1474] from 4.2.6p1-RC4: ntp_keygen LCRYPTO after libntp.a. 2464* Include 4.2.6p1-RC4: Remove arlib. 2465(4.2.7p15) 2010/02/03 Released by Harlan Stenn <stenn@ntp.org> 2466* [Bug 1455] from 4.2.6p1: ntpd does not try /etc/ntp.audio. 2467* Include 4.2.6p1: Convert many sprintf() calls to snprintf(), also 2468 strcpy(), strcat(). 2469* Include 4.2.6p1: Fix widely cut-n-pasted bug in refclock shutdown 2470 after failed start. 2471* Include 4.2.6p1: Remove some dead code checking for emalloc() 2472 returning NULL. 2473(4.2.7p14) 2010/02/02 Released by Harlan Stenn <stenn@ntp.org> 2474* [Bug 1338] ntpq displays incorrect association type codes. 2475* [Bug 1469] u_int32, int32 changes broke HP-UX 10.20 build. 2476* [Bug 1470] from 4.2.6p1: "make distdir" compiles keyword-gen. 2477* [Bug 1471] CID 120 CID 121 CID 122 is_ip_address() uninit family. 2478* [Bug 1472] CID 116 CID 117 minor warnings in new DNS code. 2479* [Bug 1473] from 4.2.6p1: "make distcheck" version.m4 error. 2480(4.2.7p13) 2010/01/31 Released by Harlan Stenn <stenn@ntp.org> 2481* [Bug 1467] from 4.2.6p1: Fix bogus rebuild of sntp/sntp.html. 2482(4.2.7p12) 2010/01/30 Released by Harlan Stenn <stenn@ntp.org> 2483* [Bug 1468] 'make install' broken for root on default NFS mount. 2484(4.2.7p11) 2010/01/28 Released by Harlan Stenn <stenn@ntp.org> 2485* [Bug 47] Debugging and logging do not work after a fork. 2486* [Bug 1010] getaddrinfo() could block and thus should not be called by 2487 the main thread/process. 2488* New async DNS resolver in ntpd allows nonblocking queries anytime, 2489 instead of only once at startup. 2490(4.2.7p10) 2010/01/24 Released by Harlan Stenn <stenn@ntp.org> 2491* [Bug 1140] from 4.2.6p1-RC5: Clean up debug.html, decode.html, 2492 and ntpq.html. 2493* Include 4.2.6p1-RC3: Use TZ=UTC instead of TZ= when calling date in 2494 scripts/mkver.in . 2495* [Bug 1448] from 4.2.6p1-RC3: Some macros not correctly conditionally 2496 or absolutely defined on Windows. 2497* [Bug 1449] from 4.2.6p1-RC3: ntpsim.h in ntp_config.c should be used 2498 conditionally. 2499* [Bug 1450] from 4.2.6p1-RC3: Option to exclude warnings not 2500 unconditionally defined on Windows. 2501(4.2.7p9) 2010/01/13 Released by Harlan Stenn <stenn@ntp.org> 2502(4.2.7p8) 2010/01/12 Released by Harlan Stenn <stenn@ntp.org> 2503* [Bug 702] ntpd service logic should use libopts to examine cmdline. 2504* [Bug 1451] from 4.2.6p1-RC3: sntp leaks KoD entry updating. 2505* [Bug 1453] from 4.2.6p1-RC3: Use $CC in config.cache filename. 2506(4.2.7p7) 2009/12/30 Released by Harlan Stenn <stenn@ntp.org> 2507* [Bug 620] ntpdc getresponse() esize != *rsize s/b size != *rsize. 2508* [Bug 1446] 4.2.7p6 requires autogen, missing ntpd.1, *.texi, *.menu. 2509(4.2.7p6) 2009/12/28 Released by Harlan Stenn <stenn@ntp.org> 2510* [Bug 1443] Remove unnecessary dependencies on ntp_io.h 2511* [Bug 1442] Move Windows functions into libntp files 2512* [Bug 1127] from 4.2.6p1-RC3: Check the return of X590_verify(). 2513* [Bug 1439] from 4.2.6p1-RC3: .texi gen after binary is linked. 2514* [Bug 1440] from 4.2.6p1-RC3: Update configure.ac to support kfreebsd. 2515* [Bug 1445] from 4.2.6p1-RC3: IRIX does not have -lcap or support 2516 linux capabilities. 2517(4.2.7p5) 2009/12/25 Released by Harlan Stenn <stenn@ntp.org> 2518* Include 4.2.6p1-RC2 2519(4.2.7p4) 2009/12/24 Released by Harlan Stenn <stenn@ntp.org> 2520* [Bug 1429] ntpd -4 option does not reliably force IPv4 resolution. 2521* [Bug 1431] System headers must come before ntp headers in ntp_intres.c . 2522(4.2.7p3) 2009/12/22 Released by Harlan Stenn <stenn@ntp.org> 2523* [Bug 1426] scripts/VersionName needs . on the search path. 2524* [Bug 1427] quote missing in ./build - shows up on NetBSD. 2525* [Bug 1428] Use AC_HEADER_RESOLV to fix breaks from resolv.h 2526(4.2.7p2) 2009/12/20 Released by Harlan Stenn <stenn@ntp.org> 2527* [Bug 1419] ntpdate, ntpdc, sntp, ntpd ignore configure --bindir. 2528* [Bug 1421] add util/tg2, a clone of tg that works on Linux, NetBSD, and 2529 FreeBSD 2530(4.2.7p1) 2009/12/15 Released by Harlan Stenn <stenn@ntp.org> 2531* [Bug 1348] ntpd Windows port should wait for sendto() completion. 2532* [Bug 1413] test OpenSSL headers regarding -Wno-strict-prototypes. 2533* [Bug 1418] building ntpd/ntpdc/ntpq statically with ssl fails. 2534(4.2.7p0) 2009/12/13 Released by Harlan Stenn <stenn@ntp.org> 2535* [Bug 1412] m4/os_cflags.m4 caches results that depend on $CC. 2536* [Bug 1414] Enable "make distcheck" success with BSD make. 2537(4.2.7) 2009/12/09 Released by Harlan Stenn <stenn@ntp.org> 2538* [Bug 1407] configure.ac: recent GNU Make -v does not include "version". 2539--- 2540(4.2.6p5) 2011/12/24 Released by Harlan Stenn <stenn@ntp.org> 2541 2542No changes from 4.2.6p5-RC3. 2543 2544--- 2545(4.2.6p5-RC3) 2011/12/08 Released by Harlan Stenn <stenn@ntp.org> 2546 2547* [Bug 2082] 3-char refid sent by ntpd 4.2.6p5-RC2 ends with extra dot. 2548* [Bug 2085] clock_update() sys_rootdisp calculation omits root delay. 2549* [Bug 2086] get_systime() should not offset by sys_residual. 2550* [Bug 2087] sys_jitter calculation overweights sys.peer jitter. 2551* Ensure NULL peer->dstadr is not accessed in orphan parent selection. 2552 2553--- 2554(4.2.6p5-RC2) 2011/11/30 Released by Harlan Stenn <stenn@ntp.org> 2555 2556* [Bug 2050] Orphan mode stratum counting to infinity. 2557* [Bug 2059] optional billboard column "server" does not honor -n. 2558* [Bug 2066] ntpq lopeers ipv6 "local" column overrun. 2559* [Bug 2068] ntpd sends nonprintable stratum 16 refid to ntpq. 2560* [Bug 2069] broadcastclient, multicastclient spin up duplicate 2561 ephemeral associations without broadcastdelay. 2562* [Bug 2072] Orphan parent selection metric needs ntohl(). 2563* Exclude not-yet-determined sys_refid from use in loopback TEST12 2564 (from David Mills). 2565* Never send KoD rate limiting response to MODE_SERVER response. 2566 2567--- 2568(4.2.6p5-RC1) 2011/10/18 Released by Harlan Stenn <stenn@ntp.org> 2569 2570* [Bug 2034] Listening address configuration with prefix misapplied. 2571 2572--- 2573(4.2.6p4) 2011/09/22 Released by Harlan Stenn <stenn@ntp.org> 2574 2575* [Bug 1984] ntp/libisc fails to compile on OS X 10.7 (Lion). 2576* [Bug 1985] "logconfig =allall" rejected. 2577* [Bug 2001] ntpdc timerstats reports overruns as handled. 2578* [Bug 2003] libntpq ntpq_read_assoc_peervars() broken. 2579* [Backward Incompatible] sntp: -l/--filelog -> -l/--logfile, to be 2580 consistent with ntpd. 2581* libopts/file.c fix from Bruce Korb (arg-type=file). 2582 2583--- 2584(4.2.6p4-RC2) 2011/08/04 Released by Harlan Stenn <stenn@ntp.org> 2585 2586* [Bug 1608] Parse Refclock driver should honor trusttime. 2587* [Bug 1961] html2man update: distribute ntp-wait.html. 2588* [Bug 1970] UNLINK_EXPR_SLIST() causes crash if list is empty. 2589* [Bug 1972] checking for struct rtattr fails. 2590* [Bug 1975] libntp/mktime.c won't work with 64-bit time_t 2591* [Bug 1978] [Bug 1134] fix in 4.2.6p4-RC1 doesn't build on older Linux. 2592* Backport several fixes for Coverity warnings from ntp-dev. 2593* Backport if_nametoindex() check for hpux. 2594 2595--- 2596(4.2.6p4-RC1) 2011/07/10 Released by Harlan Stenn <stenn@ntp.org> 2597 2598* [Bug 1134] ntpd fails binding to tentative IPv6 addresses. 2599* [Bug 1790] Update config.guess and config.sub to detect AIX6. 2600* [Bug 1961] html2man needs an update. 2601* Update the NEWS file. 2602 2603--- 2604(4.2.6p4-beta2) 2011/05/25 Released by Harlan Stenn <stenn@ntp.org> 2605 2606* [Bug 1695] ntpdate takes longer than necessary. 2607* [Bug 1832] ntpdate doesn't allow timeout > 2s. 2608* [Bug 1933] WWVB/Spectracom driver timestamps LFs, not CRs. 2609* Backport utility routines from ntp-dev: mprintf(), emalloc_zero(). 2610 2611--- 2612(4.2.6p4-beta1) 2011/05/16 Released by Harlan Stenn <stenn@ntp.org> 2613 2614* [Bug 1554] peer may stay selected as system peer after becoming 2615 unreachable. 2616* [Bug 1921] LOCAL, ACTS drivers with "prefer" excluded from initial 2617 candidate list. 2618* [Bug 1923] orphan parent favored over LOCAL, ACTS drivers. 2619* [Bug 1924] Billboard tally codes sometimes do not match operation, 2620 variables. 2621* Enable tickadj-like taming of wildly off-spec Windows clock using 2622 NTPD_TICKADJ_PPM env. var. specifying baseline slew. 2623* Upgrade to AutoGen 5.11.9 (and require it). 2624* Upgrade to libopts 35.0.10 from AutoGen 5.11.9pre8. 2625 2626--- 2627(4.2.6p3) 2011/01/03 Released by Harlan Stenn <stenn@ntp.org> 2628 2629* [Bug 1764] Palisade driver doesn't build on Linux 2630* Create and use scripts/check--help when generating .texi files. 2631* Update bk triggers for the bk-5 release. 2632* Update genCommitLog for the bk-5 release. 2633* Update the copyright year. 2634 2635--- 2636(4.2.6p3-RC12) 2010/12/25 Released by Harlan Stenn <stenn@ntp.org> 2637 2638* [Bug 1458] Can not compile NTP on FreeBSD 4.7. 2639* [Bug 1510] Add modes 20/21 for driver 8 to support RAWDCF @ 75 baud. 2640* [Bug 1618] Unreachable code in jjy_start(). (backport from ntp-dev) 2641* [Bug 1719] ntp-keygen -V crash. (backport) 2642* [Bug 1740] ntpdc treats many counters as signed. (backport) 2643* [Bug 1741] Enable multicast reception on each address (Windows). 2644* [Bug 1742] Fix a typo in an error message in the "build" script. 2645* [Bug 1743] Display timezone offset when showing time for sntp in the 2646local timezone. 2647* [Bug 1751] Support for Atari FreeMiNT OS. 2648* [Bug 1754] --version output should be more verbose. 2649* [Bug 1757] oncore snprintf("%m") doesn't expand %m. 2650* [Bug 1758] setsockopt IPV6_MULTICAST_IF with wrong ifindex. 2651* [Bug 1760] ntpd Windows interpolation cannot be disabled. 2652* [Bug 1762] manycastclient solicitation responses interfere. 2653* Upgrade to libopts 34.0.9 from AutoGen 5.11.6pre7. 2654* Relax minimum Automake version to 1.10 with updated libopts.m4. 2655* Suppress ntp-keygen OpenSSL version display for --help, --version, 2656display both build and runtime OpenSSL versions when they differ. 2657* Clean up m4 quoting in configure.ac, *.m4 files, resolving 2658 intermittent AC_LANG_PROGRAM possibly undefined errors. 2659* Clean up the SNTP documentation. 2660* Other manycastclient repairs: 2661 Separate handling of scope ID embedded in many in6_addr from ifindex 2662 used for IPv6 multicasting ioctls. 2663 Add INT_PRIVACY endpt bit flag for IPv6 RFC 4941 privacy addresses. 2664 Enable outbound multicast from only one address per interface in the 2665 same subnet, and in that case prefer embedded MAC address modified 2666 EUI-64 IPv6 addresses first, then static, and last RFC 4941 privacy 2667 addresses. 2668 Use setsockopt(IP[V6]_MULTICAST_IF) before each send to multicast to 2669 select the local source address, using the correct socket is not 2670 enough. 2671 2672--- 2673(4.2.6p3-RC11) 2010/11/28 Released by Harlan Stenn <stenn@ntp.org> 2674 2675* [Bug 1725] ntpd sends multicast from only one address. 2676* [Bug 1728] In ntp_openssl.m4, don't add -I/usr/include or -L/usr/lib 2677 to CPPFLAGS or LDFLAGS. 2678* [Bug 1733] IRIX doesn't have 'head' (affects scripts/checkChangeLog). 2679* Remove log_msg() and debug_msg() from sntp in favor of msyslog(). 2680* Use a single copy of libopts/, in sntp/. 2681* Upgrade libopts to 33.3.8. 2682* Bump minimum Automake version to 1.11, required for AM_COND_IF 2683 use in LIBOPTS_CHECK. 2684* Improvements to the 'build' script. 2685 2686--- 2687(4.2.6p3-RC10) 2010/11/14 Released by Harlan Stenn <stenn@ntp.org> 2688 2689* [Bug 1681] More sntp logging cleanup. 2690* [Bug 1683] Non-localhost on loopback exempted from nic rules. 2691 2692--- 2693(4.2.6p3-RC9) 2010/11/10 Released by Harlan Stenn <stenn@ntp.org> 2694 2695* [Bug 1574] sntp:set_time doesn't set tv_usec correctly. 2696* [Bug 1681] sntp logging cleanup. 2697* [Bug 1683] Interface binding does not seem to work as intended. 2698* [Bug 1691] Use first NMEA sentence each second. 2699* [Bug 1692] packageinfo.sh needs to be "sourced" using ./ . 2700* [Bug 1709] ntpdate ignores replies with equal receive and transmit 2701 timestamps. 2702* Backport sntp from -dev 2703 2704--- 2705(4.2.6p3-RC8) 2010/10/29 Released by Harlan Stenn <stenn@ntp.org> 2706 2707* [Bug 1685] NMEA driver mode byte confusion. 2708* First cut at using scripts/checkChangeLog. 2709 2710--- 2711(4.2.6p3-RC7) 2010/10/25 Released by Harlan Stenn <stenn@ntp.org> 2712 2713* [Bug 1676] NMEA: $GPGLL did not work after fix for Bug 1571. 2714* Added scripts/checkChangeLog. 2715 2716--- 2717(4.2.6p3-RC6) 2010/10/24 Released by Harlan Stenn <stenn@ntp.org> 2718 2719* [Bug 1571] NMEA does not relate data to PPS edge. 2720* [Bug 1572] NMEA time adjustment for GPZDG buggy. 2721* [Bug 1675] Prohibit includefile remote config. 2722 2723--- 2724(4.2.6p3-RC5) 2010/10/22 Released by Harlan Stenn <stenn@ntp.org> 2725 2726* [Bug 1649] Require NMEA checksum if $GPRMC or previously seen. 2727* [Bug 1669] NTP 4.2.6p2 fails to compile on IBM AIX 5.3. 2728 2729--- 2730(4.2.6p3-RC4) 2010/10/16 Released by Harlan Stenn <stenn@ntp.org> 2731 2732* [Bug 1584] wrong SNMP type for precision, resolution. 2733* [Bug 1659] Need CLOCK_TRUETIME not CLOCK_TRUE. 2734* [Bug 1665] is_anycast() u_int32_t should be u_int32. 2735* ntpsnmpd, libntpq warning cleanup. 2736 2737--- 2738(4.2.6p3-RC3) 2010/10/14 Released by Harlan Stenn <stenn@ntp.org> 2739 2740* [Bug 750] Non-existing device causes coredump with RIPE-NCC driver. 2741* [Bug 1080] ntpd on ipv6 routers very chatty. 2742* [Bug 1567] Support Arbiter 1093C Satellite Clock on Windows. 2743* [Bug 1581] printf format string mismatch leftover. 2744* [Bug 1584] ntpsnmpd OID must be mib-2.197. 2745* [Bug 1643] Range-check the decoding of the RIPE-NCC status codes. 2746* [Bug 1644] cvo.sh should use lsb_release to identify linux distros. 2747* [Bug 1659] Support Truetime Satellite Clocks on Windows. 2748* [Bug 1660] On some systems, test is in /usr/bin, not /bin. 2749* [Bug 1661] Re-indent refclock_ripencc.c. 2750 2751--- 2752(4.2.6p3-RC2) 2010/09/25 Released by Harlan Stenn <stenn@ntp.org> 2753 2754* [Bug 1635] "filegen ... enable" is not default. 2755* [Bug 1636] yyparse() segfault after denied filegen remote config. 2756 2757--- 2758(4.2.6p3-RC1) 2010/09/18 Released by Harlan Stenn <stenn@ntp.org> 2759 2760* [Bug 1344] ntpd on Windows exits without logging cause. 2761 2762--- 2763(4.2.6p3-beta1) 2010/09/11 Released by Harlan Stenn <stenn@ntp.org> 2764 2765* [Bug 1573] Miscalculation of offset in sntp. 2766* [Bug 1595] empty last line in key file causes duplicate key to be added 2767* [Bug 1597] packet processing ignores RATE KoD packets, because of 2768 a bug in string comparison. 2769* [Bug 1581] ntp_intres.c size_t printf format string mismatch. 2770 2771--- 2772(4.2.6p2) 2010/07/09 Released by Harlan Stenn <stenn@ntp.org> 2773 2774* [Bug 1581] size_t printf format string mismatches, IRIG string buffers 2775 undersized. Mostly backported from earlier ntp-dev fixes by Juergen 2776 Perlinger. 2777 2778--- 2779(4.2.6p2-RC7) 2010/06/19 Released by Harlan Stenn <stenn@ntp.org> 2780 2781* [Bug 1570] serial clock drivers get outdated input from kernel tty 2782 line buffer after startup 2783* [Bug 1575] use 'snprintf' with LIB_BUFLENGTH in inttoa.c, tvtoa.c and 2784 utvtoa.c 2785* [Bug 1576] sys/sysctl.h depends on sys/param.h on OpenBSD. 2786 2787--- 2788(4.2.6p2-RC6) 2010/06/12 Released by Harlan Stenn <stenn@ntp.org> 2789 2790* [Bug 715] libisc Linux IPv6 interface iteration drops multicast flags. 2791 2792--- 2793(4.2.6p2-RC5) 2010/06/03 Released by Harlan Stenn <stenn@ntp.org> 2794 2795* [Bug 1561] ntpq, ntpdc "passwd" prompts for MD5 password w/SHA1. 2796* [Bug 1565] sntp/crypto.c compile fails on MacOS over vsnprintf(). 2797* Windows port: do not exit in ntp_timestamp_from_counter() without 2798 first logging the reason. 2799* Support "passwd blah" syntax in ntpq. 2800 2801--- 2802(4.2.6p2-RC4) 2010/05/19 Released by Harlan Stenn <stenn@ntp.org> 2803 2804* [Bug 1555] 4.2.6p2-RC3 sntp illegal C (mixed code and declarations). 2805 2806--- 2807(4.2.6p2-RC3) 2010/05/11 Released by Harlan Stenn <stenn@ntp.org> 2808 2809* [Bug 1325] unreachable code in sntp recv_bcst_data(). 2810* [Bug 1459] sntp MD5 authentication does not work with ntpd. 2811* [Bug 1512] ntpsnmpd should connect to net-snmpd via a unix-domain 2812 socket by default. Provide a command-line 'socket name' option. 2813* [Bug 1538] update refclock_nmea.c's call to getprotobyname(). 2814* [Bug 1541] Fix wrong keyword for "maxclock". 2815* [Bug 1552] update and complete broadcast and crypto features in sntp. 2816* [Bug 1553] sntp/configure.ac OpenSSL support. 2817* Escape unprintable characters in a refid in ntpq -p billboard. 2818* Simplify hash client code by providing OpenSSL EVP_*() API when built 2819 without OpenSSL. (from ntp-dev) 2820* Do not depend on ASCII values for ('A' - '0'), ('a' - '0') in sntp. 2821* Windows compiling hints/winnt.html update from G. Sunil Tej. 2822 2823--- 2824(4.2.6p2-RC2) 2010/04/27 Released by Harlan Stenn <stenn@ntp.org> 2825 2826* [Bug 1465] Make sure time from TS2100 is not invalid (backport from 2827 ntp-dev). 2828* [Bug 1528] Fix EDITLINE_LIBS link order for ntpq and ntpdc. 2829* [Bug 1534] win32/include/isc/net.h conflicts with VC++ 2010 errno.h. 2830* [Bug 1535] "restrict -4 default" and "restrict -6 default" ignored. 2831* Remove --with-arlib from br-flock. 2832 2833--- 2834(4.2.6p2-RC1) 2010/04/18 Released by Harlan Stenn <stenn@ntp.org> 2835 2836* [Bug 1503] Auto-enabling of monitor for "restrict ... limited" wrong. 2837* [Bug 1504] ntpdate tickles ntpd "discard minimum 1" rate limit if 2838 "restrict ... limited" is used. 2839* [Bug 1518] Windows ntpd should lock to one processor more 2840 conservatively. 2841* [Bug 1522] Enable range syntax "trustedkey (301 ... 399)". 2842* Update html/authopt.html controlkey, requestkey, and trustedkey docs. 2843 2844--- 2845(4.2.6p1) 2010/04/09 Released by Harlan Stenn <stenn@ntp.org> 2846(4.2.6p1-RC6) 2010/03/31 Released by Harlan Stenn <stenn@ntp.org> 2847 2848* [Bug 1514] Typo in ntp_proto.c: fabs(foo < .4) should be fabs(foo) < .4. 2849* [Bug 1464] synchronization source wrong for refclocks ARCRON_MSF (27) 2850 and SHM (28). 2851* Correct Windows port's refclock_open() to return 0 on failure not -1. 2852* Correct CHU, dumbclock, and WWVB drivers to check for 0 returned from 2853 refclock_open() on failure. 2854* Correct "SIMUL=4 ./flock-build -1" to prioritize -1/--one. 2855 2856--- 2857(4.2.6p1-RC5) 2010/02/09 Released by Harlan Stenn <stenn@ntp.org> 2858 2859* [Bug 1140] Clean up debug.html, decode.html, and ntpq.html. 2860* [Bug 1438] Remove dead code from sntp/networking.c. 2861* [Bug 1477] 1st non-gmake make in clone w/VPATH can't make COPYRIGHT. 2862* [Bug 1478] linking fails with undefined reference EVP_MD_pkey_type. 2863* [Bug 1479] Compilation fails because of not finding readline headers. 2864* [Bug 1480] snprintf() cleanup caused unterminated refclock IDs. 2865* [Bug 1484] ushort is not defined in QNX6. 2866 2867--- 2868(4.2.6p1-RC4) 2010/02/04 Released by Harlan Stenn <stenn@ntp.org> 2869 2870* [Bug 1455] ntpd does not try /etc/ntp.audio as documented. 2871* [Bug 1467] Fix bogus rebuild of sntp/sntp.html 2872* [Bug 1470] "make distdir" in $srcdir builds keyword-gen, libntp.a. 2873* [Bug 1473] "make distcheck" before build can't make sntp/version.m4. 2874* [Bug 1474] ntp_keygen needs LCRYPTO after libntp.a. 2875* Convert many sprintf() calls to snprintf(), also strcpy(), strcat(). 2876* Fix widely cut-n-pasted bug in refclock shutdown after failed start. 2877* Remove some dead code checking for emalloc() returning NULL. 2878* Remove arlib. 2879 2880--- 2881(4.2.6p1-RC3) 2010/01/24 Released by Harlan Stenn <stenn@ntp.org> 2882 2883* Use TZ=UTC instead of TZ= when calling date in scripts/mkver.in . 2884* [Bug 1448] Some macros not correctly conditionally or absolutely defined 2885 on Windows. 2886* [Bug 1449] ntpsim.h in ntp_config.c should be used conditionally. 2887* [Bug 1450] Option to exclude warnings not unconditionally defined on Windows. 2888* [Bug 1127] Properly check the return of X590_verify() - missed one. 2889* [Bug 1439] .texi generation must wait until after binary is linked. 2890* [Bug 1440] Update configure.ac to support kfreebsd. 2891* [Bug 1445] IRIX does not have -lcap or support linux capabilities. 2892* [Bug 1451] CID 115: sntp leaks KoD entry when updating existing. 2893* [Bug 1453] Use $CC in config.cache filename in ./build script. 2894 2895--- 2896(4.2.6p1-RC2) 2009/12/25 Released by Harlan Stenn <stenn@ntp.org> 2897 2898* [Bug 1411] Fix status messages in refclock_oncore.c. 2899* [Bug 1416] MAXDNAME undefined on Solaris 2.6. 2900* [Bug 1419] ntpdate, ntpdc, sntp, ntpd ignore configure --bindir. 2901* [Bug 1424] Fix check for rtattr (rtnetlink.h). 2902* [Bug 1425] unpeer by association ID sets up for duplicate free(). 2903* [Bug 1426] scripts/VersionName needs . on the search path. 2904* [Bug 1427] quote missing in ./build - shows up on NetBSD. 2905* [Bug 1428] Use AC_HEADER_RESOLV to fix breaks from resolv.h 2906* [Bug 1429] ntpd -4 option does not reliably force IPv4 resolution. 2907* [Bug 1431] System headers must come before ntp headers in ntp_intres.c . 2908* [Bug 1434] HP-UX 11 ip_mreq undeclared, _HPUX_SOURCE helps some. 2909* [Bug 1435] sntp: Test for -lresolv using the same tests as in ntp. 2910 2911--- 2912(4.2.6p1-RC1) 2009/12/20 Released by Harlan Stenn <stenn@ntp.org> 2913 2914* [Bug 1409] Put refclock_neoclock4x.c under the NTP COPYRIGHT notice. 2915 This should allow debian and other distros to add this refclock driver 2916 in further distro releases. 2917 Detect R2 hardware releases. 2918* [Bug 1412] m4/os_cflags.m4 caches results that depend on $CC. 2919* [Bug 1413] test OpenSSL headers regarding -Wno-strict-prototypes. 2920* [Bug 1414] Enable "make distcheck" success with BSD make. 2921* [Bug 1415] Fix Mac OS X link problem. 2922* [Bug 1418] building ntpd/ntpdc/ntpq statically with ssl fails. 2923* Build infrastructure updates to enable beta releases of ntp-stable. 2924 2925--- 2926(4.2.6) 2009/12/09 Released by Harlan Stenn <stenn@ntp.org> 2927* [Sec 1331] from4.2.4p8: DoS with mode 7 packets - CVE-2009-3563. 2928* [Bug 508] Fixed leap second handling for Windows. 2929(4.2.5p250-RC) 2009/11/30 Released by Harlan Stenn <stenn@ntp.org> 2930* sntp documentation updates. 2931* [Bug 761] internal resolver does not seem to honor -4/-6 qualifiers 2932* [Bug 1386] Deferred DNS doesn't work on NetBSD 2933* [Bug 1391] avoid invoking autogen twice for .c and .h files. 2934* [Bug 1397] shmget() refclock_shm failing because of file mode. 2935* Pass no_needed to ntp_intres as first part of fixing [Bug 975]. 2936* Add ./configure --enable-force-defer-DNS to help debugging. 2937(4.2.5p249-RC) 2009/11/28 Released by Harlan Stenn <stenn@ntp.org> 2938* [Bug 1400] An empty KOD DB file causes sntp to coredump. 2939* sntp: documentation cleanup. 2940* sntp: clean up some error messages. 2941* sntp: Use the precision to control how many offset digits are shown. 2942* sntp: Show root dispersion. 2943* Cleanup from the automake/autoconf upgrades. 2944(4.2.5p248-RC) 2009/11/26 Released by Harlan Stenn <stenn@ntp.org> 2945* Prepare for the generation of sntp.html. 2946* Documentation changes from Dave Mills. 2947* [Bug 1387] Storage leak in ntp_intres (minor). 2948* [Bug 1389] buffer overflow in refclock_oncore.c 2949* [Bug 1391] .texi usage text from installed, not built binaries. 2950* [Bug 1392] intres retries duplicate assocations endlessly. 2951* Correct *-opts.h dependency so default 'get' action isn't used. 2952(4.2.5p247-RC) 2009/11/20 Released by Harlan Stenn <stenn@ntp.org> 2953* [Bug 1142] nodebug builds shed no light on -d, -D option failure. 2954* [Bug 1179] point out the problem with -i/--jaildir and -u/--user when 2955 they are disabled by configure. 2956* [Bug 1308] support systems that lack fork(). 2957* [Bug 1343] sntp doesn't link on Solaris 7, needs -lresolv. 2958(4.2.5p246-RC) 2009/11/17 Released by Harlan Stenn <stenn@ntp.org> 2959* Upgrade to autogen-5.10 2960* [Bug 1378] Unnecessary resetting of peers during interface update. 2961* [Bug 1382] p245 configure --disable-dependency-tracking won't build. 2962* [Bug 1384] ntpq :config core dumped with a blank password. 2963(4.2.5p245-RC) 2009/11/14 Released by Harlan Stenn <stenn@ntp.org> 2964* Cleanup from Dave Mills. 2965* [Bug 1343] sntp illegal C does not compile on Solaris 7. 2966* [Bug 1381] Version .deps generated include file dependencies to allow 2967 known dependency-breaking changes to force .deps to be cleaned, 2968 triggered by changing the contents of deps-ver and/or sntp/deps-ver. 2969(4.2.5p244-RC) 2009/11/12 Released by Harlan Stenn <stenn@ntp.org> 2970* keygen.html updates from Dave Mills. 2971* [Bug 1003] ntpdc unconfig command doesn't prompt for keyid. 2972* [Bug 1376] Enable authenticated ntpq and ntpdc using newly-available 2973 digest types. 2974* ntp-keygen, Autokey OpenSSL build vs. run version mismatch is now a 2975 non-fatal warning. 2976(4.2.5p243-RC) 2009/11/11 Released by Harlan Stenn <stenn@ntp.org> 2977* [Bug 1226] Fix deferred DNS lookups. 2978* new crypto signature cleanup. 2979(4.2.5p242-RC) 2009/11/10 Released by Harlan Stenn <stenn@ntp.org> 2980* [Bug 1363] CID 92 clarify fallthrough case in clk_trimtsip.c 2981* [Bug 1366] ioctl(TIOCSCTTY, 0) fails on NetBSD *[0-2].* > 3.99.7. 2982* [Bug 1368] typos in libntp --without-crypto case 2983* [Bug 1371] deferred DNS lookup failing with INFO_ERR_AUTH. 2984* CID 87 dead code in ntpq.c atoascii(). 2985* Fix authenticated ntpdc, broken in p240. 2986* Stub out isc/mem.h, shaving 47k from a MIPS ntpd binary. 2987* Shrink keyword scanner FSM entries from 64 to 32 bits apiece. 2988* Documention updates from Dave Mills. 2989* authkeys.c cleanup from Dave Mills. 2990(4.2.5p241-RC) 2009/11/07 Released by Harlan Stenn <stenn@ntp.org> 2991* html/authopt.html update from Dave Mills. 2992* Remove unused file from sntp/Makefile.am's distribution list. 2993* new crypto signature cleanup. 2994(4.2.5p240-RC) 2009/11/05 Released by Harlan Stenn <stenn@ntp.org> 2995* [Bug 1364] clock_gettime() not detected, need -lrt on Debian 5.0.3. 2996* Provide all of OpenSSL's signature methods for ntp.keys (FIPS 140-2). 2997(4.2.5p239-RC) 2009/10/30 Released by Harlan Stenn <stenn@ntp.org> 2998* [Bug 1357] bogus assert from refclock_shm. 2999* [Bug 1359] Debug message cleanup. 3000* CID 101: more pointer/array cleanup. 3001* [Bug 1356] core dump from refclock_nmea when can't open /dev/gpsU. 3002* [Bug 1358] AIX 4.3 sntp/networking.c IPV6_JOIN_GROUP undeclared. 3003* CID 101: pointer/array cleanup. 3004(4.2.5p238-RC) 2009/10/27 Released by Harlan Stenn <stenn@ntp.org> 3005* Changes from Dave Mills. 3006* driver4.html updates from Dave Mills. 3007* [Bug 1252] PPSAPI cleanup on ntpd/refclock_wwvb.c. 3008* [Bug 1354] libtool error building after bootstrap with Autoconf 2.64. 3009* Allow NTP_VPATH_HACK configure test to handle newer gmake versions. 3010* CIDs 94-99 make it more clearly impossible for sock_hash() to return 3011 a negative number. 3012* CID 105, 106 ensure ntpdc arrays are not overrun even if callers 3013 misbehave. 3014* CID 113 use va_end() in refclock_true.c true_debug(). 3015* Get rid of configure tests for __ss_family and __ss_len when the more 3016 common ss_family and ss_len are present. 3017(4.2.5p237-RC) 2009/10/26 Released by Harlan Stenn <stenn@ntp.org> 3018* [Bug 610] NMEA support for using PPSAPI on a different device. 3019* [Bug 1238] use only fudge time2 to offset NMEA serial timestamp. 3020* [Bug 1355] ntp-dev won't compile on OpenBSD 4.6. 3021(4.2.5p236-RC) 2009/10/22 Released by Harlan Stenn <stenn@ntp.org> 3022* Cleanup from Dave Mills. 3023* [Bug 1343] ntpd/ntp_io.c close_fd() does not compile on Solaris 7. 3024* [Bug 1353] ntpq "rv 0 settimeofday" always shows UNKNOWN on unix. 3025* Do not attempt to execute built binaries from ntpd/Makefile when 3026 cross-compiling (keyword-gen and ntpd --saveconfigquit). 3027* sntp/main.c: Remove duplicate global adr_buf[] (also defined in 3028 networking.c) which Piotr Grudzinski identified breaking his build. 3029* Correct in6addr_any test in configure.ac to attempt link too. 3030(4.2.5p235-RC) 2009/10/18 Released by Harlan Stenn <stenn@ntp.org> 3031* [Bug 1343] lib/isc build breaks on systems without IPv6 headers. 3032(4.2.5p234-RC) 2009/10/16 Released by Harlan Stenn <stenn@ntp.org> 3033* [Bug 1339] redux, use unmodified lib/isc/win32/strerror.c and 3034 move #define strerror... to a header not used by lib/isc code. 3035* [Bug 1345] illegal 'grep' option prevents compilation. 3036* [Bug 1346] keyword scanner broken where char defaults to unsigned. 3037* [Bug 1347] ntpd/complete.conf missing multicastclient test case. 3038(4.2.5p233-RC) 2009/10/15 Released by Harlan Stenn <stenn@ntp.org> 3039* [Bug 1337] cast setsockopt() v4 address pointer to void *. 3040* [Bug 1342] ignore|drop one IPv6 address on an interface blocks all 3041 addresses on that interface. 3042* Documentation cleanup and updates. 3043(4.2.5p232-RC) 2009/10/14 Released by Harlan Stenn <stenn@ntp.org> 3044* [Bug 1302] OpenSSL under Windows needs applink support. 3045* [Bug 1337] fix incorrect args to setsockopt(fd, IP_MULTICAST_IF,...). 3046* [Bug 1339] Fix Windows-only ntp_strerror() infinite recursion. 3047* [Bug 1341] NMEA driver requires working PPSAPI #ifdef HAVE_PPSAPI. 3048* Construct ntpd keyword scanner finite state machine at compile time 3049 rather than at runtime, shrink entries from 40+ to 8 bytes. 3050* Update documentation for ntpq --old-rv, saveconfig, saveconfigdir, 3051 ntpd -I -L and -M, and interface/nic rules. (From Dave Hart) 3052* [Bug 1337] fix incorrect args to setsockopt(fd, IP_MULTICAST_IF,...) 3053(4.2.5p231-RC) 2009/10/10 Released by Harlan Stenn <stenn@ntp.org> 3054* [Bug 1335] Broadcast client degraded by wildcard default change. 3055(4.2.5p230-RC) 2009/10/09 Released by Harlan Stenn <stenn@ntp.org> 3056* Start the 4.2.6 Release Candidate cycle. 3057* Broadcast and transit phase cleanup from Dave Mills. 3058(4.2.5p229) 2009/10/07 Released by Harlan Stenn <stenn@ntp.org> 3059* [Bug 1334] ntpsnmpd undefined reference to `ntpqOptions'. 3060* Change ntpsnmpd/Makefile.am include file order to fix FreeBSD build. 3061(4.2.5p228) 2009/10/06 Released by Harlan Stenn <stenn@ntp.org> 3062* Reclaim syntax tree memory after application in ntpd built with 3063 configure --disable-saveconfig. 3064* [Bug 1135] ntpq uses sizeof(u_long) where sizeof(u_int32) is meant. 3065* [Bug 1333] ntpd --interface precedence over --novirtualips lost. 3066(4.2.5p227) 2009/10/05 Released by Harlan Stenn <stenn@ntp.org> 3067* [Bug 1135] :config fails with "Server disallowed request" 3068* [Bug 1330] disallow interface/nic rules when --novirtualips or 3069 --interface are used. 3070* [Bug 1332] ntpq -c 'rv 0 variablename' returns extra stuff. 3071* Add test of ntpd --saveconfigquit fidelity using new complete.conf. 3072* Documentation updates from Dave Hart/Dave Mills. 3073(4.2.5p226) 2009/10/04 Released by Harlan Stenn <stenn@ntp.org> 3074* [Bug 1318] Allow multiple -g options on ntpd command line. 3075* [Bug 1327] ntpq, ntpdc, ntp-keygen -d & -D should work with configure 3076 --disable-debugging. 3077* Add ntpd --saveconfigquit <filename> option for future build-time 3078 testing of saveconfig fidelity. 3079* Clockhop and autokey cleanup from Dave Mills. 3080* Documentation updates from Dave Mills. 3081(4.2.5p225) 2009/09/30 Released by Harlan Stenn <stenn@ntp.org> 3082* authopt documentation changes from Dave Mills/Dave Hart. 3083* [Bug 1324] support bracketed IPv6 numeric addresses for restrict. 3084(4.2.5p224) 2009/09/29 Released by Harlan Stenn <stenn@ntp.org> 3085* Clockhop and documentation fixes from Dave Mills. 3086* Remove "tos maxhop" ntp.conf knob. 3087(4.2.5p223) 2009/09/28 Released by Harlan Stenn <stenn@ntp.org> 3088* [Bug 1321] build doesn't work if . isn't on $PATH. 3089* [Bug 1323] Implement "revoke #" to match documentation, deprecate 3090 "crypto revoke #". 3091(4.2.5p222) 2009/09/27 Released by Harlan Stenn <stenn@ntp.org> 3092* Update libisc code using bind-9.6.1-P1.tar.gz, rearrange our copy to 3093 mirror the upstream layout (lib/isc/...), and merge in NTP-local 3094 modifications to libisc. There is a new procedure to ease future 3095 libisc merges using a separate "upstream" bk repo. That will enable 3096 normal bk pull automerge to handle carrying forward any local changes 3097 and should enable us to take updated libisc snapshots more often. 3098* Updated build and flock-build scripts. flock-build --one is a way 3099 to perform a flock-build compatible solitary build, handy for a repo 3100 clone's first build on a machine with autoconf, automake, etc. 3101* Compiling ntp_parser.y using BSD make correctly places ntp_parser.h 3102 in the top-level ntpd directory instead of A.*/ntpd. 3103* bootstrap script updated to remove potentially stale .deps dirs. 3104* Remove unneeded Makefile.am files from the lib/isc/include tree. 3105(4.2.5p221) 2009/09/26 Released by Harlan Stenn <stenn@ntp.org> 3106* [Bug 1316] segfault if refclock_nmea can't open file. 3107* [Bug 1317] Distribute cvo.sh. 3108(4.2.5p220) 2009/09/25 Released by Harlan Stenn <stenn@ntp.org> 3109* Rearrange libisc code to match the upstream layout in BIND. This is 3110 step one of two, changing the layout but keeping our existing libisc. 3111(4.2.5p219) 2009/09/24 Released by Harlan Stenn <stenn@ntp.org> 3112* [Bug 1315] "interface ignore 0.0.0.0" is ignored. 3113* add implicit "nic ignore all" rule before any rules from ntp.conf, so 3114 "nic listen eth0" alone means the same as "-I eth0". 3115* add wildcard match class for interface/nic rules. 3116* fix mistaken carryover of prefixlen from one rule to the next. 3117* Ensure IPv6 localhost address ::1 is included in libisc's Windows IPv6 3118 address enumeration, allowing ntpq and ntpdc's hardcoding to 127.0.0.1 3119 on Windows to end. 3120(4.2.5p218) 2009/09/21 Released by Harlan Stenn <stenn@ntp.org> 3121* [Bug 1314] saveconfig emits -4 and -6 on when not given. 3122* correct parsing and processing of setvar directive. 3123* highlight location of ntpq :config syntax errors with ^. 3124* clarify (former) NO_ARG, SINGLE_ARG, MULTIPLE_ARG renaming to 3125 FOLLBY_TOKEN, FOLLBY_STRING, FOLLBY_STRINGS_TO_EOC. 3126* parser, saveconfig cleanup to store T_ identifiers in syntax tree. 3127(4.2.5p217) 2009/09/20 Released by Harlan Stenn <stenn@ntp.org> 3128* [Bug 1300] reject remote configuration of dangerous items. 3129(4.2.5p216) 2009/09/19 Released by Harlan Stenn <stenn@ntp.org> 3130* [Bug 1312] ntpq/ntpdc MD5 passwords truncated to 8 chars on Suns. 3131* CID 10 missing free(up); in refclock_palisade.c error return, again. 3132* CID 83 added assertion to demonstrate config_nic_rules() does not 3133 call strchr(NULL, '/'). 3134(4.2.5p215) 2009/09/18 Released by Harlan Stenn <stenn@ntp.org> 3135* [Bug 1292] Workaround last VC6 unsigned __int64 kink. 3136(4.2.5p214) 2009/09/17 Released by Harlan Stenn <stenn@ntp.org> 3137* [Bug 1303] remove top-level "autokey" directive. 3138* use "nic listen 192.168.0.0/16" instead of 3139 "nic listen 192.168.0.0 prefixlen 16". 3140(4.2.5p213) 2009/09/16 Released by Harlan Stenn <stenn@ntp.org> 3141* [Bug 1310] fix Thunderbolt mode in refclock_palisade.c 3142(4.2.5p212) 2009/09/15 Released by Harlan Stenn <stenn@ntp.org> 3143* [Bug 983] add interface [listen | ignore | drop] ... directive. 3144* [Bug 1243] MD5auth_setkey zero-fills key from first zero octet. 3145* [Bug 1295] leftover fix, do not crash on exit in free_config_trap() 3146 when "trap 1.2.3.4" is used without any further options. 3147* [Bug 1311] 4.2.5p211 doesn't build in no-debug mode. 3148* document interface (alias nic) and unpeer. 3149* Correct syntax error line & column numbers. 3150* CID 79: kod_init_kod_db() fails to fclose(db_s) in two error paths. 3151* CID 80: attempt to quiet Coverity false positive re: leaking "reason" 3152 in main(). 3153* Documentation updates from Dave Mills. 3154* CID 81: savedconfig leaked in save_config(). 3155* Make the code agree with the spec and the book (Dave Mills). 3156(4.2.5p211) 2009/09/14 Released by Harlan Stenn <stenn@ntp.org> 3157* [Bug 663] respect ntpq -c and -p order on command line. 3158* [Bug 1292] more VC6 unsigned __int64 workarounds. 3159* [Bug 1296] Added Support for Trimble Acutime Gold. 3160(4.2.5p210) 2009/09/06 Released by Harlan Stenn <stenn@ntp.org> 3161* [Bug 1294] Use OPENSSL_INC and OPENSSL_LIB macros for Windows 3162 and remove unnecessary reference to applink.c for Windows 3163* [Bug 1295] trap directive options are not optional. 3164* [Bug 1297] yylex() must always set yylval before returning. 3165(4.2.5p209) 2009/09/01 Released by Harlan Stenn <stenn@ntp.org> 3166* [Bug 1290] Fix to use GETTIMEOFDAY macro 3167* [Bug 1289] Update project files for VC6, VS2003, VS2005, VS 2008 3168(4.2.5p208) 2009/08/30 Released by Harlan Stenn <stenn@ntp.org> 3169* [Bug 1293] make configuration dumper ready for release, specifically: 3170* rename ntpq dumpcfg command to "saveconfig". 3171* require authentication for saveconfig. 3172* "restrict ... nomodify" prevents saveconfig and :config. 3173* "saveconfig ." shorthand to save to startup configuration file. 3174* support strftime() substitution in saveconfig arg to timestamp 3175 the output filename, for example "saveconfig %Y%m%d-%H%M%S.conf". 3176* display saveconfig response message from ntpd in ntpq. 3177* save output filename in "savedconfig" variable, fetched with ntpq -c 3178 "rv 0 savedconfig". 3179* document saveconfig in html/ntpq.html. 3180* add ./configure --disable-saveconfig to build a smaller ntpd. 3181* log saveconfig failures and successes to syslog. 3182(4.2.5p207) 2009/08/29 Released by Harlan Stenn <stenn@ntp.org> 3183* [Bug 1292] Minor Windows source tweaks for VC6-era SDK headers. 3184(4.2.5p206) 2009/08/26 Released by Harlan Stenn <stenn@ntp.org> 3185* accopt.html typo fixes from Dave Mills. 3186* [Bug 1283] default to remembering KoD in sntp. 3187* clean up numerous sntp/kod_management.c bugs. 3188* use all addresses resolved from each DNS name in sntp. 3189(4.2.5p205) 2009/08/18 Released by Harlan Stenn <stenn@ntp.org> 3190* accopt.html typo fixes from Dave Mills. 3191* [Bug 1285] Log ntpq :config/config-from-file events. 3192* [Bug 1286] dumpcfg omits statsdir, mangles filegen. 3193(4.2.5p204) 2009/08/17 Released by Harlan Stenn <stenn@ntp.org> 3194* [Bug 1284] infinite loop in ntpd dumping more than one trustedkey 3195(4.2.5p203) 2009/08/16 Released by Harlan Stenn <stenn@ntp.org> 3196* Add ntpq -c dumpcfg, Google Summer of Code project of Max Kuehn 3197(4.2.5p202) 2009/08/14 Released by Harlan Stenn <stenn@ntp.org> 3198* install the binary and man page for sntp. 3199(4.2.5p201) 2009/08/13 Released by Harlan Stenn <stenn@ntp.org> 3200* sntp: out with the old, in with the new. 3201(4.2.5p200) 2009/08/12 Released by Harlan Stenn <stenn@ntp.org> 3202* [Bug 1281] Build ntpd on Windows without big SDK download, burn, 3203 and install by checking in essentially unchanging messages.mc build 3204 products to avoid requiring mc.exe, which is not included with VC++ 3205 2008 EE. 3206(4.2.5p199) 2009/08/09 Released by Harlan Stenn <stenn@ntp.org> 3207* [Bug 1279] Cleanup for warnings from Veracode static analysis. 3208(4.2.5p198) 2009/08/03 Released by Harlan Stenn <stenn@ntp.org> 3209* Upgrade to autogen-5.9.9-pre5. 3210(4.2.5p197) 2009/07/30 Released by Harlan Stenn <stenn@ntp.org> 3211* The build script now has . at the end of PATH for config.guess. 3212(4.2.5p196) 2009/07/29 Released by Harlan Stenn <stenn@ntp.org> 3213* [Bug 1272] gsoc_sntp IPv6 build problems under HP-UX 10. 3214* [Bug 1273] CID 10: Palisade leaks unit struct in error path. 3215* [Bug 1274] CID 67: ensure resolve_hosts() output count and pointers 3216 are consistent. 3217* [Bug 1275] CID 45: CID 46: old sntp uses uninitialized guesses[0], 3218 precs[0]. 3219* [Bug 1276] CID 52: crypto_xmit() may call crypto_alice[23]() 3220 with NULL peer. 3221(4.2.5p195) 2009/07/27 Released by Harlan Stenn <stenn@ntp.org> 3222* cvo.sh: Add support for CentOS, Fedora, Slackware, SuSE, and QNX. 3223(4.2.5p194) 2009/07/26 Released by Harlan Stenn <stenn@ntp.org> 3224* Documentation updates from Dave Mills. 3225* Use scripts/cvo.sh in the build script to get better subdir names. 3226(4.2.5p193) 2009/07/25 Released by Harlan Stenn <stenn@ntp.org> 3227* [Bug 1261] CID 34: simulate_server() rbuf.msg_flags uninitialized. 3228* [Bug 1262] CID 35: xpkt.mac uninitialized in simulate_server(). 3229* [Bug 1263] CID 37: CID 38: CID 40: CID 43: multiple refclocks 3230 uninitialized tm_zone (arc, chronolog, dumbclock, pcf). 3231* [Bug 1264] CID 64: gsoc_sntp on_wire() frees wrong ptr receiving KoD. 3232* [Bug 1265] CID 65: CID 66: gsoc_sntp on_wire() leaks x_pkt, r_pkt. 3233* [Bug 1266] CID 39: datum_pts_start() uninitialized arg.c_ospeed. 3234* [Bug 1267] CID 44: old sntp handle_saving() writes stack garbage to 3235 file when clearing. 3236* [Bug 1268] CID 63: resolve_hosts() leaks error message buffer. 3237* [Bug 1269] CID 74: use assertion to ensure move_fd() does not return 3238 negative descriptors. 3239* [Bug 1270] CID 70: gsoc_sntp recv_bcst_data mdevadr.ipv6mr_interface 3240 uninitialized. 3241(4.2.5p192) 2009/07/24 Released by Harlan Stenn <stenn@ntp.org> 3242* [Bug 965] CID 42: ss_family uninitialized. 3243* [Bug 1250] CID 53: kod_init_kod_db() overruns kod_db malloc'd buffer. 3244* [Bug 1251] CID 68: search_entry() mishandles dst argument. 3245* [Bug 1252] CID 32: Quiet Coverity warning with assertion. 3246* [Bug 1253] CID 50: gsoc_sntp/crypto.c auth_init() always returns a 3247 list with one entry. 3248* [Bug 1254] CID 56: tv_to_str() leaks a struct tm each call. 3249* [Bug 1255] CID 55: pkt_output() leaks a copy of each packet. 3250* [Bug 1256] CID 51: Coverity doesn't recognize our assertion macros as 3251 terminal. 3252* [Bug 1257] CID 57: gsoc_sntp auth_init() fails to fclose(keyfile). 3253* [Bug 1258] CID 54: gsoc_sntp resolve_hosts() needs simplification. 3254* [Bug 1259] CID 59: gsoc_sntp recv_bcast_data() fails to free(rdata) 3255 on error paths. 3256* [Bug 1260] CID 60: gsoc_sntp recvpkt() fails to free(rdata). 3257* Updated to AutoGen-5.9.9pre2. 3258(4.2.5p191) 2009/07/21 Released by Harlan Stenn <stenn@ntp.org> 3259* Updated to AutoGen-5.9.9pre1. 3260(4.2.5p190) 2009/07/20 Released by Harlan Stenn <stenn@ntp.org> 3261* Updated to AutoGen-5.9.8. 3262* [Bug 1248] RES_MSSNTP typo in ntp_proto.c. 3263* [Bug 1246] use a common template for singly-linked lists, convert most 3264 doubly-linked lists to singly-linked. 3265* Log warning about signd blocking when restrict mssntp used. 3266(4.2.5p189) 2009/07/16 Released by Harlan Stenn <stenn@ntp.org> 3267* Documentation cleanup from Dave Mills. 3268(4.2.5p188) 2009/07/15 Released by Harlan Stenn <stenn@ntp.org> 3269* [Bug 1245] Broken xmt time sent in fast_xmit() of 4.2.5p187. 3270(4.2.5p187) 2009/07/11 Released by Harlan Stenn <stenn@ntp.org> 3271* [Bug 1042] multicast listeners IPv4+6 ignore new interfaces. 3272* [Bug 1237] Windows serial code treat CR and LF both as line 3273 terminators. 3274* [Bug 1238] use fudge time2 for serial timecode offset in NMEA driver. 3275* [Bug 1242] Remove --enable-wintime, symmetric workaround is now 3276 always enabled. 3277* [Bug 1244] NTP_INSIST(fd != maxactivefd) failure in intres child 3278* Added restrict keyword "mssntp" for Samba4 DC operation, by Dave Mills. 3279(4.2.5p186) 2009/07/08 Released by Harlan Stenn <stenn@ntp.org> 3280* ntp_proto.c cleanup from Dave Mills. 3281(4.2.5p185) 2009/07/01 Released by Harlan Stenn <stenn@ntp.org> 3282* Documentation updates from Dave Mills. 3283* [Bug 1234] convert NMEA driver to use common PPSAPI code. 3284* timepps-Solaris.h pps_handle_t changed from pointer to scalar 3285* Spectracom refclock added to Windows port of ntpd 3286* [Bug 1236] Declaration order fixed. 3287* Bracket private ONCORE debug statements with #if 0 rather than #ifdef 3288 DEBUG 3289* Delete ONCORE debug statement that is now handled elsewhere. 3290(4.2.5p184) 2009/06/24 Released by Harlan Stenn <stenn@ntp.org> 3291* [Bug 1233] atom refclock fudge time1 sign flipped in 4.2.5p164. 3292(4.2.5p183) 2009/06/23 Released by Harlan Stenn <stenn@ntp.org> 3293* [Bug 1196] setsockopt(SO_EXCLUSIVEADDRUSE) can fail on Windows 2000 3294 and earlier with WSAINVAL, do not log a complaint in that case. 3295* [Bug 1210] ONCORE driver terminates ntpd without logging a reason. 3296* [Bug 1218] Correct comment in refclock_oncore on /etc/ntp.oncore* 3297 configuration file search order. 3298* Change ONCORE driver to log using msyslog as well as to any 3299 clockstats file. 3300* [Bug 1231] ntpsnmpd build fails after sockaddr union changes. 3301(4.2.5p182) 2009/06/18 Released by Harlan Stenn <stenn@ntp.org> 3302* Add missing header dependencies to the ntpdc layout verification. 3303* prefer.html updates from Dave Mills. 3304* [Bug 1205] Add ntpd --usepcc and --pccfreq options on Windows 3305* [Bug 1215] unpeer by association ID 3306* [Bug 1225] Broadcast address miscalculated on Windows 4.2.5p180 3307* [Bug 1229] autokey segfaults in cert_install(). 3308* Use a union for structs sockaddr, sockaddr_storage, sockaddr_in, and 3309 sockaddr_in6 to remove casts and enable type checking. Collapse 3310 some previously separate IPv4/IPv6 paths into a single codepath. 3311(4.2.5p181) 2009/06/06 Released by Harlan Stenn <stenn@ntp.org> 3312* [Bug 1206] Required compiler changes for Windows 3313* [Bug 1084] PPSAPI for ntpd on Windows with DLL backends 3314* [Bug 1204] Unix-style refclock device paths on Windows 3315* [Bug 1205] partial fix, disable RDTSC use by default on Windows 3316* [Bug 1208] decodenetnum() buffer overrun on [ with no ] 3317* [Bug 1211] keysdir free()d twice #ifdef DEBUG 3318* Enable ONCORE, ARCRON refclocks on Windows (untested) 3319(4.2.5p180) 2009/05/29 Released by Harlan Stenn <stenn@ntp.org> 3320* [Bug 1200] Enable IPv6 in Windows port 3321* Lose FLAG_FIXPOLL, from Dave Mills. 3322(4.2.5p179) 2009/05/23 Released by Harlan Stenn <stenn@ntp.org> 3323* [Bug 1041] xmt -> aorg timestamp cleanup from Dave Mills, 3324 reported by Dave Hart. 3325* [Bug 1193] Compile error: conflicting types for emalloc. 3326* [Bug 1196] VC6 winsock2.h does not define SO_EXCLUSIVEADDRUSE. 3327* Leap/expire cleanup from Dave Mills. 3328(4.2.5p178) 2009/05/21 Released by Harlan Stenn <stenn@ntp.org> 3329* Provide erealloc() and estrdup(), a la emalloc(). 3330* Improve ntp.conf's parser error messages. 3331* [Bug 320] "restrict default ignore" does not affect IPv6. 3332* [Bug 1192] "restrict -6 ..." reports a syntax error. 3333(4.2.5p177) 2009/05/18 Released by Harlan Stenn <stenn@ntp.org> 3334* Include 4.2.4p7 3335* [Bug 1174] nmea_shutdown assumes that nmea has a unit assigned 3336* [Bug 1190] NMEA refclock fudge flag4 1 obscures position in timecode 3337* Update NMEA refclock documentation in html/drivers/driver20.html 3338(4.2.5p176) 2009/05/13 Released by Harlan Stenn <stenn@ntp.org> 3339* [Bug 1154] mDNS registration should be done later, repeatedly and only 3340 if asked for. (second try for fix) 3341(4.2.5p175) 2009/05/12 Released by Harlan Stenn <stenn@ntp.org> 3342* Include 4.2.4p7-RC7 3343* [Bug 1180] ntpd won't start with more than ~1000 interfaces 3344* [Bug 1182] Documentation typos and missing bits. 3345* [Bug 1183] COM port support should extend past COM3 3346* [Bug 1184] ntpd is deaf when restricted to second IP on the same net 3347* Clean up configure.ac NTP_CACHEVERSION interface, display cache 3348 version when clearing. Fixes a regression. 3349(4.2.5p174) 2009/05/09 Released by Harlan Stenn <stenn@ntp.org> 3350* Stale leapsecond file fixes from Dave Mills. 3351(4.2.5p173) 2009/05/08 Released by Harlan Stenn <stenn@ntp.org> 3352* Include 4.2.4p7-RC6 3353(4.2.5p172) 2009/05/06 Released by Harlan Stenn <stenn@ntp.org> 3354* [Bug 1175] Instability in PLL daemon mode. 3355* [Bug 1176] refclock_parse.c does not compile without PPSAPI. 3356(4.2.5p171) 2009/05/04 Released by Harlan Stenn <stenn@ntp.org> 3357* Autokey documentation cleanup from Dave Mills. 3358* [Bug 1171] line editing libs found without headers (Solaris 11) 3359* [Bug 1173] NMEA refclock fails with Solaris PPSAPI 3360* Fix problem linking msntp on Solaris when sntp subdir is configured 3361 before parent caused by different gethostent library search order. 3362* Do not clear config.cache when it is empty. 3363(4.2.5p170) 2009/05/02 Released by Harlan Stenn <stenn@ntp.org> 3364* [Bug 1152] adjust PARSE to new refclock_pps logic 3365* Include 4.2.4p7-RC5 3366* loopfilter FLL/PLL crossover cleanup from Dave Mills. 3367* Documentation updates from Dave Mills. 3368* ntp-keygen cleanup from Dave Mills. 3369* crypto API cleanup from Dave Mills. 3370* Add NTP_CACHEVERSION mechanism to ignore incompatible config.cache 3371* Enable gcc -Wstrict-overflow for gsoc_sntp as well 3372(4.2.5p169) 2009/04/30 Released by Harlan Stenn <stenn@ntp.org> 3373* [Bug 1171] Note that we never look for -lreadline by default. 3374* [Bug 1090] Fix bogus leap seconds in refclock_hpgps. 3375(4.2.5p168) 2009/04/29 Released by Harlan Stenn <stenn@ntp.org> 3376* Include 4.2.4p7-RC4 3377* [Bug 1169] quiet compiler warnings 3378* Re-enable gcc -Wstrict-prototypes when not building with OpenSSL 3379* Enable gcc -Wstrict-overflow 3380* ntpq/ntpdc emit newline after accepting password on Windows 3381* Updates from Dave Mills: 3382* ntp-keygen.c: Updates. 3383* Fix the error return and syslog function ID in refclock_{param,ppsapi}. 3384* Make sure syspoll is within the peer's minpoll/maxpoll bounds. 3385* ntp_crypto.c: Use sign_siglen, not len. sign key filename cleanup. 3386* Bump NTP_MAXEXTEN from 1024 to 2048, update values for some field lengths. 3387* m4/ntp_lineeditlibs.m4: fix warnings from newer Autoconf 3388* [Bug 1166] Remove truncation of position (blanking) code in refclock_nmea.c 3389(4.2.5p167) 2009/04/26 Released by Harlan Stenn <stenn@ntp.org> 3390* Crypto cleanup from Dave Mills. 3391(4.2.5p166) 2009/04/25 Released by Harlan Stenn <stenn@ntp.org> 3392* [Bug 1165] Clean up small memory leaks in the config file parser 3393* Correct logconfig keyword declaration to MULTIPLE_ARG 3394* Enable filename and line number leak reporting on Windows when built 3395 DEBUG for all the typical C runtime allocators such as calloc, 3396 malloc, and strdup. Previously only emalloc calls were covered. 3397* Add DEBUG-only code to free dynamically allocated memory that would 3398 otherwise remain allocated at ntpd exit, to allow less forgivable 3399 leaks to stand out in leaks reported after exit. 3400* Ensure termination of strings in ports/winnt/libisc/isc_strerror.c 3401 and quiet compiler warnings. 3402* [Bug 1057] ntpdc unconfig failure 3403* [Bug 1161] unpeer AKA unconfig command for ntpq :config 3404* PPS and crypto cleanup in ntp_proto.c from Dave Mills. 3405(4.2.5p165) 2009/04/23 Released by Harlan Stenn <stenn@ntp.org> 3406* WWVB refclock cleanup from Dave Mills. 3407* Code cleanup: requested_key -> request_key. 3408* [Bug 833] ignore whitespace at end of remote configuration lines 3409* [Bug 1033] ntpdc/ntpq crash prompting for keyid on Windows 3410* [Bug 1028] Support for W32Time authentication via Samba. 3411* quiet ntp_parser.c malloc redeclaration warning 3412* Mitigation and PPS/PPSAPI cleanup from Dave Mills. 3413* Documentation updates from Dave Mills. 3414* timepps-Solaris.h patches from Dave Hart. 3415(4.2.5p164) 2009/04/22 Released by Harlan Stenn <stenn@ntp.org> 3416* Include 4.2.4p7-RC3 3417* PPS/PPSAPI cleanup from Dave Mills. 3418* Documentation updates from Dave Mills. 3419* [Bug 1125] C runtime per-thread initialization on Windows 3420* [Bug 1152] temporarily disable refclock_parse, refclock_true until 3421 maintainers can repair build break from pps_sample() 3422* [Bug 1153] refclock_nmea should not mix UTC with GPS time 3423* [Bug 1159] ntpq overlap diagnostic message test buggy 3424(4.2.5p163) 2009/04/10 Released by Harlan Stenn <stenn@ntp.org> 3425(4.2.5p162) 2009/04/09 Released by Harlan Stenn <stenn@ntp.org> 3426* Documentation updates from Dave Mills. 3427* Mitigation and PPS cleanup from Dave Mills. 3428* Include 4.2.4p7-RC2 3429* [Bug 216] New interpolation scheme for Windows eliminates 1ms jitter 3430* remove a bunch of #ifdef SYS_WINNT from portable code 3431* 64-bit time_t cleanup for building on newer Windows compilers 3432* Only set CMOS clock during ntpd exit on Windows if the computer is 3433 shutting down or restarting. 3434* [Bug 1148] NMEA reference clock improvements 3435* remove deleted gsoc_sntp/utilities.o from repository so that .o build 3436 products can be cleaned up without corrupting the repository. 3437(4.2.5p161) 2009/03/31 Released by Harlan Stenn <stenn@ntp.org> 3438* Documentation updates from Dave Mills. 3439(4.2.5p160) 2009/03/30 Released by Harlan Stenn <stenn@ntp.org> 3440* [Bug 1141] refclock_report missing braces cause spurious "peer event: 3441 clock clk_unspec" log entries 3442* Include 4.2.4p7-RC1 3443(4.2.5p159) 2009/03/28 Released by Harlan Stenn <stenn@ntp.org> 3444* "bias" changes from Dave Mills. 3445(4.2.5p158) 2009/01/30 Released by Harlan Stenn <stenn@ntp.org> 3446* Fix [CID 72], a typo introduced at the latest fix to prettydate.c. 3447(4.2.5p157) 2009/01/26 Released by Harlan Stenn <stenn@ntp.org> 3448* Cleanup/fixes for ntp_proto.c and ntp_crypto.c from Dave Mills. 3449(4.2.5p156) 2009/01/19 Released by Harlan Stenn <stenn@ntp.org> 3450* [Bug 1118] Fixed sign extension for 32 bit time_t in caljulian() and prettydate(). 3451 Fixed some compiler warnings about missing prototypes. 3452 Fixed some other simple compiler warnings. 3453* [Bug 1119] [CID 52] Avoid a possible null-dereference in ntp_crypto.c. 3454* [Bug 1120] [CID 51] INSIST that peer is non-null before we dereference it. 3455* [Bug 1121] [CID 47] double fclose() in ntp-keygen.c. 3456(4.2.5p155) 2009/01/18 Released by Harlan Stenn <stenn@ntp.org> 3457* Documentation updates from Dave Mills. 3458* CHU frequency updates. 3459* Design assertion fixes for ntp_crypto.c from Dave Mills. 3460(4.2.5p154) 2009/01/13 Released by Harlan Stenn <stenn@ntp.org> 3461* [Bug 992] support interface event change on Linux from 3462 Miroslav Lichvar. 3463(4.2.5p153) 2009/01/09 Released by Harlan Stenn <stenn@ntp.org> 3464* Renamed gsoc_sntp/:fetch-stubs to gsoc_sntp/fetch-stubs to avoid 3465 file name problems under Windows. 3466 Removed German umlaut from log msg for 4.2.5p142. 3467(4.2.5p152) 2009/01/08 Released by Harlan Stenn <stenn@ntp.org> 3468* Include 4.2.4p6: 2009/01/08 Released by Harlan Stenn <stenn@ntp.org> 3469(4.2.5p151) 2008/12/23 Released by Harlan Stenn <stenn@ntp.org> 3470* Stats file logging cleanup from Dave Mills. 3471(4.2.5p150) 2008/12/15 Released by Harlan Stenn <stenn@ntp.org> 3472* [Bug 1099] Fixed wrong behaviour in sntp's crypto.c. 3473* [Bug 1103] Fix 64-bit issues in the new calendar code. 3474(4.2.5p149) 2008/12/05 Released by Harlan Stenn <stenn@ntp.org> 3475* Fixed mismatches in data types and OID definitions in ntpSnmpSubAgent.c 3476* added a premliminary MIB file to ntpsnmpd (ntpv4-mib.mib) 3477(4.2.5p148) 2008/12/04 Released by Harlan Stenn <stenn@ntp.org> 3478* [Bug 1070] Fix use of ntpq_parsestring() in ntpsnmpd. 3479(4.2.5p147) 2008/11/27 Released by Harlan Stenn <stenn@ntp.org> 3480* Update gsoc_sntp's GCC warning code. 3481(4.2.5p146) 2008/11/26 Released by Harlan Stenn <stenn@ntp.org> 3482* Update Solaris CFLAGS for gsoc_sntp. 3483(4.2.5p145) 2008/11/20 Released by Harlan Stenn <stenn@ntp.org> 3484* Deal with time.h for sntp under linux. 3485* Provide rpl_malloc() for sntp for systems that need it. 3486* Handle ss_len and socklen type for sntp. 3487* Fixes to the sntp configure.ac script. 3488* Provide INET6_ADDRSTRLEN if it is missing. 3489* [Bug 1095] overflow in caljulian.c. 3490(4.2.5p144) 2008/11/19 Released by Harlan Stenn <stenn@ntp.org> 3491* Use int32, not int32_t. 3492* Avoid the sched*() functions under OSF - link problems. 3493(4.2.5p143) 2008/11/17 Released by Harlan Stenn <stenn@ntp.org> 3494* sntp cleanup and fixes. 3495(4.2.5p142) 2008/11/16 Released by Harlan Stenn <stenn@ntp.org> 3496* Imported GSoC SNTP code from Johannes Maximilian Kuehn. 3497(4.2.5p141) 2008/11/13 Released by Harlan Stenn <stenn@ntp.org> 3498* New caltontp.c and calyearstart.c from Juergen Perlinger. 3499(4.2.5p140) 2008/11/12 Released by Harlan Stenn <stenn@ntp.org> 3500* Cleanup lint from the ntp_scanner files. 3501* [Bug 1011] gmtime() returns NULL on windows where it would not under Unix. 3502* Updated caljulian.c and prettydate.c from Juergen Perlinger. 3503(4.2.5p139) 2008/11/11 Released by Harlan Stenn <stenn@ntp.org> 3504* Typo fix to driver20.html. 3505(4.2.5p138) 2008/11/10 Released by Harlan Stenn <stenn@ntp.org> 3506* [Bug 474] --disable-ipv6 is broken. 3507* IPv6 interfaces were being looked for twice. 3508* SHM driver grabs more samples, add clockstats 3509* decode.html and driver20.html updates from Dave Mills. 3510(4.2.5p137) 2008/11/01 Released by Harlan Stenn <stenn@ntp.org> 3511* [Bug 1069] #undef netsnmp's PACKAGE_* macros. 3512* [Bug 1068] Older versions of netsnmp do not have netsnmp_daemonize(). 3513(4.2.5p136) 2008/10/27 Released by Harlan Stenn <stenn@ntp.org> 3514* [Bug 1078] statsdir configuration parsing is broken. 3515(4.2.5p135) 2008/09/23 Released by Harlan Stenn <stenn@ntp.org> 3516* [Bug 1072] clock_update should not allow updates older than sys_epoch. 3517(4.2.5p134) 2008/09/17 Released by Harlan Stenn <stenn@ntp.org> 3518* Clean up build process for ntpsnmpd. 3519(4.2.5p133) 2008/09/16 Released by Harlan Stenn <stenn@ntp.org> 3520* Add options processing to ntpsnmpd. 3521* [Bug 1062] Check net-snmp headers before deciding to build ntpsnmpd. 3522* Clean up the libntpq.a build. 3523* Regenerate ntp_parser.[ch] from ntp_parser.y 3524(4.2.5p132) 2008/09/15 Released by Harlan Stenn <stenn@ntp.org> 3525* [Bug 1067] Multicast DNS service registration must come after the fork 3526 on Solaris. 3527* [Bug 1066] Error messages should log as errors. 3528(4.2.5p131) 2008/09/14 Released by Harlan Stenn <stenn@ntp.org> 3529* [Bug 1065] Re-enable support for the timingstats file. 3530(4.2.5p130) 2008/09/13 Released by Harlan Stenn <stenn@ntp.org> 3531* [Bug 1064] Implement --with-net-snmp-config=progname 3532* [Bug 1063] ntpSnmpSubagentObject.h is missing from the distribution. 3533(4.2.5p129) 2008/09/11 Released by Harlan Stenn <stenn@ntp.org> 3534* Quiet some libntpq-related warnings. 3535(4.2.5p128) 2008/09/08 Released by Harlan Stenn <stenn@ntp.org> 3536* Import Heiko Gerstung's GSoC2008 NTP MIB daemon. 3537(4.2.5p127) 2008/09/01 Released by Harlan Stenn <stenn@ntp.org> 3538* Regenerate ntpd/ntp_parser.c 3539(4.2.5p126) 2008/08/31 Released by Harlan Stenn <stenn@ntp.org> 3540* Stop libtool-1.5 from looking for C++ or Fortran. 3541* [BUG 610] Documentation update for NMEA reference clock driver. 3542* [Bug 828] Fix IPv4/IPv6 address parsing. 3543* Changes from Dave Mills: 3544 Documentation updates. 3545 Fix a corner case where a frequency update was reported but not set. 3546 When LEAP_NOTINSYNC->LEAP_NOWARNING, call crypto_update() if we have 3547 crypto_flags. 3548(4.2.5p125) 2008/08/18 Released by Harlan Stenn <stenn@ntp.org> 3549* [Bug 1052] Add linuxPPS support to ONCORE driver. 3550(4.2.5p124) 2008/08/17 Released by Harlan Stenn <stenn@ntp.org> 3551* Documentation updates from Dave Mills. 3552* Include 4.2.4p5: 2008/08/17 Released by Harlan Stenn <stenn@ntp.org> 3553* [Bug 861] leap info was not being transmitted. 3554* [Bug 1046] refnumtoa.c is using the wrong header file. 3555* [Bug 1047] enable/disable options processing fix. 3556* header file cleanup. 3557* [Bug 1037] buffer in subroutine was 1 byte short. 3558* configure.ac: cleanup, add option for wintime, and lay the groundwork 3559 for the changes needed for bug 1028. 3560* Fixes from Dave Mills: 'bias' and 'interleave' work. Separate 3561 phase and frequency discipline (for long poll intervals). Update 3562 TAI function to match current leapsecond processing. 3563* Documentation updates from Dave Mills. 3564* [Bug 1037] Use all 16 of the MD5 passwords generated by ntp-keygen. 3565* Fixed the incorrect edge parameter being passed to time_pps_kcbind in 3566 NMEA refclock driver. 3567* [Bug 399] NMEA refclock driver does not honor time1 offset if flag3 set. 3568* [Bug 985] Modifications to NMEA reference clock driver to support Accord 3569 GPS Clock. 3570* poll time updates from Dave Mills. 3571* local refclock documentation updates from Dave Mills. 3572* [Bug 1022] Fix compilation problems with yesterday's commit. 3573* Updates and cleanup from Dave Mills: 3574 I've now spent eleven months of a sabbatical year - 7 days a week, 6-10 3575 hours most days - working on NTP. I have carefully reviewed every major 3576 algorithm, examined its original design and evolution from that design. 3577 I've trimmed off dead code and briar patches and did zillions of tests 3578 contrived to expose evil vulnerabilities. The development article is in 3579 rather good shape and should be ready for prime time. 3580 3581 1. The protostats statistics files have been very useful in exposing 3582 little twitches and turns when something hiccups, like a broken PPS 3583 signal. Most of what used to be syslog messages are now repackaged as 3584 protostats messages with optional syslog as well. These can also be sent 3585 as traps which might be handy to tiggle a beeper or celltext. These, the 3586 sysstats files and cryptostats files reveal the ambient health of a busy 3587 server, monitor traffic and error counts and spot crypto attacks. 3588 3589 2. Close inspection of the clock discipline behavior at long poll 3590 intervals (36 h) showed it not doing as well as it should. I redesigned 3591 the FLL loop to improve nominal accuracy from several tens of 3592 milliseconds to something less than ten milliseconds. 3593 3594 3. Autokey (again). The enhanced error checking was becoming a major 3595 pain. I found a way to toss out gobs of ugly fat code and replace the 3596 function with a much simpler and more comprehensive scheme. It resists 3597 bait-and-switch attacks and quickly detect cases when the protocol is 3598 not correctly synchronized. 3599 3600 4. The interface code for the kernel PPS signal was not in sync with the 3601 kernel code itself. Some error checks were duplicated and some 3602 ineffective. I found none of the PPS-capable drivers, including the atom 3603 driver, do anything when the prefer peer fails; the kernel PPS signal 3604 remains in control. The atom driver now disables the kernel PPS when the 3605 prefer peer comes bum. This is important when the prefer peer is not a 3606 reference clock but a remote NTP server. 3607 3608 5. The flake restrict bit turned out to be really interesting, 3609 especially with symmtric modes and of those especially those using 3610 Autokey. Small changes in the recovery procedures when packets are lost 3611 now avoid almost all scenarios which previously required protocol resets. 3612 3613 6. I've always been a little uncomfortable when using the clock filter 3614 with long poll intervals because the samples become less and less 3615 correlated as the sample age exceeds the Allan intercept. Various 3616 schemes have been used over the years to cope with this fact. The latest 3617 one and the one that works the best is to use a modified sort metric 3618 where the delay is used when the age of the sample is less than the 3619 intercept and the sum of delay and dispersion above that. The net result 3620 is that, at small poll intervals the algorithm operates as a minimum 3621 filter, while at larger poll intervals it morphs to FIFO. Left 3622 unmodified, a sample could be used when twelve days old. This along with 3623 the FLL modifications has made a dramatic improvement at large poll 3624 intervals. 3625 3626- [Backward Incompatible] The 'state' variable is no longer reported or 3627 available via ntpq output. The following system status bit names 3628 have been changed: 3629 - sync_alarm -> leap_alarm 3630 - sync_atomic -> sync_pps 3631 - sync_lf_clock -> sync_lf_radio 3632 - sync_hf_clock -> sync_hf_radio 3633 - sync_uhf_clock -> sync_uhf_radio 3634 - sync_local_proto -> sync_local 3635 - sync_udp/time -> sync_other 3636 Other names have been changed as well. See the change history for 3637 libntp/statestr.c for more details. 3638 Other backward-incompatible changes in ntpq include: 3639 - assID -> associd 3640 - rootdispersion -> rootdisp 3641 - pkt_head -> pkt_neader 3642 See the change history for other details. 3643 3644* Updates and cleanup from Dave Mills. 3645* [Bug 995] Remove spurious ; from ntp-keygen.c. 3646* More cleanup and changes from Dave Mills. 3647* [Bug 980] Direct help to stdout. 3648--- 3649(4.2.4p8) 2009/12/08 Released by Harlan Stenn <stenn@ntp.org> 3650 3651* [Sec 1331] DoS with mode 7 packets - CVE-2009-3563. 3652 3653--- 3654(4.2.4p7) 2009/05/18 Released by Harlan Stenn <stenn@ntp.org> 3655 3656* [Sec 1151] Remote exploit if autokey is enabled - CVE-2009-1252. 3657* [Bug 1187] Update the copyright date. 3658* [Bug 1191] ntpd fails on Win2000 - "Address already in use" after fix 3659 for [Sec 1149]. 3660 3661--- 3662(4.2.4p7-RC7) 2009/05/12 Released by Harlan Stenn <stenn@ntp.org> 3663 3664* ntp.isc.org -> ntp.org cleanup. 3665* [Bug 1178] Use prior FORCE_DNSRETRY behavior as needed at runtime, 3666 add configure --enable-ignore-dns-errors to be even more stubborn 3667 3668--- 3669(4.2.4p7-RC6) 2009/05/08 Released by Harlan Stenn <stenn@ntp.org> 3670 3671* [Bug 784] Make --enable-linuxcaps the default when available 3672* [Bug 1179] error messages for -u/--user and -i lacking droproot 3673* Updated JJY reference clock driver from Takao Abe 3674* [Bug 1071] Log a message and exit before trying to use FD_SET with a 3675 descriptor larger than FD_SETSIZE, which will corrupt memory 3676* On corruption of the iface list head in add_interface, log and exit 3677 3678--- 3679(4.2.4p7-RC5) 2009/05/02 Released by Harlan Stenn <stenn@ntp.org> 3680 3681* [Bug 1172] 4.2.4p7-RC{3,4} fail to build on linux. 3682* flock-build script unportable 'set -m' use removed 3683 3684--- 3685(4.2.4p7-RC4) 2009/04/29 Released by Harlan Stenn <stenn@ntp.org> 3686 3687* [Bug 1167] use gcc -Winit-self only if it is understood 3688 3689--- 3690(4.2.4p7-RC3) 2009/04/22 Released by Harlan Stenn <stenn@ntp.org> 3691 3692* [Bug 787] Bug fixes for 64-bit time_t on Windows 3693* [Bug 813] Conditional naming of Event 3694* [Bug 1147] System errors should be logged to msyslog() 3695* [Bug 1155] Fix compile problem on Windows with VS2005 3696* [Bug 1156] lock_thread_to_processor() should be declared in header 3697* [Bug 1157] quiet OpenSSL warnings, clean up configure.ac 3698* [Bug 1158] support for aix6.1 3699* [Bug 1160] MacOS X is like BSD regarding F_SETOWN 3700 3701--- 3702(4.2.4p7-RC2) 2009/04/09 Released by Harlan Stenn <stenn@ntp.org> 3703 3704* [Sec 1144] limited buffer overflow in ntpq. CVE-2009-0159 3705* [Sec 1149] use SO_EXCLUSIVEADDRUSE on Windows 3706 3707--- 3708(4.2.4p7-RC1) 2009/03/30 Released by Harlan Stenn <stenn@ntp.org> 3709 3710* [Bug 1131] UDP sockets should not use SIGPOLL on Solaris. 3711* build system email address cleanup 3712* [Bug 774] parsesolaris.c does not compile under the new Solaris 3713* [Bug 873] Windows serial refclock proper TTY line discipline emulation 3714* [Bug 1014] Enable building with VC9 (in Visual Studio 2008, 3715 Visual C++ 2008, or SDK) 3716* [Bug 1117] Deferred interface binding under Windows works only correctly 3717 if FORCE_DNSRETRY is defined 3718* [BUG 1124] Lock QueryPerformanceCounter() client threads to same CPU 3719* DPRINTF macro made safer, always evaluates to a statement and will not 3720 misassociate an else which follows the macro. 3721 3722--- 3723(4.2.4p6) 2009/01/08 Released by Harlan Stenn <stenn@ntp.org> 3724 3725* [Bug 1113] Fixed build errors with recent versions of openSSL. 3726* [Sec 1111] Fix incorrect check of EVP_VerifyFinal()'s return value. 3727* Update the copyright year. 3728 3729--- 3730(4.2.4p5) 2008/08/17 Released by Harlan Stenn <stenn@ntp.org> 3731 3732* [BUG 1051] Month off by one in leap second message written to clockstats 3733 file fixed. 3734* [Bug 450] Windows only: Under original Windows NT we must not discard the 3735 wildcard socket to workaround a bug in NT's getsockname(). 3736* [Bug 1038] Built-in getpass() function also prompts for password if 3737 not built with DEBUG. 3738* [Bug 841] Obsolete the "dynamic" keyword and make deferred binding 3739 to local interfaces the default. 3740 Emit a warning if that keyword is used for configuration. 3741* [Bug 959] Refclock on Windows not properly releasing recvbuffs. 3742* [Bug 993] Fix memory leak when fetching system messages. 3743* much cleanup, fixes, and changes from Dave Mills. 3744* ntp_control.c: LEAPTAB is a filestamp, not an unsigned. From Dave Mills. 3745* ntp_config.c: ntp_minpoll fixes from Dave Mills. 3746* ntp-keygen updates from Dave Mills. 3747* refresh epoch, throttle, and leap cleanup from Dave Mills. 3748* Documentation cleanup from Dave Mills. 3749* [Bug 918] Only use a native md5.h if MD5Init() is available. 3750* [Bug 979] Provide ntptimeval if it is not otherwise present. 3751* [Bug 634] Re-instantiate syslog() and logfiles after the daemon fork. 3752* [Bug 952] Use md5 code with a friendlier license. 3753* [Bug 977] Fix mismatching #ifdefs for builds without IPv6. 3754* [Bug 830] Fix the checking order of the interface options. 3755* Clean up the logfile/syslog setup. 3756* [Bug 970] Lose obsolete -g flag to ntp-keygen. 3757* The -e flag to ntp-keygen can write GQ keys now, too. 3758* ntp_proto.c: sys_survivors and hpoll cleanup from Dave Mills. 3759* ntp_loopfilter.c: sys_poll cleanup from Dave Mills. 3760* refclock_wwv.c: maximum-likelihood digit and DSYNC fixes from Dave Mills. 3761* [Bug 967] preemptable associations are lost forever on a step. 3762* ntp_config.c: [CID 48] missing "else" clause. 3763* [Bug 833] ntpq config keyword is quote-mark unfriendly. 3764* Rename the ntpq "config" keyword to ":config". 3765* Dave Mills shifted some orphan processing. 3766* Fix typos in the [Bug 963] patch. 3767* bootstrap: squawk if genver fails. Use -f with cp in case Dave does a chown. 3768* Remove obsolete simulator command-line options. 3769* ntp_request.c: [CID 36] zero sin_zero. 3770* [Bug 963] get_systime() is too noisy. 3771* [Bug 960] spurious syslog:crypto_setup:spurious crypto command 3772* [Bug 964] Change *-*-linux* to *-*-*linux* to allow for uclinux. 3773* Changes from Dave Mills: 3774 - ntp_util.c: cleanup. 3775 - ntp_timer.c: watch the non-burst packet rate. 3776 - ntp_request.c: cleanup. 3777 - ntp_restrict.c: RES_LIMITED cleanup. 3778 - ntp_proto.c: RES_LIMITED, rate bucktes, counters, overall cleanup. 3779 - ntp_peer.c: disallow peer_unconfig(). 3780 - ntp_monitor.c: RES_LIMITED cleanup. 3781 - ntp_loopfilter.c: poll interval cleanup. 3782 - ntp_crypto.c: volley -> retry. Cleanup TAI leap message. 3783 - ntp_config: average and minimum are ^2 values. 3784 - ntpdc: unknownversion is really "declined", not "bad version". 3785 - Packet retry cleanup. 3786* [Bug 961] refclock_tpro.c:tpro_poll() calls refclock_receive() twice. 3787* [Bug 957] Windows only: Let command line parameters from the Windows SCM GUI 3788 override the standard parameters from the ImagePath registry key. 3789* Added HAVE_INT32_T to the Windows config.h to avoid duplicate definitions. 3790* Work around a VPATH difference in FreeBSD's 'make' command. 3791* Update bugreport URL. 3792* Update -I documentation. 3793* [Bug 713] Fix bug reporting information. 3794* A bug in the application of the negative-sawtooth for 12 channel receivers. 3795* The removal of unneeded startup code used for the original LinuxPPS, it now 3796 conforms to the PPSAPI and does not need special code. 3797* ntp-keygen.c: Coverity fixes [CID 33,47]. 3798* Volley cleanup from Dave Mills. 3799* Fuzz cleanup from Dave Mills. 3800* [Bug 861] Leap second cleanups from Dave Mills. 3801* ntpsim.c: add missing protypes and fix [CID 34], a nit. 3802* Upgraded bison at UDel. 3803* Update br-flock and flock-build machine lists. 3804* [Bug 752] QoS: add parse/config handling code. 3805* Fix the #include order in tickadj.c for picky machines. 3806* [Bug 752] QoS: On some systems, netinet/ip.h needs netinet/ip_systm.h. 3807* [Bug 752] Update the QoS tagging (code only - configuration to follow). 3808* Orphan mode and other protocol cleanup from Dave Mills. 3809* Documentation cleanup from Dave Mills. 3810* [Bug 940] ntp-keygen uses -v. Disallow it as a shortcut for --version. 3811* more cleanup to ntp_lineeditlibs.m4. 3812* Documentation updates from Dave Mills. 3813* -ledit cleanup for ntpdc and ntpq. 3814* Association and other cleanup from Dave Mills. 3815* NTP_UNREACH changes from Dave Mills. 3816* Fix the readline history test. 3817* [Bug 931] Require -lreadline to be asked for explicitly. 3818* [Bug 764] When looking for -lreadline support, also try using -lncurses. 3819* [Bug 909] Fix int32_t errors for ntohl(). 3820* [Bug 376/214] Enhancements to support multiple if names and IP addresses. 3821* [Bug 929] int32_t is undefined on Windows. Casting wrong. 3822* [Bug 928] readlink missing braces. 3823* [Bug 788] Update macros to support VS 2005. 3824* ntpd/ntp_timer.c: add missing sys_tai parameter for debug printf 3825* [Bug 917] config parse leaves files open 3826* [Bug 912] detect conflicting enable/disable configuration on interfaces 3827 sharing an IP address 3828* [Bug 771] compare scopeid if available for IPv6 addresses 3829* Lose obsolete crypto subcommands (Dave Mills). 3830* WWV is an HF source, not an LF source (Dave Mills). 3831* [Bug 899] Only show -i/--jaildir -u/--user options if we HAVE_DROPROOT. 3832* [Bug 916] 'cryptosw' is undefined if built without OpenSSL. 3833* [Bug 891] 'restrict' config file keyword does not work (partial fix). 3834* [Bug 890] the crypto command seems to be required now. 3835* [Bug 915] ntpd cores during processing of x509 certificates. 3836* Crypto lint cleanup from Dave Mills. 3837* [Bug 897] Check RAND_status() - we may not need a .rnd file. 3838* Crypto cleanup from Dave Mills. 3839* [Bug 911] Fix error message in cmd_args.c. 3840* [Bug 895] Log assertion failures via syslog(), not stderr. 3841* Documentation updates from Dave Mills. 3842* Crypto cleanup from Dave Mills. 3843* [Bug 905] ntp_crypto.c fails to compile without -DDEBUG. 3844* Avoid double peer stats logging. 3845* ntp-keygen cleanup from Dave Mills. 3846* libopts needs to be built after ElectricFence. 3847* [Bug 894] Initialize keysdir before calling crypto_setup(). 3848* Calysto cleanup for ntpq. 3849* ntp-keygen -i takes an arg. 3850* Cleanup and fixes from Dave Mills. 3851* [Bug 887] Fix error in ntp_types.h (for sizeof int != 4). 3852* Bug 880 bug fixes for Windows build 3853* Improve Calysto support. 3854* The "revoke" parameter is a crypto command. 3855* The driftfile wander threshold is a real number. 3856* [Bug 850] Fix the wander threshold parameter on the driftfile command. 3857* ntp_io.c: Dead code cleanup - Coverity View 19. 3858* Leap file related cleanup from Dave Mills. 3859* ntp_peer.c: Set peer->srcadr before (not after) calling set_peerdstadr(). 3860* Initialize offset in leap_file() - Coverity View 17. 3861* Use the correct stratum on KISS codes. 3862* Fuzz bits cleanup. 3863* Show more digits in some debug printf's. 3864* Use drift_file_sw internally to control writing the drift file. 3865* Implement the wander_threshold option for the driftfile config keyword. 3866* reformat ntp_control.c; do not use c++ // comments. 3867* [Bug 629] Undo bug #629 fixes as they cause more problems than were being 3868 solved 3869* Changes from Dave Mills: in/out-bound data rates, leapsecond cleanup, 3870 driftfile write cleanup, packet buffer length checks, documentation updates. 3871* More assertion checks and malloc()->emalloc(), courtesy of Calysto. 3872* [Bug 864] Place ntpd service in maintenance mode if using SMF on Solaris 3873* [Bug 862] includefile nesting; preserve phonelist on reconfig. 3874* [Bug 604] ntpd regularly dies on linux/alpha. 3875* more leap second infrastructure fixes from Dave Mills. 3876* [Bug 858] recent leapfile changes broke non-OpenSSL builds. 3877* Use emalloc() instead of malloc() in refclock_datum.c (Calysto). 3878* Start using 'design by contract' assertions. 3879* [Bug 767] Fast sync to refclocks wanted. 3880* Allow null driftfile. 3881* Use YYERROR_VERBOSE for the new parser, and fix related BUILT_SOURCES. 3882* [Bug 629] changes to ensure broadcast works including on wildcard addresses 3883* [Bug 853] get_node() must return a pointer to maximally-aligned memory. 3884* Initial leap file fixes from Dave Mills. 3885* [Bug 858] Recent leapfile changes broke without OPENSSL. 3886* Use a char for DIR_SEP, not a string. 3887* [Bug 850] driftfile parsing changes. 3888* driftfile maintenance changes from Dave Mills. Use clock_phi instead of 3889 stats_write_tolerance. 3890* [Bug 828] refid string not being parsed correctly. 3891* [Bug 846] Correct includefile parsing. 3892* [Bug 827] New parsing code does not handle "fudge" correctly. 3893* Enable debugging capability in the config parser. 3894* [Bug 839] Crypto password not read from ntp.conf. 3895* Have autogen produce writable output files. 3896* [Bug 825] Correct logconfig -/+ keyword processing. 3897* [Bug 828] Correct parsing of " delimited strings. 3898* Cleanup FILE * usage after fclose() in ntp_filegen.c. 3899* [Bug 843] Windows Completion port code was incorrectly merged from -stable. 3900* [Bug 840] do fudge configuration AFTER peers (thus refclocks) have been 3901 configured. 3902* [Bug 824] Added new parser modules to the Windows project file. 3903* [Bug 832] Add libisc/log.c headers to the distribution. 3904* [Bug 808] Only write the drift file if we are in state 4. 3905* Initial import of libisc/log.c and friends. 3906* [Bug 826] Fix redefinition of PI. 3907* [Bug 825] ntp_scanner.c needs to #include <config.h> . 3908* [Bug 824] New parser code has some build problems with the SIM code. 3909* [Bug 817] Use longnames for setting ntp variables on the command-line; 3910 Allowing '-v' with and without an arg to disambiguate usage is error-prone. 3911* [Bug 822] set progname once, early. 3912* [Bug 819] remove erroneous #if 0 in Windows completion port code. 3913* The new config code missed an #ifdef for building without refclocks. 3914* Distribute some files needed by the new config parsing code. 3915* [Bug 819] Timeout for WaitForMultipleObjects was 500ms instead of INFINITE 3916* Use autogen 5.9.1. 3917* Fix clktest command-line arg processing.' 3918* Audio documentation updates from Dave Mills. 3919* New config file parsing code, from Sachin Kamboj. 3920* fuzz bit cleanup from Dave Mills. 3921* replay cleanup from Dave Mills. 3922* [Bug 542] Tolerate missing directory separator at EO statsdir. 3923* [Bug 812] ntpd should drop supplementary groups. 3924* [Bug 815] Fix warning compiling 4.2.5p22 under Windows with VC6. 3925* [Bug 740] Fix kernel/daemon startup drift anomaly. 3926* refclock_wwv.c fixes from Dave Mills. 3927* [Bug 810] Fix ntp-keygen documentation. 3928* [Bug 787] Bug fixes for 64-bit time_t on Windows. 3929* [Bug 796] Clean up duplicate #defines in ntp_control.c. 3930* [Bug 569] Use the correct precision for the Leitch CSD-5300. 3931* [Bug 795] Moved declaration of variable to top of function. 3932* [Bug 798] ntpq [p typo crashes ntpq/ntpdc. 3933* [Bug 786] Fix refclock_bancomm.c on Solaris. 3934* [Bug 774] parsesolaris.c does not compile under the new Solaris. 3935* [Bug 782] Remove P() macros from Windows files. 3936* [Bug 778] ntpd fails to lock with drift=+500 when started with drift=-500. 3937* [Bug 592] Trimble Thunderbolt GPS support. 3938* IRIG, CHU, WWV, WWVB refclock improvements from Dave Mills. 3939* [Bug 757] Lose ULONG_CONST(). 3940* [Bug 756] Require ANSI C (function prototypes). 3941* codec (audio) and ICOM changes from Dave Mills. 3942 3943--- 3944 3945* [Bug 450] Windows only: Under original Windows NT we must not discard the 3946 wildcard socket to workaround a bug in NT's getsockname(). 3947* [Bug 1038] Built-in getpass() function also prompts for password if 3948 not built with DEBUG. 3949* [Bug 841] Obsolete the "dynamic" keyword and make deferred binding 3950 to local interfaces the default. 3951 Emit a warning if that keyword is used for configuration. 3952* [Bug 959] Refclock on Windows not properly releasing recvbuffs. 3953* [Bug 993] Fix memory leak when fetching system messages. 3954* [Bug 987] Wake up the resolver thread/process when a new interface has 3955 become available. 3956* Correctly apply negative-sawtooth for oncore 12 channel receiver. 3957* Startup code for original LinuxPPS removed. LinuxPPS now conforms to 3958 the PPSAPI. 3959* [Bug 1000] allow implicit receive buffer allocation for Windows. 3960 fixes startup for windows systems with many interfaces. 3961 reduces dropped packets on network bursts. 3962 additionally fix timer() starvation during high load. 3963* [Bug 990] drop minimum time restriction for interface update interval. 3964* [Bug 977] Fix mismatching #ifdefs for builds without IPv6. 3965* Update the copyright year. 3966* Build system cleanup (make autogen-generated files writable). 3967* [Bug 957] Windows only: Let command line parameters from the Windows SCM GUI 3968 override the standard parameters from the ImagePath registry key. 3969* Fixes for ntpdate: 3970* [Bug 532] nptdate timeout is too long if several servers are supplied. 3971* [Bug 698] timeBeginPeriod is called without timeEndPeriod in some NTP tools. 3972* [Bug 857] ntpdate debug mode adjusts system clock when it shouldn't. 3973* [Bug 908] ntpdate crashes sometimes. 3974* [Bug 982] ntpdate(and ntptimeset) buffer overrun if HAVE_POLL_H isn't set 3975 (dup of 908). 3976* [Bug 997] ntpdate buffer too small and unsafe. 3977* ntpdate.c: Under Windows check whether NTP port in use under same conditions 3978 as under other OSs. 3979* ntpdate.c: Fixed some typos and indents (tabs/spaces). 3980 3981(4.2.4p4) Released by Harlan Stenn <stenn@ntp.org> 3982 3983* [Bug 902] Fix problems with the -6 flag. 3984* Updated include/copyright.def (owner and year). 3985* [Bug 878] Avoid ntpdc use of refid value as unterminated string. 3986* [Bug 881] Corrected display of pll offset on 64bit systems. 3987* [Bug 886] Corrected sign handling on 64bit in ntpdc loopinfo command. 3988* [Bug 889] avoid malloc() interrupted by SIGIO risk 3989* ntpd/refclock_parse.c: cleanup shutdown while the file descriptor is still 3990 open. 3991* [Bug 885] use emalloc() to get a message at the end of the memory 3992 unsigned types cannot be less than 0 3993 default_ai_family is a short 3994 lose trailing , from enum list 3995 clarify ntp_restrict.c for easier automated analysis 3996* [Bug 884] don't access recv buffers after having them passed to the free 3997 list. 3998* [Bug 882] allow loopback interfaces to share addresses with other 3999 interfaces. 4000 4001--- 4002(4.2.4p3) Released by Harlan Stenn <stenn@ntp.org> 4003 4004* [Bug 863] unable to stop ntpd on Windows as the handle reference for events 4005 changed 4006 4007--- 4008(4.2.4p2) Released by Harlan Stenn <stenn@ntp.org> 4009 4010* [Bug 854] Broadcast address was not correctly set for interface addresses 4011* [Bug 829] reduce syslog noise, while there fix Enabled/Disable logging 4012 to reflect the actual configuration. 4013* [Bug 795] Moved declaration of variable to top of function. 4014* [Bug 789] Fix multicast client crypto authentication and make sure arriving 4015 multicast packets do not disturb the autokey dance. 4016* [Bug 785] improve handling of multicast interfaces 4017 (multicast routers still need to run a multicast routing software/daemon) 4018* ntpd/refclock_parse.c: cleanup shutdown while the file descriptor is still 4019 open. 4020* [Bug 885] use emalloc() to get a message at the end of the memory 4021 unsigned types cannot be less than 0 4022 default_ai_family is a short 4023 lose trailing , from enum list 4024* [Bug 884] don't access recv buffers after having them passed to the free list. 4025* [Bug 882] allow loopback interfaces to share addresses with other interfaces. 4026* [Bug 527] Don't write from source address length to wrong location 4027* Upgraded autogen and libopts. 4028* [Bug 811] ntpd should not read a .ntprc file. 4029 4030--- 4031(4.2.4p1) (skipped) 4032 4033--- 4034(4.2.4p0) Released by Harlan Stenn <stenn@ntp.org> 4035 4036* [Bug 793] Update Hans Lambermont's email address in ntpsweep. 4037* [Bug 776] Remove unimplemented "rate" flag from ntpdate. 4038* [Bug 586] Avoid lookups if AI_NUMERICHOST is set. 4039* [Bug 770] Fix numeric parameters to ntp-keygen (Alain Guibert). 4040* [Bug 768] Fix io_setbclient() error message. 4041* [Bug 765] Use net_bind_service capability on linux. 4042* [Bug 760] The background resolver must be aware of the 'dynamic' keyword. 4043* [Bug 753] make union timestamp anonymous (Philip Prindeville). 4044* confopt.html: move description for "dynamic" keyword into the right section. 4045* pick the right type for the recv*() length argument. 4046 4047--- 4048(4.2.4) Released by Harlan Stenn <stenn@ntp.org> 4049 4050* monopt.html fixes from Dave Mills. 4051* [Bug 452] Do not report kernel PLL/FLL flips. 4052* [Bug 746] Expert mouseCLOCK USB v2.0 support added.' 4053* driver8.html updates. 4054* [Bug 747] Drop <NOBR> tags from ntpdc.html. 4055* sntp now uses the returned precision to control decimal places. 4056* sntp -u will use an unprivileged port for its queries. 4057* [Bug 741] "burst" doesn't work with !unfit peers. 4058* [Bug 735] Fix a make/gmake VPATH issue on Solaris. 4059* [Bug 739] ntpd -x should not take an argument. 4060* [Bug 737] Some systems need help providing struct iovec. 4061* [Bug 717] Fix libopts compile problem. 4062* [Bug 728] parse documentation fixes. 4063* [Bug 734] setsockopt(..., IP_MULTICAST_IF, ...) fails on 64-bit platforms. 4064* [Bug 732] C-DEX JST2000 patch from Hideo Kuramatsu. 4065* [Bug 721] check for __ss_family and __ss_len separately. 4066* [Bug 666] ntpq opeers displays jitter rather than dispersion. 4067* [Bug 718] Use the recommended type for the saddrlen arg to getsockname(). 4068* [Bug 715] Fix a multicast issue under Linux. 4069* [Bug 690] Fix a Windows DNS lookup buffer overflow. 4070* [Bug 670] Resolved a Windows issue with the dynamic interface rescan code. 4071* K&R C support is being deprecated. 4072* [Bug 714] ntpq -p should conflict with -i, not -c. 4073* WWV refclock improvements from Dave Mills. 4074* [Bug 708] Use thread affinity only for the clock interpolation thread. 4075* [Bug 706] ntpd can be running several times in parallel. 4076* [Bug 704] Documentation typos. 4077* [Bug 701] coverity: NULL dereference in ntp_peer.c 4078* [Bug 695] libopts does not protect against macro collisions. 4079* [Bug 693] __adjtimex is independent of ntp_{adj,get}time. 4080* [Bug 692] sys_limitrejected was not being incremented. 4081* [Bug 691] restrictions() assumption not always valid. 4082* [Bug 689] Deprecate HEATH GC-1001 II; the driver never worked. 4083* [Bug 688] Fix documentation typos. 4084* [Bug 686] Handle leap seconds better under Windows. 4085* [Bug 685] Use the Windows multimedia timer. 4086* [Bug 684] Only allow debug options if debugging is enabled. 4087* [Bug 683] Use the right version string. 4088* [Bug 680] Fix the generated version string on Windows. 4089* [Bug 678] Use the correct size for control messages. 4090* [Bug 677] Do not check uint_t in configure.ac. 4091* [Bug 676] Use the right value for msg_namelen. 4092* [Bug 675] Make sure ntpd builds without debugging. 4093* [Bug 672] Fix cross-platform structure padding/size differences. 4094* [Bug 660] New TIMESTAMP code fails tp build on Solaris Express. 4095* [Bug 659] libopts does not build under Windows. 4096* [Bug 658] HP-UX with cc needs -Wp,-H8166 in CFLAGS. 4097* [Bug 656] ntpdate doesn't work with multicast address. 4098* [Bug 638] STREAMS_TLI is deprecated - remove it. 4099* [Bug 635] Fix tOptions definition. 4100* [Bug 628] Fallback to ntp discipline not working for large offsets. 4101* [Bug 622] Dynamic interface tracking for ntpd. 4102* [Bug 603] Don't link with libelf if it's not needed. 4103* [Bug 523] ntpd service under Windows does't shut down properly. 4104* [Bug 500] sntp should always be built. 4105* [Bug 479] Fix the -P option. 4106* [Bug 421] Support the bc637PCI-U card. 4107* [Bug 342] Deprecate broken TRAK refclock driver. 4108* [Bug 340] Deprecate broken MSF EES refclock driver. 4109* [Bug 153] Don't do DNS lookups on address masks. 4110* [Bug 143] Fix interrupted system call on HP-UX. 4111* [Bug 42] Distribution tarballs should be signed. 4112* Support separate PPS devices for PARSE refclocks. 4113* [Bug 637, 51?] Dynamic interface scanning can now be done. 4114* Options processing now uses GNU AutoGen. 4115 4116--- 4117(4.2.2p4) Released by Harlan Stenn <stenn@ntp.org> 4118 4119* [Bug 710] compat getnameinfo() has off-by-one error 4120* [Bug 690] Buffer overflow in Windows when doing DNS Lookups 4121 4122--- 4123(4.2.2p3) Released by Harlan Stenn <stenn@ntp.org> 4124 4125* Make the ChangeLog file cleaner and easier to read 4126* [Bug 601] ntpq's decodeint uses an extra level of indirection 4127* [Bug 657] Different OSes need different sized args for IP_MULTICAST_LOOP 4128* release engineering/build changes 4129* Documentation fixes 4130* Get sntp working under AIX-5 4131 4132--- 4133(4.2.2p2) (broken) 4134 4135* Get sntp working under AIX-5 4136 4137--- 4138(4.2.2p1) 4139 4140* [Bug 661] Use environment variable to specify the base path to openssl. 4141* Resolve an ambiguity in the copyright notice 4142* Added some new documentation files 4143* URL cleanup in the documentation 4144* [Bug 657]: IP_MULTICAST_LOOP uses a u_char value/size 4145* quiet gcc4 complaints 4146* more Coverity fixes 4147* [Bug 614] manage file descriptors better 4148* [Bug 632] update kernel PPS offsets when PPS offset is re-configured 4149* [Bug 637] Ignore UP in*addr_any interfaces 4150* [Bug 633] Avoid writing files in srcdir 4151* release engineering/build changes 4152 4153--- 4154(4.2.2) 4155 4156* SNTP 4157* Many bugfixes 4158* Implements the current "goal state" of NTPv4 4159* Autokey improvements 4160* Much better IPv6 support 4161* [Bug 360] ntpd loses handles with LAN connection disabled. 4162* [Bug 239] Fix intermittent autokey failure with multicast clients. 4163* Rewrite of the multicast code 4164* New version numbering scheme 4165 4166--- 4167(4.2.0) 4168 4169* More stuff than I have time to document 4170* IPv6 support 4171* Bugfixes 4172* call-gap filtering 4173* wwv and chu refclock improvements 4174* OpenSSL integration 4175 4176--- 4177(4.1.2) 4178 4179* clock state machine bugfix 4180* Lose the source port check on incoming packets 4181* (x)ntpdc compatibility patch 4182* Virtual IP improvements 4183* ntp_loopfilter fixes and improvements 4184* ntpdc improvements 4185* GOES refclock fix 4186* JJY driver 4187* Jupiter refclock fixes 4188* Neoclock4X refclock fixes 4189* AIX 5 port 4190* bsdi port fixes 4191* Cray unicos port upgrade 4192* HP MPE/iX port 4193* Win/NT port upgrade 4194* Dynix PTX port fixes 4195* Document conversion from CVS to BK 4196* readline support for ntpq 4197 4198--- 4199(4.1.0) 4200 4201* CERT problem fixed (99k23) 4202 4203* Huff-n-Puff filter 4204* Preparation for OpenSSL support 4205* Resolver changes/improvements are not backward compatible with mode 7 4206 requests (which are implementation-specific anyway) 4207* leap second stuff 4208* manycast should work now 4209* ntp-genkeys does new good things. 4210* scripts/ntp-close 4211* PPS cleanup and improvements 4212* readline support for ntpdc 4213* Crypto/authentication rewrite 4214* WINNT builds with MD5 by default 4215* WINNT no longer requires Perl for building with Visual C++ 6.0 4216* algorithmic improvements, bugfixes 4217* Solaris dosynctodr info update 4218* html/pic/* is *lots* smaller 4219* New/updated drivers: Forum Graphic GPS, WWV/H, Heath GC-100 II, HOPF 4220 serial and PCI, ONCORE, ulink331 4221* Rewrite of the audio drivers 4222 4223--- 4224(4.0.99) 4225 4226* Driver updates: CHU, DCF, GPS/VME, Oncore, PCF, Ulink, WWVB, burst 4227 If you use the ONCORE driver with a HARDPPS kernel module, 4228 you *must* have a properly specified: 4229 pps <filename> [assert/clear] [hardpps] 4230 line in the /etc/ntp.conf file. 4231* PARSE cleanup 4232* PPS cleanup 4233* ntpd, ntpq, ntpdate cleanup and fixes 4234* NT port improvements 4235* AIX, BSDI, DEC OSF, FreeBSD, NetBSD, Reliant, SCO, Solaris port improvements 4236 4237--- 4238(4.0.98) 4239 4240* Solaris kernel FLL bug is fixed in 106541-07 4241* Bug/lint cleanup 4242* PPS cleanup 4243* ReliantUNIX patches 4244* NetInfo support 4245* Ultralink driver 4246* Trimble OEM Ace-II support 4247* DCF77 power choices 4248* Oncore improvements 4249 4250--- 4251(4.0.97) 4252 4253* NT patches 4254* AIX,SunOS,IRIX portability 4255* NeXT portability 4256* ntptimeset utility added 4257* cygwin portability patches 4258 4259--- 4260(4.0.96) 4261 4262* -lnsl, -lsocket, -lgen configuration patches 4263* Y2K patches from AT&T 4264* Linux portability cruft 4265 4266--- 4267(4.0.95) 4268 4269* NT port cleanup/replacement 4270* a few portability fixes 4271* VARITEXT Parse clock added 4272 4273--- 4274(4.0.94) 4275 4276* PPS updates (including ntp.config options) 4277* Lose the old DES stuff in favor of the (optional) RSAREF stuff 4278* html cleanup/updates 4279* numerous drivers cleaned up 4280* numerous portability patches and code cleanup 4281 4282--- 4283(4.0.93) 4284 4285* Oncore refclock needs PPS or one of two ioctls. 4286* Don't make ntptime under Linux. It doesn't compile for too many folks. 4287* Autokey cleanup 4288* ReliantUnix patches 4289* html cleanup 4290* tickadj cleanup 4291* PARSE cleanup 4292* IRIX -n32 cleanup 4293* byte order cleanup 4294* ntptrace improvements and patches 4295* ntpdc improvements and patches 4296* PPS cleanup 4297* mx4200 cleanup 4298* New clock state machine 4299* SCO cleanup 4300* Skip alias interfaces 4301 4302--- 4303(4.0.92) 4304 4305* chronolog and dumbclock refclocks 4306* SCO updates 4307* Cleanup/bugfixes 4308* Y2K patches 4309* Updated palisade driver 4310* Plug memory leak 4311* wharton kernel clock 4312* Oncore clock upgrades 4313* NMEA clock improvements 4314* PPS improvements 4315* AIX portability patches 4316 4317--- 4318(4.0.91) 4319 4320* New ONCORE driver 4321* New MX4200 driver 4322* Palisade improvements 4323* config file bugfixes and problem reporting 4324* autoconf upgrade and cleanup 4325* HP-UX, IRIX lint cleanup 4326* AIX portability patches 4327* NT cleanup 4328 4329--- 4330(4.0.90) 4331 4332* Nanoseconds 4333* New palisade driver 4334* New Oncore driver 4335 4336--- 4337(4.0.73) 4338 4339* README.hackers added 4340* PARSE driver is working again 4341* Solaris 2.6 has nasty kernel bugs. DO NOT enable pll! 4342* DES is out of the distribution. 4343 4344--- 4345(4.0.72) 4346 4347* K&R C compiling should work again. 4348* IRIG patches. 4349* MX4200 driver patches. 4350* Jupiter driver added. 4351* Palisade driver added. Needs work (ANSI, ntoh/hton, sizeof double, ???) 4352