diff --git a/contrib/ntp/COPYRIGHT b/contrib/ntp/COPYRIGHT index 935d57413a11..f38933c19827 100644 --- a/contrib/ntp/COPYRIGHT +++ b/contrib/ntp/COPYRIGHT @@ -1,16 +1,15 @@ This file is automatically generated from html/copyright.html - Copyright Notice - + jpg "Clone me," says Dolly sheepishly. - + Last update: 2-Jan-2017 11:58 UTC - _________________________________________________________________ - - The following copyright notice applies to all files collectively - called the Network Time Protocol Version 4 Distribution. Unless - specifically declared otherwise in an individual file, this entire - notice applies as if the text was explicitly included in the file. + __________________________________________________________________ + + The following copyright notice applies to all files collectively called + the Network Time Protocol Version 4 Distribution. Unless specifically + declared otherwise in an individual file, this entire notice applies as + if the text was explicitly included in the file. *********************************************************************** * * * Copyright (c) University of Delaware 1992-2015 * @@ -62,13 +61,13 @@ This file is automatically generated from html/copyright.html *********************************************************************** The following individuals contributed in part to the Network Time - Protocol Distribution Version 4 and are acknowledged as authors of - this work. + Protocol Distribution Version 4 and are acknowledged as authors of this + work. 1. [1]Takao Abe Clock driver for JJY receivers 2. [2]Mark Andrews Leitch atomic clock controller - 3. [3]Bernd Altmeier hopf Elektronik serial - line and PCI-bus devices + 3. [3]Bernd Altmeier hopf Elektronik serial line + and PCI-bus devices 4. [4]Viraj Bais and [5]Clayton Kirkwood port to WindowsNT 3.5 5. [6]Michael Barone GPSVME fixes @@ -84,13 +83,12 @@ This file is automatically generated from html/copyright.html IPv6 support 12. [13]Reg Clemens Oncore driver (Current maintainer) 13. [14]Steve Clift OMEGA clock driver - 14. [15]Casey Crellin vxWorks (Tornado) port and - help with target configuration + 14. [15]Casey Crellin vxWorks (Tornado) port and help + with target configuration 15. [16]Sven Dietrich Palisade reference clock driver, NT adj. residuals, integrated Greg's Winnt port. 16. [17]John A. Dundas III Apple A/UX port - 17. [18]Torsten Duwe Linux - port + 17. [18]Torsten Duwe Linux port 18. [19]Dennis Ferguson foundation code for NTP Version 2 as specified in RFC-1119 19. [20]John Hay IPv6 support and testing @@ -122,9 +120,8 @@ This file is automatically generated from html/copyright.html code for Version 3 as specified in RFC-1305 36. [39]Danny Mayer Network I/O, Windows Port, Code Maintenance - 37. [40]David L. Mills Version 4 foundation, - precision kernel; clock drivers: 1, 3, 4, 6, 7, 11, 13, 18, 19, - 22, 36 + 37. [40]David L. Mills Version 4 foundation, precision + kernel; clock drivers: 1, 3, 4, 6, 7, 11, 13, 18, 19, 22, 36 38. [41]Wolfgang Moeller VMS port 39. [42]Jeffrey Mogul ntptrace utility 40. [43]Tom Moore i386 svr4 port @@ -136,22 +133,18 @@ This file is automatically generated from html/copyright.html 44. [48]Rainer Pruy monitoring/trap scripts, statistics file handling 45. [49]Dirce Richards Digital UNIX V4.0 port - 46. [50]Wilfredo Sánchez added support for - NetInfo + 46. [50]Wilfredo Sánchez added support for NetInfo 47. [51]Nick Sayer SunOS streams modules 48. [52]Jack Sasportas Saved a Lot of space on the stuff in the html/pic/ subdirectory 49. [53]Ray Schnitzler Unixware1 port 50. [54]Michael Shields USNO clock driver - 51. [55]Jeff Steinman Datum PTS clock - driver + 51. [55]Jeff Steinman Datum PTS clock driver 52. [56]Harlan Stenn GNU automake/autoconfigure makeover, various other bits (see the ChangeLog) 53. [57]Kenneth Stone HP-UX port - 54. [58]Ajit Thyagarajan IP multicast/anycast - support - 55. [59]Tomoaki TSURUOKA TRAK clock - driver + 54. [58]Ajit Thyagarajan IP multicast/anycast support + 55. [59]Tomoaki TSURUOKA TRAK clock driver 56. [60]Brian Utterback General codebase, Solaris issues 57. [61]Loganaden Velvindron Sandboxing @@ -160,7 +153,7 @@ This file is automatically generated from html/copyright.html TrueTime clock driver 59. [63]Ulrich Windl corrected and validated HTML documents according to the HTML DTD - _________________________________________________________________ + __________________________________________________________________ References diff --git a/contrib/ntp/ChangeLog b/contrib/ntp/ChangeLog index f381a093cf94..9ff845c81028 100644 --- a/contrib/ntp/ChangeLog +++ b/contrib/ntp/ChangeLog @@ -1,3 +1,48 @@ +--- +(4.2.8p13) 2019/03/07 Released by Harlan Stenn + +* [Sec 3565] Crafted null dereference attack in authenticated + mode 6 packet + - reported by Magnus Stubman +* [Bug 3560] Fix build when HAVE_DROPROOT is not defined + - applied patch by Ian Lepore +* [Bug 3558] Crash and integer size bug + - isolate and fix linux/windows specific code issue +* [Bug 3556] ntp_loopfilter.c snprintf compilation warnings + - provide better function for incremental string formatting +* [Bug 3555] Tidy up print alignment of debug output from ntpdate + - applied patch by Gerry Garvey +* [Bug 3554] config revoke stores incorrect value + - original finding by Gerry Garvey, additional cleanup needed +* [Bug 3549] Spurious initgroups() error message + - patch by Christous Zoulas +* [Bug 3548] Signature not verified on windows system + - finding by Chen Jiabin, plus another one by me +* [Bug 3541] patch to fix STA_NANO struct timex units + - applied patch by Maciej Szmigiero +* [Bug 3540] Cannot set minsane to 0 anymore + - applied patch by Andre Charbonneau +* [Bug 3539] work_fork build fails when droproot is not supported + - applied patch by Baruch Siach +* [Bug 3538] Build fails for no-MMU targets + - applied patch by Baruch Siach +* [Bug 3535] libparse won't handle GPS week rollover + - refactored handling of GPS era based on 'tos basedate' for + parse (TSIP) and JUPITER clocks +* [Bug 3529] Build failures on Mac OS X 10.13 (High Sierra) + - patch by Daniel J. Luke; this does not fix a potential linker + regression issue on MacOS. +* [Bug 3527 - Backward Incompatible] mode7 clockinfo fudgeval2 packet + anomaly , reported by GGarvey. + - --enable-bug3527-fix support by HStenn +* [Bug 3526] Incorrect poll interval in packet + - applied patch by Gerry Garvey +* [Bug 3471] Check for openssl/[ch]mac.h. + - added missing check, reported by Reinhard Max +* [Bug 1674] runtime crashes and sync problems affecting both x86 and x86_64 + - this is a variant of [bug 3558] and should be fixed with it +* Implement --disable-signalled-io + --- (4.2.8p12) 2018/08/14 Released by Harlan Stenn diff --git a/contrib/ntp/CommitLog b/contrib/ntp/CommitLog index cd75940d4daf..8883b0c53d7f 100644 --- a/contrib/ntp/CommitLog +++ b/contrib/ntp/CommitLog @@ -1,363 +1,6898 @@ -ChangeSet@1.3729, 2017-02-01 07:39:35-05:00, stenn@deacon.udel.edu +ChangeSet@1.3849, 2019-02-20 17:13:36-08:00, harlan@ntp-build.tal1.ntfo.org + Update NEWS file + + NEWS@1.200 +3 -0 + Update NEWS file + +ChangeSet@1.3848, 2019-02-20 09:44:58-08:00, harlan@ntp-build.tal1.ntfo.org + build system cleanups + + build@1.50 +1 -1 + build system cleanups + + scripts/build/check--help@1.4 +2 -2 + build system cleanups + + sntp/libopts/autoopts/options.h@1.31 +1 -1 + build system cleanups + + sntp/libopts/genshell.h@1.31 +1 -1 + build system cleanups + +ChangeSet@1.3847, 2019-02-18 22:26:26-08:00, harlan@ntp-build.tal1.ntfo.org + ChangeLog and NEWS description cleanups + + ChangeLog@1.1971 +4 -4 + ChangeLog and NEWS description cleanups + + NEWS@1.199 +4 -2 + ChangeLog and NEWS description cleanups + +ChangeSet@1.3844.1.4, 2019-02-18 20:10:25-08:00, harlan@ntp-build.tal1.ntfo.org + NEWS file update + + NEWS@1.198 +49 -2 + NEWS file update + +ChangeSet@1.3844.1.3, 2019-02-16 07:36:50+00:00, stenn@stenn.ntp.org + Improve messages around signalled IO handling in configure + + sntp/m4/ntp_libntp.m4@1.38 +5 -0 + Improve messages around signalled IO handling in configure + +ChangeSet@1.3844.1.2, 2019-02-15 13:27:05+00:00, stenn@stenn.ntp.org + Implement --disable-signalled-io + + ChangeLog@1.1968.1.2 +1 -0 + Implement --disable-signalled-io + + sntp/m4/ntp_libntp.m4@1.37 +22 -2 + Implement --disable-signalled-io + +ChangeSet@1.3844.1.1, 2019-01-17 04:16:52+00:00, stenn@psp-deb1.ntp.org + Cleanup + + ChangeLog@1.1968.1.1 +0 -1 + Cleanup + +ChangeSet@1.3845, 2019-01-16 21:42:59+01:00, perlinger@ntp.org + [Sec 3565] null pointer crash by remote attack + + ChangeLog@1.1969 +3 -0 + [Sec 3565] null pointer crash by remote attack + + ntpd/ntp_control.c@1.233 +17 -9 + [Sec 3565] null pointer crash by remote attack + +ChangeSet@1.3827.1.2, 2018-12-15 13:25:25+00:00, stenn@psp-deb1.ntp.org + bug3527 fixes + + ChangeLog@1.1952.1.2 +3 -3 + bug3527 fixes + + configure.ac@1.614.1.1 +18 -0 + bug3527 fixes + + ntpd/ntp_request.c@1.129 +7 -4 + bug3527 fixes + + ntpdc/ntpdc_ops.c@1.85 +8 -3 + bug3527 fixes + +ChangeSet@1.3827.15.1, 2018-12-12 07:37:12+01:00, perlinger@ntp.org + [Bug 3560] Fix build when HAVE_DROPROOT is not defined + + ChangeLog@1.1952.15.1 +4 -0 + [Bug 3560] Fix build when HAVE_DROPROOT is not defined + + libntp/work_fork.c@1.20.2.1 +2 -0 + [Bug 3560] Fix build when HAVE_DROPROOT is not defined + +ChangeSet@1.3827.14.1, 2018-12-11 07:42:01+01:00, perlinger@ntp.org + [Bug 3558] Crash and integer size bug + [Bug 1674] runtime crashes and sync problems affecting both x86 and x86_64 + - isolate & fix LP64/LLP64 problem with BANCOMM SDK + + ChangeLog@1.1952.14.1 +6 -0 + [Bug 3558] Crash and integer size bug + [Bug 1674] runtime crashes and sync problems affecting both x86 and x86_64 + - isolate & fix LP64/LLP64 problem with BANCOMM SDK + + configure.ac@1.615 +1 -0 + [Bug 3558] Crash and integer size bug + [Bug 1674] runtime crashes and sync problems affecting both x86 and x86_64 + - search for BANCOMM SDK lib + + ntpd/refclock_bancomm.c@1.17 +96 -23 + [Bug 3558] Crash and integer size bug + [Bug 1674] runtime crashes and sync problems affecting both x86 and x86_64 + - isolate & fix LP64/LLP64 problem with BANCOMM SDK + +ChangeSet@1.3827.11.2, 2018-12-05 06:58:13+01:00, perlinger@ntp.org + Bug 3556 - ntp_loopfilter.c snprintf compilation warnings + - stricter buffer range checks + + libntp/xsbprintf.c@1.2 +11 -13 + Bug 3556 - ntp_loopfilter.c snprintf compilation warnings + - stricter buffer range checks + + tests/libntp/run-sbprintf.c@1.2 +8 -4 + Bug 3556 - ntp_loopfilter.c snprintf compilation warnings + - stricter buffer range checks + + tests/libntp/sbprintf.c@1.2 +28 -0 + Bug 3556 - ntp_loopfilter.c snprintf compilation warnings + - stricter buffer range checks + +ChangeSet@1.3827.10.2, 2018-12-03 02:29:24-05:00, stenn@psp-fb1.ntp.org + Update Changelog for latest fix for 3471 + + ChangeLog@1.1952.10.2 +6 -1 + Update Changelog for latest fix for 3471 + +ChangeSet@1.3827.13.1, 2018-12-02 09:05:37+01:00, perlinger@ntp.org + [Bug 3555] Tidy up print alignment of debug output from ntpdate + + ChangeLog@1.1952.13.1 +4 -0 + [Bug 3555] Tidy up print alignment of debug output from ntpdate + + ntpdate/ntpdate.c@1.102 +12 -9 + [Bug 3555] Tidy up print alignment of debug output from ntpdate + +ChangeSet@1.3827.12.1, 2018-12-02 08:17:05+01:00, perlinger@ntp.org + [Bug 3554] config revoke stores incorrect value + - plus some additional cleanup + + ChangeLog@1.1952.12.1 +4 -0 + [Bug 3554] config revoke stores incorrect value + + include/ntpd.h@1.204 +2 -2 + [Bug 3554] config revoke stores incorrect value + - sys_{revoke,automax} hold positive log2 value -- unsigned char is enough. + + ntpd/ntp_config.c@1.365.2.1 +12 -3 + [Bug 3554] config revoke stores incorrect value + - sys_{revoke,automax} hold positive log2 value for shift; clamp values + + ntpd/ntp_crypto.c@1.190.1.1 +2 -2 + [Bug 3554] config revoke stores incorrect value + - avoid possible integer truncation + + ntpd/ntp_timer.c@1.97 +4 -4 + [Bug 3554] config revoke stores incorrect value + - sys_{revoke,automax} hold positive log2 value -- unsigned char is enough. + - avoid possible integer truncation + +ChangeSet@1.3827.11.1, 2018-12-01 12:10:51+01:00, perlinger@ntp.org + [Bug 3556] ntp_loopfilter.c snprintf compilation warnings + - provide better function for incremental string formatting + + ChangeLog@1.1952.11.1 +4 -0 + [Bug 3556] ntp_loopfilter.c snprintf compilation warnings + - provide better function for incremental string formatting + + include/ntp_stdlib.h@1.87 +3 -0 + [Bug 3556] ntp_loopfilter.c snprintf compilation warnings + - provide better API for incremental string formatting + + libntp/Makefile.am@1.82 +1 -0 + [Bug 3556] ntp_loopfilter.c snprintf compilation warnings + - add source of new API for incremental string formatting + + libntp/xsbprintf.c@1.1 +77 -0 + [Bug 3556] ntp_loopfilter.c snprintf compilation warnings + - implement new API for incremental string formatting + + libntp/xsbprintf.c@1.0 +0 -0 + + ntpd/ntp_loopfilter.c@1.192 +18 -14 + [Bug 3556] ntp_loopfilter.c snprintf compilation warnings + - use new API for incremental string formatting + + ports/winnt/vs2005/libntp.vcproj@1.27 +4 -0 + [Bug 3556] ntp_loopfilter.c snprintf compilation warnings + - add source of new API for incremental string formatting + + ports/winnt/vs2008/libntp/libntp.vcproj@1.58 +4 -0 + [Bug 3556] ntp_loopfilter.c snprintf compilation warnings + - add source of new API for incremental string formatting + + ports/winnt/vs2013/libntp/libntp.vcxproj@1.14 +3 -2 + [Bug 3556] ntp_loopfilter.c snprintf compilation warnings + - add source of new API for incremental string formatting + + ports/winnt/vs2013/libntp/libntp.vcxproj.filters@1.12 +5 -2 + [Bug 3556] ntp_loopfilter.c snprintf compilation warnings + - add source of new API for incremental string formatting + + ports/winnt/vs2015/libntp/libntp.vcxproj@1.4 +3 -2 + [Bug 3556] ntp_loopfilter.c snprintf compilation warnings + - add source of new API for incremental string formatting + + ports/winnt/vs2015/libntp/libntp.vcxproj.filters@1.4 +5 -2 + [Bug 3556] ntp_loopfilter.c snprintf compilation warnings + - add source of new API for incremental string formatting + + tests/libntp/Makefile.am@1.100 +12 -0 + [Bug 3556] ntp_loopfilter.c snprintf compilation warnings + - add string buffer formatting tests + + tests/libntp/run-sbprintf.c@1.1 +72 -0 + [Bug 3556] ntp_loopfilter.c snprintf compilation warnings + - add string buffer formatting tests + + tests/libntp/run-sbprintf.c@1.0 +0 -0 + + tests/libntp/sbprintf.c@1.1 +67 -0 + [Bug 3556] ntp_loopfilter.c snprintf compilation warnings + - add string buffer formatting tests + + tests/libntp/sbprintf.c@1.0 +0 -0 + +ChangeSet@1.3827.10.1, 2018-11-30 06:34:35+01:00, perlinger@ntp.org + [Bug 3471] Check for openssl/[ch]mac.h + - added missing check in code + + ChangeLog@1.1952.10.1 +1 -0 + [Bug 3471] Check for openssl/[ch]mac.h + - added missing check in code + + libntp/authreadkeys.c@1.33 +2 -0 + [Bug 3471] Check for openssl/[ch]mac.h + - added missing check in code + +ChangeSet@1.3827.9.1, 2018-11-11 12:03:14+01:00, perlinger@ntp.org + [Bug 3549] Spurious initgroups() error message + + ChangeLog@1.1952.9.1 +4 -0 + [Bug 3549] Spurious initgroups() error message + + ntpd/ntpd.c@1.177.2.1 +33 -17 + [Bug 3549] Spurious initgroups() error message + - make 'set_user_group_ids()' idempotent: If we're already there, don't complain. + +ChangeSet@1.3827.8.1, 2018-11-11 11:07:23+01:00, perlinger@ntp.org + [Bug 3548] Signature not verified on windows system + + ChangeLog@1.1952.8.1 +4 -0 + [Bug 3548] Signature not verified on windows system + + ntpd/ntp_crypto.c@1.191 +2 -1 + [Bug 3548] Signature not verified on windows system + - ntohl() can be a macro + + sntp/networking.c@1.70 +2 -1 + [Bug 3548] Signature not verified on windows system + - ntohl() can be a macro + +ChangeSet@1.3827.7.1, 2018-11-11 09:56:34+01:00, perlinger@ntp.org + [Bug 3541] patch to fix STA_NANO struct timex units + + ChangeLog@1.1952.7.1 +4 -0 + [Bug 3541] patch to fix STA_NANO struct timex units + + ntpd/ntp_control.c@1.232 +9 -7 + [Bug 3541] patch to fix STA_NANO struct timex units + + ntpdc/ntpdc_ops.c@1.83.1.1 +7 -7 + [Bug 3541] patch to fix STA_NANO struct timex units + + util/ntptime.c@1.28 +0 -4 + [Bug 3541] patch to fix STA_NANO struct timex units + +ChangeSet@1.3827.6.1, 2018-10-27 11:00:56+02:00, perlinger@ntp.org + [Bug 3540] Cannot set minsane to 0 anymore + + ChangeLog@1.1952.6.1 +4 -0 + [Bug 3540] Cannot set minsane to 0 anymore + + ntpd/ntp_config.c@1.365.1.1 +2 -2 + [Bug 3540] Cannot set minsane to 0 anymore + +ChangeSet@1.3827.5.1, 2018-10-27 10:33:55+02:00, perlinger@ntp.org + [Bug 3539] work_fork build fails when droproot is not supported + + ChangeLog@1.1952.5.1 +4 -0 + [Bug 3539] work_fork build fails when droproot is not supported + + libntp/work_fork.c@1.20.1.1 +2 -0 + [Bug 3539] work_fork build fails when droproot is not supported + +ChangeSet@1.3827.4.1, 2018-10-27 10:23:05+02:00, perlinger@ntp.org + [Bug 3538] Build fails for no-MMU targets + + ChangeLog@1.1952.4.1 +4 -0 + [Bug 3538] Build fails for no-MMU targets + + ntpd/ntpd.c@1.177.1.1 +2 -0 + [Bug 3538] Build fails for no-MMU targets + +ChangeSet@1.3827.3.1, 2018-10-13 08:03:48+02:00, perlinger@ntp.org + [Bug 3535] libparse won't handle GPS week rollover + + ChangeLog@1.1952.3.1 +5 -0 + [Bug 3535] libparse won't handle GPS week rollover + + include/ntp_calendar.h@1.20 +21 -3 + [Bug 3535] libparse won't handle GPS week rollover + - GPS week era support + + include/parse.h@1.15 +0 -1 + [Bug 3535] libparse won't handle GPS week rollover + - remove GPSWRAP definition to avoid lurking uses + + libntp/calyearstart.c@1.7 +1 -1 + [Bug 3535] libparse won't handle GPS week rollover + + libntp/ntp_calendar.c@1.21 +38 -0 + [Bug 3535] libparse won't handle GPS week rollover + - set GPS base week as first Sunday on or after base date + + libparse/clk_trimtsip.c@1.15 +5 -9 + [Bug 3535] libparse won't handle GPS week rollover + - use centralized week expansion code + + libparse/gpstolfp.c@1.14 +0 -5 + [Bug 3535] libparse won't handle GPS week rollover + - don't try to expand weeks in the conversion + + ntpd/ntp_config.c@1.366 +4 -0 + [Bug 3535] libparse won't handle GPS week rollover + - set basedate based on build stamp if not set explicitely + + ntpd/refclock_jupiter.c@1.32 +1 -56 + [Bug 3535] libparse won't handle GPS week rollover + - use centralized week expansion code instead of local copy + + ntpd/refclock_parse.c@1.87 +1 -2 + [Bug 3535] libparse won't handle GPS week rollover + - use centralized week expansion code + +ChangeSet@1.3827.2.1, 2018-10-02 18:03:33+02:00, perlinger@ntp.org + [Bug 3529] Build failures on Mac OS X 10.13 (High Sierra) + + ChangeLog@1.1952.2.1 +5 -0 + [Bug 3529] Build failures on Mac OS X 10.13 (High Sierra) + + libntp/work_fork.c@1.21 +6 -3 + [Bug 3529] Build failures on Mac OS X 10.13 (High Sierra) + - make existence of 'set_user_group_ids()' depend on HAVE_DROPROOT + +ChangeSet@1.3827.1.1, 2018-10-02 17:38:18+02:00, perlinger@ntp.org + [Bug 3527] fudgeval2 anomaly in mode7 clock info packet + + ChangeLog@1.1952.1.1 +5 -0 + [Bug 3527] fudgeval2 anomaly in mode7 clock info packet + + ntpd/ntp_request.c@1.128 +5 -0 + [Bug 3527] fudgeval2 anomaly in mode7 clock info packet + + ntpdc/ntpdc_ops.c@1.84 +4 -0 + [Bug 3527] fudgeval2 anomaly in mode7 clock info packet + +ChangeSet@1.3828, 2018-09-12 22:52:00+02:00, perlinger@ntp.org + [Bug 3526] Incorrect poll interval in packet + + ChangeLog@1.1953 +4 -0 + [Bug 3526] Incorrect poll interval in packet + + ntpd/ntp_proto.c@1.423 +4 -4 + [Bug 3526] Incorrect poll interval in packet + + ntpd/ntpd.c@1.178 +4 -4 + [Bug 3526] Incorrect poll interval in packet + (side kick: fix function prototypes. C is not C++.) + + sntp/main.c@1.104 +2 -3 + [Bug 3526] Incorrect poll interval in packet + (side kick: fix function prototypes. C is not C++.) + +ChangeSet@1.3827, 2018-08-14 08:31:08-04:00, stenn@deacon.udel.edu + NTP_4_2_8P12 + TAG: NTP_4_2_8P12 + + ChangeLog@1.1952 +1 -0 + NTP_4_2_8P12 + + ntpd/invoke-ntp.conf.texi@1.217 +1 -1 + NTP_4_2_8P12 + + ntpd/invoke-ntp.keys.texi@1.202 +1 -1 + NTP_4_2_8P12 + + ntpd/invoke-ntpd.texi@1.516 +2 -2 + NTP_4_2_8P12 + + ntpd/ntp.conf.5man@1.251 +3 -3 + NTP_4_2_8P12 + + ntpd/ntp.conf.5mdoc@1.251 +2 -2 + NTP_4_2_8P12 + + ntpd/ntp.conf.html@1.200 +92 -105 + NTP_4_2_8P12 + + ntpd/ntp.conf.man.in@1.251 +3 -3 + NTP_4_2_8P12 + + ntpd/ntp.conf.mdoc.in@1.251 +2 -2 + NTP_4_2_8P12 + + ntpd/ntp.keys.5man@1.236 +2 -2 + NTP_4_2_8P12 + + ntpd/ntp.keys.5mdoc@1.236 +3 -3 + NTP_4_2_8P12 + + ntpd/ntp.keys.html@1.199 +17 -29 + NTP_4_2_8P12 + + ntpd/ntp.keys.man.in@1.236 +2 -2 + NTP_4_2_8P12 + + ntpd/ntp.keys.mdoc.in@1.236 +3 -3 + NTP_4_2_8P12 + + ntpd/ntpd-opts.c@1.538 +7 -7 + NTP_4_2_8P12 + + ntpd/ntpd-opts.h@1.537 +3 -3 + NTP_4_2_8P12 + + ntpd/ntpd.1ntpdman@1.345 +3 -3 + NTP_4_2_8P12 + + ntpd/ntpd.1ntpdmdoc@1.345 +2 -2 + NTP_4_2_8P12 + + ntpd/ntpd.html@1.191 +101 -145 + NTP_4_2_8P12 + + ntpd/ntpd.man.in@1.345 +3 -3 + NTP_4_2_8P12 + + ntpd/ntpd.mdoc.in@1.345 +2 -2 + NTP_4_2_8P12 + + ntpdc/invoke-ntpdc.texi@1.513 +2 -2 + NTP_4_2_8P12 + + ntpdc/ntpdc-opts.c@1.531 +7 -7 + NTP_4_2_8P12 + + ntpdc/ntpdc-opts.h@1.530 +3 -3 + NTP_4_2_8P12 + + ntpdc/ntpdc.1ntpdcman@1.344 +3 -3 + NTP_4_2_8P12 + + ntpdc/ntpdc.1ntpdcmdoc@1.344 +2 -2 + NTP_4_2_8P12 + + ntpdc/ntpdc.html@1.359 +57 -77 + NTP_4_2_8P12 + + ntpdc/ntpdc.man.in@1.344 +3 -3 + NTP_4_2_8P12 + + ntpdc/ntpdc.mdoc.in@1.344 +2 -2 + NTP_4_2_8P12 + + ntpq/invoke-ntpq.texi@1.523 +2 -2 + NTP_4_2_8P12 + + ntpq/ntpq-opts.c@1.540 +7 -7 + NTP_4_2_8P12 + + ntpq/ntpq-opts.h@1.538 +3 -3 + NTP_4_2_8P12 + + ntpq/ntpq.1ntpqman@1.351 +3 -3 + NTP_4_2_8P12 + + ntpq/ntpq.1ntpqmdoc@1.351 +2 -2 + NTP_4_2_8P12 + + ntpq/ntpq.html@1.190 +105 -129 + NTP_4_2_8P12 + + ntpq/ntpq.man.in@1.351 +3 -3 + NTP_4_2_8P12 + + ntpq/ntpq.mdoc.in@1.351 +2 -2 + NTP_4_2_8P12 + + ntpsnmpd/invoke-ntpsnmpd.texi@1.515 +1 -1 + NTP_4_2_8P12 + + ntpsnmpd/ntpsnmpd-opts.c@1.533 +7 -7 + NTP_4_2_8P12 + + ntpsnmpd/ntpsnmpd-opts.h@1.532 +3 -3 + NTP_4_2_8P12 + + ntpsnmpd/ntpsnmpd.1ntpsnmpdman@1.344 +3 -3 + NTP_4_2_8P12 + + ntpsnmpd/ntpsnmpd.1ntpsnmpdmdoc@1.344 +2 -2 + NTP_4_2_8P12 + + ntpsnmpd/ntpsnmpd.html@1.185 +10 -14 + NTP_4_2_8P12 + + ntpsnmpd/ntpsnmpd.man.in@1.344 +3 -3 + NTP_4_2_8P12 + + ntpsnmpd/ntpsnmpd.mdoc.in@1.344 +2 -2 + NTP_4_2_8P12 + + packageinfo.sh@1.542 +2 -2 + NTP_4_2_8P12 + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjman@1.105 +3 -3 + NTP_4_2_8P12 + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjmdoc@1.106 +2 -2 + NTP_4_2_8P12 + + scripts/calc_tickadj/calc_tickadj.html@1.106 +1 -1 + NTP_4_2_8P12 + + scripts/calc_tickadj/calc_tickadj.man.in@1.104 +3 -3 + NTP_4_2_8P12 + + scripts/calc_tickadj/calc_tickadj.mdoc.in@1.106 +2 -2 + NTP_4_2_8P12 + + scripts/calc_tickadj/invoke-calc_tickadj.texi@1.109 +1 -1 + NTP_4_2_8P12 + + scripts/invoke-plot_summary.texi@1.127 +2 -2 + NTP_4_2_8P12 + + scripts/invoke-summary.texi@1.126 +2 -2 + NTP_4_2_8P12 + + scripts/ntp-wait/invoke-ntp-wait.texi@1.336 +2 -2 + NTP_4_2_8P12 + + scripts/ntp-wait/ntp-wait-opts@1.72 +2 -2 + NTP_4_2_8P12 + + scripts/ntp-wait/ntp-wait.1ntp-waitman@1.333 +3 -3 + NTP_4_2_8P12 + + scripts/ntp-wait/ntp-wait.1ntp-waitmdoc@1.334 +2 -2 + NTP_4_2_8P12 + + scripts/ntp-wait/ntp-wait.html@1.355 +31 -49 + NTP_4_2_8P12 + + scripts/ntp-wait/ntp-wait.man.in@1.333 +3 -3 + NTP_4_2_8P12 + + scripts/ntp-wait/ntp-wait.mdoc.in@1.334 +2 -2 + NTP_4_2_8P12 + + scripts/ntpsweep/invoke-ntpsweep.texi@1.124 +2 -2 + NTP_4_2_8P12 + + scripts/ntpsweep/ntpsweep-opts@1.74 +2 -2 + NTP_4_2_8P12 + + scripts/ntpsweep/ntpsweep.1ntpsweepman@1.112 +3 -3 + NTP_4_2_8P12 + + scripts/ntpsweep/ntpsweep.1ntpsweepmdoc@1.112 +2 -2 + NTP_4_2_8P12 + + scripts/ntpsweep/ntpsweep.html@1.127 +33 -44 + NTP_4_2_8P12 + + scripts/ntpsweep/ntpsweep.man.in@1.112 +3 -3 + NTP_4_2_8P12 + + scripts/ntpsweep/ntpsweep.mdoc.in@1.113 +2 -2 + NTP_4_2_8P12 + + scripts/ntptrace/invoke-ntptrace.texi@1.125 +2 -2 + NTP_4_2_8P12 + + scripts/ntptrace/ntptrace-opts@1.74 +2 -2 + NTP_4_2_8P12 + + scripts/ntptrace/ntptrace.1ntptraceman@1.112 +3 -3 + NTP_4_2_8P12 + + scripts/ntptrace/ntptrace.1ntptracemdoc@1.113 +2 -2 + NTP_4_2_8P12 + + scripts/ntptrace/ntptrace.html@1.128 +27 -36 + NTP_4_2_8P12 + + scripts/ntptrace/ntptrace.man.in@1.112 +3 -3 + NTP_4_2_8P12 + + scripts/ntptrace/ntptrace.mdoc.in@1.114 +2 -2 + NTP_4_2_8P12 + + scripts/plot_summary-opts@1.75 +2 -2 + NTP_4_2_8P12 + + scripts/plot_summary.1plot_summaryman@1.125 +3 -3 + NTP_4_2_8P12 + + scripts/plot_summary.1plot_summarymdoc@1.125 +2 -2 + NTP_4_2_8P12 + + scripts/plot_summary.html@1.130 +29 -47 + NTP_4_2_8P12 + + scripts/plot_summary.man.in@1.125 +3 -3 + NTP_4_2_8P12 + + scripts/plot_summary.mdoc.in@1.125 +2 -2 + NTP_4_2_8P12 + + scripts/summary-opts@1.74 +2 -2 + NTP_4_2_8P12 + + scripts/summary.1summaryman@1.124 +3 -3 + NTP_4_2_8P12 + + scripts/summary.1summarymdoc@1.124 +2 -2 + NTP_4_2_8P12 + + scripts/summary.html@1.129 +27 -39 + NTP_4_2_8P12 + + scripts/summary.man.in@1.124 +3 -3 + NTP_4_2_8P12 + + scripts/summary.mdoc.in@1.124 +2 -2 + NTP_4_2_8P12 + + scripts/update-leap/invoke-update-leap.texi@1.25 +1 -1 + NTP_4_2_8P12 + + scripts/update-leap/update-leap-opts@1.25 +2 -2 + NTP_4_2_8P12 + + scripts/update-leap/update-leap.1update-leapman@1.25 +3 -3 + NTP_4_2_8P12 + + scripts/update-leap/update-leap.1update-leapmdoc@1.25 +2 -2 + NTP_4_2_8P12 + + scripts/update-leap/update-leap.html@1.27 +35 -59 + NTP_4_2_8P12 + + scripts/update-leap/update-leap.man.in@1.25 +3 -3 + NTP_4_2_8P12 + + scripts/update-leap/update-leap.mdoc.in@1.25 +2 -2 + NTP_4_2_8P12 + + sntp/invoke-sntp.texi@1.515 +23 -27 + NTP_4_2_8P12 + + sntp/sntp-opts.c@1.534 +7 -7 + NTP_4_2_8P12 + + sntp/sntp-opts.h@1.532 +3 -3 + NTP_4_2_8P12 + + sntp/sntp.1sntpman@1.350 +3 -3 + NTP_4_2_8P12 + + sntp/sntp.1sntpmdoc@1.350 +2 -2 + NTP_4_2_8P12 + + sntp/sntp.html@1.531 +106 -134 + NTP_4_2_8P12 + + sntp/sntp.man.in@1.350 +3 -3 + NTP_4_2_8P12 + + sntp/sntp.mdoc.in@1.350 +2 -2 + NTP_4_2_8P12 + + util/invoke-ntp-keygen.texi@1.518 +2 -2 + NTP_4_2_8P12 + + util/ntp-keygen-opts.c@1.536 +7 -7 + NTP_4_2_8P12 + + util/ntp-keygen-opts.h@1.534 +3 -3 + NTP_4_2_8P12 + + util/ntp-keygen.1ntp-keygenman@1.346 +3 -3 + NTP_4_2_8P12 + + util/ntp-keygen.1ntp-keygenmdoc@1.346 +2 -2 + NTP_4_2_8P12 + + util/ntp-keygen.html@1.191 +148 -206 + NTP_4_2_8P12 + + util/ntp-keygen.man.in@1.346 +3 -3 + NTP_4_2_8P12 + + util/ntp-keygen.mdoc.in@1.346 +2 -2 + NTP_4_2_8P12 + +ChangeSet@1.3826, 2018-08-14 07:16:23-04:00, stenn@deacon.udel.edu + Trigger the release of ntp-4.2.8p12 + + packageinfo.sh@1.541 +1 -1 + Trigger the release of ntp-4.2.8p12 + +ChangeSet@1.3825, 2018-08-13 04:31:37+00:00, stenn@psp-deb1.ntp.org + NEWS update + + NEWS@1.197 +1 -1 + NEWS update + +ChangeSet@1.3812.1.10, 2018-08-04 10:31:58+00:00, stenn@psp-deb1.ntp.org + [Bug 3521] Fix a logic bug in the INVALIDNAK checks + + ChangeLog@1.1942.1.9 +1 -0 + [Bug 3521] Fix a logic bug in the INVALIDNAK checks + + NEWS@1.192.1.2 +1 -0 + [Bug 3521] Fix a logic bug in the INVALIDNAK checks + + ntpd/ntp_proto.c@1.422 +46 -35 + [Bug 3521] Fix a logic bug in the INVALIDNAK checks + +ChangeSet@1.3823, 2018-07-28 05:03:57+00:00, stenn@psp-deb1.ntp.org + 3505 description updates + + ChangeLog@1.1950 +2 -1 + 3505 description updates + + NEWS@1.195 +2 -2 + 3505 description updates + +ChangeSet@1.3812.1.9, 2018-07-25 09:56:39+00:00, stenn@psp-deb1.ntp.org + updates + + ChangeLog@1.1942.1.8 +1 -0 + updates + + NEWS@1.192.1.1 +2 -2 + updates + + html/authentic.html@1.18 +219 -87 + updates + +ChangeSet@1.3821, 2018-07-25 07:41:01+00:00, stenn@psp-deb1.ntp.org + updates + + ntpd/ntp.conf.html@1.199 +104 -91 + updates + + ntpd/ntp.keys.html@1.198 +28 -16 + updates + + ntpd/ntpd.html@1.190 +145 -101 + updates + + ntpdc/ntpdc.html@1.358 +75 -55 + updates + + ntpsnmpd/ntpsnmpd.html@1.184 +13 -9 + updates + + scripts/ntp-wait/ntp-wait.html@1.354 +47 -29 + updates + + scripts/ntpsweep/ntpsweep.html@1.126 +42 -31 + updates + + scripts/ntptrace/ntptrace.html@1.127 +34 -25 + updates + + scripts/plot_summary.html@1.129 +45 -27 + updates + + scripts/summary.html@1.128 +37 -25 + updates + + scripts/update-leap/update-leap.html@1.26 +132 -34 + updates + + sntp/sntp.html@1.530 +107 -83 + updates + +ChangeSet@1.3820, 2018-07-25 07:38:42+00:00, stenn@psp-deb1.ntp.org + Bug 3509 tweaks + + NEWS@1.193 +6 -1 + Bug 3509 tweaks + + sntp/m4/ntp_libntp.m4@1.36 +1 -1 + Bug 3509 tweaks + +ChangeSet@1.3816.1.1, 2018-07-25 07:08:13+02:00, perlinger@ntp.org + [Bug 3509] Add support for running as non-root on FreeBSD, Darwin, other TrustedBSD platforms + + ChangeLog@1.1946.1.1 +3 -0 + [Bug 3509] Add support for running as non-root on FreeBSD, Darwin, other TrustedBSD platforms + + ntpd/ntpd.c@1.177 +20 -2 + [Bug 3509] Add support for running as non-root on FreeBSD, Darwin, other TrustedBSD platforms + + sntp/m4/ntp_libntp.m4@1.35 +22 -1 + [Bug 3509] Add support for running as non-root on FreeBSD, Darwin, other TrustedBSD platforms + +ChangeSet@1.3812.1.8, 2018-07-24 09:16:25+00:00, stenn@psp-deb1.ntp.org + Symmetric key range is 1-65535. Update docs. + + html/authentic.html@1.17 +3 -3 + Symmetric key range is 1-65535. Update docs. + + ntpd/invoke-ntp.conf.texi@1.216 +5 -5 + Symmetric key range is 1-65535. Update docs. + + ntpd/ntp.conf.5man@1.250 +5 -5 + Symmetric key range is 1-65535. Update docs. + + ntpd/ntp.conf.5mdoc@1.250 +5 -5 + Symmetric key range is 1-65535. Update docs. + + ntpd/ntp.conf.def@1.33 +4 -4 + Symmetric key range is 1-65535. Update docs. + + ntpd/ntp.conf.html@1.198 +4 -4 + Symmetric key range is 1-65535. Update docs. + + ntpd/ntp.conf.man.in@1.250 +5 -5 + Symmetric key range is 1-65535. Update docs. + + ntpd/ntp.conf.mdoc.in@1.250 +5 -5 + Symmetric key range is 1-65535. Update docs. + +ChangeSet@1.3812.1.7, 2018-07-24 07:38:08+00:00, stenn@psp-deb1.ntp.org + Symmetric key range is 1-65535. Update docs. + + ChangeLog@1.1942.1.7 +1 -0 + Symmetric key range is 1-65535. Update docs. + + NEWS@1.192 +66 -1 + Symmetric key range is 1-65535. Update docs. + + html/authopt.html@1.76 +3 -3 + Symmetric key range is 1-65535. Update docs. + + html/confopt.html@1.64 +2 -2 + Symmetric key range is 1-65535. Update docs. + + html/keygen.html@1.37 +2 -2 + Symmetric key range is 1-65535. Update docs. + + ntpd/complete.conf.in@1.34 +1 -1 + Symmetric key range is 1-65535. Update docs. + + ntpd/invoke-ntp.conf.texi@1.215 +2 -2 + Symmetric key range is 1-65535. Update docs. + + ntpd/invoke-ntp.keys.texi@1.201 +3 -3 + Symmetric key range is 1-65535. Update docs. + + ntpd/ntp.conf.5man@1.249 +4 -4 + Symmetric key range is 1-65535. Update docs. + + ntpd/ntp.conf.5mdoc@1.249 +3 -3 + Symmetric key range is 1-65535. Update docs. + + ntpd/ntp.conf.def@1.32 +1 -1 + Symmetric key range is 1-65535. Update docs. + + ntpd/ntp.conf.html@1.197 +1 -1 + Symmetric key range is 1-65535. Update docs. + + ntpd/ntp.conf.man.in@1.249 +4 -4 + Symmetric key range is 1-65535. Update docs. + + ntpd/ntp.conf.mdoc.in@1.249 +3 -3 + Symmetric key range is 1-65535. Update docs. + + ntpd/ntp.keys.5man@1.235 +4 -4 + Symmetric key range is 1-65535. Update docs. + + ntpd/ntp.keys.5mdoc@1.235 +5 -5 + Symmetric key range is 1-65535. Update docs. + + ntpd/ntp.keys.def@1.13 +2 -2 + Symmetric key range is 1-65535. Update docs. + + ntpd/ntp.keys.html@1.197 +2 -2 + Symmetric key range is 1-65535. Update docs. + + ntpd/ntp.keys.man.in@1.235 +4 -4 + Symmetric key range is 1-65535. Update docs. + + ntpd/ntp.keys.mdoc.in@1.235 +5 -5 + Symmetric key range is 1-65535. Update docs. + + ntpq/ntpq.html@1.189 +129 -105 + Symmetric key range is 1-65535. Update docs. + + util/invoke-ntp-keygen.texi@1.517 +21 -19 + Symmetric key range is 1-65535. Update docs. + + util/ntp-keygen-opts.c@1.535 +1 -1 + Symmetric key range is 1-65535. Update docs. + + util/ntp-keygen-opts.def@1.32 +1 -1 + Symmetric key range is 1-65535. Update docs. + + util/ntp-keygen-opts.h@1.533 +1 -1 + Symmetric key range is 1-65535. Update docs. + + util/ntp-keygen.1ntp-keygenman@1.345 +4 -4 + Symmetric key range is 1-65535. Update docs. + + util/ntp-keygen.1ntp-keygenmdoc@1.345 +3 -3 + Symmetric key range is 1-65535. Update docs. + + util/ntp-keygen.html@1.190 +208 -150 + Symmetric key range is 1-65535. Update docs. + + util/ntp-keygen.man.in@1.345 +4 -4 + Symmetric key range is 1-65535. Update docs. + + util/ntp-keygen.mdoc.in@1.345 +3 -3 + Symmetric key range is 1-65535. Update docs. + + util/ntp-keygen.texi@1.3 +1 -1 + Symmetric key range is 1-65535. Update docs. + +ChangeSet@1.3812.1.6, 2018-07-21 07:59:28+00:00, stenn@psp-deb1.ntp.org + [Bug 3460] Fix typo in ntpq.texi, reported by Kenyon Ralph. + + ChangeLog@1.1942.1.6 +1 -0 + [Bug 3460] Fix typo in ntpq.texi, reported by Kenyon Ralph. + + ntpq/ntpq.texi@1.6 +1 -1 + [Bug 3460] Fix typo in ntpq.texi, reported by Kenyon Ralph. + +ChangeSet@1.3812.1.5, 2018-07-21 04:25:55+00:00, stenn@psp-deb1.ntp.org + [Bug 3426] ntpdate.html -t default is 2 seconds. Leonid Evdokimov. + + ChangeLog@1.1942.1.5 +2 -1 + [Bug 3426] ntpdate.html -t default is 2 seconds. Leonid Evdokimov. + + html/ntpdate.html@1.29 +2 -2 + [Bug 3426] ntpdate.html -t default is 2 seconds. Leonid Evdokimov. + +ChangeSet@1.3812.1.3, 2018-07-20 08:57:05+00:00, stenn@psp-deb1.ntp.org + Tweak the description of bug 3506 + + ChangeLog@1.1942.1.3 +1 -1 + Tweak the description of bug 3506 + +ChangeSet@1.3812.1.1, 2018-07-03 22:51:08+02:00, perlinger@ntp.org + [Bug 3506] NTPD/SCM interact not well + + ChangeLog@1.1942.1.1 +2 -0 + [Bug 3506] NTPD/SCM interact not well + + ntpd/ntpd.c@1.176 +14 -1 + [Bug 3506] NTPD/SCM interact not well + - changed interaction with SCM to signal pending startup + + ports/winnt/include/ntservice.h@1.5 +1 -0 + [Bug 3506] NTPD/SCM interact not well + - changed interaction with SCM to signal pending startup + + ports/winnt/ntpd/nt_clockstuff.c@1.67 +0 -6 + [Bug 3506] NTPD/SCM interact not well + - changed interaction with SCM to signal pending startup + + ports/winnt/ntpd/ntservice.c@1.32 +52 -17 + [Bug 3506] NTPD/SCM interact not well + - changed interaction with SCM to signal pending startup + +ChangeSet@1.3813, 2018-07-03 18:46:27+02:00, perlinger@ntp.org + [Sec 3505] CVE-2018-12327 - Arbitrary Code Execution Vulnerability + + ChangeLog@1.1943 +2 -0 + [Sec 3505] CVE-2018-12327 - Arbitrary Code Execution Vulnerability + + ntpdc/ntpdc.c@1.112 +11 -14 + [Sec 3505] CVE-2018-12327 - Arbitrary Code Execution Vulnerability + + ntpq/ntpq.c@1.188 +10 -13 + [Sec 3505] CVE-2018-12327 - Arbitrary Code Execution Vulnerability + +ChangeSet@1.3790.6.3, 2018-06-19 13:00:54+02:00, burnicki@pc-martin4.py.meinberg.de + Fixes for ntpdate as discussed in bug #3442. + + ChangeLog@1.1920.6.2 +2 -0 + Fixes for ntpdate as discussed in bug #3442. + + ntpdate/ntpdate.c@1.101 +96 -73 + Fixes for ntpdate as discussed in bug #3442. + +ChangeSet@1.3790.6.2, 2018-06-19 12:30:58+02:00, burnicki@pc-martin4.py.meinberg.de + New macro REFID_IS_TEXT(). + + ChangeLog@1.1920.6.1 +3 -1 + New macro REFID_IS_TEXT(). + + include/ntp.h@1.231 +12 -0 + New macro REFID_IS_TEXT(). + + ntpd/ntp_control.c@1.226.1.2 +6 -7 + Use new macro REFID_IS_TEXT(). + +ChangeSet@1.3790.6.1, 2018-06-19 11:40:42+02:00, burnicki@pc-martin4.py.meinberg.de + Removed trailing spaces in some files. + + ntpd/ntp_config.c@1.360.2.1 +9 -9 + Removed trailing spaces. + + ntpd/ntp_control.c@1.226.1.1 +26 -26 + Removed trailing spaces. + + ntpdate/ntpdate.c@1.100 +10 -10 + Removed trailing spaces. + +ChangeSet@1.3812, 2018-06-16 02:42:06-07:00, harlan@max.pfcs.com + [Sec 3012] noepeer tweaks + + ChangeLog@1.1942 +1 -0 + [Sec 3012] noepeer tweaks + + ntpd/ntp_proto.c@1.421 +45 -29 + [Sec 3012] noepeer tweaks + +ChangeSet@1.3808.3.2, 2018-06-13 04:41:27+00:00, stenn@psp-deb1.ntp.org + ntpd/ntpd.c: DROPROOT cleanup + + ChangeLog@1.1938.3.2 +1 -0 + ntpd/ntpd.c: DROPROOT cleanup + + ntpd/ntpd.c@1.175 +2 -0 + ntpd/ntpd.c: DROPROOT cleanup + +ChangeSet@1.3808.3.1, 2018-06-13 04:38:41+00:00, stenn@psp-deb1.ntp.org + Cleanup html/authopt.html + + ChangeLog@1.1938.3.1 +1 -0 + Cleanup html/authopt.html + + html/authopt.html@1.75 +23 -22 + Cleanup html/authopt.html + +ChangeSet@1.3808.2.1, 2018-05-05 09:07:30+02:00, perlinger@ntp.org + [Bug 3484] ntpq response from ntpd is incorrect when REFID is null + - rework of ntpq 'nextvar()' key/value parsing + + ChangeLog@1.1938.2.1 +1 -0 + [Bug 3484] ntpq response from ntpd is incorrect when REFID is null + - rework of ntpq 'nextvar()' key/value parsing + + ntpq/ntpq-subs.c@1.127 +12 -14 + [Bug 3484] ntpq response from ntpd is incorrect when REFID is null + - rework of ntpq 'nextvar()' key/value parsing + + ntpq/ntpq.c@1.186.1.1 +246 -78 + [Bug 3484] ntpq response from ntpd is incorrect when REFID is null + - rework of ntpq 'nextvar()' key/value parsing + +ChangeSet@1.3808.1.1, 2018-04-21 11:48:47+02:00, perlinger@ntp.org + [Bug 3486] Buffer overflow in ntpq/ntpq.c:tstflags() + + ChangeLog@1.1938.1.1 +2 -0 + [Bug 3486] Buffer overflow in ntpq/ntpq.c:tstflags() + + ntpq/ntpq.c@1.187 +39 -22 + [Bug 3486] Buffer overflow in ntpq/ntpq.c:tstflags() + +ChangeSet@1.3809, 2018-04-21 11:30:19+02:00, perlinger@ntp.org + [Bug 3445] Symmetric peer won't sync on startup + + ChangeLog@1.1939 +2 -0 + [Bug 3445] Symmetric peer won't sync on startup + + ntpd/ntp_proto.c@1.420 +8 -2 + [Bug 3445] Symmetric peer won't sync on startup + +ChangeSet@1.3806.2.1, 2018-04-14 08:18:38+02:00, perlinger@ntp.org + [Bug 3121] Drop root privileges for the forked DNS worker + + ChangeLog@1.1936.2.1 +2 -0 + [Bug 3121] Drop root privileges for the forked DNS worker + + libntp/work_fork.c@1.20 +4 -0 + [Bug 3121] Drop root privileges for the forked DNS worker + + ntpd/ntpd.c@1.174 +218 -145 + [Bug 3121] Drop root privileges for the forked DNS worker + + sntp/main.c@1.103 +7 -0 + [Bug 3121] Drop root privileges for the forked DNS worker + +ChangeSet@1.3806.1.1, 2018-04-13 22:57:11+02:00, perlinger@ntp.org + [Bug 3434] ntpd clears STA_UNSYNC on start + + ChangeLog@1.1936.1.1 +2 -0 + [Bug 3434] ntpd clears STA_UNSYNC on start + + ntpd/ntp_loopfilter.c@1.191 +8 -4 + [Bug 3434] ntpd clears STA_UNSYNC on start + +ChangeSet@1.3807, 2018-04-13 22:38:02+02:00, perlinger@ntp.org + B[ug 3449] ntpq - display "loop" instead of refid for peers which are flagged as loops + + ChangeLog@1.1937 +2 -0 + B[ug 3449] ntpq - display "loop" instead of refid for peers which are flagged as loops + + ntpq/ntpq-subs.c@1.126 +6 -1 + B[ug 3449] ntpq - display "loop" instead of refid for peers which are flagged as loops + +ChangeSet@1.3806, 2018-04-11 19:26:04+02:00, perlinger@ntp.org + [Bug 3484] ntpq response from ntpd is incorrect when REFID is null + + ChangeLog@1.1936 +1 -0 + [Bug 3484] ntpq response from ntpd is incorrect when REFID is null + + ntpd/ntp_control.c@1.230 +6 -6 + [Bug 3484] ntpq response from ntpd is incorrect when REFID is null + +ChangeSet@1.3805, 2018-04-11 18:38:12+02:00, perlinger@ntp.org + [Bug 3475] modify prettydate() to suppress output of zero time + + ChangeLog@1.1935 +2 -0 + [Bug 3475] modify prettydate() to suppress output of zero time + + libntp/prettydate.c@1.21 +5 -0 + [Bug 3475] modify prettydate() to suppress output of zero time + +ChangeSet@1.3804, 2018-04-11 18:23:03+02:00, perlinger@ntp.org + [Bug 3482] Fixes for compilation warnings (ntp_io.c & ntpq-subs.c) + + ChangeLog@1.1934 +2 -0 + [Bug 3482] Fixes for compilation warnings (ntp_io.c & ntpq-subs.c) + + ntpq/ntpq-subs.c@1.125 +15 -7 + [Bug 3482] Fixes for compilation warnings (ntp_io.c & ntpq-subs.c) + +ChangeSet@1.3803, 2018-04-11 07:59:51+02:00, perlinger@ntp.org + [Bug 3485] Undefined sockaddr used in error messages in ntp_config.c + + ChangeLog@1.1933 +2 -0 + [Bug 3485] Undefined sockaddr used in error messages in ntp_config.c + + ntpd/ntp_config.c@1.364 +3 -5 + [Bug 3485] Undefined sockaddr used in error messages in ntp_config.c + +ChangeSet@1.3802, 2018-04-11 07:39:36+02:00, perlinger@ntp.org + [Bug 3476] ctl_putstr() sends empty unquoted string if data is Null / zero length + + ChangeLog@1.1932 +2 -0 + [Bug 3476] ctl_putstr() sends empty unquoted string if data is Null / zero length + + ntpd/ntp_control.c@1.229 +3 -1 + [Bug 3476] ctl_putstr() sends empty unquoted string if data is Null / zero length + +ChangeSet@1.3801, 2018-04-11 06:47:08+02:00, perlinger@ntp.org + [Bug 3469] Incomplete string compare [...] in is_refclk_addr + + ChangeLog@1.1931 +2 -0 + [Bug 3469] Incomplete string compare [...] in is_refclk_addr + + ntpd/ntp_config.c@1.363 +1 -1 + [Bug 3469] Incomplete string compare [...] in is_refclk_addr + +ChangeSet@1.3800, 2018-04-10 08:19:44+02:00, perlinger@ntp.org + [Bug 3474] Missing pmode in mode7 peer info response + + ChangeLog@1.1930 +2 -0 + [Bug 3474] Missing pmode in mode7 peer info response + + ntpd/ntp_request.c@1.127 +1 -0 + [Bug 3474] Missing pmode in mode7 peer info response + +ChangeSet@1.3799, 2018-04-10 08:10:56+02:00, perlinger@ntp.org + [Bug 3479] ctl_putrefid() allows unsafe characters through to ntpq + + ChangeLog@1.1929 +2 -0 + [Bug 3479] ctl_putrefid() allows unsafe characters through to ntpq + + ntpd/ntp_control.c@1.228 +3 -1 + [Bug 3479] ctl_putrefid() allows unsafe characters through to ntpq + +ChangeSet@1.3798, 2018-04-10 08:09:59+02:00, perlinger@ntp.org + [Bug 3480] Refclock sample filter not cleared on clock STEP + + ChangeLog@1.1928 +2 -0 + [Bug 3480] Refclock sample filter not cleared on clock STEP + + ntpd/ntp_proto.c@1.419 +4 -0 + [Bug 3480] Refclock sample filter not cleared on clock STEP + +ChangeSet@1.3797, 2018-04-08 12:17:35+02:00, perlinger@ntp.org + [Bug 3461] refclock_shm.c: clear error status on clock recovery + + ChangeLog@1.1927 +2 -0 + [Bug 3461] refclock_shm.c: clear error status on clock recovery + + ntpd/ntp_io.c@1.429 +1 -1 + [Bug 3461] refclock_shm.c: clear error status on clock recovery + - fixed minor (non-functional) regression + + ntpd/ntp_refclock.c@1.127 +1 -1 + [Bug 3461] refclock_shm.c: clear error status on clock recovery + - dont't step 'lastevent' if NOMINAL + + ntpd/refclock_shm.c@1.40 +1 -0 + [Bug 3461] refclock_shm.c: clear error status on clock recovery + +ChangeSet@1.3794.1.1, 2018-04-08 09:13:33+00:00, stenn@psp-deb1.ntp.org + cleanup ChangeLog + + ChangeLog@1.1924.1.1 +2 -4 + cleanup + +ChangeSet@1.3795, 2018-04-08 11:07:13+02:00, perlinger@ntp.org + [Bug 3467] Potential memory fault in ntpq [...] + + ChangeLog@1.1925 +4 -4 + [Bug 3467] Potential memory fault in ntpq [...] + + configure.ac@1.614 +4 -0 + [Bug 3467] Potential memory fault in ntpq [...] + - check for presence of sigsetjmp/siglongjmp in setjmp.h + + libntp/syssignal.c@1.16 +4 -3 + [Bug 3467] Potential memory fault in ntpq [...] + - installing and removing CTRL-C handlers is sequence order sensitive + + ntpd/ntp_parser.c@1.113 +339 -338 + [Bug 3467] Potential memory fault in ntpq [...] + - sidekick: add missing header decl + + ntpd/ntp_parser.h@1.75 +1 -1 + [Bug 3467] Potential memory fault in ntpq [...] + - sidekick: add missing header decl + + ntpd/ntp_parser.y@1.101 +1 -0 + [Bug 3467] Potential memory fault in ntpq [...] + - sidekick: add missing header decl + + ntpdc/ntpdc.c@1.111 +37 -16 + [Bug 3467] Potential memory fault in ntpq [...] + - closed file handles become NULL, check bfore writing + - use 'sig{set,long}jmp()' instead of '{set,long}jmp()' when possible + - unclutter jumping out of signal handler + + ntpq/ntpq-subs.c@1.124 +1 -1 + [Bug 3467] Potential memory fault in ntpq [...] + - removed leading linefeed + + ntpq/ntpq.c@1.186 +234 -211 + [Bug 3467] Potential memory fault in ntpq [...] + - closed file handles become NULL, check bfore writing + - use 'sig{set,long}jmp()' instead of '{set,long}jmp()' when possible + - unclutter jumping out of signal handler + +ChangeSet@1.3790.5.2, 2018-04-07 09:39:54+00:00, stenn@psp-deb1.ntp.org + tweak the Changelog + + ChangeLog@1.1920.5.2 +1 -0 + tweak + +ChangeSet@1.3790.5.1, 2018-04-07 10:03:14+02:00, jnperlin@hydra.localnet + [Bug 2821] minor build issues + + bug fixes + + ChangeLog@1.1920.5.1 +4 -0 + [Bug 2821] minor build issues + + bug fixes + + libntp/ntp_calendar.c@1.20 +1 -1 + [Bug 2821] minor build issues + + bug fixes + + ntpd/ntp_config.c@1.360.1.1 +2 -2 + [Bug 2821] minor build issues + + bug fixes + + ntpd/ntp_control.c@1.227 +6 -6 + [Bug 2821] minor build issues + + bug fixes + + ntpd/ntp_io.c@1.428 +47 -6 + [Bug 2821] minor build issues + + bug fixes + + ntpd/rc_cmdlength.c@1.3 +2 -0 + [Bug 2821] minor build issues + + bug fixes + + ntpd/refclock_datum.c@1.24 +2 -1 + [Bug 2821] minor build issues + + bug fixes + + ntpd/refclock_gpsdjson.c@1.29 +2 -2 + [Bug 2821] minor build issues + + bug fixes + + ntpd/refclock_jupiter.c@1.31 +1 -2 + [Bug 2821] minor build issues + + bug fixes + + ntpd/refclock_true.c@1.26 +1 -1 + [Bug 2821] minor build issues + + bug fixes + + ntpdc/ntpdc.c@1.110 +1 -1 + [Bug 2821] minor build issues + + bug fixes + + ntpq/ntpq-subs.c@1.123 +1 -1 + [Bug 2821] minor build issues + + bug fixes + + ntpq/ntpq.c@1.183.1.1 +5 -5 + [Bug 2821] minor build issues + + bug fixes + +ChangeSet@1.3790.4.1, 2018-03-16 06:37:19+01:00, perlinger@ntp.org + [Bug 3471] Check for openssl/[ch]mac.h + - cond-compile if CMAC not supported + - fix tests when CMAC not available + - add #define ENABLE_CMAC support in configure + + ChangeLog@1.1920.4.1 +4 -0 + [Bug 3471] Check for openssl/[ch]mac.h + --- + Bug 3471: add --enable-cmac support in configure + --- + Bug 3471: add #define ENABLE_CMAC support in configure + + configure.ac@1.610.1.1 +11 -0 + Bug 3471: add --enable-cmac support in configure + - add #define ENABLE_CMAC support in configure + + include/ntp_md5.h@1.14 +6 -1 + [Bug 3471] Check for openssl/[ch]mac.h + --- + cleanup + + libntp/a_md5encrypt.c@1.49.1.1 +6 -9 + [Bug 3471] Check for openssl/[ch]mac.h + - cond-compile if CMAC not supported + --- + cleanup + + libntp/ssl_init.c@1.30 +17 -10 + [Bug 3471] Check for openssl/[ch]mac.h + - cond-compile if CMAC not supported + + ntpq/ntpq.c@1.184 +15 -12 + [Bug 3471] Check for openssl/[ch]mac.h + - cond-compile if CMAC not supported + + sntp/crypto.c@1.38 +1 -8 + [Bug 3471] Check for openssl/[ch]mac.h + - cond-compile if CMAC not supported + + sntp/m4/ntp_openssl.m4@1.29.1.1 +1 -0 + [Bug 3471] Check for openssl/[ch]mac.h + - header lookup + + sntp/tests/crypto.c@1.16 +2 -2 + [Bug 3471] Check for openssl/[ch]mac.h + - fix tests when CMAC not available + + sntp/tests/packetProcessing.c@1.17 +8 -0 + [Bug 3471] Check for openssl/[ch]mac.h + - fix tests when CMAC not available + + tests/libntp/ssl_init.c@1.11 +4 -4 + [Bug 3471] Check for openssl/[ch]mac.h + - fix tests when CMAC not available + +ChangeSet@1.3790.3.3, 2018-03-15 23:16:22+00:00, stenn@psp-deb1.ntp.org + Bug 3471: add #define ENABLE_CMAC support in configure + + ChangeLog@1.1920.3.3 +1 -1 + Bug 3471: add #define ENABLE_CMAC support in configure + + configure.ac@1.612 +6 -13 + Bug 3471: add #define ENABLE_CMAC support in configure + +ChangeSet@1.3790.3.2, 2018-03-15 07:55:58+00:00, stenn@psp-deb1.ntp.org + Bug 3471: add --enable-cmac support in configure + + ChangeLog@1.1920.3.2 +1 -0 + Bug 3471: add --enable-cmac support in configure + + configure.ac@1.611 +18 -0 + Bug 3471: add --enable-cmac support in configure + +ChangeSet@1.3790.3.1, 2018-03-15 06:55:28+00:00, stenn@psp-deb1.ntp.org + [Bug 3471] Check for openssl/[ch]mac.h + + ChangeLog@1.1920.3.1 +3 -0 + [Bug 3471] Check for openssl/[ch]mac.h + + sntp/m4/ntp_openssl.m4@1.30 +1 -0 + [Bug 3471] Check for openssl/[ch]mac.h + +ChangeSet@1.3790.2.1, 2018-03-12 16:36:51+01:00, perlinger@ntp.org + [Bug 3456] Use uintptr_t rather than size_t to store an integer in a pointer + + ChangeLog@1.1920.2.1 +4 -0 + [Bug 3456] Use uintptr_t rather than size_t to store an integer in a pointer + + libntp/work_thread.c@1.23 +15 -2 + [Bug 3456] Use uintptr_t rather than size_t to store an integer in a pointer + (sidekick: Check return value of write-to-pipe) + +ChangeSet@1.3790.1.1, 2018-03-12 08:28:18+01:00, perlinger@ntp.org + [Bug 3470] ntpd4.2.8p11 fails to compile without OpenSSL + + ChangeLog@1.1920.1.1 +3 -0 + [Bug 3470] ntpd4.2.8p11 fails to compile without OpenSSL + + libntp/a_md5encrypt.c@1.50 +1 -1 + [Bug 3470] ntpd4.2.8p11 fails to compile without OpenSSL + + util/sht.c@1.6 +4 -4 + [Bug 3470] ntpd4.2.8p11 fails to compile without OpenSSL + +ChangeSet@1.3791, 2018-03-08 18:59:17+01:00, perlinger@ntp.org + [Bug 3465] Default TTL values cannot be used + + ChangeLog@1.1921 +3 -0 + [Bug 3465] Default TTL values cannot be used + + ntpd/ntp_config.c@1.361 +6 -1 + [Bug 3465] Default TTL values cannot be used + - config_ttl(): update 'sys_ttlmax' only when there was a table update, too! + +ChangeSet@1.3790, 2018-02-27 18:21:17-05:00, stenn@deacon.udel.edu + NTP_4_2_8P11 + TAG: NTP_4_2_8P11 + + ChangeLog@1.1920 +1 -0 + NTP_4_2_8P11 + + ntpd/invoke-ntp.conf.texi@1.214 +1 -1 + NTP_4_2_8P11 + + ntpd/invoke-ntp.keys.texi@1.200 +1 -1 + NTP_4_2_8P11 + + ntpd/invoke-ntpd.texi@1.515 +2 -2 + NTP_4_2_8P11 + + ntpd/ntp.conf.5man@1.248 +3 -3 + NTP_4_2_8P11 + + ntpd/ntp.conf.5mdoc@1.248 +1 -1 + NTP_4_2_8P11 + + ntpd/ntp.conf.html@1.196 +95 -108 + NTP_4_2_8P11 + + ntpd/ntp.conf.man.in@1.248 +3 -3 + NTP_4_2_8P11 + + ntpd/ntp.conf.mdoc.in@1.248 +1 -1 + NTP_4_2_8P11 + + ntpd/ntp.keys.5man@1.234 +2 -2 + NTP_4_2_8P11 + + ntpd/ntp.keys.5mdoc@1.234 +2 -2 + NTP_4_2_8P11 + + ntpd/ntp.keys.html@1.196 +17 -29 + NTP_4_2_8P11 + + ntpd/ntp.keys.man.in@1.234 +2 -2 + NTP_4_2_8P11 + + ntpd/ntp.keys.mdoc.in@1.234 +2 -2 + NTP_4_2_8P11 + + ntpd/ntpd-opts.c@1.537 +7 -7 + NTP_4_2_8P11 + + ntpd/ntpd-opts.h@1.536 +3 -3 + NTP_4_2_8P11 + + ntpd/ntpd.1ntpdman@1.344 +3 -3 + NTP_4_2_8P11 + + ntpd/ntpd.1ntpdmdoc@1.344 +1 -1 + NTP_4_2_8P11 + + ntpd/ntpd.html@1.189 +101 -145 + NTP_4_2_8P11 + + ntpd/ntpd.man.in@1.344 +3 -3 + NTP_4_2_8P11 + + ntpd/ntpd.mdoc.in@1.344 +1 -1 + NTP_4_2_8P11 + + ntpdc/invoke-ntpdc.texi@1.512 +2 -2 + NTP_4_2_8P11 + + ntpdc/ntpdc-opts.c@1.530 +7 -7 + NTP_4_2_8P11 + + ntpdc/ntpdc-opts.h@1.529 +3 -3 + NTP_4_2_8P11 + + ntpdc/ntpdc.1ntpdcman@1.343 +3 -3 + NTP_4_2_8P11 + + ntpdc/ntpdc.1ntpdcmdoc@1.343 +1 -1 + NTP_4_2_8P11 + + ntpdc/ntpdc.html@1.357 +57 -77 + NTP_4_2_8P11 + + ntpdc/ntpdc.man.in@1.343 +3 -3 + NTP_4_2_8P11 + + ntpdc/ntpdc.mdoc.in@1.343 +1 -1 + NTP_4_2_8P11 + + ntpq/invoke-ntpq.texi@1.522 +2 -2 + NTP_4_2_8P11 + + ntpq/ntpq-opts.c@1.539 +7 -7 + NTP_4_2_8P11 + + ntpq/ntpq-opts.h@1.537 +3 -3 + NTP_4_2_8P11 + + ntpq/ntpq.1ntpqman@1.350 +3 -3 + NTP_4_2_8P11 + + ntpq/ntpq.1ntpqmdoc@1.350 +1 -1 + NTP_4_2_8P11 + + ntpq/ntpq.html@1.188 +106 -130 + NTP_4_2_8P11 + + ntpq/ntpq.man.in@1.350 +3 -3 + NTP_4_2_8P11 + + ntpq/ntpq.mdoc.in@1.350 +1 -1 + NTP_4_2_8P11 + + ntpsnmpd/invoke-ntpsnmpd.texi@1.514 +11 -10 + NTP_4_2_8P11 + + ntpsnmpd/ntpsnmpd-opts.c@1.532 +7 -7 + NTP_4_2_8P11 + + ntpsnmpd/ntpsnmpd-opts.h@1.531 +3 -3 + NTP_4_2_8P11 + + ntpsnmpd/ntpsnmpd.1ntpsnmpdman@1.343 +3 -3 + NTP_4_2_8P11 + + ntpsnmpd/ntpsnmpd.1ntpsnmpdmdoc@1.343 +1 -1 + NTP_4_2_8P11 + + ntpsnmpd/ntpsnmpd.html@1.183 +10 -14 + NTP_4_2_8P11 + + ntpsnmpd/ntpsnmpd.man.in@1.343 +3 -3 + NTP_4_2_8P11 + + ntpsnmpd/ntpsnmpd.mdoc.in@1.343 +1 -1 + NTP_4_2_8P11 + + packageinfo.sh@1.540 +2 -2 + NTP_4_2_8P11 + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjman@1.104 +3 -3 + NTP_4_2_8P11 + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjmdoc@1.105 +1 -1 + NTP_4_2_8P11 + + scripts/calc_tickadj/calc_tickadj.html@1.105 +22 -34 + NTP_4_2_8P11 + + scripts/calc_tickadj/calc_tickadj.man.in@1.103 +3 -3 + NTP_4_2_8P11 + + scripts/calc_tickadj/calc_tickadj.mdoc.in@1.105 +1 -1 + NTP_4_2_8P11 + + scripts/calc_tickadj/invoke-calc_tickadj.texi@1.108 +1 -1 + NTP_4_2_8P11 + + scripts/invoke-plot_summary.texi@1.126 +2 -2 + NTP_4_2_8P11 + + scripts/invoke-summary.texi@1.125 +2 -2 + NTP_4_2_8P11 + + scripts/ntp-wait/invoke-ntp-wait.texi@1.335 +2 -2 + NTP_4_2_8P11 + + scripts/ntp-wait/ntp-wait-opts@1.71 +2 -2 + NTP_4_2_8P11 + + scripts/ntp-wait/ntp-wait.1ntp-waitman@1.332 +3 -3 + NTP_4_2_8P11 + + scripts/ntp-wait/ntp-wait.1ntp-waitmdoc@1.333 +1 -1 + NTP_4_2_8P11 + + scripts/ntp-wait/ntp-wait.html@1.353 +31 -49 + NTP_4_2_8P11 + + scripts/ntp-wait/ntp-wait.man.in@1.332 +3 -3 + NTP_4_2_8P11 + + scripts/ntp-wait/ntp-wait.mdoc.in@1.333 +1 -1 + NTP_4_2_8P11 + + scripts/ntpsweep/invoke-ntpsweep.texi@1.123 +2 -2 + NTP_4_2_8P11 + + scripts/ntpsweep/ntpsweep-opts@1.73 +2 -2 + NTP_4_2_8P11 + + scripts/ntpsweep/ntpsweep.1ntpsweepman@1.111 +3 -3 + NTP_4_2_8P11 + + scripts/ntpsweep/ntpsweep.1ntpsweepmdoc@1.111 +1 -1 + NTP_4_2_8P11 + + scripts/ntpsweep/ntpsweep.html@1.125 +33 -44 + NTP_4_2_8P11 + + scripts/ntpsweep/ntpsweep.man.in@1.111 +3 -3 + NTP_4_2_8P11 + + scripts/ntpsweep/ntpsweep.mdoc.in@1.112 +1 -1 + NTP_4_2_8P11 + + scripts/ntptrace/invoke-ntptrace.texi@1.124 +2 -2 + NTP_4_2_8P11 + + scripts/ntptrace/ntptrace-opts@1.73 +2 -2 + NTP_4_2_8P11 + + scripts/ntptrace/ntptrace.1ntptraceman@1.111 +3 -3 + NTP_4_2_8P11 + + scripts/ntptrace/ntptrace.1ntptracemdoc@1.112 +1 -1 + NTP_4_2_8P11 + + scripts/ntptrace/ntptrace.html@1.126 +27 -36 + NTP_4_2_8P11 + + scripts/ntptrace/ntptrace.man.in@1.111 +3 -3 + NTP_4_2_8P11 + + scripts/ntptrace/ntptrace.mdoc.in@1.113 +1 -1 + NTP_4_2_8P11 + + scripts/plot_summary-opts@1.74 +2 -2 + NTP_4_2_8P11 + + scripts/plot_summary.1plot_summaryman@1.124 +3 -3 + NTP_4_2_8P11 + + scripts/plot_summary.1plot_summarymdoc@1.124 +1 -1 + NTP_4_2_8P11 + + scripts/plot_summary.html@1.128 +29 -47 + NTP_4_2_8P11 + + scripts/plot_summary.man.in@1.124 +3 -3 + NTP_4_2_8P11 + + scripts/plot_summary.mdoc.in@1.124 +1 -1 + NTP_4_2_8P11 + + scripts/summary-opts@1.73 +2 -2 + NTP_4_2_8P11 + + scripts/summary.1summaryman@1.123 +3 -3 + NTP_4_2_8P11 + + scripts/summary.1summarymdoc@1.123 +1 -1 + NTP_4_2_8P11 + + scripts/summary.html@1.127 +27 -39 + NTP_4_2_8P11 + + scripts/summary.man.in@1.123 +3 -3 + NTP_4_2_8P11 + + scripts/summary.mdoc.in@1.123 +1 -1 + NTP_4_2_8P11 + + scripts/update-leap/invoke-update-leap.texi@1.24 +75 -1 + NTP_4_2_8P11 + + scripts/update-leap/update-leap-opts@1.24 +2 -2 + NTP_4_2_8P11 + + scripts/update-leap/update-leap.1update-leapman@1.24 +3 -3 + NTP_4_2_8P11 + + scripts/update-leap/update-leap.1update-leapmdoc@1.24 +1 -1 + NTP_4_2_8P11 + + scripts/update-leap/update-leap.html@1.25 +35 -59 + NTP_4_2_8P11 + + scripts/update-leap/update-leap.man.in@1.24 +3 -3 + NTP_4_2_8P11 + + scripts/update-leap/update-leap.mdoc.in@1.24 +1 -1 + NTP_4_2_8P11 + + sntp/invoke-sntp.texi@1.514 +27 -23 + NTP_4_2_8P11 + + sntp/sntp-opts.c@1.533 +7 -7 + NTP_4_2_8P11 + + sntp/sntp-opts.h@1.531 +3 -3 + NTP_4_2_8P11 + + sntp/sntp.1sntpman@1.349 +3 -3 + NTP_4_2_8P11 + + sntp/sntp.1sntpmdoc@1.349 +1 -1 + NTP_4_2_8P11 + + sntp/sntp.html@1.529 +110 -130 + NTP_4_2_8P11 + + sntp/sntp.man.in@1.349 +3 -3 + NTP_4_2_8P11 + + sntp/sntp.mdoc.in@1.349 +1 -1 + NTP_4_2_8P11 + + util/invoke-ntp-keygen.texi@1.516 +18 -20 + NTP_4_2_8P11 + + util/ntp-keygen-opts.c@1.534 +7 -7 + NTP_4_2_8P11 + + util/ntp-keygen-opts.h@1.532 +3 -3 + NTP_4_2_8P11 + + util/ntp-keygen.1ntp-keygenman@1.344 +3 -3 + NTP_4_2_8P11 + + util/ntp-keygen.1ntp-keygenmdoc@1.344 +1 -1 + NTP_4_2_8P11 + + util/ntp-keygen.html@1.189 +149 -207 + NTP_4_2_8P11 + + util/ntp-keygen.man.in@1.344 +3 -3 + NTP_4_2_8P11 + + util/ntp-keygen.mdoc.in@1.344 +1 -1 + NTP_4_2_8P11 + +ChangeSet@1.3789, 2018-02-27 16:55:23-05:00, stenn@deacon.udel.edu + update-leap: check for -h/--help early. HStenn + + ChangeLog@1.1919 +1 -0 + update-leap: check for -h/--help early. HStenn + + scripts/update-leap/update-leap.in@1.6 +7 -7 + update-leap: check for -h/--help early. HStenn + +ChangeSet@1.3788, 2018-02-27 09:58:39-05:00, stenn@deacon.udel.edu + Some tests need LIBM on some OSes + + ChangeLog@1.1918 +1 -0 + Some tests need LIBM on some OSes + + tests/bug-2803/Makefile.am@1.19 +1 -0 + Some tests need LIBM on some OSes + + tests/sandbox/Makefile.am@1.13 +1 -0 + Some tests need LIBM on some OSes + + tests/sec-2853/Makefile.am@1.9 +1 -0 + Some tests need LIBM on some OSes + +ChangeSet@1.3787, 2018-02-27 08:09:05-05:00, stenn@deacon.udel.edu + ntp-4.2.8p11 prep + + NEWS@1.191 +1 -1 + ntp-4.2.8p11 prep + + packageinfo.sh@1.539 +1 -1 + ntp-4.2.8p11 prep + +ChangeSet@1.3720.59.1, 2018-02-27 05:59:07-05:00, stenn@deacon.udel.edu + Tweaks to UpdatePoint + + scripts/build/UpdatePoint@1.8 +21 -1 + Tweaks to UpdatePoint + +ChangeSet@1.3785, 2018-02-27 07:54:59+00:00, stenn@psp-deb1.ntp.org + p11 prep + + ntpd/invoke-ntp.conf.texi@1.213 +4 -4 + p11 prep + + ntpd/invoke-ntp.keys.texi@1.199 +1 -1 + p11 prep + + ntpd/invoke-ntpd.texi@1.514 +1 -1 + p11 prep + + ntpd/ntp.conf.5man@1.247 +5 -5 + p11 prep + + ntpd/ntp.conf.5mdoc@1.247 +5 -5 + p11 prep + + ntpd/ntp.conf.html@1.195 +193 -184 + p11 prep + + ntpd/ntp.conf.man.in@1.247 +5 -5 + p11 prep + + ntpd/ntp.conf.mdoc.in@1.247 +5 -5 + p11 prep + + ntpd/ntp.keys.5man@1.233 +2 -2 + p11 prep + + ntpd/ntp.keys.5mdoc@1.233 +2 -2 + p11 prep + + ntpd/ntp.keys.man.in@1.233 +2 -2 + p11 prep + + ntpd/ntp.keys.mdoc.in@1.233 +2 -2 + p11 prep + + ntpd/ntpd-opts.c@1.536 +1 -1 + p11 prep + + ntpd/ntpd-opts.h@1.535 +1 -1 + p11 prep + + ntpd/ntpd.1ntpdman@1.343 +2 -2 + p11 prep + + ntpd/ntpd.1ntpdmdoc@1.343 +2 -2 + p11 prep + + ntpd/ntpd.man.in@1.343 +2 -2 + p11 prep + + ntpd/ntpd.mdoc.in@1.343 +2 -2 + p11 prep + + ntpdc/invoke-ntpdc.texi@1.511 +1 -1 + p11 prep + + ntpdc/ntpdc-opts.c@1.529 +1 -1 + p11 prep + + ntpdc/ntpdc-opts.h@1.528 +1 -1 + p11 prep + + ntpdc/ntpdc.1ntpdcman@1.342 +2 -2 + p11 prep + + ntpdc/ntpdc.1ntpdcmdoc@1.342 +2 -2 + p11 prep + + ntpdc/ntpdc.man.in@1.342 +2 -2 + p11 prep + + ntpdc/ntpdc.mdoc.in@1.342 +2 -2 + p11 prep + + ntpq/invoke-ntpq.texi@1.521 +2 -2 + p11 prep + + ntpq/ntpq-opts.c@1.538 +7 -7 + p11 prep + + ntpq/ntpq-opts.h@1.536 +3 -3 + p11 prep + + ntpq/ntpq.1ntpqman@1.349 +2 -2 + p11 prep + + ntpq/ntpq.1ntpqmdoc@1.349 +2 -2 + p11 prep + + ntpq/ntpq.html@1.187 +4 -2 + p11 prep + + ntpq/ntpq.man.in@1.349 +2 -2 + p11 prep + + ntpq/ntpq.mdoc.in@1.349 +2 -2 + p11 prep + + ntpsnmpd/invoke-ntpsnmpd.texi@1.513 +2 -2 + p11 prep + + ntpsnmpd/ntpsnmpd-opts.c@1.531 +1 -1 + p11 prep + + ntpsnmpd/ntpsnmpd-opts.h@1.530 +1 -1 + p11 prep + + ntpsnmpd/ntpsnmpd.1ntpsnmpdman@1.342 +2 -2 + p11 prep + + ntpsnmpd/ntpsnmpd.1ntpsnmpdmdoc@1.342 +2 -2 + p11 prep + + ntpsnmpd/ntpsnmpd.man.in@1.342 +2 -2 + p11 prep + + ntpsnmpd/ntpsnmpd.mdoc.in@1.342 +2 -2 + p11 prep + + packageinfo.sh@1.538 +1 -1 + p11 prep + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjman@1.103 +2 -2 + p11 prep + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjmdoc@1.104 +2 -2 + p11 prep + + scripts/calc_tickadj/calc_tickadj.man.in@1.102 +2 -2 + p11 prep + + scripts/calc_tickadj/calc_tickadj.mdoc.in@1.104 +2 -2 + p11 prep + + scripts/calc_tickadj/invoke-calc_tickadj.texi@1.107 +1 -1 + p11 prep + + scripts/invoke-plot_summary.texi@1.125 +1 -1 + p11 prep + + scripts/invoke-summary.texi@1.124 +1 -1 + p11 prep + + scripts/ntp-wait/invoke-ntp-wait.texi@1.334 +1 -1 + p11 prep + + scripts/ntp-wait/ntp-wait-opts@1.70 +1 -1 + p11 prep + + scripts/ntp-wait/ntp-wait.1ntp-waitman@1.331 +2 -2 + p11 prep + + scripts/ntp-wait/ntp-wait.1ntp-waitmdoc@1.332 +2 -2 + p11 prep + + scripts/ntp-wait/ntp-wait.man.in@1.331 +2 -2 + p11 prep + + scripts/ntp-wait/ntp-wait.mdoc.in@1.332 +2 -2 + p11 prep + + scripts/ntpsweep/invoke-ntpsweep.texi@1.122 +1 -1 + p11 prep + + scripts/ntpsweep/ntpsweep-opts@1.72 +1 -1 + p11 prep + + scripts/ntpsweep/ntpsweep.1ntpsweepman@1.110 +2 -2 + p11 prep + + scripts/ntpsweep/ntpsweep.1ntpsweepmdoc@1.110 +2 -2 + p11 prep + + scripts/ntpsweep/ntpsweep.man.in@1.110 +2 -2 + p11 prep + + scripts/ntpsweep/ntpsweep.mdoc.in@1.111 +2 -2 + p11 prep + + scripts/ntptrace/invoke-ntptrace.texi@1.123 +1 -1 + p11 prep + + scripts/ntptrace/ntptrace-opts@1.72 +1 -1 + p11 prep + + scripts/ntptrace/ntptrace.1ntptraceman@1.110 +2 -2 + p11 prep + + scripts/ntptrace/ntptrace.1ntptracemdoc@1.111 +2 -2 + p11 prep + + scripts/ntptrace/ntptrace.man.in@1.110 +2 -2 + p11 prep + + scripts/ntptrace/ntptrace.mdoc.in@1.112 +2 -2 + p11 prep + + scripts/plot_summary-opts@1.73 +1 -1 + p11 prep + + scripts/plot_summary.1plot_summaryman@1.123 +2 -2 + p11 prep + + scripts/plot_summary.1plot_summarymdoc@1.123 +2 -2 + p11 prep + + scripts/plot_summary.man.in@1.123 +2 -2 + p11 prep + + scripts/plot_summary.mdoc.in@1.123 +2 -2 + p11 prep + + scripts/summary-opts@1.72 +1 -1 + p11 prep + + scripts/summary.1summaryman@1.122 +2 -2 + p11 prep + + scripts/summary.1summarymdoc@1.122 +2 -2 + p11 prep + + scripts/summary.man.in@1.122 +2 -2 + p11 prep + + scripts/summary.mdoc.in@1.122 +2 -2 + p11 prep + + scripts/update-leap/invoke-update-leap.texi@1.23 +1 -50 + p11 prep + + scripts/update-leap/update-leap-opts@1.23 +1 -1 + p11 prep + + scripts/update-leap/update-leap.1update-leapman@1.23 +2 -2 + p11 prep + + scripts/update-leap/update-leap.1update-leapmdoc@1.23 +2 -2 + p11 prep + + scripts/update-leap/update-leap.html@1.24 +1 -50 + p11 prep + + scripts/update-leap/update-leap.man.in@1.23 +2 -2 + p11 prep + + scripts/update-leap/update-leap.mdoc.in@1.23 +2 -2 + p11 prep + + sntp/invoke-sntp.texi@1.513 +1 -1 + p11 prep + + sntp/sntp-opts.c@1.532 +1 -1 + p11 prep + + sntp/sntp-opts.h@1.530 +1 -1 + p11 prep + + sntp/sntp.1sntpman@1.348 +2 -2 + p11 prep + + sntp/sntp.1sntpmdoc@1.348 +2 -2 + p11 prep + + sntp/sntp.man.in@1.348 +2 -2 + p11 prep + + sntp/sntp.mdoc.in@1.348 +2 -2 + p11 prep + + util/invoke-ntp-keygen.texi@1.515 +2 -2 + p11 prep + + util/ntp-keygen-opts.c@1.533 +174 -174 + p11 prep + + util/ntp-keygen-opts.h@1.531 +3 -3 + p11 prep + + util/ntp-keygen.1ntp-keygenman@1.343 +2 -2 + p11 prep + + util/ntp-keygen.1ntp-keygenmdoc@1.343 +2 -2 + p11 prep + + util/ntp-keygen.man.in@1.343 +2 -2 + p11 prep + + util/ntp-keygen.mdoc.in@1.343 +2 -2 + p11 prep + +ChangeSet@1.3784, 2018-02-24 06:46:21+00:00, stenn@psp-deb1.ntp.org + VU # update to NEWS file + + NEWS@1.190 +5 -5 + VU # update to NEWS file + +ChangeSet@1.3783, 2018-02-21 00:51:56+00:00, stenn@psp-deb1.ntp.org + Add CVEs for security bugs in p11 + + NEWS@1.189 +6 -5 + Add CVEs for security bugs in p11 + +ChangeSet@1.3782, 2018-02-16 02:47:21-08:00, harlan@mb6.tal1.ntfo.org + Update description of Bug 3454 in the NEWS file. + + NEWS@1.188 +37 -1 + Update description of Bug 3454 in the NEWS file. + +ChangeSet@1.3781, 2018-02-16 02:45:50-08:00, harlan@mb6.tal1.ntfo.org + ntp_proto.c:receive(): Fix typos in 2 diagnostic debug lines + + ntpd/ntp_proto.c@1.418 +2 -2 + ntp_proto.c:receive(): Fix typos in 2 diagnostic debug lines + +ChangeSet@1.3780, 2018-02-13 01:31:39+00:00, stenn@psp-deb1.ntp.org + NEWS file updates + + NEWS@1.187 +256 -10 + NEWS file updates + +ChangeSet@1.3779, 2018-02-11 11:02:07+00:00, stenn@psp-deb1.ntp.org + Use consistent 4th arg type for [gs]etsockopt + + ChangeLog@1.1917 +1 -0 + Use consistent 4th arg type for [gs]etsockopt + + NEWS@1.186 +1 -1 + Use consistent 4th arg type for [gs]etsockopt + + packageinfo.sh@1.537 +1 -1 + Use consistent 4th arg type for [gs]etsockopt + +ChangeSet@1.3777, 2018-02-11 11:47:25+01:00, perlinger@ntp.org + getsockopt: 4th argument should be (void*) + + ntpd/refclock_gpsdjson.c@1.28 +1 -1 + getsockopt: 4th argument should be (void*) + + ports/winnt/ntpd/ntp_iocompletionport.c@1.80 +1 -1 + getsockopt: 4th argument should be (void*) + +ChangeSet@1.3775.1.1, 2018-02-11 02:20:02-08:00, harlan@mb6.tal1.ntfo.org + Initialize ippeerlimit in restrict_def[46]. HStenn + + ntpd/ntp_restrict.c@1.46 +6 -0 + Initialize ippeerlimit in restrict_def[46]. HStenn + +ChangeSet@1.3776, 2018-02-11 09:26:47+01:00, perlinger@ntp.org + consistent casting of 'setsockopt' argument + + ntpd/ntp_io.c@1.427 +20 -20 + consistent casting of 'setsockopt' argument + + ntpd/refclock_gpsdjson.c@1.27 +1 -1 + consistent casting of 'setsockopt' argument + + ntpdc/ntpdc.c@1.109 +2 -2 + consistent casting of 'setsockopt' argument + + ntpq/ntpq.c@1.183 +2 -2 + consistent casting of 'setsockopt' argument + +ChangeSet@1.3772.1.1, 2018-02-09 16:05:30-08:00, harlan@mb6.tal1.ntfo.org + Rename restrict flags to rflags. Use an enum for their values. Provide dump_restricts(). + + ChangeLog@1.1913.1.1 +2 -0 + Rename restrict flags to rflags. Use an enum for their values. Provide dump_restricts(). + + include/ntp.h@1.230 +12 -9 + Rename restrict flags to rflags. Use an enum for their values. Provide dump_restricts(). + + include/ntp_request.h@1.51 +1 -1 + Rename restrict flags to rflags. Use an enum for their values. Provide dump_restricts(). + + include/ntpd.h@1.203 +2 -1 + Rename restrict flags to rflags. Use an enum for their values. Provide dump_restricts(). + + ntpd/ntp_config.c@1.360 +72 -59 + Rename restrict flags to rflags. Use an enum for their values. Provide dump_restricts(). + + ntpd/ntp_control.c@1.224.1.1 +2 -1 + Rename restrict flags to rflags. Use an enum for their values. Provide dump_restricts(). + + ntpd/ntp_io.c@1.424.1.1 +2 -2 + Rename restrict flags to rflags. Use an enum for their values. Provide dump_restricts(). + + ntpd/ntp_peer.c@1.165 +6 -0 + Rename restrict flags to rflags. Use an enum for their values. Provide dump_restricts(). + + ntpd/ntp_request.c@1.126 +17 -5 + Rename restrict flags to rflags. Use an enum for their values. Provide dump_restricts(). + + ntpd/ntp_restrict.c@1.45 +134 -27 + Rename restrict flags to rflags. Use an enum for their values. Provide dump_restricts(). + + ntpdc/layout.std@1.14 +1 -1 + Rename restrict flags to rflags + + ntpdc/ntpdc_ops.c@1.83 +3 -3 + Rename restrict flags to rflags + + tests/ntpd/ntp_restrict.c@1.7 +8 -8 + Rename restrict flags to rflags + +ChangeSet@1.3773, 2018-02-07 08:14:35+01:00, perlinger@ntp.org + [Bug 3457] OpenSSL FIPS mode regression + + ChangeLog@1.1914 +1 -0 + [Bug 3457] OpenSSL FIPS mode regression + + libntp/a_md5encrypt.c@1.49 +7 -4 + [Bug 3457] OpenSSL FIPS mode regression + + ntpd/ntp_control.c@1.225 +6 -0 + [Bug 3457] OpenSSL FIPS mode regression + + ntpd/ntp_crypto.c@1.190 +12 -0 + [Bug 3457] OpenSSL FIPS mode regression + + sntp/crypto.c@1.37 +14 -5 + [Bug 3457] OpenSSL FIPS mode regression + +ChangeSet@1.3772, 2018-02-05 02:18:59-08:00, harlan@psp-at0.tal1.ntfo.org + libntp/ssl_init.h only needs MD5_LENGTH if we don't have OpenSSL + + libntp/ssl_init.c@1.29 +2 -1 + libntp/ssl_init.h only needs MD5_LENGTH if we don't have OpenSSL + +ChangeSet@1.3771, 2018-02-04 03:54:19-08:00, harlan@max.pfcs.com + [Sec 3453] Interleaved symmetric mode cannot recover from bad state + + ChangeLog@1.1913 +1 -0 + [Sec 3453] Interleaved symmetric mode cannot recover from bad state + + ntpd/ntp_proto.c@1.417 +2 -0 + [Sec 3453] Interleaved symmetric mode cannot recover from bad state + +ChangeSet@1.3768.2.2, 2018-02-03 01:35:05-08:00, harlan@psp-at0.tal1.ntfo.org + [Sec 3454] Unauthenticated packet can reset authenticated interleave associations + + ChangeLog@1.1910.2.1 +2 -0 + [Sec 3454] Unauthenticated packet can reset authenticated interleave associations + + ntpd/ntp_proto.c@1.416 +142 -15 + [Sec 3454] Unauthenticated packet can reset authenticated interleave associations + +ChangeSet@1.3768.2.1, 2018-02-03 01:22:07-08:00, harlan@psp-at0.tal1.ntfo.org + cleanup + + ntpd/ntp.conf.def@1.31 +3 -3 + cleanup + +ChangeSet@1.3768.1.2, 2018-02-02 07:37:12+01:00, perlinger@ntp.org + [Bug 3455] ntpd doesn't use scope id when binding multicast + + ChangeLog@1.1910.1.1 +2 -0 + [Bug 3455] ntpd doesn't use scope id when binding multicast + + ntpd/ntp_io.c@1.425 +1 -0 + [Bug 3455] ntpd doesn't use scope id when binding multicast + +ChangeSet@1.3768.1.1, 2018-01-26 16:58:55-08:00, harlan@psp-at0.tal1.ntfo.org + type + + ntpd/ntp.conf.def@1.30 +1 -1 + type + +ChangeSet@1.3769, 2018-01-26 17:12:19+01:00, perlinger@ntp.org + [Bug 3452] PARSE driver prints uninitialized memory + + ChangeLog@1.1911 +1 -0 + [Bug 3452] PARSE driver prints uninitialized memory + + ntpd/refclock_parse.c@1.86 +10 -3 + [Bug 3452] PARSE driver prints uninitialized memory + - avoid underflow in buffer length calculation + +ChangeSet@1.3768, 2018-01-25 22:47:05-08:00, harlan@psp-at0.tal1.ntfo.org + Properly set ippeerlimit in hack_restrict() + + ntpd/ntp_restrict.c@1.44 +1 -0 + Properly set ippeerlimit in hack_restrict() + +ChangeSet@1.3767, 2018-01-26 05:24:23+00:00, stenn@psp-deb1.ntp.org + Show ippeerlimit for the address of the incoming packet + + ntpd/ntp_proto.c@1.415 +2 -2 + Show ippeerlimit for the address of the incoming packet + +ChangeSet@1.3766, 2018-01-24 08:44:24+00:00, stenn@psp-deb1.ntp.org + Update ntpq peer documentation to describe the 'p' type + + ChangeLog@1.1910 +1 -0 + Update ntpq peer documentation to describe the 'p' type + + NEWS@1.185 +1 -1 + Update ntpq peer documentation to describe the 'p' type + + html/ntpq.html@1.52 +11 -4 + Update ntpq peer documentation to describe the 'p' type + + ntpq/invoke-ntpq.texi@1.520 +4 -2 + Update ntpq peer documentation to describe the 'p' type + + ntpq/ntpq-opts.c@1.537 +7 -7 + Update ntpq peer documentation to describe the 'p' type + + ntpq/ntpq-opts.def@1.32 +2 -0 + Update ntpq peer documentation to describe the 'p' type + + ntpq/ntpq-opts.h@1.535 +3 -3 + Update ntpq peer documentation to describe the 'p' type + + ntpq/ntpq.1ntpqman@1.348 +4 -2 + Update ntpq peer documentation to describe the 'p' type + + ntpq/ntpq.1ntpqmdoc@1.348 +4 -2 + Update ntpq peer documentation to describe the 'p' type + + ntpq/ntpq.html@1.186 +1 -1 + Update ntpq peer documentation to describe the 'p' type + + ntpq/ntpq.man.in@1.348 +4 -2 + Update ntpq peer documentation to describe the 'p' type + + ntpq/ntpq.mdoc.in@1.348 +4 -2 + Update ntpq peer documentation to describe the 'p' type + +ChangeSet@1.3765, 2018-01-24 07:51:14+00:00, stenn@psp-deb1.ntp.org + NEWS update + + NEWS@1.184 +15 -16 + NEWS update + +ChangeSet@1.3761.1.1, 2018-01-23 23:03:23-08:00, harlan@psp-at0.tal1.ntfo.org + Pass ippeerlimit to all newpeer() calls. + + ntpd/ntp_proto.c@1.414 +14 -12 + Pass ippeerlimit to all newpeer() calls. + +ChangeSet@1.3763, 2018-01-23 12:43:17+00:00, stenn@psp-deb1.ntp.org + Update NEWS file + + NEWS@1.183 +39 -3 + Update NEWS file + +ChangeSet@1.3762, 2018-01-22 12:35:36+00:00, stenn@psp-deb1.ntp.org + Update the documentation for ippeerlimit and noepeer + + html/accopt.html@1.47 +139 -45 + Update the documentation for ippeerlimit and noepeer + + ntpd/invoke-ntp.conf.texi@1.212 +26 -18 + Update the documentation for ippeerlimit and noepeer + + ntpd/ntp.conf.5man@1.246 +28 -20 + Update the documentation for ippeerlimit and noepeer + + ntpd/ntp.conf.5mdoc@1.246 +30 -8 + Update the documentation for ippeerlimit and noepeer + + ntpd/ntp.conf.def@1.29 +28 -6 + Update the documentation for ippeerlimit and noepeer + + ntpd/ntp.conf.man.in@1.246 +28 -20 + Update the documentation for ippeerlimit and noepeer + + ntpd/ntp.conf.mdoc.in@1.246 +30 -8 + Update the documentation for ippeerlimit and noepeer + + tests/ntpd/run-ntp_restrict.c@1.8 +6 -6 + Update the test runner for the updated restrictions() code + +ChangeSet@1.3761, 2018-01-22 02:55:41-08:00, harlan@psp-at0.tal1.ntfo.org + restrictions() must return restrict flags and ippeerlimit. Implement ippeerlimit. + + ChangeLog@1.1909 +1 -0 + restrictions() must return restrict flags and ippeerlimit. Implement ippeerlimit. + + include/ntp.h@1.229 +6 -0 + restrictions() must return restrict flags and ippeerlimit. Implement ippeerlimit. + + include/ntpd.h@1.202 +7 -7 + restrictions() must return restrict flags and ippeerlimit. Implement ippeerlimit. + + ntpd/ntp_config.c@1.359 +7 -0 + restrictions() must return restrict flags and ippeerlimit. Implement ippeerlimit. + + ntpd/ntp_peer.c@1.164 +15 -1 + restrictions() must return restrict flags and ippeerlimit. Implement ippeerlimit. + + ntpd/ntp_proto.c@1.413 +18 -13 + restrictions() must return restrict flags and ippeerlimit. Implement ippeerlimit. + + ntpd/ntp_request.c@1.125 +4 -1 + restrictions() must return restrict flags and ippeerlimit. Implement ippeerlimit. + + ntpd/ntp_restrict.c@1.43 +16 -10 + restrictions() must return restrict flags and ippeerlimit. Implement ippeerlimit. + + ntpd/ntpsim.c@1.33 +1 -0 + restrictions() must return restrict flags and ippeerlimit. Implement ippeerlimit. + + tests/ntpd/ntp_restrict.c@1.6 +21 -8 + restrictions() must return restrict flags and ippeerlimit. Implement ippeerlimit. + +ChangeSet@1.3760, 2018-01-21 12:45:31+00:00, stenn@psp-deb1.ntp.org + ntp.conf.def tweaks + + ntpd/invoke-ntp.conf.texi@1.211 +6 -6 + ntp.conf.def tweaks + + ntpd/ntp.conf.5man@1.245 +3358 -6 + ntp.conf.def tweaks + + ntpd/ntp.conf.5mdoc@1.245 +3192 -6 + ntp.conf.def tweaks + + ntpd/ntp.conf.def@1.28 +5 -5 + ntp.conf.def tweaks + + ntpd/ntp.conf.html@1.194 +267 -68 + ntp.conf.def tweaks + + ntpd/ntp.conf.man.in@1.245 +3358 -6 + ntp.conf.def tweaks + + ntpd/ntp.conf.mdoc.in@1.245 +3192 -6 + ntp.conf.def tweaks + + ntpd/ntp.keys.html@1.195 +10 -2 + ntp.conf.def tweaks + +ChangeSet@1.3759, 2018-01-21 03:34:08-08:00, harlan@psp-at0.tal1.ntfo.org + ntp_parser.y, ntp_parser.c, ChangeLog: + Warn the user if deprecated "driftfile name WanderThreshold" is used + Many files: + Update the documentation in ntp.conf.def + + ChangeLog@1.1908 +1 -0 + Update the documentation in ntp.conf.def + + ChangeLog@1.1907 +1 -0 + Warn the user if deprecated "driftfile name WanderThreshold" is used + + ntpd/invoke-ntp.conf.texi@1.210 +238 -22 + Update the documentation in ntp.conf.def + + ntpd/ntp.conf.5man@1.244 +2 -2 + Update the documentation in ntp.conf.def + + ntpd/ntp.conf.5mdoc@1.244 +2 -2 + Update the documentation in ntp.conf.def + + ntpd/ntp.conf.def@1.27 +269 -27 + Update the documentation in ntp.conf.def + + ntpd/ntp.conf.man.in@1.244 +2 -2 + Update the documentation in ntp.conf.def + + ntpd/ntp.conf.mdoc.in@1.244 +2 -2 + Update the documentation in ntp.conf.def + + ntpd/ntp_parser.c@1.112 +107 -103 + Warn the user if deprecated "driftfile name WanderThreshold" is used + + ntpd/ntp_parser.y@1.100 +4 -0 + Warn the user if deprecated "driftfile name WanderThreshold" is used + +ChangeSet@1.3758, 2018-01-20 20:45:47-08:00, harlan@psp-at1.tal1.ntfo.org + Decode interface flags on receive() debug output + + ChangeLog@1.1906 +1 -0 + Decode interface flags on receive() debug output + + include/ntp.h@1.228 +2 -1 + Decode interface flags on receive() debug output + + ntpd/ntp_config.c@1.358 +92 -19 + Decode interface flags on receive() debug output + + ntpd/ntp_proto.c@1.412 +3 -2 + Decode interface flags on receive() debug output + +ChangeSet@1.3757, 2018-01-20 03:41:34-08:00, harlan@psp-at1.tal1.ntfo.org + Decode restrict flags on receive() debug output + + ChangeLog@1.1905 +1 -0 + Decode restrict flags on receive() debug output + + include/ntp.h@1.227 +3 -0 + Decode restrict flags on receive() debug output + + ntpd/ntp_config.c@1.357 +141 -4 + Decode restrict flags on receive() debug output + + ntpd/ntp_proto.c@1.411 +3 -2 + Decode restrict flags on receive() debug output + +ChangeSet@1.3756, 2018-01-20 00:35:52-08:00, harlan@mb6.tal1.ntfo.org + typo + + ntpd/ntp_config.c@1.356 +2 -2 + typo + +ChangeSet@1.3755, 2018-01-20 00:33:06-08:00, harlan@mb6.tal1.ntfo.org + When dumping restrict nodes, use const char * for address and mask + + ntpd/ntp_config.c@1.355 +5 -2 + When dumping restrict nodes, use const char * for address and mask + +ChangeSet@1.3754, 2018-01-19 23:19:41-08:00, harlan@mb6.tal1.ntfo.org + Improve saveconfig output + + ChangeLog@1.1904 +1 -0 + Improve saveconfig output + + ntpd/ntp_config.c@1.354 +33 -3 + Improve saveconfig output + +ChangeSet@1.3753, 2018-01-17 22:12:36-08:00, harlan@psp-at0.tal1.ntfo.org + Rename the configuration flag fifo variables + + ChangeLog@1.1903 +1 -0 + Rename the configuration flag fifo variables + + include/ntp_config.h@1.86 +1 -1 + Rename the configuration flag fifo variables + + ntpd/ntp_config.c@1.353 +21 -21 + Rename the configuration flag fifo variables + +ChangeSet@1.3752, 2018-01-17 04:34:17-08:00, harlan@psp-at1.tal1.ntfo.org + Add DPRINTF(2,...) lines to receive() for packet drops + + ChangeLog@1.1902 +1 -0 + Add DPRINTF(2,...) lines to receive() for packet drops + + ntpd/ntp_proto.c@1.410 +49 -1 + Add DPRINTF(2,...) lines to receive() for packet drops + +ChangeSet@1.3751, 2018-01-16 20:06:43-08:00, harlan@psp-at1.tal1.ntfo.org + ippeerlimt: hook in ip_count support + + include/ntpd.h@1.201 +1 -1 + ippeerlimt: hook in ip_count support + + ntpd/ntp_config.c@1.352 +2 -2 + ippeerlimt: hook in ip_count support + + ntpd/ntp_peer.c@1.163 +27 -12 + ippeerlimt: hook in ip_count support + + ntpd/ntp_proto.c@1.409 +6 -6 + ippeerlimt: hook in ip_count support + + ntpd/ntp_refclock.c@1.126 +2 -2 + ippeerlimt: hook in ip_count support + + ntpd/ntp_request.c@1.124 +9 -9 + ippeerlimt: hook in ip_count support + +ChangeSet@1.3750, 2018-01-15 23:35:22-08:00, harlan@psp-at1.tal1.ntfo.org + Bug 3415: implement ippeerlimit + + ChangeLog@1.1901 +1 -1 + Bug 3415: implement ippeerlimit + + include/ntp.h@1.226 +6 -5 + Bug 3415: implement ippeerlimit + + include/ntp_config.h@1.85 +7 -5 + Bug 3415: implement ippeerlimit + + include/ntp_request.h@1.50 +1 -0 + Bug 3415: implement ippeerlimit + + include/ntpd.h@1.200 +1 -1 + Bug 3415: implement ippeerlimit + + ntpd/complete.conf.in@1.33 +8 -8 + Bug 3415: implement ippeerlimit + + ntpd/keyword-gen-utd@1.32 +1 -1 + Bug 3415: implement ippeerlimit + + ntpd/keyword-gen.c@1.38 +1 -0 + Bug 3415: implement ippeerlimit + + ntpd/ntp_config.c@1.351 +17 -11 + Bug 3415: implement ippeerlimit + + ntpd/ntp_io.c@1.424 +2 -2 + Bug 3415: implement ippeerlimit + + ntpd/ntp_keyword.h@1.34 +784 -774 + Bug 3415: implement ippeerlimit + + ntpd/ntp_parser.c@1.111 +1089 -1055 + Bug 3415: implement ippeerlimit + + ntpd/ntp_parser.h@1.74 +274 -272 + Bug 3415: implement ippeerlimit + + ntpd/ntp_parser.y@1.99 +36 -13 + Bug 3415: implement ippeerlimit + + ntpd/ntp_request.c@1.123 +2 -1 + Bug 3415: implement ippeerlimit + + ntpd/ntp_restrict.c@1.42 +8 -5 + Bug 3415: implement ippeerlimit + + ntpdc/layout.std@1.13 +7 -6 + Bug 3415: implement ippeerlimit + + tests/ntpd/ntp_restrict.c@1.5 +12 -12 + Bug 3415: implement ippeerlimit + +ChangeSet@1.3747.1.1, 2018-01-13 00:42:58-08:00, harlan@psp-at0.tal1.ntfo.org + Cleanup description of Sec 3415 + + ChangeLog@1.1898.1.1 +2 -1 + Cleanup description of Sec 3415 + +ChangeSet@1.3747, 2018-01-12 01:29:33-08:00, harlan@psp-at0.tal1.ntfo.org + Distribute testconf.yml + + ChangeLog@1.1898 +1 -0 + Distribute testconf.yml + + sntp/tests/Makefile.am@1.72 +1 -0 + Distribute testconf.yml + + tests/bug-2803/Makefile.am@1.18 +4 -0 + Distribute testconf.yml + + tests/libntp/Makefile.am@1.99 +4 -0 + Distribute testconf.yml + + tests/ntpd/Makefile.am@1.36 +4 -0 + Distribute testconf.yml + + tests/ntpq/Makefile.am@1.14 +4 -0 + Distribute testconf.yml + + tests/sandbox/Makefile.am@1.12 +4 -0 + Distribute testconf.yml + + tests/sec-2853/Makefile.am@1.8 +4 -0 + Distribute testconf.yml + +ChangeSet@1.3746, 2018-01-12 01:24:20-08:00, harlan@psp-at0.tal1.ntfo.org + [Sec 3415] Multiple authenticated ephemeral associations. + + ChangeLog@1.1897 +1 -0 + [Sec 3415] Multiple authenticated ephemeral associations. + +ChangeSet@1.3745, 2018-01-11 12:25:17+00:00, stenn@psp-deb1.ntp.org + sys_lamport and sys_tsrounding. Document .../N in ntp.keys + + ChangeLog@1.1896 +2 -0 + sys_lamport and sys_tsrounding. Document .../N in ntp.keys + + NEWS@1.182 +3 -0 + sys_lamport and sys_tsrounding. Document .../N in ntp.keys + + html/keygen.html@1.36 +350 -138 + sys_lamport and sys_tsrounding. Document .../N in ntp.keys + + include/ntp_request.h@1.49 +2 -0 + sys_lamport and sys_tsrounding. Document .../N in ntp.keys + + include/ntpd.h@1.199 +10 -9 + sys_lamport and sys_tsrounding. Document .../N in ntp.keys + + libntp/systime.c@1.74 +12 -6 + sys_lamport and sys_tsrounding. Document .../N in ntp.keys + + ntpd/invoke-ntp.keys.texi@1.198 +11 -3 + sys_lamport and sys_tsrounding. Document .../N in ntp.keys + + ntpd/ntp.keys.5man@1.232 +12 -4 + sys_lamport and sys_tsrounding. Document .../N in ntp.keys + + ntpd/ntp.keys.5mdoc@1.232 +12 -4 + sys_lamport and sys_tsrounding. Document .../N in ntp.keys + + ntpd/ntp.keys.def@1.12 +10 -2 + sys_lamport and sys_tsrounding. Document .../N in ntp.keys + + ntpd/ntp.keys.man.in@1.232 +12 -4 + sys_lamport and sys_tsrounding. Document .../N in ntp.keys + + ntpd/ntp.keys.mdoc.in@1.232 +12 -4 + sys_lamport and sys_tsrounding. Document .../N in ntp.keys + + ntpd/ntp_control.c@1.224 +109 -97 + sys_lamport and sys_tsrounding. Document .../N in ntp.keys + + ntpd/ntp_parser.c@1.110 +154 -154 + sys_lamport and sys_tsrounding. Document .../N in ntp.keys + + ntpd/ntp_parser.h@1.73 +4 -4 + sys_lamport and sys_tsrounding. Document .../N in ntp.keys + + ntpd/ntp_proto.c@1.408 +2 -0 + sys_lamport and sys_tsrounding. Document .../N in ntp.keys + + ntpd/ntp_request.c@1.122 +2 -0 + sys_lamport and sys_tsrounding. Document .../N in ntp.keys + + ntpdc/layout.std@1.12 +3 -1 + sys_lamport and sys_tsrounding. Document .../N in ntp.keys + + ntpq/ntpq-subs.c@1.122 +4 -0 + sys_lamport and sys_tsrounding. Document .../N in ntp.keys + +ChangeSet@1.3744, 2018-01-10 17:48:26+01:00, perlinger@ntp.org + [Bug 3450] Dubious error messages from plausibility checks in get_systime() + + ChangeLog@1.1895 +2 -0 + [Bug 3450] Dubious error messages from plausibility checks in get_systime() + + libntp/systime.c@1.73 +31 -31 + [Bug 3450] Dubious error messages from plausibility checks in get_systime() + - use ceiling when converting sys_fuzz to nsecs + - make sure the time stamps in l_fp format increase when truncation errors hit + - use DPRINTF() instead of syslog -- this is expected to happen from time to time + +ChangeSet@1.3743, 2018-01-08 04:20:20-08:00, harlan@psp-at0.tal1.ntfo.org + [Sec 3012] Sybil vulnerability: noepeer support + + ChangeLog@1.1894 +1 -1 + [Sec 3012] Sybil vulnerability: noepeer support + +ChangeSet@1.3742, 2018-01-08 00:02:07-08:00, harlan@psp-at0.tal1.ntfo.org + Document noepeer + + html/accopt.html@1.46 +2 -2 + Document noepeer + + ntpd/invoke-ntp.conf.texi@1.209 +10 -6 + Document noepeer + + ntpd/ntp.conf.5man@1.243 +9 -3127 + Document noepeer + + ntpd/ntp.conf.5mdoc@1.243 +7 -2947 + Document noepeer + + ntpd/ntp.conf.def@1.26 +9 -5 + Document noepeer + + ntpd/ntp.conf.man.in@1.243 +9 -3127 + Document noepeer + + ntpd/ntp.conf.mdoc.in@1.243 +7 -2947 + Document noepeer + +ChangeSet@1.3741, 2018-01-06 03:43:02-08:00, harlan@psp-at0.tal1.ntfo.org + noepeer support + + ChangeLog@1.1893 +1 -0 + noepeer support + + html/accopt.html@1.45 +3 -1 + noepeer support + + include/ntp.h@1.225 +12 -10 + noepeer support + + libntp/statestr.c@1.30 +147 -137 + noepeer support + + ntpd/keyword-gen-utd@1.31 +1 -1 + noepeer support + + ntpd/keyword-gen.c@1.37 +2 -0 + noepeer support + + ntpd/ntp_config.c@1.350 +5 -1 + noepeer support + + ntpd/ntp_keyword.h@1.33 +902 -891 + noepeer support + + ntpd/ntp_parser.c@1.109 +1120 -1120 + noepeer support + + ntpd/ntp_parser.h@1.72 +326 -322 + noepeer support + + ntpd/ntp_parser.y@1.98 +5 -1 + noepeer support + + ntpd/ntp_proto.c@1.407 +36 -28 + noepeer support + +ChangeSet@1.3737.1.2, 2018-01-02 14:59:21+01:00, perlinger@ntp.org + fix typo / warning for VisualC + + libntp/a_md5encrypt.c@1.48 +2 -2 + fix typo / warning for VisualC + +ChangeSet@1.3739, 2017-12-31 02:49:37-08:00, harlan@psp-at0.tal1.ntfo.org + authistrustedip() - use it in more places + + ChangeLog@1.1892 +2 -1 + authistrustedip() - use it in more places + + ntpd/ntp_control.c@1.223 +1 -1 + authistrustedip() - use it in more places + + ntpd/ntp_request.c@1.121 +1 -0 + authistrustedip() - use it in more places + +ChangeSet@1.3737.1.1, 2017-12-31 11:03:00+01:00, perlinger@ntp.org + make 'authistrustedip()' more flexible + + libntp/authkeys.c@1.41 +6 -7 + make 'authistrustedip()' more flexible + +ChangeSet@1.3726.6.1, 2017-12-30 03:54:30-08:00, harlan@psp-at0.tal1.ntfo.org + record_raw_stats cleanup + + ntpd/ntp_proto.c@1.406 +53 -4 + record_raw_stats cleanup + +ChangeSet@1.3737, 2017-12-30 10:01:53+01:00, perlinger@ntp.org + unit tests: avoid CD to source dir when calling ruby + + sntp/tests/Makefile.am@1.71 +10 -10 + unit tests: avoid CD to source dir when calling ruby + + sntp/unity/auto/generate_test_runner.rb@1.12 +2 -2 + generator emits only module name, not module path, to generated code + + tests/bug-2803/Makefile.am@1.17 +2 -2 + unit tests: avoid CD to source dir when calling ruby + + tests/libntp/Makefile.am@1.98 +40 -40 + unit tests: avoid CD to source dir when calling ruby + + tests/ntpd/Makefile.am@1.35 +7 -7 + unit tests: avoid CD to source dir when calling ruby + + tests/ntpq/Makefile.am@1.13 +2 -2 + unit tests: avoid CD to source dir when calling ruby + + tests/sandbox/Makefile.am@1.11 +4 -4 + unit tests: avoid CD to source dir when calling ruby + + tests/sec-2853/Makefile.am@1.7 +2 -2 + unit tests: avoid CD to source dir when calling ruby + +ChangeSet@1.3736, 2017-12-30 08:10:36+00:00, stenn@psp-deb1.ntp.org + Clean up directory paths for test programs + + sntp/tests/Makefile.am@1.70 +3 -3 + Clean up directory paths for test programs + + tests/bug-2803/Makefile.am@1.16 +3 -3 + Clean up directory paths for test programs + + tests/libntp/Makefile.am@1.97 +3 -3 + Clean up directory paths for test programs + + tests/ntpd/Makefile.am@1.34 +3 -3 + Clean up directory paths for test programs + + tests/ntpq/Makefile.am@1.12 +3 -3 + Clean up directory paths for test programs + + tests/sandbox/Makefile.am@1.10 +3 -3 + Clean up directory paths for test programs + + tests/sec-2853/Makefile.am@1.6 +3 -3 + Clean up directory paths for test programs + +ChangeSet@1.3735, 2017-12-30 07:49:54+01:00, perlinger@ntp.org + address matching: cleanup & unit tests + + libntp/authkeys.c@1.40 +29 -3 + address matching: cleanup & unit tests + - improve handling of invalid addresses + + tests/libntp/authkeys.c@1.16 +173 -45 + address matching: cleanup & unit tests + - add test cases + + tests/libntp/run-authkeys.c@1.14 +19 -7 + address matching: cleanup & unit tests + - update auto-generated file + +ChangeSet@1.3734, 2017-12-29 10:53:55+01:00, perlinger@ntp.org + implement mask/prefix match on addresses for key lookup + + include/ntp_keyacc.h@1.4 +6 -2 + implement mask/prefix match on addresses for key lookup + + libntp/authkeys.c@1.39 +73 -2 + implement mask/prefix match on addresses for key lookup + + libntp/authreadkeys.c@1.32 +13 -19 + cleanup of mask parsing, accept excessive masks + + libntp/ssl_init.c@1.28 +1 -2 + cleanup use of loval vars + +ChangeSet@1.3730.1.9, 2017-12-28 22:48:21-08:00, harlan@psp-at0.tal1.ntfo.org + Allow .../N to specify subnet bits for IPs in ntp.keys + + ChangeLog@1.1891 +1 -0 + Allow .../N to specify subnet bits for IPs in ntp.keys + + include/ntp_keyacc.h@1.3 +3 -1 + Allow .../N to specify subnet bits for IPs in ntp.keys + + libntp/authkeys.c@1.38 +4 -1 + Allow .../N to specify subnet bits for IPs in ntp.keys + + libntp/authreadkeys.c@1.31 +47 -7 + Allow .../N to specify subnet bits for IPs in ntp.keys + +ChangeSet@1.3730.1.8, 2017-12-28 22:42:07-08:00, harlan@psp-at0.tal1.ntfo.org + [Bug 2900] libntp build order problem + + ChangeLog@1.1890 +1 -0 + [Bug 2900] libntp build order problem + + Makefile.am@1.136 +1 -1 + [Bug 2900] libntp build order problem + + sntp/check-libntp.mf@1.3 +0 -1 + [Bug 2900] libntp build order problem + +ChangeSet@1.3730.1.7, 2017-12-28 00:09:57-08:00, harlan@psp-at1.tal1.ntfo.org + sntp: show the IP of who sent us a crypto-NAK + + ChangeLog@1.1889 +1 -0 + sntp: show the IP of who sent us a crypto-NAK + + sntp/networking.c@1.69 +6 -2 + sntp: show the IP of who sent us a crypto-NAK + +ChangeSet@1.3730.1.6, 2017-12-25 19:53:47-08:00, harlan@psp-at0.tal1.ntfo.org + Clean up libevent configure checks + + ChangeLog@1.1888 +1 -0 + Clean up libevent configure checks + + sntp/m4/ntp_libevent.m4@1.20 +6 -7 + Clean up libevent configure checks + +ChangeSet@1.3730.1.5, 2017-12-25 18:07:37-08:00, harlan@psp-at0.tal1.ntfo.org + prepend "yes, " to the displayed value of pkg-config --modversion + + sntp/m4/ntp_libevent.m4@1.19 +1 -1 + prepend "yes, " to the displayed value of pkg-config --modversion + + sntp/m4/ntp_openssl.m4@1.29 +1 -1 + prepend "yes, " to the displayed value of pkg-config --modversion + +ChangeSet@1.3730.2.1, 2017-12-25 04:53:42-08:00, harlan@psp-at1.tal1.ntfo.org + When using pkg-config, report --modversion + + ChangeLog@1.1887 +1 -0 + When using pkg-config, report --modversion + + sntp/m4/ntp_libevent.m4@1.18 +6 -1 + When using pkg-config, report --modversion + + sntp/m4/ntp_openssl.m4@1.28 +6 -1 + When using pkg-config, report --modversion + +ChangeSet@1.3726.5.2, 2017-12-22 14:53:55+01:00, perlinger@ntp.org + SNTP: separate MAC computation from copy or compare + + sntp/crypto.c@1.36 +85 -56 + separate MAC computation from copy or compare + +ChangeSet@1.3726.4.1, 2017-12-21 07:59:17+01:00, perlinger@ntp.org + zero-pad or truncate AES128CMAC keys to exactly 16byte + + libntp/a_md5encrypt.c@1.47 +14 -6 + zero-pad or truncate AES128CMAC keys to exactly 16byte + + sntp/crypto.c@1.32.1.1 +15 -23 + zero-pad or truncate AES128CMAC keys to exactly 16byte + +ChangeSet@1.3726.1.17, 2017-12-13 20:30:41-08:00, harlan@psp-at0.tal1.ntfo.org + update-leap: updates from Paul McMath + + ChangeLog@1.1885 +1 -0 + update-leap: updates from Paul McMath + + scripts/update-leap/update-leap.in@1.5 +13 -12 + update-leap: updates from Paul McMath + +ChangeSet@1.3726.3.9, 2017-12-13 03:21:32-08:00, harlan@psp-at0.tal1.ntfo.org + sntp: pkt_output(): Improve debug output. + + ChangeLog@1.1876.5.8 +1 -0 + sntp: pkt_output(): Improve debug output. + + libntp/authreadkeys.c@1.27.1.2 +1 -0 + Minor cleanup + + sntp/utilities.c@1.20 +1 -1 + sntp: pkt_output(): Improve debug output. + +ChangeSet@1.3726.3.8, 2017-12-13 02:14:15-08:00, harlan@psp-at0.tal1.ntfo.org + sntp: tweak key file logging. + + ChangeLog@1.1876.5.7 +1 -0 + sntp: tweak key file logging. + + sntp/crypto.c@1.25.1.4 +10 -4 + sntp: tweak key file logging. + + sntp/main.c@1.102 +1 -2 + sntp: tweak key file logging. + +ChangeSet@1.3726.3.7, 2017-12-12 19:15:09-08:00, harlan@psp-at0.tal1.ntfo.org + [Bug 3405] update-leap.in: general cleanup, HTTPS support. Paul McMath. + + ChangeLog@1.1876.5.6 +1 -0 + [Bug 3405] update-leap.in: general cleanup, HTTPS support. Paul McMath. + + NEWS@1.181 +6 -0 + [Bug 3405] update-leap.in: general cleanup, HTTPS support. Paul McMath. + + scripts/update-leap/update-leap.in@1.4 +358 -312 + [Bug 3405] update-leap.in: general cleanup, HTTPS support. Paul McMath. + +ChangeSet@1.3726.3.6, 2017-12-11 11:55:35+00:00, stenn@psp-deb1.ntp.org + Deal with NULL src when calling record_raw_stats() + + ntpd/ntp_io.c@1.423 +1 -1 + Deal with NULL src when calling record_raw_stats() + +ChangeSet@1.3726.3.5, 2017-12-11 03:31:22-08:00, harlan@psp-at0.tal1.ntfo.org + Handle a null srcadr in record_raw_stats() + + ntpd/ntp_util.c@1.119 +2 -1 + Handle a null srcadr in record_raw_stats() + +ChangeSet@1.3726.1.14, 2017-12-11 08:52:38+00:00, stenn@psp-deb1.ntp.org + merge cleanup + + sntp/invoke-sntp.texi@1.512 +1 -1 + merge cleanup + + sntp/sntp-opts.c@1.531 +95 -92 + merge cleanup + + sntp/sntp-opts.h@1.529 +1 -1 + merge cleanup + + sntp/sntp.1sntpman@1.347 +7 -2 + merge cleanup + + sntp/sntp.1sntpmdoc@1.347 +7 -2 + merge cleanup + + sntp/sntp.man.in@1.347 +7 -2 + merge cleanup + + sntp/sntp.mdoc.in@1.347 +7 -2 + merge cleanup + +ChangeSet@1.3726.1.12, 2017-12-09 10:39:12+01:00, jnperlin@hydra.localnet + [Bug 2878] Tests are cluttering up syslog + + ChangeLog@1.1882 +1 -0 + [Bug 2878] Tests are cluttering up syslog + + sntp/tests/Makefile.am@1.69 +3 -2 + [Bug 2878] Tests are cluttering up syslog + - use YAML config to setup test suites + + sntp/tests/run-crypto.c@1.8 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + sntp/tests/run-keyFile.c@1.10 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + sntp/tests/run-kodDatabase.c@1.10 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + sntp/tests/run-kodFile.c@1.8 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + sntp/tests/run-networking.c@1.4 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + sntp/tests/run-packetHandling.c@1.7 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + sntp/tests/run-packetProcessing.c@1.13 +8 -0 + Bug 2878 - Tests are cluttering up syslog + + sntp/tests/run-t-log.c@1.6 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + sntp/tests/run-utilities.c@1.7 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + sntp/tests/testconf.yml@1.1 +9 -0 + [Bug 2878] Tests are cluttering up syslog + - generator configuration to redirect syslog to stderr + + sntp/tests/testconf.yml@1.0 +0 -0 + + sntp/unity/auto/generate_test_runner.rb@1.11 +1 -1 + [Bug 2878] Tests are cluttering up syslog + - fix prototype of generated 'suite_setup()' function + + tests/bug-2803/Makefile.am@1.15 +2 -1 + [Bug 2878] Tests are cluttering up syslog + - use YAML config to setup test suites + + tests/bug-2803/run-bug-2803.c@1.10 +8 -2 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/bug-2803/testconf.yml@1.1 +9 -0 + [Bug 2878] Tests are cluttering up syslog + - generator configuration to redirect syslog to stderr + + tests/bug-2803/testconf.yml@1.0 +0 -0 + + tests/bug-3102/testconf.yml@1.1 +9 -0 + [Bug 2878] Tests are cluttering up syslog + - generator configuration to redirect syslog to stderr + + tests/bug-3102/testconf.yml@1.0 +0 -0 + + tests/libntp/Makefile.am@1.96 +3 -2 + [Bug 2878] Tests are cluttering up syslog + - use YAML config to setup test suites + + tests/libntp/run-a_md5encrypt.c@1.16 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-atoint.c@1.9 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-atouint.c@1.10 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-authkeys.c@1.13 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-buftvtots.c@1.7 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-calendar.c@1.13 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-caljulian.c@1.14 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-caltontp.c@1.6 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-calyearstart.c@1.8 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-clocktime.c@1.11 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-decodenetnum.c@1.12 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-hextoint.c@1.10 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-hextolfp.c@1.9 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-humandate.c@1.8 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-lfpfunc.c@1.20 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-lfptostr.c@1.9 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-modetoa.c@1.13 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-msyslog.c@1.10 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-netof.c@1.9 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-numtoa.c@1.12 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-numtohost.c@1.12 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-octtoint.c@1.8 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-prettydate.c@1.7 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-recvbuff.c@1.6 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-refidsmear.c@1.9 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-refnumtoa.c@1.10 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-sfptostr.c@1.8 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-socktoa.c@1.15 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-ssl_init.c@1.10 +17 -5 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-statestr.c@1.12 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-strtolfp.c@1.7 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-timespecops.c@1.12 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-timevalops.c@1.15 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-tsafememcmp.c@1.2 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-tstotv.c@1.6 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-tvtots.c@1.7 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-uglydate.c@1.12 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-vi64ops.c@1.9 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/run-ymd2yd.c@1.12 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/libntp/testconf.yml@1.1 +9 -0 + [Bug 2878] Tests are cluttering up syslog + - generator configuration to redirect syslog to stderr + + tests/libntp/testconf.yml@1.0 +0 -0 + + tests/ntpd/Makefile.am@1.33 +2 -1 + [Bug 2878] Tests are cluttering up syslog + - use YAML config to setup test suites + + tests/ntpd/run-leapsec.c@1.6.1.1 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/ntpd/run-ntp_prio_q.c@1.4.1.1 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/ntpd/run-ntp_restrict.c@1.5.1.1 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/ntpd/run-rc_cmdlength.c@1.4.1.1 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/ntpd/run-t-ntp_scanner.c@1.5.1.1 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/ntpd/run-t-ntp_signd.c@1.12 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/ntpd/testconf.yml@1.1 +9 -0 + [Bug 2878] Tests are cluttering up syslog + - generator configuration to redirect syslog to stderr + + tests/ntpd/testconf.yml@1.0 +0 -0 + + tests/ntpq/Makefile.am@1.11 +2 -1 + [Bug 2878] Tests are cluttering up syslog + - use YAML config to setup test suites + + tests/ntpq/run-t-ntpq.c@1.4 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/ntpq/testconf.yml@1.1 +9 -0 + [Bug 2878] Tests are cluttering up syslog + - generator configuration to redirect syslog to stderr + + tests/ntpq/testconf.yml@1.0 +0 -0 + + tests/sandbox/Makefile.am@1.9 +2 -1 + [Bug 2878] Tests are cluttering up syslog + - use YAML config to setup test suites + + tests/sandbox/run-modetoa.c@1.4 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/sandbox/run-uglydate.c@1.8 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/sandbox/run-ut-2803.c@1.3 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/sandbox/testconf.yml@1.1 +9 -0 + [Bug 2878] Tests are cluttering up syslog + - generator configuration to redirect syslog to stderr + + tests/sandbox/testconf.yml@1.0 +0 -0 + + tests/sec-2853/Makefile.am@1.5 +4 -2 + [Bug 2878] Tests are cluttering up syslog + - use YAML config to setup test suites + + tests/sec-2853/run-sec-2853.c@1.6 +8 -0 + [Bug 2878] Tests are cluttering up syslog + - auto-regenerated test driver + + tests/sec-2853/testconf.yml@1.1 +9 -0 + [Bug 2878] Tests are cluttering up syslog + - generator configuration to redirect syslog to stderr + + tests/sec-2853/testconf.yml@1.0 +0 -0 + +ChangeSet@1.3726.1.11, 2017-12-08 07:14:36+01:00, perlinger@ntp.org + [Bug 3447] AES-128-CMAC (fixes) + - refactoring the MAC code, too + + ChangeLog@1.1881 +1 -0 + [Bug 3447] AES-128-CMAC (fixes) + - refactoring the MAC code, too + + include/ntp_stdlib.h@1.86 +2 -2 + [Bug 3447] AES-128-CMAC (fixes) + - refactoring the MAC code, too + + libntp/a_md5encrypt.c@1.46 +163 -174 + [Bug 3447] AES-128-CMAC (fixes) + - refactoring the MAC code, too + + libntp/authkeys.c@1.37 +6 -3 + [Bug 3447] AES-128-CMAC (fixes) + - refactoring the MAC code, too + + libntp/libssl_compat.c@1.5 +4 -1 + [Bug 3447] AES-128-CMAC (fixes) + - refactoring the MAC code, too + + tests/libntp/a_md5encrypt.c@1.16 +4 -8 + [Bug 3447] AES-128-CMAC (fixes) + - refactoring the MAC code, too + +ChangeSet@1.3726.3.4, 2017-12-07 10:56:10+00:00, stenn@psp-deb1.ntp.org + Update monopt.html with the new rawstats information + + html/monopt.html@1.41 +21 -5 + Update monopt.html with the new rawstats information + +ChangeSet@1.3726.1.10, 2017-12-06 21:15:12+01:00, perlinger@ntp.org + [Bug 3447] AES-128-CMAC (fixes) + + ChangeLog@1.1880 +1 -0 + [Bug 3447] AES-128-CMAC (fixes) + + libntp/a_md5encrypt.c@1.45 +151 -168 + [Bug 3447] AES-128-CMAC (fixes) + + sntp/crypto.c@1.32 +77 -82 + [Bug 3447] AES-128-CMAC (fixes) + +ChangeSet@1.3726.3.3, 2017-12-05 20:23:17-08:00, harlan@psp-at0.tal1.ntfo.org + [Bug 3433] sntp crashes when run with -a + + ChangeLog@1.1876.5.5 +1 -0 + [Bug 3433] sntp crashes when run with -a + + sntp/crypto.c@1.25.1.3 +1 -0 + [Bug 3433] sntp crashes when run with -a + + sntp/invoke-sntp.texi@1.509.1.1 +1 -1 + [Bug 3433] sntp crashes when run with -a + + sntp/main.c@1.101 +19 -7 + [Bug 3433] sntp crashes when run with -a + + sntp/sntp-opts.c@1.528.1.1 +95 -92 + [Bug 3433] sntp crashes when run with -a + + sntp/sntp-opts.def@1.48 +1 -0 + [Bug 3433] sntp crashes when run with -a + + sntp/sntp-opts.h@1.526.1.1 +1 -1 + [Bug 3433] sntp crashes when run with -a + + sntp/sntp.1sntpman@1.342.1.3 +8 -3 + [Bug 3433] sntp crashes when run with -a + + sntp/sntp.1sntpmdoc@1.342.1.3 +7 -2 + [Bug 3433] sntp crashes when run with -a + + sntp/sntp.html@1.523.2.3 +104 -80 + [Bug 3433] sntp crashes when run with -a + + sntp/sntp.man.in@1.342.1.3 +8 -3 + [Bug 3433] sntp crashes when run with -a + + sntp/sntp.mdoc.in@1.342.1.3 +7 -2 + [Bug 3433] sntp crashes when run with -a + +ChangeSet@1.3726.3.2, 2017-12-05 18:48:06-08:00, harlan@psp-at0.tal1.ntfo.org + Add comment about client-mode pkt->rootdisp + + ntpd/ntp_io.c@1.422 +1 -0 + Add comment about client-mode pkt->rootdisp + +ChangeSet@1.3726.3.1, 2017-12-04 00:24:49-08:00, harlan@psp-at0.tal1.ntfo.org + record_raw_stats(): Log entire packet. Log writes. + + ChangeLog@1.1876.5.4 +1 -0 + record_raw_stats(): Log entire packet. Log writes. + + include/ntpd.h@1.198 +1 -1 + record_raw_stats(): Log entire packet. Log writes. + + ntpd/ntp_io.c@1.421 +13 -0 + record_raw_stats(): Log entire packet. Log writes. + + ntpd/ntp_proto.c@1.405 +2 -1 + record_raw_stats(): Log entire packet. Log writes. + + ntpd/ntp_util.c@1.118 +15 -2 + record_raw_stats(): Log entire packet. Log writes. + +ChangeSet@1.3726.1.9, 2017-12-03 02:49:10-08:00, harlan@psp-at0.tal1.ntfo.org + Many files: + new file + + libntp/aes/FROM@1.1 +1 -0 + BitKeeper file libntp/aes/FROM + + libntp/aes/FROM@1.0 +0 -0 + + libntp/aes/Makefile.am@1.1 +24 -0 + BitKeeper file libntp/aes/Makefile.am + + libntp/aes/Makefile.am@1.0 +0 -0 + + libntp/aes/README@1.1 +56 -0 + BitKeeper file libntp/aes/README + + libntp/aes/README@1.0 +0 -0 + + libntp/aes/aes-omac1.c@1.1 +118 -0 + BitKeeper file libntp/aes/aes-omac1.c + + libntp/aes/aes-omac1.c@1.0 +0 -0 + + libntp/aes/aes.h@1.1 +21 -0 + BitKeeper file libntp/aes/aes.h + + libntp/aes/aes.h@1.0 +0 -0 + + libntp/aes/aes_wrap.h@1.1 +64 -0 + BitKeeper file libntp/aes/aes_wrap.h + + libntp/aes/aes_wrap.h@1.0 +0 -0 + + libntp/aes/ar-lib@1.1 +270 -0 + BitKeeper file libntp/aes/ar-lib + + libntp/aes/ar-lib@1.0 +0 -0 + + libntp/aes/build_config.h@1.1 +77 -0 + BitKeeper file libntp/aes/build_config.h + + libntp/aes/build_config.h@1.0 +0 -0 + + libntp/aes/common.h@1.1 +489 -0 + BitKeeper file libntp/aes/common.h + + libntp/aes/common.h@1.0 +0 -0 + + libntp/aes/compile@1.1 +347 -0 + BitKeeper file libntp/aes/compile + + libntp/aes/compile@1.0 +0 -0 + + libntp/aes/configure.ac@1.1 +37 -0 + BitKeeper file libntp/aes/configure.ac + + libntp/aes/configure.ac@1.0 +0 -0 + + libntp/aes/depcomp@1.1 +791 -0 + BitKeeper file libntp/aes/depcomp + + libntp/aes/depcomp@1.0 +0 -0 + + libntp/aes/includes.h@1.1 +50 -0 + BitKeeper file libntp/aes/includes.h + + libntp/aes/includes.h@1.0 +0 -0 + + libntp/aes/missing@1.1 +215 -0 + BitKeeper file libntp/aes/missing + + libntp/aes/missing@1.0 +0 -0 + + libntp/aes/os.h@1.1 +539 -0 + BitKeeper file libntp/aes/os.h + + libntp/aes/os.h@1.0 +0 -0 + + libntp/aes/rfc4493-test.c@1.1 +256 -0 + BitKeeper file libntp/aes/rfc4493-test.c + + libntp/aes/rfc4493-test.c@1.0 +0 -0 + + libntp/aes/test-aes-libtomcrypt.c@1.1 +101 -0 + BitKeeper file libntp/aes/test-aes-libtomcrypt.c + + libntp/aes/test-aes-libtomcrypt.c@1.0 +0 -0 + + libntp/aes/test-aes-openssl.c@1.1 +71 -0 + BitKeeper file libntp/aes/test-aes-openssl.c + + libntp/aes/test-aes-openssl.c@1.0 +0 -0 + + libntp/aes/validate-aes.c@1.1 +122 -0 + BitKeeper file libntp/aes/validate-aes.c + + libntp/aes/validate-aes.c@1.0 +0 -0 + + libntp/aes/wpa_debug.c@1.1 +688 -0 + BitKeeper file libntp/aes/wpa_debug.c + + libntp/aes/wpa_debug.c@1.0 +0 -0 + + libntp/aes/wpa_debug.h@1.1 +291 -0 + BitKeeper file libntp/aes/wpa_debug.h + + libntp/aes/wpa_debug.h@1.0 +0 -0 + + libntp/aes/wpabuf.c@1.1 +303 -0 + BitKeeper file libntp/aes/wpabuf.c + + libntp/aes/wpabuf.c@1.0 +0 -0 + + libntp/aes/wpabuf.h@1.1 +162 -0 + BitKeeper file libntp/aes/wpabuf.h + + libntp/aes/wpabuf.h@1.0 +0 -0 + +ChangeSet@1.3726.1.8, 2017-11-28 08:44:31+00:00, stenn@psp-deb1.ntp.org + Identify AES-128-CMAC workers + + ChangeLog@1.1879 +1 -1 + Identify AES-128-CMAC workers + +ChangeSet@1.3726.1.7, 2017-11-28 00:12:53-08:00, harlan@mb6.tal1.ntfo.org + Continue AES-128-CMAC test development + + sntp/tests/crypto.c@1.15 +10 -6 + Continue AES-128-CMAC test development + +ChangeSet@1.3726.2.1, 2017-11-28 07:08:15+00:00, stenn@psp-deb1.ntp.org + Merge cleanup + + libntp/ssl_init.c@1.27 +1 -0 + Merge cleanup + + ntpd/ntpd.html@1.188 +1 -1 + Merge cleanup + + ntpq/ntpq.c@1.181 +1 -0 + Merge cleanup + + ntpq/ntpq.html@1.185 +1 -1 + Merge cleanup + + sntp/crypto.c@1.30 +13 -13 + Merge cleanup + + sntp/crypto.h@1.14 +2 -1 + Merge cleanup + + sntp/tests/crypto.c@1.13 +2 -2 + Merge cleanup + + sntp/tests/packetProcessing.c@1.16 +1 -1 + Merge cleanup + + sntp/tests/run-crypto.c@1.7 +10 -6 + Merge cleanup + + sntp/tests/run-packetProcessing.c@1.12 +20 -18 + Merge cleanup + +ChangeSet@1.3720.58.1, 2017-11-27 22:35:12-08:00, harlan@mb6.tal1.ntfo.org + aes-128-cmac support + + sntp/crypto.c@1.28.1.1 +23 -15 + aes-128-cmac support + + sntp/tests/crypto.c@1.11.1.1 +27 -4 + aes-128-cmac support + +ChangeSet@1.3726.1.3, 2017-11-13 22:54:14-08:00, harlan@psp-at0.tal1.ntfo.org + Fix bug in the override portion of the compiler hardening macro + + ChangeLog@1.1876.5.3 +1 -0 + Fix bug in the override portion of the compiler hardening macro + + html/access.html@1.3, harlan@max.pfcs.com +2 -2 + whitespace cleanup + + html/accopt.html@1.44, harlan@max.pfcs.com +4 -4 + whitespace cleanup + + sntp/m4/ntp_harden.m4@1.2 +6 -6 + Fix bug in the override portion of the compiler hardening macro + +ChangeSet@1.3731, 2017-10-31 07:33:33+01:00, perlinger@ntp.org + Fix trivial warnings from 'make check' + - printf format clashes + + tests/libntp/timespecops.c@1.12 +9 -6 + Fix trivial warnings from 'make check' + - printf format clashes + + tests/libntp/timevalops.c@1.15 +8 -8 + Fix trivial warnings from 'make check' + - printf format clashes + +ChangeSet@1.3730, 2017-10-30 09:46:03+01:00, perlinger@ntp.org + Fix trivial warnings from 'make check' + + ChangeLog@1.1876.1.7 +1 -0 + Fix trivial warnings from 'make check' + + tests/ntpd/leapsec.c@1.5 +97 -193 + Fix trivial warnings from 'make check' + + tests/ntpd/ntp_prio_q.c@1.4 +24 -16 + Fix trivial warnings from 'make check' + + tests/ntpd/ntp_restrict.c@1.4 +34 -22 + Fix trivial warnings from 'make check' + + tests/ntpd/rc_cmdlength.c@1.4 +3 -4 + Fix trivial warnings from 'make check' + + tests/ntpd/run-leapsec.c@1.7 +34 -33 + Fix trivial warnings from 'make check' (auto-regenerated file) + + tests/ntpd/run-ntp_prio_q.c@1.5 +6 -6 + Fix trivial warnings from 'make check' (auto-regenerated file) + + tests/ntpd/run-ntp_restrict.c@1.6 +8 -8 + Fix trivial warnings from 'make check' (auto-regenerated file) + + tests/ntpd/run-rc_cmdlength.c@1.5 +1 -1 + Fix trivial warnings from 'make check' (auto-regenerated file) + + tests/ntpd/run-t-ntp_scanner.c@1.6 +11 -11 + Fix trivial warnings from 'make check' (auto-regenerated file) + + tests/ntpd/t-ntp_scanner.c@1.8 +33 -37 + Fix trivial warnings from 'make check' + +ChangeSet@1.3726.1.2, 2017-10-27 04:01:06-04:00, stenn@psp-deb2.ntp.org + Build ntpq and libntpq.a with NTP_HARD_*FLAGS + + ChangeLog@1.1876.5.2 +1 -0 + Build ntpq and libntpq.a with NTP_HARD_*FLAGS + + ntpq/Makefile.am@1.73 +5 -1 + Build ntpq and libntpq.a with NTP_HARD_*FLAGS + +ChangeSet@1.3726.1.1, 2017-10-15 07:52:15+00:00, stenn@psp-deb1.ntp.org + refclock_jjy.c: Add missing "%s" to an msyslog() call + + ChangeLog@1.1876.5.1 +1 -0 + refclock_jjy.c: Add missing "%s" to an msyslog() call + + ntpd/refclock_jjy.c@1.36 +1 -1 + refclock_jjy.c: Add missing "%s" to an msyslog() call + +ChangeSet@1.3720.56.9, 2017-10-15 04:51:52+00:00, stenn@psp-deb1.ntp.org + [Bug 3441] Validate the assumption that AF_UNSPEC is 0 + + ChangeLog@1.1876.4.8 +1 -0 + [Bug 3441] Validate the assumption that AF_UNSPEC is 0 + + configure.ac@1.610 +2 -0 + [Bug 3441] Validate the assumption that AF_UNSPEC is 0 + + sntp/m4/ntp_af_unspec.m4@1.2 +1 -1 + [Bug 3441] Validate the assumption that AF_UNSPEC is 0 + + sntp/m4/ntp_af_unspec.m4@1.1 +23 -0 + BitKeeper file sntp/m4/ntp_af_unspec.m4 + + sntp/m4/ntp_af_unspec.m4@1.0 +0 -0 + +ChangeSet@1.3720.56.8, 2017-10-15 01:07:22+00:00, stenn@psp-deb1.ntp.org + regenerate ntp_parser.[ch] + + ntpd/ntp_parser.c@1.108 +1176 -1157 + regenerate ntp_parser.[ch] + + ntpd/ntp_parser.h@1.71 +5 -5 + regenerate ntp_parser.[ch] + +ChangeSet@1.3720.53.2, 2017-10-14 08:37:26+02:00, perlinger@ntp.org + [Bug 3435] anchor NTP era alignment + + html/miscopt.html@1.87.1.2 +1 -1 + [Bug 3435] anchor NTP era alignment + + ntpd/ntp_config.c@1.348 +16 -5 + [Bug 3435] anchor NTP era alignment + +ChangeSet@1.3720.56.6, 2017-10-13 08:17:25+00:00, stenn@psp-deb1.ntp.org + cleanup + + ChangeLog@1.1876.4.6 +2 -2 + cleanup + +ChangeSet@1.3720.57.1, 2017-10-13 09:18:19+02:00, perlinger@ntp.org + [Bug 3437] ntpd tries to open socket with AF_UNSPEC domain + + ChangeLog@1.1873.23.1 +4 -0 + [Bug 3437] ntpd tries to open socket with AF_UNSPEC domain + + ntpd/ntp_io.c@1.420 +11 -0 + [Bug 3437] ntpd tries to open socket with AF_UNSPEC domain + +ChangeSet@1.3720.29.23, 2017-10-13 03:35:03+00:00, stenn@psp-deb1.ntp.org + Note 3412 is a Security bug + + ChangeLog@1.1876.2.16 +1 -1 + Note 3412 is a Security bug + +ChangeSet@1.3720.29.22, 2017-10-13 03:31:58+00:00, stenn@psp-deb1.ntp.org + [Bug 3412] ctl_getitem(): Don't compare names past NUL + + ChangeLog@1.1876.2.15 +1 -0 + [Bug 3412] ctl_getitem(): Don't compare names past NUL + + ntpd/ntp_control.c@1.222 +3 -1 + [Bug 3412] ctl_getitem(): Don't compare names past NUL + +ChangeSet@1.3720.29.19, 2017-10-13 02:20:50+00:00, stenn@psp-deb1.ntp.org + test_ntp_scanner_LDADD needs ntpd/ntp_io.o + + ChangeLog@1.1876.2.12 +1 -0 + test_ntp_scanner_LDADD needs ntpd/ntp_io.o + + tests/ntpd/Makefile.am@1.32 +1 -0 + test_ntp_scanner_LDADD needs ntpd/ntp_io.o + +ChangeSet@1.3720.55.2, 2017-10-12 12:55:29+02:00, perlinger@ntp.org + [Bug 3439] (ntpq) When running multiple commands / hosts in ntpq... + + ChangeLog@1.1873.22.2 +2 -0 + [Bug 3439] (ntpq) When running multiple commands / hosts in ntpq... + + ntpq/ntpq.c@1.174.3.1 +8 -2 + [Bug 3439] (ntpq) When running multiple commands / hosts in ntpq... + - applied patch by ggarvey + +ChangeSet@1.3720.55.1, 2017-10-12 12:51:50+02:00, perlinger@ntp.org + [Bug 3438] (ntpq) Negative values and values > 999 days in... + - make sure negative values are curbed and excessive days are converted to years + + ChangeLog@1.1873.22.1 +4 -0 + [Bug 3438] (ntpq) Negative values and values > 999 days in... + + ntpq/ntpq-subs.c@1.119.4.1 +10 -1 + [Bug 3438] (ntpq) Negative values and values > 999 days in... + - make sure negative values are curbed and excessive days are converted to years + +ChangeSet@1.3720.29.12, 2017-10-12 09:35:01+00:00, stenn@psp-deb1.ntp.org + [Bug 3365] Updates driver40(-ja).html and miscopt.html + + html/drivers/driver40-ja.html@1.7 +1 -1 + [Bug 3365] Updates driver40(-ja).html and miscopt.html + + html/drivers/driver40.html@1.22 +1 -1 + [Bug 3365] Updates driver40(-ja).html and miscopt.html + + html/miscopt.html@1.89 +1 -2 + [Bug 3365] Updates driver40(-ja).html and miscopt.html + +ChangeSet@1.3720.29.9, 2017-10-12 08:21:13+00:00, stenn@psp-deb1.ntp.org + [Bug 2737] Wrong phone number listed for USNO + + html/drivers/driver18.html@1.22 +1 -1 + [Bug 2737] Wrong phone number listed for USNO + +ChangeSet@1.3720.29.6, 2017-10-12 07:26:49+00:00, stenn@psp-deb1.ntp.org + [Bug 948] Trustedkey config directive leaks memory + + ChangeLog@1.1876.2.1 +1 -0 + [Bug 948] Trustedkey config directive leaks memory + + include/ntp_config.h@1.84 +13 -0 + [Bug 948] Trustedkey config directive leaks memory + + ntpd/ntp_config.c@1.346.1.1 +35 -3 + [Bug 948] Trustedkey config directive leaks memory + + ntpd/ntp_parser.c@1.105.1.1 +551 -548 + [Bug 948] Trustedkey config directive leaks memory + + ntpd/ntp_parser.h@1.68.1.1 +3 -3 + [Bug 948] Trustedkey config directive leaks memory + + ntpd/ntp_parser.y@1.95.1.1 +7 -6 + [Bug 948] Trustedkey config directive leaks memory + +ChangeSet@1.3720.53.1, 2017-10-10 08:44:16+02:00, perlinger@ntp.org + [Bug 3435] anchor NTP era alignment + + ChangeLog@1.1873.21.1 +3 -0 + [Bug 3435] anchor NTP era alignment + + html/miscopt.html@1.87.1.1 +3 -1 + [Bug 3435] anchor NTP era alignment + - explain "tos basedate" + + include/ntp_calendar.h@1.19 +23 -0 + [Bug 3435] anchor NTP era alignment + - add support far 'basedate' calculations + + include/ntp_fp.h@1.34 +1 -0 + [Bug 3435] anchor NTP era alignment + - check/clamp system time based on 'basedate' + + libntp/ntp_calendar.c@1.19 +109 -0 + [Bug 3435] anchor NTP era alignment + - add support far 'basedate' calculations + + libntp/systime.c@1.72 +173 -95 + [Bug 3435] anchor NTP era alignment + - check/clamp system time based on 'basedate' + + ntpd/keyword-gen-utd@1.30 +1 -1 + [Bug 3435] anchor NTP era alignment + - add 'basedate' keyword + + ntpd/keyword-gen.c@1.36 +1 -0 + [Bug 3435] anchor NTP era alignment + - add 'basedate' keyword + + ntpd/ntp_config.c@1.347 +56 -3 + [Bug 3435] anchor NTP era alignment + - add 'basedate' statement to TOS line + + ntpd/ntp_keyword.h@1.32 +1082 -1074 + [Bug 3435] anchor NTP era alignment + - add 'basedate' keyword + + ntpd/ntp_parser.c@1.106 +1176 -1155 + [Bug 3435] anchor NTP era alignment + - add 'basedate' statement to TOS line + + ntpd/ntp_parser.h@1.69 +377 -375 + [Bug 3435] anchor NTP era alignment + - add 'basedate' statement to TOS line + + ntpd/ntp_parser.y@1.96 +7 -0 + [Bug 3435] anchor NTP era alignment + - add 'basedate' statement to TOS line + +ChangeSet@1.3720.44.2, 2017-09-11 09:37:31+02:00, perlinger@ntp.org + [Bug 3424] Trimble Thunderbolt 1024 week millenium bug + - fix type & annoying but harmless signed/unsigned clash + + ntpd/refclock_palisade.c@1.45 +2 -2 + [Bug 3424] Trimble Thunderbolt 1024 week millenium bug + - fix type & annoying but harmless signed/unsigned clash + +ChangeSet@1.3720.52.1, 2017-09-09 08:05:52+02:00, perlinger@ntp.org + [Bug 2737] Wrong phone number listed for USNO + + ChangeLog@1.1873.20.1 +3 -0 + [Bug 2737] Wrong phone number listed for USNO + + html/drivers/driver18.html@1.21 +1 -1 + [Bug 2737] Wrong phone number listed for USNO + +ChangeSet@1.3720.51.1, 2017-09-08 07:54:24+02:00, perlinger@ntp.org + [Bug 3411] problem about SIGN(6) packet handling for ntp-4.2.8p10 + + ChangeLog@1.1873.19.1 +4 -0 + [Bug 3411] problem about SIGN(6) packet handling for ntp-4.2.8p10 + + include/recvbuff.h@1.27 +3 -2 + [Bug 3411] problem about SIGN(6) packet handling for ntp-4.2.8p10 + - raised receive buffer size to 1200 + +ChangeSet@1.3720.37.2, 2017-09-07 15:47:26+02:00, perlinger@ntp.org + [Bug 3397] ctl_putstr() asserts that data fits in its buffer + - restore logic of 'ctl_putstr()'/'ctl_putunqstr()' for empty strings (just name, no assign) + + ntpd/ntp_control.c@1.221 +20 -14 + [Bug 3397] ctl_putstr() asserts that data fits in its buffer + - restore logic of 'ctl_putstr()'/'ctl_putunqstr()' for empty strings (just name, no assign) + +ChangeSet@1.3720.50.4, 2017-09-07 15:44:14+02:00, perlinger@ntp.org + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - side kick: missing linefeed in 'ifstat' warning messes up screen + + ntpq/ntpq-subs.c@1.119.3.1 +2 -2 + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - side kick: missing linefeed in 'ifstat' warning messes up screen + +ChangeSet@1.3720.50.3, 2017-09-07 11:11:08+02:00, perlinger@ntp.org + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - sidekick: permit longer key type (hash algo names) for SNTP + + sntp/crypto.c@1.25.1.2 +1 -1 + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - sidekick: permit longer key type (hash algo names) for SNTP + + sntp/crypto.h@1.11.1.2 +1 -1 + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - sidekick: permit longer key type (hash algo names) for SNTP + +ChangeSet@1.3720.50.2, 2017-09-06 13:10:55+02:00, perlinger@ntp.org + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - fix MD5 fallback: only 'M' as keytype accepted + - provide full digest list with MSVC for OpenSSL v1.0.1 and above + + libntp/ssl_init.c@1.22.1.2 +1 -1 + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - fix MD5 fallback: only 'M' as keytype accepted + + ntpq/ntpq.c@1.174.2.2 +6 -0 + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - with MSVC, enable HAVE_EVP_MD_DO_ALL_SORTED for OpenSSL v1.0.1 and above + +ChangeSet@1.3720.50.1, 2017-09-06 10:16:25+02:00, perlinger@ntp.org + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + + ChangeLog@1.1873.18.1 +5 -0 + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + + include/ntp.h@1.224 +6 -4 + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - macros for key id size & max digest size in MAC + + include/ntp_request.h@1.48 +2 -2 + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - use macro for max digest size + + libntp/a_md5encrypt.c@1.40.1.1 +10 -9 + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - use macros for key id size & max digest size in MAC + + libntp/authreadkeys.c@1.27.1.1 +1 -6 + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - 'keytype_from_text' only returns valid algorithms + + libntp/ssl_init.c@1.22.1.1 +35 -39 + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - separate OpenSSL and non-SSL code in 'keytype_from_text' + - assure the algorithm is valid, not just known + - drop length check (we support truncated hashes) + + ntpq/ntpq.c@1.174.2.1 +28 -37 + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - keep key type selection in sync with NTPD + + sntp/crypto.c@1.25.1.1 +17 -10 + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - decode & check hash algo only when reading the key file (early error detection) + - support truncated digest for long hash algos + - use macros for key and digest size + + sntp/crypto.h@1.11.1.1 +2 -1 + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - decode & check hash algo only when reading the key file + + sntp/main.c@1.100 +2 -3 + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - use macros for key and digest size + + sntp/tests/crypto.c@1.10.1.1 +13 -7 + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - resolve algorithm before running MAC + - use strlcpy(), not memcpy() for string values + + sntp/tests/keyFile.c@1.14 +3 -3 + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - resolve algorithm before running MAC + - use strlcpy(), not memcpy() for string values + + sntp/tests/packetHandling.c@1.7 +3 -2 + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - resolve algorithm before running MAC + - use strlcpy(), not memcpy() for string values + - fix sizing bug + + sntp/tests/packetProcessing.c@1.12.3.1 +10 -8 + [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2" + - resolve algorithm before running MAC + - use strlcpy(), not memcpy() for string values + - use macros for key & digest size + +ChangeSet@1.3720.49.1, 2017-09-05 08:40:47+02:00, perlinger@ntp.org + [Bug 3394] Leap second deletion does not work on ntpd clients + + ChangeLog@1.1873.17.1 +4 -0 + [Bug 3394] Leap second deletion does not work on ntpd clients + + ntpd/ntp_leapsec.c@1.23 +16 -6 + [Bug 3394] Leap second deletion does not work on ntpd clients + - fixed handling of dynamic deletion w/o leap file + +ChangeSet@1.3720.48.1, 2017-08-25 21:32:40+00:00, perlinger@ntp.org + [Bug 3399] NTP: linker error in 4.2.8p10 during Linux cross-compilation + + ChangeLog@1.1873.16.1 +4 -0 + [Bug 3399] NTP: linker error in 4.2.8p10 during Linux cross-compilation + + sntp/harden/linux@1.2 +2 -2 + [Bug 3399] NTP: linker error in 4.2.8p10 during Linux cross-compilation + - changed '-z foo' to '-Wl,-z,foo' for portability (older GCC, CLANG) + - '-pie' is linker flag, '-fPIE' or '-fpie' is code generation: '-pie' moved to linker flags + + tests/ntpd/Makefile.am@1.31 +6 -1 + Bug 3399 - SNTP: linker error in 4.2.8p10 during Linux cross-compilation + - missing forward of AM_CFLAGS for individual targets broke link + +ChangeSet@1.3720.47.1, 2017-08-25 21:48:38+02:00, perlinger@ntp.org + [Bug 2557] Thunderbolt init is wrong + + ChangeLog@1.1873.15.1 +3 -0 + [Bug 2557] Thunderbolt init is wrong + + ntpd/refclock_palisade.c@1.43.1.1 +1 -1 + [Bug 2557] Thunderbolt init is wrong + +ChangeSet@1.3720.46.1, 2017-08-25 07:24:59+02:00, perlinger@ntp.org + [Bug 3423] QNX adjtime() implementation error checking is wrong + + ChangeLog@1.1873.14.1 +3 -0 + [Bug 3423] QNX adjtime() implementation error checking is wrong + + libntp/adjtime.c@1.8 +2 -2 + [Bug 3423] QNX adjtime() implementation error checking is wrong + +ChangeSet@1.3720.45.1, 2017-08-25 06:15:17+02:00, perlinger@ntp.org + [Bug 3016] wrong error position reported for bad ":config pool" + + ChangeLog@1.1873.13.1 +4 -0 + [Bug 3016] wrong error position reported for bad ":config pool" + + ntpd/ntp_scanner.c@1.51 +1 -0 + [Bug 3016] wrong error position reported for bad ":config pool" + - fixed location count (get/unget imbalance) + + ntpq/ntpq-subs.c@1.119.2.1 +6 -7 + [Bug 3016] wrong error position reported for bad ":config pool" + - changed error indicator output + +ChangeSet@1.3720.44.1, 2017-08-24 20:04:12+00:00, perlinger@psp-deb1.ntp.org + [Bug 3424] Trimble Thunderbolt 1024 week millenium bug + + ChangeLog@1.1873.12.1 +4 -0 + [Bug 3424] Trimble Thunderbolt 1024 week millenium bug + + ntpd/refclock_palisade.c@1.44 +82 -38 + [Bug 3424] Trimble Thunderbolt 1024 week millenium bug + - if necessary, warp effective time stamp by GPS cycles to be on or after build date + - adjusted code to print/log the effective resulting date + - made sure the leap second check uses the adjusted dates, too + +ChangeSet@1.3720.43.1, 2017-08-21 19:46:03+02:00, perlinger@ntp.org + [Bug 3367] Faulty LinuxPPS NMEA clock support in 4.2.8 + + ChangeLog@1.1873.11.1 +4 -0 + [Bug 3367] Faulty LinuxPPS NMEA clock support in 4.2.8 + + ntpd/ntp_refclock.c@1.123.1.1 +13 -5 + [Bug 3367] Faulty LinuxPPS NMEA clock support in 4.2.8 + - revert handling of 'time_pps_kcbind()' and flag3 to state of revision 1.118 + +ChangeSet@1.3720.42.1, 2017-08-20 07:49:58+02:00, perlinger@ntp.org + [Bug 3398] tests fail with core dump + + ChangeLog@1.1873.10.1 +4 -0 + [Bug 3398] tests fail with core dump + + sntp/tests/packetProcessing.c@1.12.2.1 +1 -1 + [Bug 3398] tests fail with core dump + - use srtlcpy() to set ASCIIZ string + +ChangeSet@1.3720.41.1, 2017-07-23 10:53:14+02:00, perlinger@ntp.org + [Bug 3417] ntpq ifstats packet counters can be negative + + ChangeLog@1.1873.9.1 +4 -0 + [Bug 3417] ntpq ifstats packet counters can be negative + + ntpq/ntpq-subs.c@1.119.1.1 +13 -13 + [Bug 3417] ntpq ifstats packet counters can be negative + - made IFSTATS counter quantities unsigned & adjusted scan/print formats + +ChangeSet@1.3720.29.5, 2017-07-12 06:40:04-04:00, stenn@psp-deb2.ntp.org + Use strlcpy() to copy strings, not memcpy() + + ChangeLog@1.1876.1.1 +1 -0 + Use strlcpy() to copy strings, not memcpy() + + sntp/tests/packetProcessing.c@1.12.1.1 +1 -1 + Use strlcpy() to copy strings, not memcpy() + +ChangeSet@1.3720.40.1, 2017-07-08 00:43:56+02:00, perlinger@ntp.org + [Sec 3414] ntpq: decodearr() can write beyond its 'buf' limits + + ChangeLog@1.1873.8.1 +4 -0 + [Sec 3414] ntpq: decodearr() can write beyond its 'buf' limits + + ntpq/ntpq.c@1.174.1.2 +62 -48 + [Sec 3414] ntpq: decodearr() can write beyond its 'buf' limits + - dest-length limited copy + - many buggy casts in calls to CTYPE 'isfoobar()' functions + +ChangeSet@1.3724, 2017-07-07 02:35:10-07:00, harlan@max.pfcs.com + typo + + ChangeLog@1.1873.7.1 +4 -2 + typo + + html/monopt.html@1.40 +2 -2 + typo + + libntp/work_thread.c@1.22 +1 -1 + typo + + ntpsnmpd/netsnmp_daemonize.c@1.6 +1 -1 + typo + +ChangeSet@1.3720.39.2, 2017-07-02 09:42:42+02:00, perlinger@ntp.org + [Bug 3404] revert change + + include/ssl_applink.c@1.6 +3 -1 + [Bug 3404] revert change + +ChangeSet@1.3720.39.1, 2017-07-02 09:16:39+02:00, perlinger@ntp.org + [Bug 3404] Fix openSSL DLL usage under Windows + + ChangeLog@1.1873.6.1 +4 -0 + [Bug 3404] Fix openSSL DLL usage under Windows + + include/ssl_applink.c@1.5 +14 -12 + [Bug 3404] Fix openSSL DLL usage under Windows + + ports/winnt/include/msvc_ssl_autolib.h@1.2 +23 -9 + [Bug 3404] Fix openSSL DLL usage under Windows + - DON'T use tagged libraries by default + + ports/winnt/vs2008/debug-x64.vsprops@1.3 +1 -1 + [Bug 3404] Fix openSSL DLL usage under Windows + - fix/drop assumptions on OpenSSL libs directory layout + + ports/winnt/vs2008/debug.vsprops@1.3 +1 -1 + [Bug 3404] Fix openSSL DLL usage under Windows + - fix/drop assumptions on OpenSSL libs directory layout + + ports/winnt/vs2008/release-x64.vsprops@1.3 +1 -1 + [Bug 3404] Fix openSSL DLL usage under Windows + - fix/drop assumptions on OpenSSL libs directory layout + + ports/winnt/vs2008/release.vsprops@1.3 +1 -1 + [Bug 3404] Fix openSSL DLL usage under Windows + - fix/drop assumptions on OpenSSL libs directory layout + + ports/winnt/vs2013/debug-x64.props@1.4 +1 -1 + [Bug 3404] Fix openSSL DLL usage under Windows + - fix/drop assumptions on OpenSSL libs directory layout + + ports/winnt/vs2013/debug.props@1.3 +1 -1 + [Bug 3404] Fix openSSL DLL usage under Windows + - fix/drop assumptions on OpenSSL libs directory layout + + ports/winnt/vs2013/release-x64.props@1.4 +1 -1 + [Bug 3404] Fix openSSL DLL usage under Windows + - fix/drop assumptions on OpenSSL libs directory layout + + ports/winnt/vs2013/release.props@1.3 +1 -1 + [Bug 3404] Fix openSSL DLL usage under Windows + - fix/drop assumptions on OpenSSL libs directory layout + + ports/winnt/vs2015/debug-x64.props@1.3 +1 -1 + [Bug 3404] Fix openSSL DLL usage under Windows + - fix/drop assumptions on OpenSSL libs directory layout + + ports/winnt/vs2015/debug.props@1.3 +1 -1 + [Bug 3404] Fix openSSL DLL usage under Windows + - fix/drop assumptions on OpenSSL libs directory layout + + ports/winnt/vs2015/release-x64.props@1.3 +1 -1 + [Bug 3404] Fix openSSL DLL usage under Windows + - fix/drop assumptions on OpenSSL libs directory layout + + ports/winnt/vs2015/release.props@1.3 +1 -1 + [Bug 3404] Fix openSSL DLL usage under Windows + - fix/drop assumptions on OpenSSL libs directory layout + +ChangeSet@1.3720.33.6, 2017-05-29 13:41:48-06:00, bwi@nwtime.org + libntp/a_md5encrypt.c(MD5authdecrypt) force AES 128 key size + + libntp/a_md5encrypt.c@1.43 +1 -1 + libntp/a_md5encrypt.c(MD5authdecrypt) force AES 128 key size + +ChangeSet@1.3720.33.5, 2017-05-29 19:23:32+01:00, Brian@bwinglisd. + libntp/a_md5encrypt.c(MD5authencrypt): force CMAC AES 128 key size + + libntp/a_md5encrypt.c@1.42 +3 -2 + libntp/a_md5encrypt.c(MD5authencrypt): force CMAC AES 128 key size + +ChangeSet@1.3720.33.4, 2017-05-26 19:28:01+01:00, Brian@bwinglisd. + libntp/a_md5encrypt.c: add AES128CMAC and better OpenSSL support, + libntp/authreadkeys.c: add AES128CMAC support, + ports/winnt/ntpd/nt_ppsimpl.c: fix environment termination + + libntp/a_md5encrypt.c@1.41 +176 -13 + add AES128CMAC and better OpenSSL support + + libntp/authreadkeys.c@1.28 +2 -1 + add AES128CMAC support + + ports/winnt/ntpd/nt_ppsimpl.c@1.3 +3 -2 + fix environment termination + +ChangeSet@1.3720.1.42, 2017-05-19 12:38:05+00:00, stenn@psp-deb1.ntp.org + autogen updates + + ntpd/invoke-ntp.conf.texi@1.208 +1 -1 + autogen updates + + ntpd/invoke-ntp.keys.texi@1.197 +1 -1 + autogen updates + + ntpd/invoke-ntpd.texi@1.513 +2 -2 + autogen updates + + ntpd/ntp.conf.5man@1.242 +3 -3 + autogen updates + + ntpd/ntp.conf.5mdoc@1.242 +2 -2 + autogen updates + + ntpd/ntp.conf.html@1.193 +1 -1 + autogen updates + + ntpd/ntp.conf.man.in@1.242 +3 -3 + autogen updates + + ntpd/ntp.conf.mdoc.in@1.242 +2 -2 + autogen updates + + ntpd/ntp.keys.5man@1.231 +2 -2 + autogen updates + + ntpd/ntp.keys.5mdoc@1.231 +3 -3 + autogen updates + + ntpd/ntp.keys.html@1.194 +1 -1 + autogen updates + + ntpd/ntp.keys.man.in@1.231 +2 -2 + autogen updates + + ntpd/ntp.keys.mdoc.in@1.231 +3 -3 + autogen updates + + ntpd/ntpd-opts.c@1.535 +1 -1 + autogen updates + + ntpd/ntpd-opts.h@1.534 +1 -1 + autogen updates + + ntpd/ntpd.1ntpdman@1.342 +3 -3 + autogen updates + + ntpd/ntpd.1ntpdmdoc@1.342 +2 -2 + autogen updates + + ntpd/ntpd.html@1.187 +2 -2 + autogen updates + + ntpd/ntpd.man.in@1.342 +3 -3 + autogen updates + + ntpd/ntpd.mdoc.in@1.342 +2 -2 + autogen updates + + ntpdc/invoke-ntpdc.texi@1.510 +2 -2 + autogen updates + + ntpdc/ntpdc-opts.c@1.528 +1 -1 + autogen updates + + ntpdc/ntpdc-opts.h@1.527 +1 -1 + autogen updates + + ntpdc/ntpdc.1ntpdcman@1.341 +3 -3 + autogen updates + + ntpdc/ntpdc.1ntpdcmdoc@1.341 +2 -2 + autogen updates + + ntpdc/ntpdc.html@1.356 +2 -2 + autogen updates + + ntpdc/ntpdc.man.in@1.341 +3 -3 + autogen updates + + ntpdc/ntpdc.mdoc.in@1.341 +2 -2 + autogen updates + + ntpq/invoke-ntpq.texi@1.519 +3 -3 + autogen updates + + ntpq/ntpq-opts.c@1.536 +114 -114 + autogen updates + + ntpq/ntpq-opts.h@1.534 +3 -3 + autogen updates + + ntpq/ntpq.1ntpqman@1.347 +3 -3 + autogen updates + + ntpq/ntpq.1ntpqmdoc@1.347 +3 -3 + autogen updates + + ntpq/ntpq.html@1.184 +254 -171 + autogen updates + + ntpq/ntpq.man.in@1.347 +3 -3 + autogen updates + + ntpq/ntpq.mdoc.in@1.347 +3 -3 + autogen updates + + ntpsnmpd/invoke-ntpsnmpd.texi@1.512 +10 -11 + autogen updates + + ntpsnmpd/ntpsnmpd-opts.c@1.530 +1 -1 + autogen updates + + ntpsnmpd/ntpsnmpd-opts.h@1.529 +1 -1 + autogen updates + + ntpsnmpd/ntpsnmpd.1ntpsnmpdman@1.341 +3 -3 + autogen updates + + ntpsnmpd/ntpsnmpd.1ntpsnmpdmdoc@1.341 +2 -2 + autogen updates + + ntpsnmpd/ntpsnmpd.html@1.182 +1 -1 + autogen updates + + ntpsnmpd/ntpsnmpd.man.in@1.341 +3 -3 + autogen updates + + ntpsnmpd/ntpsnmpd.mdoc.in@1.341 +2 -2 + autogen updates + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjman@1.102 +3 -3 + autogen updates + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjmdoc@1.103 +2 -2 + autogen updates + + scripts/calc_tickadj/calc_tickadj.html@1.104 +33 -21 + autogen updates + + scripts/calc_tickadj/calc_tickadj.man.in@1.101 +3 -3 + autogen updates + + scripts/calc_tickadj/calc_tickadj.mdoc.in@1.103 +2 -2 + autogen updates + + scripts/calc_tickadj/invoke-calc_tickadj.texi@1.106 +1 -1 + autogen updates + + scripts/invoke-plot_summary.texi@1.124 +1 -1 + autogen updates + + scripts/invoke-summary.texi@1.123 +1 -1 + autogen updates + + scripts/ntp-wait/invoke-ntp-wait.texi@1.333 +1 -1 + autogen updates + + scripts/ntp-wait/ntp-wait-opts@1.69 +1 -1 + autogen updates + + scripts/ntp-wait/ntp-wait.1ntp-waitman@1.330 +3 -3 + autogen updates + + scripts/ntp-wait/ntp-wait.1ntp-waitmdoc@1.331 +2 -2 + autogen updates + + scripts/ntp-wait/ntp-wait.html@1.352 +2 -2 + autogen updates + + scripts/ntp-wait/ntp-wait.man.in@1.330 +3 -3 + autogen updates + + scripts/ntp-wait/ntp-wait.mdoc.in@1.331 +2 -2 + autogen updates + + scripts/ntpsweep/invoke-ntpsweep.texi@1.121 +1 -1 + autogen updates + + scripts/ntpsweep/ntpsweep-opts@1.71 +1 -1 + autogen updates + + scripts/ntpsweep/ntpsweep.1ntpsweepman@1.109 +3 -3 + autogen updates + + scripts/ntpsweep/ntpsweep.1ntpsweepmdoc@1.109 +2 -2 + autogen updates + + scripts/ntpsweep/ntpsweep.html@1.124 +2 -2 + autogen updates + + scripts/ntpsweep/ntpsweep.man.in@1.109 +3 -3 + autogen updates + + scripts/ntpsweep/ntpsweep.mdoc.in@1.110 +2 -2 + autogen updates + + scripts/ntptrace/invoke-ntptrace.texi@1.122 +1 -1 + autogen updates + + scripts/ntptrace/ntptrace-opts@1.71 +1 -1 + autogen updates + + scripts/ntptrace/ntptrace.1ntptraceman@1.109 +3 -3 + autogen updates + + scripts/ntptrace/ntptrace.1ntptracemdoc@1.110 +2 -2 + autogen updates + + scripts/ntptrace/ntptrace.html@1.125 +2 -2 + autogen updates + + scripts/ntptrace/ntptrace.man.in@1.109 +3 -3 + autogen updates + + scripts/ntptrace/ntptrace.mdoc.in@1.111 +2 -2 + autogen updates + + scripts/plot_summary-opts@1.72 +1 -1 + autogen updates + + scripts/plot_summary.1plot_summaryman@1.122 +3 -3 + autogen updates + + scripts/plot_summary.1plot_summarymdoc@1.122 +2 -2 + autogen updates + + scripts/plot_summary.html@1.127 +2 -2 + autogen updates + + scripts/plot_summary.man.in@1.122 +3 -3 + autogen updates + + scripts/plot_summary.mdoc.in@1.122 +2 -2 + autogen updates + + scripts/summary-opts@1.71 +1 -1 + autogen updates + + scripts/summary.1summaryman@1.121 +3 -3 + autogen updates + + scripts/summary.1summarymdoc@1.121 +2 -2 + autogen updates + + scripts/summary.html@1.126 +2 -2 + autogen updates + + scripts/summary.man.in@1.121 +3 -3 + autogen updates + + scripts/summary.mdoc.in@1.121 +2 -2 + autogen updates + + scripts/update-leap/invoke-update-leap.texi@1.22 +1 -1 + autogen updates + + scripts/update-leap/update-leap-opts@1.22 +1 -1 + autogen updates + + scripts/update-leap/update-leap.1update-leapman@1.22 +3 -3 + autogen updates + + scripts/update-leap/update-leap.1update-leapmdoc@1.22 +2 -2 + autogen updates + + scripts/update-leap/update-leap.html@1.23 +1 -1 + autogen updates + + scripts/update-leap/update-leap.man.in@1.22 +3 -3 + autogen updates + + scripts/update-leap/update-leap.mdoc.in@1.22 +2 -2 + autogen updates + + sntp/invoke-sntp.texi@1.510 +1 -1 + autogen updates + + sntp/sntp-opts.c@1.529 +1 -1 + autogen updates + + sntp/sntp-opts.h@1.527 +1 -1 + autogen updates + + sntp/sntp.1sntpman@1.345 +3 -3 + autogen updates + + sntp/sntp.1sntpmdoc@1.345 +2 -2 + autogen updates + + sntp/sntp.html@1.527 +2 -2 + autogen updates + + sntp/sntp.man.in@1.345 +3 -3 + autogen updates + + sntp/sntp.mdoc.in@1.345 +2 -2 + autogen updates + + util/invoke-ntp-keygen.texi@1.514 +2 -2 + autogen updates + + util/ntp-keygen-opts.c@1.532 +173 -173 + autogen updates + + util/ntp-keygen-opts.h@1.530 +3 -3 + autogen updates + + util/ntp-keygen.1ntp-keygenman@1.342 +2 -2 + autogen updates + + util/ntp-keygen.1ntp-keygenmdoc@1.342 +2 -2 + autogen updates + + util/ntp-keygen.html@1.188 +608 -448 + autogen updates + + util/ntp-keygen.man.in@1.342 +2 -2 + autogen updates + + util/ntp-keygen.mdoc.in@1.342 +2 -2 + autogen updates + +ChangeSet@1.3720.38.1, 2017-05-07 02:38:45+00:00, abe@psp-deb1.ntp.org + refclock_jjy.c, ChangeLog: + [Bug 3408] refclock_jjy.c : Avoid a wrong report of the coverity static analysis tool. + + ChangeLog@1.1873.5.1 +3 -0 + [Bug 3408] refclock_jjy.c : Avoid a wrong report of the coverity static analysis tool. + + ntpd/refclock_jjy.c@1.35 +24 -4 + [Bug 3408] refclock_jjy.c : Avoid a wrong report of the coverity static analysis tool. + +ChangeSet@1.3720.37.1, 2017-05-01 07:36:51+02:00, perlinger@ntp.org + [Bug 3397] ctl_putstr() asserts that data fits in its buffer + + ChangeLog@1.1873.4.1 +5 -0 + [Bug 3397] ctl_putstr() asserts that data fits in its buffer + + ntpd/ntp_control.c@1.220 +131 -102 + [Bug 3397] ctl_putstr() asserts that data fits in its buffer + rework of formatting & data transfer stuff in 'ntp_control.c' + avoids unecessary buffers and size limitations. + +ChangeSet@1.3720.1.39, 2017-03-28 02:51:14+00:00, stenn@psp-deb1.ntp.org + Note in the ChangeLog that this repo contains the AES-128-CMAC work + + ChangeLog@1.1873.3.1 +4 -0 + Note in the ChangeLog that this repo contains the AES-128-CMAC work + +ChangeSet@1.3720.36.1, 2017-03-27 08:33:02+02:00, perlinger@ntp.org + [Bug 3391] ntpd segfaults on startup due to small warmup thread stack size + + ChangeLog@1.1873.2.1 +4 -0 + [Bug 3391] ntpd segfaults on startup due to small warmup thread stack size + + ntpd/ntpd.c@1.173 +10 -5 + [Bug 3391] ntpd segfaults on startup due to small warmup thread stack size + - increased mimimum stack size to 32kB + +ChangeSet@1.3720.31.11, 2017-03-23 07:36:54+00:00, stenn@psp-deb1.ntp.org + cleanup + + ChangeLog@1.1873.1.5 +1 -2 + cleanup + +ChangeSet@1.3720.29.2, 2017-03-23 05:45:08+00:00, stenn@psp-deb1.ntp.org + [Bug 3358] Spurious KoD log messages in .INIT. phase + + ntpd/ntp_proto.c@1.404 +8 -6 + [Bug 3358] Spurious KoD log messages in .INIT. phase + +ChangeSet@1.3720.31.10, 2017-03-21 11:01:54-04:00, stenn@deacon.udel.edu + NTP_4_2_8P10 + TAG: NTP_4_2_8P10 + + ntpd/invoke-ntp.conf.texi@1.205.1.2 +1 -1 + NTP_4_2_8P10 + + ntpd/invoke-ntp.keys.texi@1.194.1.2 +1 -1 + NTP_4_2_8P10 + + ntpd/invoke-ntpd.texi@1.510.1.2 +17 -22 + NTP_4_2_8P10 + + ntpd/ntp.conf.5man@1.239.1.2 +3 -3 + NTP_4_2_8P10 + + ntpd/ntp.conf.5mdoc@1.239.1.2 +1 -1 + NTP_4_2_8P10 + + ntpd/ntp.conf.html@1.189.2.2 +1 -1 + NTP_4_2_8P10 + + ntpd/ntp.conf.man.in@1.239.1.2 +3 -3 + NTP_4_2_8P10 + + ntpd/ntp.conf.mdoc.in@1.239.1.2 +1 -1 + NTP_4_2_8P10 + + ntpd/ntp.keys.5man@1.228.1.2 +2 -2 + NTP_4_2_8P10 + + ntpd/ntp.keys.5mdoc@1.228.1.2 +1 -1 + NTP_4_2_8P10 + + ntpd/ntp.keys.html@1.190.2.2 +1 -1 + NTP_4_2_8P10 + + ntpd/ntp.keys.man.in@1.228.1.2 +2 -2 + NTP_4_2_8P10 + + ntpd/ntp.keys.mdoc.in@1.228.1.2 +1 -1 + NTP_4_2_8P10 + + ntpd/ntpd-opts.c@1.532.1.2 +245 -245 + NTP_4_2_8P10 + + ntpd/ntpd-opts.h@1.531.1.2 +3 -3 + NTP_4_2_8P10 + + ntpd/ntpd.1ntpdman@1.339.1.2 +3 -3 + NTP_4_2_8P10 + + ntpd/ntpd.1ntpdmdoc@1.339.1.2 +1 -1 + NTP_4_2_8P10 + + ntpd/ntpd.html@1.183.2.2 +2 -2 + NTP_4_2_8P10 + + ntpd/ntpd.man.in@1.339.1.2 +3 -3 + NTP_4_2_8P10 + + ntpd/ntpd.mdoc.in@1.339.1.2 +1 -1 + NTP_4_2_8P10 + + ntpdc/invoke-ntpdc.texi@1.507.1.2 +16 -22 + NTP_4_2_8P10 + + ntpdc/ntpdc-opts.c@1.525.1.2 +107 -107 + NTP_4_2_8P10 + + ntpdc/ntpdc-opts.h@1.524.1.2 +3 -3 + NTP_4_2_8P10 + + ntpdc/ntpdc.1ntpdcman@1.338.1.2 +3 -3 + NTP_4_2_8P10 + + ntpdc/ntpdc.1ntpdcmdoc@1.338.1.2 +1 -1 + NTP_4_2_8P10 + + ntpdc/ntpdc.html@1.352.2.2 +16 -22 + NTP_4_2_8P10 + + ntpdc/ntpdc.man.in@1.338.1.2 +3 -3 + NTP_4_2_8P10 + + ntpdc/ntpdc.mdoc.in@1.338.1.2 +1 -1 + NTP_4_2_8P10 + + ntpq/invoke-ntpq.texi@1.515.2.2 +21 -18 + NTP_4_2_8P10 + + ntpq/ntpq-opts.c@1.532.2.2 +114 -114 + NTP_4_2_8P10 + + ntpq/ntpq-opts.h@1.530.2.2 +3 -3 + NTP_4_2_8P10 + + ntpq/ntpq.1ntpqman@1.343.2.2 +3 -3 + NTP_4_2_8P10 + + ntpq/ntpq.1ntpqmdoc@1.343.2.2 +1 -1 + NTP_4_2_8P10 + + ntpq/ntpq.html@1.180.2.2 +2 -2 + NTP_4_2_8P10 + + ntpq/ntpq.man.in@1.343.2.2 +3 -3 + NTP_4_2_8P10 + + ntpq/ntpq.mdoc.in@1.343.2.2 +1 -1 + NTP_4_2_8P10 + + ntpsnmpd/invoke-ntpsnmpd.texi@1.511 +1 -1 + NTP_4_2_8P10 + + ntpsnmpd/ntpsnmpd-opts.c@1.529 +68 -68 + NTP_4_2_8P10 + + ntpsnmpd/ntpsnmpd-opts.h@1.528 +3 -3 + NTP_4_2_8P10 + + ntpsnmpd/ntpsnmpd.1ntpsnmpdman@1.338.1.2 +3 -3 + NTP_4_2_8P10 + + ntpsnmpd/ntpsnmpd.1ntpsnmpdmdoc@1.338.1.2 +1 -1 + NTP_4_2_8P10 + + ntpsnmpd/ntpsnmpd.html@1.178.2.2 +1 -1 + NTP_4_2_8P10 + + ntpsnmpd/ntpsnmpd.man.in@1.338.1.2 +3 -3 + NTP_4_2_8P10 + + ntpsnmpd/ntpsnmpd.mdoc.in@1.338.1.2 +1 -1 + NTP_4_2_8P10 + + packageinfo.sh@1.534.1.2 +3 -3 + NTP_4_2_8P10 + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjman@1.99.1.2 +3 -3 + NTP_4_2_8P10 + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjmdoc@1.100.1.2 +1 -1 + NTP_4_2_8P10 + + scripts/calc_tickadj/calc_tickadj.html@1.101.1.2 +1 -1 + NTP_4_2_8P10 + + scripts/calc_tickadj/calc_tickadj.man.in@1.98.1.2 +3 -3 + NTP_4_2_8P10 + + scripts/calc_tickadj/calc_tickadj.mdoc.in@1.100.1.2 +1 -1 + NTP_4_2_8P10 + + scripts/calc_tickadj/invoke-calc_tickadj.texi@1.105 +1 -1 + NTP_4_2_8P10 + + scripts/invoke-plot_summary.texi@1.121.1.2 +74 -56 + NTP_4_2_8P10 + + scripts/invoke-summary.texi@1.120.1.2 +2 -2 + NTP_4_2_8P10 + + scripts/ntp-wait/invoke-ntp-wait.texi@1.330.1.2 +2 -2 + NTP_4_2_8P10 + + scripts/ntp-wait/ntp-wait-opts@1.68 +2 -2 + NTP_4_2_8P10 + + scripts/ntp-wait/ntp-wait.1ntp-waitman@1.327.1.2 +3 -3 + NTP_4_2_8P10 + + scripts/ntp-wait/ntp-wait.1ntp-waitmdoc@1.328.1.2 +1 -1 + NTP_4_2_8P10 + + scripts/ntp-wait/ntp-wait.html@1.348.2.2 +2 -2 + NTP_4_2_8P10 + + scripts/ntp-wait/ntp-wait.man.in@1.327.1.2 +3 -3 + NTP_4_2_8P10 + + scripts/ntp-wait/ntp-wait.mdoc.in@1.328.1.2 +1 -1 + NTP_4_2_8P10 + + scripts/ntpsweep/invoke-ntpsweep.texi@1.118.1.2 +2 -2 + NTP_4_2_8P10 + + scripts/ntpsweep/ntpsweep-opts@1.70 +2 -2 + NTP_4_2_8P10 + + scripts/ntpsweep/ntpsweep.1ntpsweepman@1.106.1.2 +3 -3 + NTP_4_2_8P10 + + scripts/ntpsweep/ntpsweep.1ntpsweepmdoc@1.106.1.2 +1 -1 + NTP_4_2_8P10 + + scripts/ntpsweep/ntpsweep.html@1.120.2.2 +2 -2 + NTP_4_2_8P10 + + scripts/ntpsweep/ntpsweep.man.in@1.106.1.2 +3 -3 + NTP_4_2_8P10 + + scripts/ntpsweep/ntpsweep.mdoc.in@1.107.1.2 +1 -1 + NTP_4_2_8P10 + + scripts/ntptrace/invoke-ntptrace.texi@1.119.1.2 +2 -2 + NTP_4_2_8P10 + + scripts/ntptrace/ntptrace-opts@1.70 +2 -2 + NTP_4_2_8P10 + + scripts/ntptrace/ntptrace.1ntptraceman@1.106.1.2 +3 -3 + NTP_4_2_8P10 + + scripts/ntptrace/ntptrace.1ntptracemdoc@1.107.1.2 +1 -1 + NTP_4_2_8P10 + + scripts/ntptrace/ntptrace.html@1.121.2.2 +2 -2 + NTP_4_2_8P10 + + scripts/ntptrace/ntptrace.man.in@1.106.1.2 +3 -3 + NTP_4_2_8P10 + + scripts/ntptrace/ntptrace.mdoc.in@1.108.1.2 +1 -1 + NTP_4_2_8P10 + + scripts/plot_summary-opts@1.71 +2 -2 + NTP_4_2_8P10 + + scripts/plot_summary.1plot_summaryman@1.119.1.2 +3 -3 + NTP_4_2_8P10 + + scripts/plot_summary.1plot_summarymdoc@1.119.1.2 +1 -1 + NTP_4_2_8P10 + + scripts/plot_summary.html@1.123.2.2 +87 -61 + NTP_4_2_8P10 + + scripts/plot_summary.man.in@1.119.1.2 +3 -3 + NTP_4_2_8P10 + + scripts/plot_summary.mdoc.in@1.119.1.2 +1 -1 + NTP_4_2_8P10 + + scripts/summary-opts@1.70 +2 -2 + NTP_4_2_8P10 + + scripts/summary.1summaryman@1.118.1.2 +3 -3 + NTP_4_2_8P10 + + scripts/summary.1summarymdoc@1.118.1.2 +1 -1 + NTP_4_2_8P10 + + scripts/summary.html@1.122.2.2 +2 -2 + NTP_4_2_8P10 + + scripts/summary.man.in@1.118.1.2 +3 -3 + NTP_4_2_8P10 + + scripts/summary.mdoc.in@1.118.1.2 +1 -1 + NTP_4_2_8P10 + + scripts/update-leap/invoke-update-leap.texi@1.21 +1 -1 + NTP_4_2_8P10 + + scripts/update-leap/update-leap-opts@1.21 +2 -2 + NTP_4_2_8P10 + + scripts/update-leap/update-leap.1update-leapman@1.19.1.2 +3 -3 + NTP_4_2_8P10 + + scripts/update-leap/update-leap.1update-leapmdoc@1.19.1.2 +1 -1 + NTP_4_2_8P10 + + scripts/update-leap/update-leap.html@1.19.2.2 +1 -1 + NTP_4_2_8P10 + + scripts/update-leap/update-leap.man.in@1.19.1.2 +3 -3 + NTP_4_2_8P10 + + scripts/update-leap/update-leap.mdoc.in@1.19.1.2 +1 -1 + NTP_4_2_8P10 + + sntp/invoke-sntp.texi@1.509 +23 -27 + NTP_4_2_8P10 + + sntp/sntp-opts.c@1.528 +159 -159 + NTP_4_2_8P10 + + sntp/sntp-opts.h@1.526 +3 -3 + NTP_4_2_8P10 + + sntp/sntp.1sntpman@1.342.1.2 +3 -3 + NTP_4_2_8P10 + + sntp/sntp.1sntpmdoc@1.342.1.2 +1 -1 + NTP_4_2_8P10 + + sntp/sntp.html@1.523.2.2 +23 -27 + NTP_4_2_8P10 + + sntp/sntp.man.in@1.342.1.2 +3 -3 + NTP_4_2_8P10 + + sntp/sntp.mdoc.in@1.342.1.2 +1 -1 + NTP_4_2_8P10 + + util/invoke-ntp-keygen.texi@1.510.2.2 +17 -15 + NTP_4_2_8P10 + + util/ntp-keygen-opts.c@1.528.2.2 +173 -173 + NTP_4_2_8P10 + + util/ntp-keygen-opts.h@1.526.2.2 +3 -3 + NTP_4_2_8P10 + + util/ntp-keygen.1ntp-keygenman@1.338.2.2 +3 -3 + NTP_4_2_8P10 + + util/ntp-keygen.1ntp-keygenmdoc@1.338.2.2 +1 -1 + NTP_4_2_8P10 + + util/ntp-keygen.html@1.184.2.2 +2 -2 + NTP_4_2_8P10 + + util/ntp-keygen.man.in@1.338.2.2 +3 -3 + NTP_4_2_8P10 + + util/ntp-keygen.mdoc.in@1.338.2.2 +1 -1 + NTP_4_2_8P10 + +ChangeSet@1.3720.31.9, 2017-03-21 09:40:52-04:00, stenn@deacon.udel.edu + NTP_4_2_8P10_WIN_BETA1 + TAG: NTP_4_2_8P10_WIN_BETA1 + + ChangeLog@1.1873.1.4 +1 -0 + NTP_4_2_8P10_WIN_BETA1 + + ntpd/invoke-ntp.conf.texi@1.205.1.1 +1 -1 + NTP_4_2_8P10_WIN_BETA1 + + ntpd/invoke-ntp.keys.texi@1.194.1.1 +1 -1 + NTP_4_2_8P10_WIN_BETA1 + + ntpd/invoke-ntpd.texi@1.510.1.1 +22 -17 + NTP_4_2_8P10_WIN_BETA1 + + ntpd/ntp.conf.5man@1.239.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + ntpd/ntp.conf.5mdoc@1.239.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + ntpd/ntp.conf.html@1.189.2.1 +1192 -1541 + NTP_4_2_8P10_WIN_BETA1 + + ntpd/ntp.conf.man.in@1.239.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + ntpd/ntp.conf.mdoc.in@1.239.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + ntpd/ntp.keys.5man@1.228.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + ntpd/ntp.keys.5mdoc@1.228.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + ntpd/ntp.keys.html@1.190.2.1 +115 -162 + NTP_4_2_8P10_WIN_BETA1 + + ntpd/ntp.keys.man.in@1.228.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + ntpd/ntp.keys.mdoc.in@1.228.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + ntpd/ntpd-opts.c@1.532.1.1 +245 -245 + NTP_4_2_8P10_WIN_BETA1 + + ntpd/ntpd-opts.h@1.531.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + ntpd/ntpd.1ntpdman@1.339.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + ntpd/ntpd.1ntpdmdoc@1.339.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + ntpd/ntpd.html@1.183.2.1 +677 -752 + NTP_4_2_8P10_WIN_BETA1 + + ntpd/ntpd.man.in@1.339.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + ntpd/ntpd.mdoc.in@1.339.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + ntpdc/invoke-ntpdc.texi@1.507.1.1 +22 -16 + NTP_4_2_8P10_WIN_BETA1 + + ntpdc/ntpdc-opts.c@1.525.1.1 +107 -107 + NTP_4_2_8P10_WIN_BETA1 + + ntpdc/ntpdc-opts.h@1.524.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + ntpdc/ntpdc.1ntpdcman@1.338.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + ntpdc/ntpdc.1ntpdcmdoc@1.338.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + ntpdc/ntpdc.html@1.352.2.1 +371 -434 + NTP_4_2_8P10_WIN_BETA1 + + ntpdc/ntpdc.man.in@1.338.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + ntpdc/ntpdc.mdoc.in@1.338.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + ntpq/invoke-ntpq.texi@1.515.2.1 +18 -21 + NTP_4_2_8P10_WIN_BETA1 + + ntpq/ntpq-opts.c@1.532.2.1 +114 -114 + NTP_4_2_8P10_WIN_BETA1 + + ntpq/ntpq-opts.h@1.530.2.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + ntpq/ntpq.1ntpqman@1.343.2.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + ntpq/ntpq.1ntpqmdoc@1.343.2.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + ntpq/ntpq.html@1.180.2.1 +1283 -1438 + NTP_4_2_8P10_WIN_BETA1 + + ntpq/ntpq.man.in@1.343.2.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + ntpq/ntpq.mdoc.in@1.343.2.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + ntpsnmpd/invoke-ntpsnmpd.texi@1.510 +11 -10 + NTP_4_2_8P10_WIN_BETA1 + + ntpsnmpd/ntpsnmpd-opts.c@1.528 +68 -68 + NTP_4_2_8P10_WIN_BETA1 + + ntpsnmpd/ntpsnmpd-opts.h@1.527 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + ntpsnmpd/ntpsnmpd.1ntpsnmpdman@1.338.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + ntpsnmpd/ntpsnmpd.1ntpsnmpdmdoc@1.338.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + ntpsnmpd/ntpsnmpd.html@1.178.2.1 +59 -92 + NTP_4_2_8P10_WIN_BETA1 + + ntpsnmpd/ntpsnmpd.man.in@1.338.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + ntpsnmpd/ntpsnmpd.mdoc.in@1.338.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + packageinfo.sh@1.534.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjman@1.99.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjmdoc@1.100.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + scripts/calc_tickadj/calc_tickadj.html@1.101.1.1 +22 -34 + NTP_4_2_8P10_WIN_BETA1 + + scripts/calc_tickadj/calc_tickadj.man.in@1.98.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + scripts/calc_tickadj/calc_tickadj.mdoc.in@1.100.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + scripts/calc_tickadj/invoke-calc_tickadj.texi@1.104 +1 -1 + NTP_4_2_8P10_WIN_BETA1 + + scripts/invoke-plot_summary.texi@1.121.1.1 +56 -74 + NTP_4_2_8P10_WIN_BETA1 + + scripts/invoke-summary.texi@1.120.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntp-wait/invoke-ntp-wait.texi@1.330.1.1 +1 -1 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntp-wait/ntp-wait-opts@1.67 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntp-wait/ntp-wait.1ntp-waitman@1.327.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntp-wait/ntp-wait.1ntp-waitmdoc@1.328.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntp-wait/ntp-wait.html@1.348.2.1 +141 -189 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntp-wait/ntp-wait.man.in@1.327.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntp-wait/ntp-wait.mdoc.in@1.328.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntpsweep/invoke-ntpsweep.texi@1.118.1.1 +1 -1 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntpsweep/ntpsweep-opts@1.69 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntpsweep/ntpsweep.1ntpsweepman@1.106.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntpsweep/ntpsweep.1ntpsweepmdoc@1.106.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntpsweep/ntpsweep.html@1.120.2.1 +148 -196 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntpsweep/ntpsweep.man.in@1.106.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntpsweep/ntpsweep.mdoc.in@1.107.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntptrace/invoke-ntptrace.texi@1.119.1.1 +1 -1 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntptrace/ntptrace-opts@1.69 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntptrace/ntptrace.1ntptraceman@1.106.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntptrace/ntptrace.1ntptracemdoc@1.107.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntptrace/ntptrace.html@1.121.2.1 +126 -175 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntptrace/ntptrace.man.in@1.106.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + scripts/ntptrace/ntptrace.mdoc.in@1.108.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + scripts/plot_summary-opts@1.70 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + scripts/plot_summary.1plot_summaryman@1.119.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + scripts/plot_summary.1plot_summarymdoc@1.119.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + scripts/plot_summary.html@1.123.2.1 +139 -211 + NTP_4_2_8P10_WIN_BETA1 + + scripts/plot_summary.man.in@1.119.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + scripts/plot_summary.mdoc.in@1.119.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + scripts/summary-opts@1.69 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + scripts/summary.1summaryman@1.118.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + scripts/summary.1summarymdoc@1.118.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + scripts/summary.html@1.122.2.1 +132 -180 + NTP_4_2_8P10_WIN_BETA1 + + scripts/summary.man.in@1.118.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + scripts/summary.mdoc.in@1.118.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + scripts/update-leap/invoke-update-leap.texi@1.20 +1 -1 + NTP_4_2_8P10_WIN_BETA1 + + scripts/update-leap/update-leap-opts@1.20 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + scripts/update-leap/update-leap.1update-leapman@1.19.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + scripts/update-leap/update-leap.1update-leapmdoc@1.19.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + scripts/update-leap/update-leap.html@1.19.2.1 +199 -247 + NTP_4_2_8P10_WIN_BETA1 + + scripts/update-leap/update-leap.man.in@1.19.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + scripts/update-leap/update-leap.mdoc.in@1.19.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + sntp/invoke-sntp.texi@1.508 +27 -23 + NTP_4_2_8P10_WIN_BETA1 + + sntp/sntp-opts.c@1.527 +159 -159 + NTP_4_2_8P10_WIN_BETA1 + + sntp/sntp-opts.h@1.525 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + sntp/sntp.1sntpman@1.342.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + sntp/sntp.1sntpmdoc@1.342.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + sntp/sntp.html@1.523.2.1 +441 -509 + NTP_4_2_8P10_WIN_BETA1 + + sntp/sntp.man.in@1.342.1.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + sntp/sntp.mdoc.in@1.342.1.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + util/invoke-ntp-keygen.texi@1.510.2.1 +15 -17 + NTP_4_2_8P10_WIN_BETA1 + + util/ntp-keygen-opts.c@1.528.2.1 +173 -173 + NTP_4_2_8P10_WIN_BETA1 + + util/ntp-keygen-opts.h@1.526.2.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + util/ntp-keygen.1ntp-keygenman@1.338.2.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + util/ntp-keygen.1ntp-keygenmdoc@1.338.2.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + + util/ntp-keygen.html@1.184.2.1 +1006 -1082 + NTP_4_2_8P10_WIN_BETA1 + + util/ntp-keygen.man.in@1.338.2.1 +3 -3 + NTP_4_2_8P10_WIN_BETA1 + + util/ntp-keygen.mdoc.in@1.338.2.1 +2 -2 + NTP_4_2_8P10_WIN_BETA1 + +ChangeSet@1.3720.31.8, 2017-03-21 07:11:32-04:00, stenn@deacon.udel.edu + Disable some triggers for now + + BitKeeper/triggers/2mirrors@1.10 +3 -0 + Disable some triggers for now + + BitKeeper/triggers/trigger.cfg@1.15 +3 -2 + Disable some triggers for now + +ChangeSet@1.3720.35.2, 2017-03-21 06:34:14-04:00, stenn@deacon.udel.edu + bk hostname cleanup for bk7 + + BitKeeper/triggers/paranoid@1.5 +1 -1 + bk hostname cleanup for bk7 + +ChangeSet@1.3720.31.6, 2017-03-21 05:51:48-04:00, stenn@psp-deb2.ntp.org + Updated NEWS for p9-win + + NEWS@1.177.1.30 +10 -0 + Updated NEWS for p9-win + +ChangeSet@1.3720.31.4, 2017-03-21 08:39:07+00:00, stenn@psp-deb1.ntp.org + Bug 3393 is a normal bug + + ChangeLog@1.1873.1.1 +1 -1 + Bug 3393 is a normal bug + +ChangeSet@1.3720.34.2, 2017-03-21 04:19:53-04:00, stenn@deacon.udel.edu + bk-7 trigger updates + + BitKeeper/triggers/send@1.16.1.1 +2 -2 + bk-7 trigger updates + + ChangeLog@1.1853.11.2 +4 -0 + bk-7 trigger updates + +ChangeSet@1.3720.34.1, 2017-03-21 04:06:39-04:00, stenn@deacon.udel.edu + cleanup + + ChangeLog@1.1853.11.1 +0 -2 + cleanup + +ChangeSet@1.3720.33.3, 2017-03-20 17:07:56+00:00, bwi@psp-deb1.ntp.org + Checkin Autogen-ed docs + + ntpq/invoke-ntpq.texi@1.515.1.2 +2 -2 + Checkin Autogen-ed docs + + ntpq/ntpq-opts.c@1.532.1.2 +1 -1 + Checkin Autogen-ed docs + + ntpq/ntpq-opts.h@1.530.1.1 +1 -1 + Checkin Autogen-ed docs + + ntpq/ntpq.1ntpqman@1.343.1.2 +3 -3 + Checkin Autogen-ed docs + + ntpq/ntpq.1ntpqmdoc@1.343.1.2 +3 -3 + Checkin Autogen-ed docs + + ntpq/ntpq.man.in@1.343.1.2 +3 -3 + Checkin Autogen-ed docs + + ntpq/ntpq.mdoc.in@1.343.1.2 +3 -3 + Checkin Autogen-ed docs + + scripts/invoke-plot_summary.texi@1.122 +1 -1 + Checkin Autogen-ed docs + + scripts/invoke-summary.texi@1.121 +1 -1 + Checkin Autogen-ed docs + + scripts/ntp-wait/invoke-ntp-wait.texi@1.331 +1 -1 + Checkin Autogen-ed docs + + scripts/ntpsweep/invoke-ntpsweep.texi@1.119 +1 -1 + Checkin Autogen-ed docs + + scripts/ntptrace/invoke-ntptrace.texi@1.120 +1 -1 + Checkin Autogen-ed docs + +ChangeSet@1.3720.33.2, 2017-03-20 17:38:08+01:00, bwi@nwtime.org + ntpq/ntpq-opts.def(addvars): add missing Oc to match Oo + + ntpq/ntpq-opts.def@1.31 +1 -1 + ntpq/ntpq-opts.def(addvars): add missing Oc to match Oo + +ChangeSet@1.3720.33.1, 2017-03-20 16:25:04+00:00, bwi@psp-deb1.ntp.org + Checkin Autogen-ed docs and sources + + ntpd/invoke-ntp.conf.texi@1.206 +1 -1 + Checkin Autogen-ed docs and sources + + ntpd/invoke-ntp.keys.texi@1.195 +1 -1 + Checkin Autogen-ed docs and sources + + ntpd/invoke-ntpd.texi@1.511 +1 -1 + Checkin Autogen-ed docs and sources + + ntpd/ntp.conf.5man@1.240 +2 -2 + Checkin Autogen-ed docs and sources + + ntpd/ntp.conf.5mdoc@1.240 +2 -2 + Checkin Autogen-ed docs and sources + + ntpd/ntp.conf.html@1.189.1.1 +1193 -1529 + Checkin Autogen-ed docs and sources + + ntpd/ntp.conf.man.in@1.240 +2 -2 + Checkin Autogen-ed docs and sources + + ntpd/ntp.conf.mdoc.in@1.240 +2 -2 + Checkin Autogen-ed docs and sources + + ntpd/ntp.keys.5man@1.229 +2 -2 + Checkin Autogen-ed docs and sources + + ntpd/ntp.keys.5mdoc@1.229 +2 -2 + Checkin Autogen-ed docs and sources + + ntpd/ntp.keys.html@1.190.1.1 +123 -158 + Checkin Autogen-ed docs and sources + + ntpd/ntp.keys.man.in@1.229 +2 -2 + Checkin Autogen-ed docs and sources + + ntpd/ntp.keys.mdoc.in@1.229 +2 -2 + Checkin Autogen-ed docs and sources + + ntpd/ntpd-opts.c@1.533 +1 -1 + Checkin Autogen-ed docs and sources + + ntpd/ntpd-opts.h@1.532 +1 -1 + Checkin Autogen-ed docs and sources + + ntpd/ntpd.1ntpdman@1.340 +2 -2 + Checkin Autogen-ed docs and sources + + ntpd/ntpd.1ntpdmdoc@1.340 +2 -2 + Checkin Autogen-ed docs and sources + + ntpd/ntpd.html@1.183.1.1 +681 -712 + Checkin Autogen-ed docs and sources + + ntpd/ntpd.man.in@1.340 +2 -2 + Checkin Autogen-ed docs and sources + + ntpd/ntpd.mdoc.in@1.340 +2 -2 + Checkin Autogen-ed docs and sources + + ntpdc/invoke-ntpdc.texi@1.508 +1 -1 + Checkin Autogen-ed docs and sources + + ntpdc/ntpdc-opts.c@1.526 +1 -1 + Checkin Autogen-ed docs and sources + + ntpdc/ntpdc-opts.h@1.525 +1 -1 + Checkin Autogen-ed docs and sources + + ntpdc/ntpdc.1ntpdcman@1.339 +2 -2 + Checkin Autogen-ed docs and sources + + ntpdc/ntpdc.1ntpdcmdoc@1.339 +2 -2 + Checkin Autogen-ed docs and sources + + ntpdc/ntpdc.html@1.352.1.1 +354 -403 + Checkin Autogen-ed docs and sources + + ntpdc/ntpdc.man.in@1.339 +2 -2 + Checkin Autogen-ed docs and sources + + ntpdc/ntpdc.mdoc.in@1.339 +2 -2 + Checkin Autogen-ed docs and sources + + ntpq/invoke-ntpq.texi@1.515.1.1 +296 -202 + Checkin Autogen-ed docs and sources + + ntpq/ntpq-opts.c@1.532.1.1 +109 -109 + Checkin Autogen-ed docs and sources + + ntpq/ntpq.1ntpqman@1.343.1.1 +394 -250 + Checkin Autogen-ed docs and sources + + ntpq/ntpq.1ntpqmdoc@1.343.1.1 +399 -330 + Checkin Autogen-ed docs and sources + + ntpq/ntpq.html@1.180.1.1 +1425 -1475 + Checkin Autogen-ed docs and sources + + ntpq/ntpq.man.in@1.343.1.1 +394 -250 + Checkin Autogen-ed docs and sources + + ntpq/ntpq.mdoc.in@1.343.1.1 +399 -330 + Checkin Autogen-ed docs and sources + + ntpsnmpd/ntpsnmpd.1ntpsnmpdman@1.339 +2 -2 + Checkin Autogen-ed docs and sources + + ntpsnmpd/ntpsnmpd.1ntpsnmpdmdoc@1.339 +2 -2 + Checkin Autogen-ed docs and sources + + ntpsnmpd/ntpsnmpd.html@1.178.1.1 +61 -90 + Checkin Autogen-ed docs and sources + + ntpsnmpd/ntpsnmpd.man.in@1.339 +2 -2 + Checkin Autogen-ed docs and sources + + ntpsnmpd/ntpsnmpd.mdoc.in@1.339 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjman@1.100 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjmdoc@1.101 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/calc_tickadj/calc_tickadj.html@1.102 +1 -1 + Checkin Autogen-ed docs and sources + + scripts/calc_tickadj/calc_tickadj.man.in@1.99 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/calc_tickadj/calc_tickadj.mdoc.in@1.101 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/ntp-wait/ntp-wait.1ntp-waitman@1.328 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/ntp-wait/ntp-wait.1ntp-waitmdoc@1.329 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/ntp-wait/ntp-wait.html@1.348.1.1 +151 -181 + Checkin Autogen-ed docs and sources + + scripts/ntp-wait/ntp-wait.man.in@1.328 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/ntp-wait/ntp-wait.mdoc.in@1.329 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/ntpsweep/ntpsweep.1ntpsweepman@1.107 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/ntpsweep/ntpsweep.1ntpsweepmdoc@1.107 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/ntpsweep/ntpsweep.html@1.120.1.1 +151 -188 + Checkin Autogen-ed docs and sources + + scripts/ntpsweep/ntpsweep.man.in@1.107 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/ntpsweep/ntpsweep.mdoc.in@1.108 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/ntptrace/ntptrace.1ntptraceman@1.107 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/ntptrace/ntptrace.1ntptracemdoc@1.108 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/ntptrace/ntptrace.html@1.121.1.1 +128 -168 + Checkin Autogen-ed docs and sources + + scripts/ntptrace/ntptrace.man.in@1.107 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/ntptrace/ntptrace.mdoc.in@1.109 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/plot_summary.1plot_summaryman@1.120 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/plot_summary.1plot_summarymdoc@1.120 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/plot_summary.html@1.123.1.1 +160 -188 + Checkin Autogen-ed docs and sources + + scripts/plot_summary.man.in@1.120 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/plot_summary.mdoc.in@1.120 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/summary.1summaryman@1.119 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/summary.1summarymdoc@1.119 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/summary.html@1.122.1.1 +135 -171 + Checkin Autogen-ed docs and sources + + scripts/summary.man.in@1.119 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/summary.mdoc.in@1.119 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/update-leap/update-leap.1update-leapman@1.20 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/update-leap/update-leap.1update-leapmdoc@1.20 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/update-leap/update-leap.html@1.19.1.1 +212 -236 + Checkin Autogen-ed docs and sources + + scripts/update-leap/update-leap.man.in@1.20 +2 -2 + Checkin Autogen-ed docs and sources + + scripts/update-leap/update-leap.mdoc.in@1.20 +2 -2 + Checkin Autogen-ed docs and sources + + sntp/sntp.1sntpman@1.343 +2 -2 + Checkin Autogen-ed docs and sources + + sntp/sntp.1sntpmdoc@1.343 +2 -2 + Checkin Autogen-ed docs and sources + + sntp/sntp.html@1.523.1.1 +419 -467 + Checkin Autogen-ed docs and sources + + sntp/sntp.man.in@1.343 +2 -2 + Checkin Autogen-ed docs and sources + + sntp/sntp.mdoc.in@1.343 +2 -2 + Checkin Autogen-ed docs and sources + + util/invoke-ntp-keygen.texi@1.510.1.1 +597 -426 + Checkin Autogen-ed docs and sources + + util/ntp-keygen-opts.c@1.528.1.1 +155 -154 + Checkin Autogen-ed docs and sources + + util/ntp-keygen-opts.h@1.526.1.1 +17 -17 + Checkin Autogen-ed docs and sources + + util/ntp-keygen.1ntp-keygenman@1.338.1.1 +591 -440 + Checkin Autogen-ed docs and sources + + util/ntp-keygen.1ntp-keygenmdoc@1.338.1.1 +570 -418 + Checkin Autogen-ed docs and sources + + util/ntp-keygen.html@1.184.1.1 +1414 -1271 + Checkin Autogen-ed docs and sources + + util/ntp-keygen.man.in@1.338.1.1 +591 -440 + Checkin Autogen-ed docs and sources + + util/ntp-keygen.mdoc.in@1.338.1.1 +570 -418 + Checkin Autogen-ed docs and sources + +ChangeSet@1.3720.1.38, 2017-03-19 10:13:40+00:00, stenn@psp-deb1.ntp.org + AES-128-CMAC autogen updates + + ntpd/ntp.conf.html@1.190 +1193 -1529 + AES-128-CMAC autogen updates + + ntpd/ntp.keys.html@1.191 +123 -158 + AES-128-CMAC autogen updates + + ntpd/ntpd.html@1.184 +681 -712 + AES-128-CMAC autogen updates + + ntpdc/ntpdc.html@1.353 +354 -403 + AES-128-CMAC autogen updates + + ntpq/invoke-ntpq.texi@1.516 +296 -202 + AES-128-CMAC autogen updates + + ntpq/ntpq-opts.c@1.533 +109 -109 + AES-128-CMAC autogen updates + + ntpq/ntpq-opts.h@1.531 +1 -1 + AES-128-CMAC autogen updates + + ntpq/ntpq.1ntpqman@1.344 +394 -250 + AES-128-CMAC autogen updates + + ntpq/ntpq.1ntpqmdoc@1.344 +399 -330 + AES-128-CMAC autogen updates + + ntpq/ntpq.html@1.181 +1281 -1412 + AES-128-CMAC autogen updates + + ntpq/ntpq.man.in@1.344 +394 -250 + AES-128-CMAC autogen updates + + ntpq/ntpq.mdoc.in@1.344 +399 -330 + AES-128-CMAC autogen updates + + ntpsnmpd/ntpsnmpd.html@1.179 +61 -90 + AES-128-CMAC autogen updates + + scripts/ntp-wait/ntp-wait.html@1.349 +151 -181 + AES-128-CMAC autogen updates + + scripts/ntpsweep/ntpsweep.html@1.121 +151 -188 + AES-128-CMAC autogen updates + + scripts/ntptrace/ntptrace.html@1.122 +128 -168 + AES-128-CMAC autogen updates + + scripts/plot_summary.html@1.124 +160 -188 + AES-128-CMAC autogen updates + + scripts/summary.html@1.123 +135 -171 + AES-128-CMAC autogen updates + + scripts/update-leap/update-leap.html@1.20 +212 -236 + AES-128-CMAC autogen updates + + sntp/sntp.html@1.524 +419 -467 + AES-128-CMAC autogen updates + + util/invoke-ntp-keygen.texi@1.511 +597 -426 + AES-128-CMAC autogen updates + + util/ntp-keygen-opts.c@1.529 +155 -154 + AES-128-CMAC autogen updates + + util/ntp-keygen-opts.h@1.527 +17 -17 + AES-128-CMAC autogen updates + + util/ntp-keygen.1ntp-keygenman@1.339 +591 -440 + AES-128-CMAC autogen updates + + util/ntp-keygen.1ntp-keygenmdoc@1.339 +570 -418 + AES-128-CMAC autogen updates + + util/ntp-keygen.html@1.185 +1031 -1048 + AES-128-CMAC autogen updates + + util/ntp-keygen.man.in@1.339 +591 -440 + AES-128-CMAC autogen updates + + util/ntp-keygen.mdoc.in@1.339 +570 -418 + AES-128-CMAC autogen updates + +ChangeSet@1.3720.1.37, 2017-03-19 06:23:57+01:00, bwi@nwtime.org + ntpq/ntpq-opts.def name resolution need not involve DNS, replace command_keyword with command and optionally add name, \& quote recommended operators, change clearlist to clearvars, add Ns macros around |, reset some option strings to No; + ntpq/ntpq-subs.c(doprintpeers) space over on next line allowing for host + sp if > 1 host and regular tally + source + sp if wide output and long source name + + ntpq/ntpq-opts.def@1.30 +49 -49 + name resolution need not involve DNS, replace command_keyword with command and optionally add name, \& quote recommended operators, change clearlist to clearvars, add Ns macros around |, reset some option strings to No, + + ntpq/ntpq-subs.c@1.120 +5 -1 + space over on next line allowing for host + sp if > 1 host and regular tally + source + sp if wide output and long source name + +ChangeSet@1.3720.31.3, 2017-03-16 07:48:09+00:00, stenn@psp-deb1.ntp.org + Updates + + NEWS@1.177.1.29 +24 -25 + Updates + +ChangeSet@1.3720.1.36, 2017-03-14 22:06:13+01:00, bwi@nwtime.org + ntpq/ntpq-opts.def restore Ba to | as unsupported by mdoc; util/ntp-keygen-opts.def restore Ba to | as unsupported by mdoc and backslash escape ` to try to avoid build errors + + ntpq/ntpq-opts.def@1.29 +11 -11 + restore Ba to | as unsupported by mdoc + + util/ntp-keygen-opts.def@1.31 +5 -5 + restore Ba to | as unsupported by mdoc and backslash escape ` to try to avoid build errors + +ChangeSet@1.3720.1.35, 2017-03-14 06:58:02+01:00, bwi@nwtime.org + packageinfo.sh comment out special win, util/ntp-keygen-opts.def quote @ { } with prefix @ for texinfo + + packageinfo.sh@1.535 +1 -1 + comment out special win + + util/ntp-keygen-opts.def@1.30 +12 -12 + quote @ { } with prefix @ for texinfo + +ChangeSet@1.3720.1.34, 2017-03-13 23:19:02+01:00, bwi@nwtime.org + clean up ntpq/ntpq-opts.def and util/ntp-keygen-opts.def: + reconcile internally, with implementation, and updates to generated files; + make markup and wording consistent and clearer + + ntpq/ntpq-opts.def@1.28 +385 -325 + remove old RFC ref, NTPv4 differences, some refs to messages as mode 6 and control, deprecation of man page; + add missing commands (including poll as it is visible in help), variables, statistics, and counters; + made optional arguments so; + say what happens with no arguments; + say when clients are shown with peers; + say what counters or statistics are shown in display commands; + say display instead of print, read, show; + word like help where better; + reorder commands listed out of alphabetic order without any grouping; + Xr commands in section 1 not functions in section 3 as devel docs may not be installed; + ID lowercased to not look like acronym or shout; + add \& as recommended; + commands use Ic, variables and named values Cm not Ic, flags use Fl, Ba instead of |; + wrap long lines; + correct poll interval units from log2 s to seconds; + define jitter as offset RMS error estimate + + util/ntp-keygen-opts.def@1.29 +584 -426 + reconcile three embedded Running the Program sections (two of them pure duplicates); + remove duplicated paragraphs; + move apparently orphan paragraphs to appropriate places; + reword chunks with repeated content; + reconcile Command Line Options section with options, add missing options, add long option flags; + specify explicitly when other program commands and configuration files are referenced; + change external references from section 3 functions to section 1 commands; + use markup consistently + +ChangeSet@1.3720.31.1, 2017-03-10 10:00:39+01:00, burnicki@pc-martin4.py.meinberg.de + Include openssl/applink.c only for openSSL versions < 1.1.0. + + include/ssl_applink.c@1.4 +3 -1 + Include openssl/applink.c only for openSSL versions < 1.1.0. + +ChangeSet@1.3720.30.2, 2017-03-09 21:59:34+01:00, perlinger@ntp.org + [Sec 3384] followup: fixed a comment typo. + + ports/winnt/instsrv/instsrv.c@1.11 +1 -1 + [Sec 3384] followup: fixed a comment typo. + +ChangeSet@1.3720.1.33, 2017-03-08 21:51:39+00:00, bwi@nwtime.org + ports/winnt/instsrv/instsrv.c(addSourceToRegistry) prefix use of snprintf with _ required for VS < 2015 + + ports/winnt/instsrv/instsrv.c@1.9.1.1 +1 -1 + prefix addSourceToRegistry() use of snprintf with _ required for VS < 2015 + +ChangeSet@1.3720.30.1, 2017-03-08 22:34:08+01:00, perlinger@ntp.org + [Sec 3384] NTP-01-009 NTP: Privileged execution of User Library code (Pentest report 01.2017) + - VS2008 compatibility restored + + ports/winnt/instsrv/instsrv.c@1.10 +4 -0 + [Sec 3384] NTP-01-009 NTP: Privileged execution of User Library code (Pentest report 01.2017) + - VS2008 compatibility restored + +ChangeSet@1.3720.1.32, 2017-03-08 17:32:15+00:00, bwi@nwtime.org + add AES128CMAC to MAC selections list in ntpq.texi (replacing earlier change directly to ntpq.html) + + ntpq/ntpq.texi@1.5 +1 -1 + add AES128CMAC to MAC selections list (replacing earlier change directly to ntpq.html) + +ChangeSet@1.3720.29.1, 2017-03-08 06:11:49-05:00, stenn@psp-fb3.ntp.org + [Bug 3358] Spurious KoD log messages in .INIT. phase + + ChangeLog@1.1874 +4 -0 + [Bug 3358] Spurious KoD log messages in .INIT. phase + + ntpd/ntp_proto.c@1.403 +8 -11 + [Bug 3358] Spurious KoD log messages in .INIT. phase + +ChangeSet@1.3720.1.30, 2017-03-06 21:07:41+00:00, stenn@psp-deb1.ntp.org + CVE updates for 4.2.8p10 + + NEWS@1.177.1.28 +15 -15 + CVE updates for 4.2.8p10 + +ChangeSet@1.3720.1.29, 2017-03-06 13:54:35+00:00, stenn@psp-deb1.ntp.org + NEWS for p10 + + NEWS@1.177.1.27 +447 -1 + NEWS for p10 + +ChangeSet@1.3720.1.28, 2017-03-06 11:52:11+00:00, stenn@psp-deb1.ntp.org + cleanup + + ChangeLog@1.1873 +2 -4 + cleanup + +ChangeSet@1.3720.25.7, 2017-03-05 11:23:32-07:00, bwi@bwinglisrpi1.(none) + ntpd/ntp_refclock.c(refclock_params) report time_pps_kcbind errors but only return failure if error other than not supported, allowing PPS to work + + ntpd/ntp_refclock.c@1.124 +4 -1 + report time_pps_kcbind errors but only return failure if error other than not supported, allowing PPS to work + +ChangeSet@1.3720.1.27, 2017-03-05 14:56:43+01:00, perlinger@ntp.org + [Sec 3384] NTP-01-009 NTP: Privileged execution of User Library code (Pentest report 01.2017) + - load PPS providers from registry + - disable PPSAPI_HACK envvar + - major cleanup of 'instsrv' + + ChangeLog@1.1872 +4 -0 + [Sec 3384] NTP-01-009 NTP: Privileged execution of User Library code (Pentest report 01.2017) + - load PPS providers from registry, disable PPSAPI_HACK envvar + + include/ntp_stdlib.h@1.85 +6 -2 + [Sec 3384] NTP-01-009 NTP: Privileged execution of User Library code (Pentest report 01.2017) + - side kick: fix array allocation for DEBUG builds + + include/ntpd.h@1.197 +1 -1 + [Sec 3384] NTP-01-009 NTP: Privileged execution of User Library code (Pentest report 01.2017) + - sidekick: signed/unsigned clashes on 'sys_ttlmax' + + ntpd/ntp_config.c@1.346 +1 -1 + [Sec 3384] NTP-01-009 NTP: Privileged execution of User Library code (Pentest report 01.2017) + - sidekick: signed/unsigned clashes on 'sys_ttlmax' + + ntpd/ntp_proto.c@1.402 +2 -2 + [Sec 3384] NTP-01-009 NTP: Privileged execution of User Library code (Pentest report 01.2017) + - sidekick: signed/unsigned clashes on 'sys_ttlmax' + + ports/winnt/include/ntp_iocpltypes.h@1.4 +1 -0 + [Sec 3384] NTP-01-009 NTP: Privileged execution of User Library code (Pentest report 01.2017) + - track use of PPS API on serial channels + + ports/winnt/instsrv/instsrv.c@1.9 +378 -347 + [Sec 3384] NTP-01-009 NTP: Privileged execution of User Library code (Pentest report 01.2017) + - major cleanup + - add command line arguments for service + - set PPS API provider list in service entry + + ports/winnt/ntpd/nt_ppsimpl.c@1.2 +290 -70 + [Sec 3384] NTP-01-009 NTP: Privileged execution of User Library code (Pentest report 01.2017) + - load PPS providers from registry + - disable PPSAPI_HACK envvar + - track use of PPS API on serial channels + + ports/winnt/ntpd/ntp_iocompletionport.c@1.79 +7 -19 + [Sec 3384] NTP-01-009 NTP: Privileged execution of User Library code (Pentest report 01.2017) + - disable PPSAPI_HACK envvar, use tracking from PPS API loader instead + +ChangeSet@1.3720.25.6, 2017-03-04 04:41:52+00:00, Brian@bwinglisd. + ensure Windows system32 added to start of PATH + + ports/winnt/scripts/mkver.bat@1.18 +4 -0 + ensure Windows system32 from COMSPEC added to start of PATH in case other find commands are on PATH + +ChangeSet@1.3720.1.26, 2017-03-02 17:34:00-05:00, stenn@psp-deb2.ntp.org + [Sec 3385] NTP-01-010: ereallocarray()/eallocarray() underused: zero out new memory + + include/ntp_stdlib.h@1.84 +6 -6 + [Sec 3385] NTP-01-010: ereallocarray()/eallocarray() underused: zero out new memory + + libntp/authkeys.c@1.36 +1 -1 + [Sec 3385] NTP-01-010: ereallocarray()/eallocarray() underused: zero out new memory + + libntp/emalloc.c@1.21 +3 -3 + [Sec 3385] NTP-01-010: ereallocarray()/eallocarray() underused: zero out new memory + +ChangeSet@1.3720.1.25, 2017-03-02 05:35:49+00:00, stenn@stenn.ntp.org + [Sec 3376] Support build "hardening" flags: NetBSD + + sntp/harden/netbsd7.0@1.1 +4 -0 + BitKeeper file sntp/harden/netbsd7.0 + + sntp/harden/netbsd7.0@1.0 +0 -0 + + sntp/harden/netbsd7.99@1.1 +4 -0 + BitKeeper file sntp/harden/netbsd7.99 + + sntp/harden/netbsd7.99@1.0 +0 -0 + +ChangeSet@1.3720.1.23, 2017-03-01 09:44:54+00:00, stenn@psp-deb1.ntp.org + [Sec 3376] Support build "hardening" flags + + sntp/m4/ntp_prog_cc.m4@1.3 +1 -1 + [Sec 3376] Support build "hardening" flags + +ChangeSet@1.3720.1.22, 2017-03-01 09:30:03+00:00, stenn@psp-deb1.ntp.org + [Sec 3376] Support build "hardening" flags + + configure.ac@1.609 +5 -4 + [Sec 3376] Support build "hardening" flags + + sntp/configure.ac@1.85 +4 -4 + [Sec 3376] Support build "hardening" flags + + sntp/harden/freebsd11@1.2 +1 -1 + [Sec 3376] Support build "hardening" flags + + sntp/harden/freebsd12@1.2 +1 -1 + [Sec 3376] Support build "hardening" flags + + sntp/m4/ntp_compiler.m4@1.6 +14 -2 + [Sec 3376] Support build "hardening" flags + + sntp/m4/ntp_prog_cc.m4@1.2 +12 -11 + [Sec 3376] Support build "hardening" flags + +ChangeSet@1.3720.26.3, 2017-03-01 09:16:03+00:00, stenn@psp-deb1.ntp.org + merge cleanup + + ChangeLog@1.1869.1.3 +1 -3 + merge cleanup + +ChangeSet@1.3720.28.1, 2017-02-28 06:46:17-05:00, stenn@psp-fb4.ntp.org + [Sec 3361] 0rigin (zero origin) DoS. + + ChangeLog@1.1869.3.1 +1 -0 + [Sec 3361] 0rigin (zero origin) DoS. + + ntpd/ntp_proto.c@1.400 +4 -0 + [Sec 3361] 0rigin (zero origin) DoS. + +ChangeSet@1.3720.27.1, 2017-02-28 06:13:45-05:00, stenn@psp-fb4.ntp.org + [Sec 3385] NTP-01-010 NTP: ereallocarray()/eallocarray() underused. HStenn + + ChangeLog@1.1869.2.1 +1 -0 + [Sec 3385] NTP-01-010 NTP: ereallocarray()/eallocarray() underused. HStenn + + include/ntp_stdlib.h@1.83 +7 -5 + [Sec 3385] NTP-01-010 NTP: ereallocarray()/eallocarray() underused. HStenn + + libntp/authkeys.c@1.35 +1 -1 + [Sec 3385] NTP-01-010 NTP: ereallocarray()/eallocarray() underused. HStenn + + libntp/emalloc.c@1.20 +5 -4 + [Sec 3385] NTP-01-010 NTP: ereallocarray()/eallocarray() underused. HStenn + + libntp/recvbuff.c@1.42 +1 -1 + [Sec 3385] NTP-01-010 NTP: ereallocarray()/eallocarray() underused. HStenn + + ntpd/ntp_loopfilter.c@1.190 +1 -2 + [Sec 3385] NTP-01-010 NTP: ereallocarray()/eallocarray() underused. HStenn + + ntpd/ntp_peer.c@1.162 +1 -1 + [Sec 3385] NTP-01-010 NTP: ereallocarray()/eallocarray() underused. HStenn + + ntpd/ntp_restrict.c@1.41 +2 -2 + [Sec 3385] NTP-01-010 NTP: ereallocarray()/eallocarray() underused. HStenn + + sntp/kod_management.c@1.34 +3 -1 + [Sec 3385] NTP-01-010 NTP: ereallocarray()/eallocarray() underused. HStenn + +ChangeSet@1.3720.26.1, 2017-02-26 08:20:56+00:00, perlinger@ntp.org + [Sec 3393] clang scan-build findings + + ChangeLog@1.1869.1.1 +3 -0 + [Sec 3393] clang scan-build findings + + libntp/ntp_intres.c@1.102 +1 -1 + [Sec 3393] clang scan-build findings + - test proper source pointer, not memcpy result + + ntpd/ntp_config.c@1.344 +28 -46 + [Sec 3393] clang scan-build findings + - provide non-returning error function, triggered only by programming error (mismatch between + parser and evaluator) + - fix assignment to wrong variable in tos stratum check + + ntpd/ntp_control.c@1.218 +1 -1 + [Sec 3393] clang scan-build findings + - minor signed/unsigned clash + + ntpd/ntp_scanner.c@1.50 +0 -1 + [Sec 3393] clang scan-build findings + - dead assignment + + ntpd/refclock_gpsdjson.c@1.26 +8 -6 + [Sec 3393] clang scan-build findings + - never feed NULL to memcpy(), even with zero-length + + ntpd/refclock_jjy.c@1.34 +2 -2 + [Sec 3393] clang scan-build findings + - use memcpy() instead or strncpy() when the number of bytes is known + + ntpd/refclock_nmea.c@1.79 +0 -3 + [Sec 3393] clang scan-build findings + - dead initialisations: always overwritten + + ntpd/refclock_oncore.c@1.102.1.1 +3 -3 + [Sec 3393] clang scan-build findings + - dead initialisations and assignments: always overwritten + + ntpd/refclock_parse.c@1.85 +12 -8 + [Sec 3393] clang scan-build findings + - dead initialisations and assignments: always overwritten + - buggy use of snprintf result + + ntpdate/ntpdate.c@1.99 +2 -0 + [Sec 3393] clang scan-build findings + - INSIST() on sys_samples in range + + ntpdc/ntpdc.c@1.108 +1 -1 + [Sec 3393] clang scan-build findings + - make sure result of recv() is used + + ntpq/ntpq.c@1.174.1.1 +42 -26 + [Sec 3393] clang scan-build findings + - make sure result of recv() is used + - initialise tables + - rework hexdump utility function + +ChangeSet@1.3720.25.5, 2017-02-24 21:36:43-07:00, bwi@bwinglisrpi1.(none) + add missing change comment in mkver.bat + + ports/winnt/scripts/mkver.bat@1.17 +5 -1 + add missing change comment in mkver.bat + +ChangeSet@1.3720.25.4, 2017-02-24 19:33:50+00:00, Brian@bwinglisd. + allow EVP_MD_do_all_sorted to be used on Windows with OpenSSL 1+ + + ntpq/ntpq.c@1.178 +6 -0 + define HAVE_EVP_MD_DO_ALL_SORTED on Windows with OpenSSL 1+ + +ChangeSet@1.3720.1.21, 2017-02-24 06:26:16-05:00, stenn@psp-deb2.ntp.org + [Sec 3376] Support build "hardening" flags. + + ChangeLog@1.1870 +1 -0 + [Sec 3376] Support build "hardening" flags. + + adjtimed/Makefile.am@1.16 +4 -1 + [Sec 3376] Support build "hardening" flags. + + clockstuff/Makefile.am@1.22 +3 -0 + [Sec 3376] Support build "hardening" flags. + + configure.ac@1.608 +2 -0 + [Sec 3376] Support build "hardening" flags. + + libntp/Makefile.am@1.81 +4 -0 + [Sec 3376] Support build "hardening" flags. + + libparse/Makefile.am@1.32 +4 -0 + [Sec 3376] Support build "hardening" flags. + + ntpd/Makefile.am@1.135 +3 -0 + [Sec 3376] Support build "hardening" flags. + + ntpd/ntp.conf.html@1.189 +1541 -1192 + [Sec 3376] Support build "hardening" flags. + + ntpd/ntp.keys.html@1.190 +162 -115 + [Sec 3376] Support build "hardening" flags. + + ntpd/ntpd.html@1.183 +753 -678 + [Sec 3376] Support build "hardening" flags. + + ntpdate/Makefile.am@1.38 +3 -0 + [Sec 3376] Support build "hardening" flags. + + ntpdc/Makefile.am@1.76 +3 -0 + [Sec 3376] Support build "hardening" flags. + + ntpdc/ntpdc.html@1.352 +404 -355 + [Sec 3376] Support build "hardening" flags. + + ntpq/Makefile.am@1.72 +4 -1 + [Sec 3376] Support build "hardening" flags. + + ntpq/ntpq.html@1.180 +1439 -1284 + [Sec 3376] Support build "hardening" flags. + + ntpsnmpd/Makefile.am@1.41 +5 -2 + [Sec 3376] Support build "hardening" flags. + + ntpsnmpd/ntpsnmpd.html@1.178 +92 -59 + [Sec 3376] Support build "hardening" flags. + + parseutil/Makefile.am@1.18 +5 -1 + [Sec 3376] Support build "hardening" flags. + + scripts/ntp-wait/ntp-wait.html@1.348 +182 -152 + [Sec 3376] Support build "hardening" flags. + + scripts/ntpsweep/ntpsweep.html@1.120 +189 -152 + [Sec 3376] Support build "hardening" flags. + + scripts/ntptrace/ntptrace.html@1.121 +168 -128 + [Sec 3376] Support build "hardening" flags. + + scripts/plot_summary.html@1.123 +188 -160 + [Sec 3376] Support build "hardening" flags. + + scripts/summary.html@1.122 +171 -135 + [Sec 3376] Support build "hardening" flags. + + scripts/update-leap/update-leap.html@1.19 +247 -199 + [Sec 3376] Support build "hardening" flags. + + sntp/Makefile.am@1.91 +6 -2 + [Sec 3376] Support build "hardening" flags. + + sntp/configure.ac@1.84 +2 -0 + [Sec 3376] Support build "hardening" flags. + + sntp/harden/README@1.1 +11 -0 + BitKeeper file sntp/harden/README + + sntp/harden/README@1.0 +0 -0 + + sntp/harden/default@1.1 +4 -0 + BitKeeper file sntp/harden/default + + sntp/harden/default@1.0 +0 -0 + + sntp/harden/freebsd10@1.1 +4 -0 + BitKeeper file sntp/harden/freebsd10 + + sntp/harden/freebsd10@1.0 +0 -0 + + sntp/harden/freebsd11@1.1 +4 -0 + BitKeeper file sntp/harden/freebsd11 + + sntp/harden/freebsd11@1.0 +0 -0 + + sntp/harden/freebsd12@1.1 +4 -0 + BitKeeper file sntp/harden/freebsd12 + + sntp/harden/freebsd12@1.0 +0 -0 + + sntp/harden/linux@1.1 +4 -0 + BitKeeper file sntp/harden/linux + + sntp/harden/linux@1.0 +0 -0 + + sntp/libevent/Makefile.am@1.15 +5 -3 + [Sec 3376] Support build "hardening" flags. + + sntp/libevent/configure.ac@1.18 +4 -0 + [Sec 3376] Support build "hardening" flags. + + sntp/libopts/Makefile.am@1.28 +4 -0 + [Sec 3376] Support build "hardening" flags. + + sntp/m4/ntp_harden.m4@1.1 +52 -0 + BitKeeper file sntp/m4/ntp_harden.m4 + + sntp/m4/ntp_harden.m4@1.0 +0 -0 + + sntp/m4/ntp_libevent.m4@1.17 +3 -0 + [Sec 3376] Support build "hardening" flags. + + sntp/scripts/Makefile.am@1.4 +1 -0 + [Sec 3376] Support build "hardening" flags. + + sntp/scripts/genHardFlags@1.1 +152 -0 + BitKeeper file sntp/scripts/genHardFlags + + sntp/scripts/genHardFlags@1.0 +0 -0 + + sntp/sntp.html@1.523 +468 -420 + [Sec 3376] Support build "hardening" flags. + + sntp/tests/Makefile.am@1.68 +4 -1 + [Sec 3376] Support build "hardening" flags. + + sntp/unity/Makefile.am@1.11 +5 -0 + [Sec 3376] Support build "hardening" flags. + + tests/bug-2803/Makefile.am@1.14 +4 -1 + [Sec 3376] Support build "hardening" flags. + + tests/libntp/Makefile.am@1.95 +5 -2 + [Sec 3376] Support build "hardening" flags. + + tests/ntpd/Makefile.am@1.30 +4 -1 + [Sec 3376] Support build "hardening" flags. + + tests/ntpq/Makefile.am@1.10 +4 -1 + [Sec 3376] Support build "hardening" flags. + + tests/sandbox/Makefile.am@1.8 +4 -1 + [Sec 3376] Support build "hardening" flags. + + tests/sec-2853/Makefile.am@1.4 +4 -1 + [Sec 3376] Support build "hardening" flags. + + util/Makefile.am@1.79 +5 -2 + [Sec 3376] Support build "hardening" flags. + + util/ntp-keygen.html@1.184 +1083 -1007 + [Sec 3376] Support build "hardening" flags. + +ChangeSet@1.3720.25.3, 2017-02-23 05:53:09+00:00, Brian@bwinglisd. + increase struct key member type size from 10 to 16 to allow AES128CMAC and future longer types up to 15 chars, refactor ntpq digest list CMAC insertion into function, fix packetProcessing tests, add debug output to check CMAC working + + libntp/ssl_init.c@1.25 +15 -0 + add debug output to validate CMAC being handled + + ntpq/ntpq.c@1.177 +158 -98 + include stddef.h for prtdiff_t, refactor CMAC insertion into MD list into insert_cmac() called from list_digest_names(), use EVP_MD_size() instead of EVP_Digest..() calls in list_md_fn(), remove associated variables, move check earlier in function, minor style and line length cleanups + + sntp/crypto.c@1.28 +9 -1 + increase max key type length to 15 to reflect struct key type size 16, add debug output to check CMAC operation + + sntp/crypto.h@1.12 +1 -1 + increase struct key member type size from 10 to 16 to allow AES128CMAC and future longer types + this should be considered for future length checking when handling digest names + + sntp/tests/packetProcessing.c@1.14 +5 -4 + fix PrepareAuthenticationTest() to use args and not hard wire MD5, increase CMAC key to mandatory length 16, fix exten to match key id + +ChangeSet@1.3720.25.2, 2017-02-21 04:21:19+00:00, Brian@bwinglisd. + fix typos caught by gcc not encountered with Windows build + + include/ntp_md5.h@1.13 +0 -1 + remove cmac include + + libntp/ssl_init.c@1.24 +11 -13 + indent nested include/define, drop unused array digest, make const md var and initialize + + ntpq/ntpq.c@1.176 +19 -9 + move SORTED K_... defines outside MAIN and LIB ifdef, fix var typos and char arg caught by gcc missed by VS/VC + + ports/winnt/scripts/mkver.bat@1.16 +1 -1 + restore initial echo off + + sntp/crypto.c@1.27 +18 -4 + add CMAC include and define name removed elsewhere, make_mac() fix assign instead of compare typo, ensure len 0 if error, check for NULL CTX even for internal MD5 + +ChangeSet@1.3720.25.1, 2017-02-20 05:21:29+00:00, Brian@bwinglisd. + add AES-128 CMAC digest support as key type AES128CMAC length *MUST BE* 16 bytes + + html/authentic.html@1.16 +32 -6 + mention AES-128 CMAC, provide text figure of key file with key 20 AES128CMAC as table with caption instead of fuzzy gif + + html/keygen.html@1.35 +63 -37 + mention AES-128 cmac, change random
...
to

...

, change keys file figure from fuzzy gif to text with key 20 AES128CMAC, remove dated timing and references from Bugs comment + + html/ntpq.html@1.51 +1 -1 + add AES128CMAC to list of digest algorithms + + include/ntp_md5.h@1.12 +1 -0 + include OpenSSL cmac.h for callers + + libntp/ssl_init.c@1.23 +55 -20 + include OpenSSL cmac.h, define MD5_LENGTH, CMAC_LENGTH, and CMAC name, recognise CMAC name and set NID_cmac + + ntpq/ntpq.c@1.175 +61 -3 + define CMAC name, move sorted digest list defines up, add variables and code to detect or append CMAC name, as CMAC is not a registered MAC + + ports/winnt/scripts/mkver.bat@1.15 +3 -1 + add support for Windows 10 (Home maybe others) rename of registry Time Zone info from ActiveTimeBias to Bias + + sntp/crypto.c@1.26 +74 -8 + support AES-128 CMAC digest, add similar error checking to OpenSSL MAC digests, leave local MD5 digest as is + + sntp/tests/crypto.c@1.11 +67 -0 + define CMAC name and length, add CMAC tests like SHA1 tests + + sntp/tests/packetProcessing.c@1.13 +26 -0 + add CMAC name and test like SHA1 test + + tests/libntp/ssl_init.c@1.10 +31 -0 + add CMAC name, length, tests like SHA1 tests + + util/ntp-keygen-opts.def@1.28 +4 -8 + mention AES-128 CMAC, fix garbled sentence, remove outdated timing and references from Bugs + +ChangeSet@1.3720.24.1, 2017-02-12 18:15:23+01:00, perlinger@ntp.org + [Sec 3380] NTP-01-005: Off-by-one in Oncore GPS Receiver + + ChangeLog@1.1853.10.1 +4 -0 + [Sec 3380] NTP-01-005: Off-by-one in Oncore GPS Receiver + + ntpd/refclock_oncore.c@1.103 +1 -1 + [Sec 3380] NTP-01-005: Off-by-one in Oncore GPS Receiver + +ChangeSet@1.3720.23.1, 2017-02-12 17:35:27+01:00, perlinger@ntp.org + [Sec 3382] NTP-01-007: Data Structure terminated insufficiently + [Sec 3383] NTP-01-008: Stack Buffer Overflow from Command Line + + ChangeLog@1.1853.9.1 +6 -0 + [Sec 3382] NTP-01-007: Data Structure terminated insufficiently + [Sec 3383] NTP-01-008: Stack Buffer Overflow from Command Line + + ports/winnt/instsrv/instsrv.c@1.8 +52 -55 + [Sec 3382] NTP-01-007: Data Structure terminated insufficiently + - use static const char ARRAY of defined length to hold MULTISZ value + [Sec 3383] NTP-01-008: Stack Buffer Overflow from Command Line + - use result-checked 'snprintf()' do concat the strings in a buffer of static size + +ChangeSet@1.3720.22.1, 2017-02-12 13:46:35+01:00, perlinger@ntp.org + [Sec 3388] NTP-01-014: Buffer Overflow in DPTS Clock + + ChangeLog@1.1853.8.1 +4 -0 + [Sec 3388] NTP-01-014: Buffer Overflow in DPTS Clock + + ntpd/refclock_datum.c@1.23 +10 -9 + [Sec 3388] NTP-01-014: Buffer Overflow in DPTS Clock + +ChangeSet@1.3720.21.1, 2017-02-12 12:35:04+01:00, perlinger@ntp.org + [Sec 3386] NTP-01-011: ntpq_stripquotes() returns incorrect Value + + ChangeLog@1.1853.7.1 +4 -0 + [Sec 3386] NTP-01-011: ntpq_stripquotes() returns incorrect Value + + ntpq/libntpq.c@1.14 +35 -32 + [Sec 3386] NTP-01-011: ntpq_stripquotes() returns incorrect Value + +ChangeSet@1.3720.20.1, 2017-02-12 11:08:16+01:00, perlinger@ntp.org + [Sec 3387] NTP-01-012: Authenticated DoS via Malicious Config Option + + ChangeLog@1.1853.6.1 +4 -0 + [Sec 3387] NTP-01-012: Authenticated DoS via Malicious Config Option + + ntpd/ntp_config.c@1.340.3.1 +12 -15 + [Sec 3387] NTP-01-012: Authenticated DoS via Malicious Config Option + +ChangeSet@1.3720.19.1, 2017-02-12 09:49:29+01:00, perlinger@ntp.org + [Sec 3389] NTP-01-016: Denial of Service via Malformed Config + + ChangeLog@1.1853.5.1 +4 -0 + [Sec 3389] NTP-01-016: Denial of Service via Malformed Config + + ntpd/ntp_config.c@1.340.2.1 +23 -2 + [Sec 3389] NTP-01-016: Denial of Service via Malformed Config + - allow 'ttl' only for network peers and 'mode' only for refclocks + + ntpd/ntp_proto.c@1.398.1.1 +11 -9 + [Sec 3389] NTP-01-016: Denial of Service via Malformed Config + clamp access to 'sys_ttl' to avoid OOB conditions / undefined behaviour + +ChangeSet@1.3720.18.1, 2017-02-12 08:03:30+01:00, perlinger@ntp.org + [Sec 3379] NTP-01-004 Potential Overflows in ctl_put() functions + + ChangeLog@1.1853.4.1 +4 -0 + [Sec 3379] NTP-01-004 Potential Overflows in ctl_put() functions + + ntpd/ntp_control.c@1.215.1.1 +99 -174 + [Sec 3379] NTP-01-004 Potential Overflows in ctl_put() functions + +ChangeSet@1.3720.17.1, 2017-02-11 20:47:37+01:00, perlinger@ntp.org + [Sec 3378] NTP-01-003 Improper use of snprintf() in mx4200_send() + + ChangeLog@1.1853.3.1 +4 -0 + [Sec 3378] NTP-01-003 Improper use of snprintf() in mx4200_send() + + ntpd/refclock_mx4200.c@1.31 +20 -12 + [Sec 3378] NTP-01-003 Improper use of snprintf() in mx4200_send() + +ChangeSet@1.3720.16.10, 2017-02-11 19:30:47+01:00, perlinger@ntp.org + [Sec 3377] NTP-01-002 Buffer Overflow in ntpq when fetching reslist + + ChangeLog@1.1853.2.6 +4 -0 + [Sec 3377] NTP-01-002 Buffer Overflow in ntpq when fetching reslist + + ntpq/ntpq-subs.c@1.119 +4 -2 + [Sec 3377] NTP-01-002 Buffer Overflow in ntpq when fetching reslist + +ChangeSet@1.3720.16.9, 2017-02-01 08:07:13-05:00, stenn@deacon.udel.edu + cleanup + + ChangeLog@1.1853.2.5 +0 -2 + cleanup + +ChangeSet@1.3720.16.8, 2017-02-01 08:05:36-05:00, stenn@deacon.udel.edu + Update triggers for bk-7 + + BitKeeper/triggers/post-incoming.license-warn@1.10 +3 -0 + Update triggers for bk-7 + + BitKeeper/triggers/pre-resolve.license-chk@1.11 +3 -0 + Update triggers for bk-7 + + BitKeeper/triggers/send@1.17 +2 -2 + Update triggers for bk-7 + +ChangeSet@1.3720.16.7, 2017-02-01 07:39:35-05:00, stenn@deacon.udel.edu NTP_4_2_8P9_WIN TAG: NTP_4_2_8P9_WIN - ChangeLog@1.1857 +3 -0 + ChangeLog@1.1853.2.4 +3 -0 NTP_4_2_8P9_WIN - ntpd/invoke-ntp.conf.texi@1.204 +1 -1 + ntpd/invoke-ntp.conf.texi@1.203.1.1 +1 -1 NTP_4_2_8P9_WIN - ntpd/invoke-ntp.keys.texi@1.193 +1 -1 + ntpd/invoke-ntp.keys.texi@1.192.1.1 +1 -1 NTP_4_2_8P9_WIN - ntpd/invoke-ntpd.texi@1.509 +2 -2 + ntpd/invoke-ntpd.texi@1.508.1.1 +2 -2 NTP_4_2_8P9_WIN - ntpd/ntp.conf.5man@1.238 +3 -3 + ntpd/ntp.conf.5man@1.237.1.1 +3 -3 NTP_4_2_8P9_WIN - ntpd/ntp.conf.5mdoc@1.238 +2 -2 + ntpd/ntp.conf.5mdoc@1.237.1.1 +2 -2 NTP_4_2_8P9_WIN ntpd/ntp.conf.html@1.188 +1 -1 NTP_4_2_8P9_WIN - ntpd/ntp.conf.man.in@1.238 +3 -3 + ntpd/ntp.conf.man.in@1.237.1.1 +3 -3 NTP_4_2_8P9_WIN - ntpd/ntp.conf.mdoc.in@1.238 +2 -2 + ntpd/ntp.conf.mdoc.in@1.237.1.1 +2 -2 NTP_4_2_8P9_WIN - ntpd/ntp.keys.5man@1.227 +2 -2 + ntpd/ntp.keys.5man@1.226.1.1 +2 -2 NTP_4_2_8P9_WIN - ntpd/ntp.keys.5mdoc@1.227 +2 -2 + ntpd/ntp.keys.5mdoc@1.226.1.1 +2 -2 NTP_4_2_8P9_WIN ntpd/ntp.keys.html@1.189 +1 -1 NTP_4_2_8P9_WIN - ntpd/ntp.keys.man.in@1.227 +2 -2 + ntpd/ntp.keys.man.in@1.226.1.1 +2 -2 NTP_4_2_8P9_WIN - ntpd/ntp.keys.mdoc.in@1.227 +2 -2 + ntpd/ntp.keys.mdoc.in@1.226.1.1 +2 -2 NTP_4_2_8P9_WIN - ntpd/ntpd-opts.c@1.531 +245 -245 + ntpd/ntpd-opts.c@1.530.1.1 +245 -245 NTP_4_2_8P9_WIN - ntpd/ntpd-opts.h@1.530 +3 -3 + ntpd/ntpd-opts.h@1.529.1.1 +3 -3 NTP_4_2_8P9_WIN - ntpd/ntpd.1ntpdman@1.338 +3 -3 + ntpd/ntpd.1ntpdman@1.337.1.1 +3 -3 NTP_4_2_8P9_WIN - ntpd/ntpd.1ntpdmdoc@1.338 +2 -2 + ntpd/ntpd.1ntpdmdoc@1.337.1.1 +2 -2 NTP_4_2_8P9_WIN ntpd/ntpd.html@1.182 +2 -2 NTP_4_2_8P9_WIN - ntpd/ntpd.man.in@1.338 +3 -3 + ntpd/ntpd.man.in@1.337.1.1 +3 -3 NTP_4_2_8P9_WIN - ntpd/ntpd.mdoc.in@1.338 +2 -2 + ntpd/ntpd.mdoc.in@1.337.1.1 +2 -2 NTP_4_2_8P9_WIN - ntpdc/invoke-ntpdc.texi@1.506 +2 -2 + ntpdc/invoke-ntpdc.texi@1.505.1.1 +2 -2 NTP_4_2_8P9_WIN - ntpdc/ntpdc-opts.c@1.524 +107 -107 + ntpdc/ntpdc-opts.c@1.523.1.1 +107 -107 NTP_4_2_8P9_WIN - ntpdc/ntpdc-opts.h@1.523 +3 -3 + ntpdc/ntpdc-opts.h@1.522.1.1 +3 -3 NTP_4_2_8P9_WIN - ntpdc/ntpdc.1ntpdcman@1.337 +3 -3 + ntpdc/ntpdc.1ntpdcman@1.336.1.1 +3 -3 NTP_4_2_8P9_WIN - ntpdc/ntpdc.1ntpdcmdoc@1.337 +2 -2 + ntpdc/ntpdc.1ntpdcmdoc@1.336.1.1 +2 -2 NTP_4_2_8P9_WIN - ntpdc/ntpdc.html@1.350 +2 -2 + ntpdc/ntpdc.html@1.349.1.1 +2 -2 NTP_4_2_8P9_WIN - ntpdc/ntpdc.man.in@1.337 +3 -3 + ntpdc/ntpdc.man.in@1.336.1.1 +3 -3 NTP_4_2_8P9_WIN - ntpdc/ntpdc.mdoc.in@1.337 +2 -2 + ntpdc/ntpdc.mdoc.in@1.336.1.1 +2 -2 NTP_4_2_8P9_WIN - ntpq/invoke-ntpq.texi@1.514 +2 -2 + ntpq/invoke-ntpq.texi@1.513.1.1 +2 -2 NTP_4_2_8P9_WIN - ntpq/ntpq-opts.c@1.531 +114 -114 + ntpq/ntpq-opts.c@1.530.1.1 +114 -114 NTP_4_2_8P9_WIN - ntpq/ntpq-opts.h@1.529 +3 -3 + ntpq/ntpq-opts.h@1.528.1.1 +3 -3 NTP_4_2_8P9_WIN - ntpq/ntpq.1ntpqman@1.342 +3 -3 + ntpq/ntpq.1ntpqman@1.341.1.1 +3 -3 NTP_4_2_8P9_WIN - ntpq/ntpq.1ntpqmdoc@1.342 +2 -2 + ntpq/ntpq.1ntpqmdoc@1.341.1.1 +2 -2 NTP_4_2_8P9_WIN ntpq/ntpq.html@1.179 +2 -2 NTP_4_2_8P9_WIN - ntpq/ntpq.man.in@1.342 +3 -3 + ntpq/ntpq.man.in@1.341.1.1 +3 -3 NTP_4_2_8P9_WIN - ntpq/ntpq.mdoc.in@1.342 +2 -2 + ntpq/ntpq.mdoc.in@1.341.1.1 +2 -2 NTP_4_2_8P9_WIN - ntpsnmpd/invoke-ntpsnmpd.texi@1.508 +11 -10 + ntpsnmpd/invoke-ntpsnmpd.texi@1.507.1.1 +11 -10 NTP_4_2_8P9_WIN - ntpsnmpd/ntpsnmpd-opts.c@1.526 +68 -68 + ntpsnmpd/ntpsnmpd-opts.c@1.525.1.1 +68 -68 NTP_4_2_8P9_WIN - ntpsnmpd/ntpsnmpd-opts.h@1.525 +3 -3 + ntpsnmpd/ntpsnmpd-opts.h@1.524.1.1 +3 -3 NTP_4_2_8P9_WIN - ntpsnmpd/ntpsnmpd.1ntpsnmpdman@1.337 +3 -3 + ntpsnmpd/ntpsnmpd.1ntpsnmpdman@1.336.1.1 +3 -3 NTP_4_2_8P9_WIN - ntpsnmpd/ntpsnmpd.1ntpsnmpdmdoc@1.337 +2 -2 + ntpsnmpd/ntpsnmpd.1ntpsnmpdmdoc@1.336.1.1 +2 -2 NTP_4_2_8P9_WIN ntpsnmpd/ntpsnmpd.html@1.177 +1 -1 NTP_4_2_8P9_WIN - ntpsnmpd/ntpsnmpd.man.in@1.337 +3 -3 + ntpsnmpd/ntpsnmpd.man.in@1.336.1.1 +3 -3 NTP_4_2_8P9_WIN - ntpsnmpd/ntpsnmpd.mdoc.in@1.337 +2 -2 + ntpsnmpd/ntpsnmpd.mdoc.in@1.336.1.1 +2 -2 NTP_4_2_8P9_WIN packageinfo.sh@1.534 +1 -1 NTP_4_2_8P9_WIN - scripts/calc_tickadj/calc_tickadj.1calc_tickadjman@1.98 +3 -3 + scripts/calc_tickadj/calc_tickadj.1calc_tickadjman@1.97.1.1 +3 -3 NTP_4_2_8P9_WIN - scripts/calc_tickadj/calc_tickadj.1calc_tickadjmdoc@1.99 +2 -2 + scripts/calc_tickadj/calc_tickadj.1calc_tickadjmdoc@1.98.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/calc_tickadj/calc_tickadj.html@1.100 +1 -1 + scripts/calc_tickadj/calc_tickadj.html@1.99.1.1 +1 -1 NTP_4_2_8P9_WIN - scripts/calc_tickadj/calc_tickadj.man.in@1.97 +3 -3 + scripts/calc_tickadj/calc_tickadj.man.in@1.96.1.1 +3 -3 NTP_4_2_8P9_WIN - scripts/calc_tickadj/calc_tickadj.mdoc.in@1.99 +2 -2 + scripts/calc_tickadj/calc_tickadj.mdoc.in@1.98.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/calc_tickadj/invoke-calc_tickadj.texi@1.102 +1 -1 + scripts/calc_tickadj/invoke-calc_tickadj.texi@1.101.1.1 +1 -1 NTP_4_2_8P9_WIN - scripts/invoke-plot_summary.texi@1.120 +2 -2 + scripts/invoke-plot_summary.texi@1.119.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/invoke-summary.texi@1.119 +2 -2 + scripts/invoke-summary.texi@1.118.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/ntp-wait/invoke-ntp-wait.texi@1.329 +2 -2 + scripts/ntp-wait/invoke-ntp-wait.texi@1.328.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/ntp-wait/ntp-wait-opts@1.65 +2 -2 + scripts/ntp-wait/ntp-wait-opts@1.64.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/ntp-wait/ntp-wait.1ntp-waitman@1.326 +3 -3 + scripts/ntp-wait/ntp-wait.1ntp-waitman@1.325.1.1 +3 -3 NTP_4_2_8P9_WIN - scripts/ntp-wait/ntp-wait.1ntp-waitmdoc@1.327 +2 -2 + scripts/ntp-wait/ntp-wait.1ntp-waitmdoc@1.326.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/ntp-wait/ntp-wait.html@1.346 +2 -2 + scripts/ntp-wait/ntp-wait.html@1.345.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/ntp-wait/ntp-wait.man.in@1.326 +3 -3 + scripts/ntp-wait/ntp-wait.man.in@1.325.1.1 +3 -3 NTP_4_2_8P9_WIN - scripts/ntp-wait/ntp-wait.mdoc.in@1.327 +2 -2 + scripts/ntp-wait/ntp-wait.mdoc.in@1.326.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/ntpsweep/invoke-ntpsweep.texi@1.117 +2 -2 + scripts/ntpsweep/invoke-ntpsweep.texi@1.116.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/ntpsweep/ntpsweep-opts@1.67 +2 -2 + scripts/ntpsweep/ntpsweep-opts@1.66.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/ntpsweep/ntpsweep.1ntpsweepman@1.105 +3 -3 + scripts/ntpsweep/ntpsweep.1ntpsweepman@1.104.1.1 +3 -3 NTP_4_2_8P9_WIN - scripts/ntpsweep/ntpsweep.1ntpsweepmdoc@1.105 +2 -2 + scripts/ntpsweep/ntpsweep.1ntpsweepmdoc@1.104.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/ntpsweep/ntpsweep.html@1.118 +2 -2 + scripts/ntpsweep/ntpsweep.html@1.117.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/ntpsweep/ntpsweep.man.in@1.105 +3 -3 + scripts/ntpsweep/ntpsweep.man.in@1.104.1.1 +3 -3 NTP_4_2_8P9_WIN - scripts/ntpsweep/ntpsweep.mdoc.in@1.106 +2 -2 + scripts/ntpsweep/ntpsweep.mdoc.in@1.105.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/ntptrace/invoke-ntptrace.texi@1.118 +2 -2 + scripts/ntptrace/invoke-ntptrace.texi@1.117.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/ntptrace/ntptrace-opts@1.67 +2 -2 + scripts/ntptrace/ntptrace-opts@1.66.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/ntptrace/ntptrace.1ntptraceman@1.105 +3 -3 + scripts/ntptrace/ntptrace.1ntptraceman@1.104.1.1 +3 -3 NTP_4_2_8P9_WIN - scripts/ntptrace/ntptrace.1ntptracemdoc@1.106 +2 -2 + scripts/ntptrace/ntptrace.1ntptracemdoc@1.105.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/ntptrace/ntptrace.html@1.119 +2 -2 + scripts/ntptrace/ntptrace.html@1.118.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/ntptrace/ntptrace.man.in@1.105 +3 -3 + scripts/ntptrace/ntptrace.man.in@1.104.1.1 +3 -3 NTP_4_2_8P9_WIN - scripts/ntptrace/ntptrace.mdoc.in@1.107 +2 -2 + scripts/ntptrace/ntptrace.mdoc.in@1.106.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/plot_summary-opts@1.68 +2 -2 + scripts/plot_summary-opts@1.67.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/plot_summary.1plot_summaryman@1.118 +3 -3 + scripts/plot_summary.1plot_summaryman@1.117.1.1 +3 -3 NTP_4_2_8P9_WIN - scripts/plot_summary.1plot_summarymdoc@1.118 +2 -2 + scripts/plot_summary.1plot_summarymdoc@1.117.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/plot_summary.html@1.121 +2 -2 + scripts/plot_summary.html@1.120.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/plot_summary.man.in@1.118 +3 -3 + scripts/plot_summary.man.in@1.117.1.1 +3 -3 NTP_4_2_8P9_WIN - scripts/plot_summary.mdoc.in@1.118 +2 -2 + scripts/plot_summary.mdoc.in@1.117.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/summary-opts@1.67 +2 -2 + scripts/summary-opts@1.66.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/summary.1summaryman@1.117 +3 -3 + scripts/summary.1summaryman@1.116.1.1 +3 -3 NTP_4_2_8P9_WIN - scripts/summary.1summarymdoc@1.117 +2 -2 + scripts/summary.1summarymdoc@1.116.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/summary.html@1.120 +2 -2 + scripts/summary.html@1.119.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/summary.man.in@1.117 +3 -3 + scripts/summary.man.in@1.116.1.1 +3 -3 NTP_4_2_8P9_WIN - scripts/summary.mdoc.in@1.117 +2 -2 + scripts/summary.mdoc.in@1.116.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/update-leap/invoke-update-leap.texi@1.18 +1 -1 + scripts/update-leap/invoke-update-leap.texi@1.17.1.1 +1 -1 NTP_4_2_8P9_WIN - scripts/update-leap/update-leap-opts@1.18 +2 -2 + scripts/update-leap/update-leap-opts@1.17.1.1 +2 -2 NTP_4_2_8P9_WIN - scripts/update-leap/update-leap.1update-leapman@1.18 +3 -3 + scripts/update-leap/update-leap.1update-leapman@1.17.1.1 +3 -3 NTP_4_2_8P9_WIN - scripts/update-leap/update-leap.1update-leapmdoc@1.18 +2 -2 + scripts/update-leap/update-leap.1update-leapmdoc@1.17.1.1 +2 -2 NTP_4_2_8P9_WIN scripts/update-leap/update-leap.html@1.18 +1 -1 NTP_4_2_8P9_WIN - scripts/update-leap/update-leap.man.in@1.18 +3 -3 + scripts/update-leap/update-leap.man.in@1.17.1.1 +3 -3 NTP_4_2_8P9_WIN - scripts/update-leap/update-leap.mdoc.in@1.18 +2 -2 + scripts/update-leap/update-leap.mdoc.in@1.17.1.1 +2 -2 NTP_4_2_8P9_WIN - sntp/invoke-sntp.texi@1.506 +2 -2 + sntp/invoke-sntp.texi@1.505.1.1 +2 -2 NTP_4_2_8P9_WIN - sntp/sntp-opts.c@1.525 +159 -159 + sntp/sntp-opts.c@1.524.1.1 +159 -159 NTP_4_2_8P9_WIN - sntp/sntp-opts.h@1.523 +3 -3 + sntp/sntp-opts.h@1.522.1.1 +3 -3 NTP_4_2_8P9_WIN - sntp/sntp.1sntpman@1.341 +3 -3 + sntp/sntp.1sntpman@1.340.1.1 +3 -3 NTP_4_2_8P9_WIN - sntp/sntp.1sntpmdoc@1.341 +2 -2 + sntp/sntp.1sntpmdoc@1.340.1.1 +2 -2 NTP_4_2_8P9_WIN - sntp/sntp.html@1.521 +2 -2 + sntp/sntp.html@1.520.1.1 +2 -2 NTP_4_2_8P9_WIN - sntp/sntp.man.in@1.341 +3 -3 + sntp/sntp.man.in@1.340.1.1 +3 -3 NTP_4_2_8P9_WIN - sntp/sntp.mdoc.in@1.341 +2 -2 + sntp/sntp.mdoc.in@1.340.1.1 +2 -2 NTP_4_2_8P9_WIN - util/invoke-ntp-keygen.texi@1.509 +2 -2 + util/invoke-ntp-keygen.texi@1.508.1.1 +2 -2 NTP_4_2_8P9_WIN - util/ntp-keygen-opts.c@1.527 +173 -173 + util/ntp-keygen-opts.c@1.526.1.1 +173 -173 NTP_4_2_8P9_WIN - util/ntp-keygen-opts.h@1.525 +3 -3 + util/ntp-keygen-opts.h@1.524.1.1 +3 -3 NTP_4_2_8P9_WIN - util/ntp-keygen.1ntp-keygenman@1.337 +3 -3 + util/ntp-keygen.1ntp-keygenman@1.336.1.1 +3 -3 NTP_4_2_8P9_WIN - util/ntp-keygen.1ntp-keygenmdoc@1.337 +2 -2 + util/ntp-keygen.1ntp-keygenmdoc@1.336.1.1 +2 -2 NTP_4_2_8P9_WIN util/ntp-keygen.html@1.183 +2 -2 NTP_4_2_8P9_WIN - util/ntp-keygen.man.in@1.337 +3 -3 + util/ntp-keygen.man.in@1.336.1.1 +3 -3 NTP_4_2_8P9_WIN - util/ntp-keygen.mdoc.in@1.337 +2 -2 + util/ntp-keygen.mdoc.in@1.336.1.1 +2 -2 NTP_4_2_8P9_WIN -ChangeSet@1.3728, 2017-01-28 09:32:36-05:00, stenn@pogo.udel.edu +ChangeSet@1.3720.16.6, 2017-01-28 09:32:36-05:00, stenn@pogo.udel.edu typos - sntp/m4/ntp_openssl.m4@1.26 +13 -13 + sntp/m4/ntp_openssl.m4@1.25.1.1 +13 -13 typos -ChangeSet@1.3726, 2017-01-27 11:21:38+00:00, stenn@psp-deb1.ntp.org +ChangeSet@1.3720.16.4, 2017-01-27 11:21:38+00:00, stenn@psp-deb1.ntp.org ntp-4.2.8p9-win - ChangeLog@1.1855 +4 -1 + ChangeLog@1.1853.2.2 +4 -1 ntp-4.2.8p9-win packageinfo.sh@1.533 +1 -1 ntp-4.2.8p9-win -ChangeSet@1.3725, 2017-01-27 11:09:20+00:00, stenn@psp-deb1.ntp.org +ChangeSet@1.3720.16.3, 2017-01-27 11:09:20+00:00, stenn@psp-deb1.ntp.org bk-7 repos don't have a ChangeSet file - sntp/Makefile.am@1.89 +1 -1 + sntp/Makefile.am@1.88.1.1 +1 -1 bk-7 repos don't have a ChangeSet file -ChangeSet@1.3724, 2017-01-21 15:12:35+01:00, perlinger@ntp.org +ChangeSet@1.3720.16.2, 2017-01-21 15:12:35+01:00, perlinger@ntp.org [Bug 3144] NTP does not build without openSSL - pulled missing changeset, minor warning fixes - ChangeLog@1.1854 +2 -1 + ChangeLog@1.1853.2.1 +2 -1 [Bug 3144] NTP does not build without openSSL - pulled missing changeset, minor warning fixes @@ -369,16 +6904,22 @@ ChangeSet@1.3724, 2017-01-21 15:12:35+01:00, perlinger@ntp.org [Bug 3144] NTP does not build without openSSL - pulled missing changeset, minor warning fixes -ChangeSet@1.3720.1.2, 2017-01-10 06:07:05-05:00, stenn@pogo.udel.edu +ChangeSet@1.3720.1.18, 2017-01-10 11:14:17+00:00, stenn@psp-deb1.ntp.org + s/DNL/dnl/ in ntp_openssl.m4 + + sntp/m4/ntp_openssl.m4@1.26 +13 -13 + s/DNL/dnl/ in ntp_openssl.m4 + +ChangeSet@1.3720.15.2, 2017-01-10 06:07:05-05:00, stenn@pogo.udel.edu configure.ac cleanup - ChangeLog@1.1852.1.1 +5 -0 + ChangeLog@1.1852.13.1 +5 -0 configure.ac cleanup configure.ac@1.607 +1 -1 configure.ac cleanup -ChangeSet@1.3720.1.1, 2017-01-10 06:05:44-05:00, stenn@pogo.udel.edu +ChangeSet@1.3720.15.1, 2017-01-10 06:05:44-05:00, stenn@pogo.udel.edu openssl configure cleanup sntp/m4/ntp_libntp.m4@1.34 +1 -3 @@ -387,7 +6928,586 @@ ChangeSet@1.3720.1.1, 2017-01-10 06:05:44-05:00, stenn@pogo.udel.edu sntp/m4/ntp_openssl.m4@1.25 +19 -1 openssl configure cleanup -ChangeSet@1.3722, 2016-11-23 08:34:52+01:00, perlinger@ntp.org +ChangeSet@1.3720.1.14, 2017-01-08 11:33:47+00:00, stenn@psp-deb1.ntp.org + typo + + ChangeLog@1.1864 +1 -1 + typo + +ChangeSet@1.3720.14.1, 2017-01-08 11:16:33+01:00, perlinger@ntp.org + [Bug 3062] Change the process name of forked DNS worker + - applied patch by Reinhard Max. See bugzilla for limitations. + + ChangeLog@1.1852.12.1 +4 -1 + [Bug 3062] Change the process name of forked DNS worker + - applied patch by Reinhard Max. + + include/ntpd.h@1.194.1.1 +2 -0 + [Bug 3062] Change the process name of forked DNS worker + - applied patch by Reinhard Max. + + libntp/work_fork.c@1.17.1.1 +18 -0 + [Bug 3062] Change the process name of forked DNS worker + - applied patch by Reinhard Max. + + ntpd/ntpd.c@1.172 +2 -0 + [Bug 3062] Change the process name of forked DNS worker + - applied patch by Reinhard Max. + +ChangeSet@1.3720.1.7, 2017-01-08 09:30:07+00:00, stenn@psp-deb1.ntp.org + [Bug 2896] logging message cleanup + + ntpd/ntp_config.c@1.343 +2 -2 + [Bug 2896] logging message cleanup + +ChangeSet@1.3720.12.1, 2017-01-07 04:30:19+00:00, abe@psp-deb1.ntp.org + miscopt.html, driver40.html, driver40-ja.html, ChangeLog: + [Bug 3365] Updates driver40(-ja).html and miscopt.html + + ChangeLog@1.1852.11.1 +2 -0 + [Bug 3365] Updates driver40(-ja).html and miscopt.html + + html/drivers/driver40-ja.html@1.6 +2 -1 + [Bug 3365] Updates driver40(-ja).html and miscopt.html + + html/drivers/driver40.html@1.21 +2 -1 + [Bug 3365] Updates driver40(-ja).html and miscopt.html + + html/miscopt.html@1.88 +4 -1 + [Bug 3365] Updates driver40(-ja).html and miscopt.html + +ChangeSet@1.3720.1.3, 2017-01-06 23:24:33+01:00, jnperlin@hydra.localnet + [Bug 3363] Support for openssl-1.1.0 without compatibility modes + + ChangeLog@1.1854 +2 -0 + [Bug 3363] Support for openssl-1.1.0 without compatibility modes + + include/libssl_compat.h@1.3 +19 -0 + [Bug 3363] Support for openssl-1.1.0 without compatibility modes + + include/ntp_crypto.h@1.52 +1 -0 + [Bug 3363] Support for openssl-1.1.0 without compatibility modes + + libntp/ssl_init.c@1.22 +33 -20 + [Bug 3363] Support for openssl-1.1.0 without compatibility modes + + ntpd/ntp_crypto.c@1.189 +12 -7 + [Bug 3363] Support for openssl-1.1.0 without compatibility modes + + sntp/libevent/test/regress_ssl.c@1.8 +18 -4 + [Bug 3363] Support for openssl-1.1.0 without compatibility modes + + util/ntp-keygen.c@1.110 +17 -5 + [Bug 3363] Support for openssl-1.1.0 without compatibility modes + +ChangeSet@1.3720.11.1, 2017-01-04 10:46:52+01:00, jnperlin@hydra.localnet + [Bug 2923] Trap Configuration Fail + + ChangeLog@1.1852.10.1 +4 -1 + [Bug 2923] Trap Configuration Fail + + ntpd/ntp_config.c@1.340.1.1 +2 -2 + [Bug 2923] Trap Configuration Fail + +ChangeSet@1.3720.10.2, 2017-01-02 12:09:21+00:00, stenn@psp-deb1.ntp.org + Update copyright year + + ChangeLog@1.1852.9.2 +3 -0 + Update copyright year + + html/copyright.html@1.68 +5 -5 + Update copyright year + + ntpd/invoke-ntp.conf.texi@1.204 +1 -1 + Update copyright year + + ntpd/invoke-ntp.keys.texi@1.193 +1 -1 + Update copyright year + + ntpd/invoke-ntpd.texi@1.509 +1 -1 + Update copyright year + + ntpd/ntp.conf.5man@1.238 +4 -4 + Update copyright year + + ntpd/ntp.conf.5mdoc@1.238 +3 -3 + Update copyright year + + ntpd/ntp.conf.man.in@1.238 +4 -4 + Update copyright year + + ntpd/ntp.conf.mdoc.in@1.238 +3 -3 + Update copyright year + + ntpd/ntp.keys.5man@1.227 +3 -3 + Update copyright year + + ntpd/ntp.keys.5mdoc@1.227 +4 -4 + Update copyright year + + ntpd/ntp.keys.man.in@1.227 +3 -3 + Update copyright year + + ntpd/ntp.keys.mdoc.in@1.227 +4 -4 + Update copyright year + + ntpd/ntpd-opts.c@1.531 +4 -4 + Update copyright year + + ntpd/ntpd-opts.h@1.530 +2 -2 + Update copyright year + + ntpd/ntpd.1ntpdman@1.338 +4 -4 + Update copyright year + + ntpd/ntpd.1ntpdmdoc@1.338 +3 -3 + Update copyright year + + ntpd/ntpd.man.in@1.338 +4 -4 + Update copyright year + + ntpd/ntpd.mdoc.in@1.338 +3 -3 + Update copyright year + + ntpdc/invoke-ntpdc.texi@1.506 +1 -1 + Update copyright year + + ntpdc/ntpdc-opts.c@1.524 +4 -4 + Update copyright year + + ntpdc/ntpdc-opts.h@1.523 +2 -2 + Update copyright year + + ntpdc/ntpdc.1ntpdcman@1.337 +4 -4 + Update copyright year + + ntpdc/ntpdc.1ntpdcmdoc@1.337 +3 -3 + Update copyright year + + ntpdc/ntpdc.html@1.350 +75 -55 + Update copyright year + + ntpdc/ntpdc.man.in@1.337 +4 -4 + Update copyright year + + ntpdc/ntpdc.mdoc.in@1.337 +3 -3 + Update copyright year + + ntpq/invoke-ntpq.texi@1.514 +1 -1 + Update copyright year + + ntpq/ntpq-opts.c@1.531 +4 -4 + Update copyright year + + ntpq/ntpq-opts.h@1.529 +2 -2 + Update copyright year + + ntpq/ntpq.1ntpqman@1.342 +4 -4 + Update copyright year + + ntpq/ntpq.1ntpqmdoc@1.342 +3 -3 + Update copyright year + + ntpq/ntpq.man.in@1.342 +4 -4 + Update copyright year + + ntpq/ntpq.mdoc.in@1.342 +3 -3 + Update copyright year + + ntpsnmpd/invoke-ntpsnmpd.texi@1.508 +1 -1 + Update copyright year + + ntpsnmpd/ntpsnmpd-opts.c@1.526 +4 -4 + Update copyright year + + ntpsnmpd/ntpsnmpd-opts.h@1.525 +2 -2 + Update copyright year + + ntpsnmpd/ntpsnmpd.1ntpsnmpdman@1.337 +4 -4 + Update copyright year + + ntpsnmpd/ntpsnmpd.1ntpsnmpdmdoc@1.337 +3 -3 + Update copyright year + + ntpsnmpd/ntpsnmpd.man.in@1.337 +4 -4 + Update copyright year + + ntpsnmpd/ntpsnmpd.mdoc.in@1.337 +3 -3 + Update copyright year + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjman@1.98 +3 -3 + Update copyright year + + scripts/calc_tickadj/calc_tickadj.1calc_tickadjmdoc@1.99 +2 -2 + Update copyright year + + scripts/calc_tickadj/calc_tickadj.html@1.100 +33 -21 + Update copyright year + + scripts/calc_tickadj/calc_tickadj.man.in@1.97 +3 -3 + Update copyright year + + scripts/calc_tickadj/calc_tickadj.mdoc.in@1.99 +2 -2 + Update copyright year + + scripts/calc_tickadj/invoke-calc_tickadj.texi@1.102 +1 -1 + Update copyright year + + scripts/invoke-plot_summary.texi@1.120 +1 -1 + Update copyright year + + scripts/invoke-summary.texi@1.119 +1 -1 + Update copyright year + + scripts/ntp-wait/invoke-ntp-wait.texi@1.329 +1 -1 + Update copyright year + + scripts/ntp-wait/ntp-wait-opts@1.65 +1 -1 + Update copyright year + + scripts/ntp-wait/ntp-wait.1ntp-waitman@1.326 +3 -3 + Update copyright year + + scripts/ntp-wait/ntp-wait.1ntp-waitmdoc@1.327 +2 -2 + Update copyright year + + scripts/ntp-wait/ntp-wait.html@1.346 +47 -29 + Update copyright year + + scripts/ntp-wait/ntp-wait.man.in@1.326 +3 -3 + Update copyright year + + scripts/ntp-wait/ntp-wait.mdoc.in@1.327 +2 -2 + Update copyright year + + scripts/ntpsweep/invoke-ntpsweep.texi@1.117 +1 -1 + Update copyright year + + scripts/ntpsweep/ntpsweep-opts@1.67 +1 -1 + Update copyright year + + scripts/ntpsweep/ntpsweep.1ntpsweepman@1.105 +3 -3 + Update copyright year + + scripts/ntpsweep/ntpsweep.1ntpsweepmdoc@1.105 +2 -2 + Update copyright year + + scripts/ntpsweep/ntpsweep.html@1.118 +42 -31 + Update copyright year + + scripts/ntpsweep/ntpsweep.man.in@1.105 +3 -3 + Update copyright year + + scripts/ntpsweep/ntpsweep.mdoc.in@1.106 +2 -2 + Update copyright year + + scripts/ntptrace/invoke-ntptrace.texi@1.118 +1 -1 + Update copyright year + + scripts/ntptrace/ntptrace-opts@1.67 +1 -1 + Update copyright year + + scripts/ntptrace/ntptrace.1ntptraceman@1.105 +3 -3 + Update copyright year + + scripts/ntptrace/ntptrace.1ntptracemdoc@1.106 +2 -2 + Update copyright year + + scripts/ntptrace/ntptrace.html@1.119 +34 -25 + Update copyright year + + scripts/ntptrace/ntptrace.man.in@1.105 +3 -3 + Update copyright year + + scripts/ntptrace/ntptrace.mdoc.in@1.107 +2 -2 + Update copyright year + + scripts/plot_summary-opts@1.68 +1 -1 + Update copyright year + + scripts/plot_summary.1plot_summaryman@1.118 +3 -3 + Update copyright year + + scripts/plot_summary.1plot_summarymdoc@1.118 +2 -2 + Update copyright year + + scripts/plot_summary.html@1.121 +45 -27 + Update copyright year + + scripts/plot_summary.man.in@1.118 +3 -3 + Update copyright year + + scripts/plot_summary.mdoc.in@1.118 +2 -2 + Update copyright year + + scripts/summary-opts@1.67 +1 -1 + Update copyright year + + scripts/summary.1summaryman@1.117 +3 -3 + Update copyright year + + scripts/summary.1summarymdoc@1.117 +2 -2 + Update copyright year + + scripts/summary.html@1.120 +37 -25 + Update copyright year + + scripts/summary.man.in@1.117 +3 -3 + Update copyright year + + scripts/summary.mdoc.in@1.117 +2 -2 + Update copyright year + + scripts/update-leap/invoke-update-leap.texi@1.18 +1 -1 + Update copyright year + + scripts/update-leap/update-leap-opts@1.18 +1 -1 + Update copyright year + + scripts/update-leap/update-leap.1update-leapman@1.18 +3 -3 + Update copyright year + + scripts/update-leap/update-leap.1update-leapmdoc@1.18 +2 -2 + Update copyright year + + scripts/update-leap/update-leap.man.in@1.18 +3 -3 + Update copyright year + + scripts/update-leap/update-leap.mdoc.in@1.18 +2 -2 + Update copyright year + + sntp/include/copyright.def@1.27 +1 -1 + Update copyright year + + sntp/invoke-sntp.texi@1.506 +1 -1 + Update copyright year + + sntp/sntp-opts.c@1.525 +4 -4 + Update copyright year + + sntp/sntp-opts.h@1.523 +2 -2 + Update copyright year + + sntp/sntp.1sntpman@1.341 +4 -4 + Update copyright year + + sntp/sntp.1sntpmdoc@1.341 +3 -3 + Update copyright year + + sntp/sntp.html@1.521 +107 -83 + Update copyright year + + sntp/sntp.man.in@1.341 +4 -4 + Update copyright year + + sntp/sntp.mdoc.in@1.341 +3 -3 + Update copyright year + + util/invoke-ntp-keygen.texi@1.509 +1 -1 + Update copyright year + + util/ntp-keygen-opts.c@1.527 +4 -4 + Update copyright year + + util/ntp-keygen-opts.h@1.525 +2 -2 + Update copyright year + + util/ntp-keygen.1ntp-keygenman@1.337 +4 -4 + Update copyright year + + util/ntp-keygen.1ntp-keygenmdoc@1.337 +3 -3 + Update copyright year + + util/ntp-keygen.man.in@1.337 +4 -4 + Update copyright year + + util/ntp-keygen.mdoc.in@1.337 +3 -3 + Update copyright year + +ChangeSet@1.3720.10.1, 2017-01-02 11:53:32+00:00, stenn@psp-deb1.ntp.org + cleanup + + ChangeLog@1.1852.9.1 +0 -1 + cleanup + +ChangeSet@1.3720.9.1, 2016-12-30 10:39:31+01:00, jnperlin@hydra.localnet + [Bug 3356] Bugfix 3072 breaks multicastclient + + ChangeLog@1.1852.8.1 +3 -0 + [Bug 3356] Bugfix 3072 breaks multicastclient + + ntpd/ntp_peer.c@1.161 +2 -1 + [Bug 3356] Bugfix 3072 breaks multicastclient + (see bugs.ntp.org for details) + +ChangeSet@1.3720.8.2, 2016-12-11 11:53:32+01:00, perlinger@ntp.org + [Bug 3065] Quiet warnings on NetBSD (take II) + + ntpq/ntpq.c@1.174 +1 -1 + [Bug 3065] Quiet warnings on NetBSD + - repair of repair + +ChangeSet@1.3720.8.1, 2016-12-11 11:39:49+01:00, perlinger@ntp.org + [Bug 3065] Quiet warnings on NetBSD + + ChangeLog@1.1852.7.1 +5 -1 + [Bug 3065] Quiet warnings on NetBSD + + include/ntp_fp.h@1.33 +1 -1 + [Bug 3065] Quiet warnings on NetBSD + - GPS time units are unsigned -- gpstolfp should reflect this + + libparse/clk_trimtsip.c@1.14 +4 -4 + [Bug 3065] Quiet warnings on NetBSD + - GPS time units are unsigned + + libparse/gpstolfp.c@1.13 +2 -2 + [Bug 3065] Quiet warnings on NetBSD + - GPS time units are unsigned -- gpstolfp should reflect this + + ntpd/refclock_jjy.c@1.33 +7 -6 + [Bug 3065] Quiet warnings on NetBSD + - length counters should better be unsigned + + ntpd/refclock_parse.c@1.84 +5 -5 + [Bug 3065] Quiet warnings on NetBSD + - GPS time units are unsigned + + ntpq/ntpq.c@1.173 +3 -3 + [Bug 3065] Quiet warnings on NetBSD + +ChangeSet@1.3686.26.1, 2016-12-08 08:28:15+01:00, perlinger@ntp.org + [Bug 2645] out-of-bound pointers in ctl_putsys and decode_bitflags + + ChangeLog@1.1834.26.1 +5 -0 + [Bug 2645] out-of-bound pointers in ctl_putsys and decode_bitflags + + lib/isc/inet_pton.c@1.8 +3 -3 + [Bug 2645] out-of-bound pointers in ctl_putsys and decode_bitflags + + libntp/statestr.c@1.29 +4 -5 + [Bug 2645] out-of-bound pointers in ctl_putsys and decode_bitflags + + ntpd/ntp_control.c@1.209.7.1 +5 -5 + [Bug 2645] out-of-bound pointers in ctl_putsys and decode_bitflags + + ntpd/ntp_io.c@1.417.1.1 +3 -4 + [Bug 2645] out-of-bound pointers in ctl_putsys and decode_bitflags + - sidekick: counters should be unsigned, if it's really just for counting + + ntpdc/ntpdc_ops.c@1.82 +1 -1 + [Bug 2645] out-of-bound pointers in ctl_putsys and decode_bitflags + - sidekick: flags should not be counters + + sntp/crypto.c@1.21.2.1 +2 -2 + [Bug 2645] out-of-bound pointers in ctl_putsys and decode_bitflags + sidekick: arithmetic on void pointers is a booboo. + +ChangeSet@1.3720.6.1, 2016-11-29 20:36:05+01:00, perlinger@ntp.org + [Bug 2896] Nothing happens if minsane < maxclock < minclock + - create error log, but stay responsive + + ChangeLog@1.1852.5.1 +4 -0 + [Bug 2896] Nothing happens if minsane < maxclock < minclock + + include/ntpd.h@1.195 +1 -0 + [Bug 2896] Nothing happens if minsane < maxclock < minclock + - list 'sys_maxclock', too, for constraint checks + + ntpd/ntp_config.c@1.341 +73 -15 + [Bug 2896] Nothing happens if minsane < maxclock < minclock + - check minsane/minclock/maxclock relation and drop error log on constraint violation + + ntpd/ntp_parser.c@1.104 +152 -152 + [Bug 2896] Nothing happens if minsane < maxclock < minclock + - sidekick: minclock/maxclock should be int, not float! + + ntpd/ntp_parser.h@1.68 +1 -1 + [Bug 2896] Nothing happens if minsane < maxclock < minclock + - sidekick: minclock/maxclock should be int, not float! + + ntpd/ntp_parser.y@1.94 +4 -4 + [Bug 2896] Nothing happens if minsane < maxclock < minclock + - sidekick: minclock/maxclock should be int, not float! + +ChangeSet@1.3720.5.1, 2016-11-27 21:09:17+01:00, perlinger@ntp.org + [Bug 3216] libntp audio ioctl() args incorrectly cast to int on 4.4BSD-Lite derived platforms + + ChangeLog@1.1852.4.1 +5 -0 + [Bug 3216] libntp audio ioctl() args incorrectly cast to int on 4.4BSD-Lite derived platforms + + libntp/audio.c@1.38 +25 -11 + [Bug 3216] libntp audio ioctl() args incorrectly cast to int on 4.4BSD-Lite derived platforms + - provide platform-dependent typedef for IOCTL request identifier + - remove explicit, unnecessary and potentially harmful casts to 'int' for literal IOCTL requests + - make module-global variables static to keep them out of global namespace + +ChangeSet@1.3720.4.1, 2016-11-27 10:18:17+01:00, perlinger@ntp.org + [Bug 3215] 'make distcheck' fails with newer BK repository format + + ChangeLog@1.1852.3.1 +3 -0 + [Bug 3215] 'make distcheck' fails with newer BK repository format + + sntp/Makefile.am@1.89 +1 -2 + [Bug 3215] 'make distcheck' fails with newer BK repository format + - use 'bk root' in receipe to test for working BK and source being a BK repo in one go + +ChangeSet@1.3720.3.1, 2016-11-26 18:10:01+01:00, perlinger@ntp.org + [Bug 3139] (...) time_pps_create: Exec format error + + ChangeLog@1.1852.2.1 +6 -0 + [Bug 3139] (...) time_pps_create: Exec format error + + ports/winnt/include/timepps.h@1.4 +14 -386 + [Bug 3139] (...) time_pps_create: Exec format error + - move loader API from 'inline' to proper source + + ports/winnt/ntpd/nt_ppsimpl.c@1.1 +550 -0 + [Bug 3139] (...) time_pps_create: Exec format error + - move loader API from 'inline' to proper source + - augment pathless dlls with absolute path to NTPD + - use 'msyslog()' instead of 'printf()' for reporting trouble + + ports/winnt/ntpd/nt_ppsimpl.c@1.0 +0 -0 + + ports/winnt/vs2005/ntpd.vcproj@1.22 +4 -0 + [Bug 3139] (...) time_pps_create: Exec format error + - move loader API from 'inline' to proper source + + ports/winnt/vs2008/ntpd/ntpd.vcproj@1.52 +4 -0 + [Bug 3139] (...) time_pps_create: Exec format error + - move loader API from 'inline' to proper source + + ports/winnt/vs2013/ntpd/ntpd.vcxproj@1.10 +1 -0 + [Bug 3139] (...) time_pps_create: Exec format error + - move loader API from 'inline' to proper source + + ports/winnt/vs2013/ntpd/ntpd.vcxproj.filters@1.7 +3 -0 + [Bug 3139] (...) time_pps_create: Exec format error + - move loader API from 'inline' to proper source + + ports/winnt/vs2015/ntpd/ntpd.vcxproj@1.2 +1 -0 + [Bug 3139] (...) time_pps_create: Exec format error + - move loader API from 'inline' to proper source + + ports/winnt/vs2015/ntpd/ntpd.vcxproj.filters@1.2 +3 -0 + [Bug 3139] (...) time_pps_create: Exec format error + - move loader API from 'inline' to proper source + +ChangeSet@1.3720.2.1, 2016-11-24 07:57:37+01:00, perlinger@ntp.org + [Bug 3173] forking async worker: interrupted pipe I/O + + ChangeLog@1.1852.1.1 +4 -0 + [Bug 3173] forking async worker: interrupted pipe I/O + + libntp/work_fork.c@1.18 +90 -57 + [Bug 3173] forking async worker: interrupted pipe I/O + + ntpd/ntp_proto.c@1.397.1.1 +2 -1 + [Bug 3173] forking async worker: interrupted pipe I/O + - sidekick: minor const/init cleanup + +ChangeSet@1.3720.1.2, 2016-11-23 08:34:52+01:00, perlinger@ntp.org Bug 3144 - NTP does not build without openSSL - fix SNTP to build '--without-crypto',too - remove some warnings that result from '--without-crypto' @@ -404,7 +7524,7 @@ ChangeSet@1.3722, 2016-11-23 08:34:52+01:00, perlinger@ntp.org Bug 3144 - NTP does not build without openSSL - fix SNTP to build '--without-crypto', too -ChangeSet@1.3721, 2016-11-22 22:22:46+01:00, perlinger@ntp.org +ChangeSet@1.3720.1.1, 2016-11-22 22:22:46+01:00, perlinger@ntp.org [Bug 3144] NTP does not build without openSSL ChangeLog@1.1853 +3 -1 @@ -436,6 +7556,13 @@ ChangeSet@1.3721, 2016-11-22 22:22:46+01:00, perlinger@ntp.org [Bug 3144] NTP does not build without openSSL - sidekick: Fix annoying warnings MSVC emits +ChangeSet@1.3688.6.1, 2016-11-22 03:21:05-08:00, harlan@fb-x86-a.pfcs.com + NEWS: + NEWS + + NEWS@1.178, harlan@max.pfcs.com +2 -0 + NEWS + ChangeSet@1.3720, 2016-11-21 08:08:21-05:00, stenn@deacon.udel.edu NTP_4_2_8P9 TAG: NTP_4_2_8P9 @@ -779,7 +7906,7 @@ ChangeSet@1.3719, 2016-11-21 07:07:04-05:00, stenn@deacon.udel.edu ChangeSet@1.3718, 2016-11-21 03:47:58+00:00, stenn@psp-deb1.ntp.org NEWS updates, final p9 testing - NEWS@1.203 +25 -17 + NEWS@1.177.1.26 +25 -17 NEWS updates, final p9 testing packageinfo.sh@1.530 +2 -2 @@ -788,13 +7915,13 @@ ChangeSet@1.3718, 2016-11-21 03:47:58+00:00, stenn@psp-deb1.ntp.org ChangeSet@1.3717, 2016-11-18 10:33:02+00:00, stenn@psp-deb1.ntp.org NEWS update for 3142 - NEWS@1.202 +2 -1 + NEWS@1.177.1.25 +2 -1 NEWS update for 3142 -ChangeSet@1.3686.23.1, 2016-11-18 08:55:13+01:00, perlinger@ntp.org +ChangeSet@1.3686.25.1, 2016-11-18 08:55:13+01:00, perlinger@ntp.org [Bug 3142] bug in netmask prefix length detection - ChangeLog@1.1834.23.1 +3 -0 + ChangeLog@1.1834.25.1 +3 -0 [Bug 3142] bug in netmask prefix length detection lib/isc/netaddr.c@1.15 +0 -1 @@ -803,13 +7930,37 @@ ChangeSet@1.3686.23.1, 2016-11-18 08:55:13+01:00, perlinger@ntp.org ChangeSet@1.3715, 2016-11-16 21:25:49-08:00, harlan@fb-x86-a.pfcs.com NEWS file update - NEWS@1.201 +7 -22 + NEWS@1.177.1.24 +7 -22 NEWS file update +ChangeSet@1.3686.24.1, 2016-11-16 22:14:26+01:00, perlinger@ntp.org + [Bug 2851] allow -4/-6 on restrict line with mask + + ChangeLog@1.1834.24.1 +4 -0 + [Bug 2851] allow -4/-6 on restrict line with mask + + ntpd/ntp_parser.c@1.102.1.1 +248 -248 + [Bug 2851] allow -4/-6 on restrict line with mask + - update bison-generated file + + ntpd/ntp_parser.y@1.92.1.1 +1 -1 + [Bug 2851] allow -4/-6 on restrict line with mask + - applied patch by Miroslav Lichvar for ntp4.2.6 compat + +ChangeSet@1.3686.23.1, 2016-11-15 23:02:51+01:00, perlinger@ntp.org + [Bug 3107] Incorrect Logic for Peer Event Limiting + + ChangeLog@1.1834.23.1 +4 -0 + [Bug 3107] Incorrect Logic for Peer Event Limiting + + ntpd/ntp_control.c@1.209.6.1 +1 -1 + [Bug 3107] Incorrect Logic for Peer Event Limiting + - applied patch by Matthew Van Gundy + ChangeSet@1.3707.1.1, 2016-11-13 21:59:31-08:00, harlan@fb-x86-a.pfcs.com cleanup - NEWS@1.197.1.1 +201 -77 + NEWS@1.177.2.1 +201 -77 cleanup ChangeSet@1.3713, 2016-11-13 21:56:18-08:00, harlan@hms-mbp11.pfcs.com @@ -821,19 +7972,19 @@ ChangeSet@1.3713, 2016-11-13 21:56:18-08:00, harlan@hms-mbp11.pfcs.com ChangeSet@1.3712, 2016-11-13 02:43:02+00:00, stenn@psp-deb1.ntp.org NEWS updates - NEWS@1.199 +17 -0 + NEWS@1.177.1.22 +17 -0 NEWS updates ChangeSet@1.3710, 2016-11-13 02:30:31+00:00, stenn@psp-deb1.ntp.org NEWS cleanup - NEWS@1.198 +2 -0 + NEWS@1.177.1.21 +2 -0 NEWS cleanup ChangeSet@1.3707, 2016-11-12 17:36:54-08:00, harlan@fb-x86-a.pfcs.com NEWS cleanup - NEWS@1.197 +41 -6 + NEWS@1.177.1.20 +41 -6 NEWS cleanup ChangeSet@1.3706, 2016-11-12 16:55:59-08:00, harlan@fb-x86-a.pfcs.com @@ -842,7 +7993,7 @@ ChangeSet@1.3706, 2016-11-12 16:55:59-08:00, harlan@fb-x86-a.pfcs.com ChangeLog@1.1846.1.2 +1 -0 [Bug 3067] Root distance calculation needs improvement. HStenn - NEWS@1.196 +1 -0 + NEWS@1.177.1.19 +1 -0 [Bug 3067] Root distance calculation needs improvement. HStenn ntpd/ntp_proto.c@1.396 +16 -11 @@ -854,7 +8005,7 @@ ChangeSet@1.3705, 2016-11-12 15:57:34-08:00, harlan@fb-x86-a.pfcs.com ChangeLog@1.1846.1.1 +1 -0 [Bug 3138] gpsdjson refclock should honor fudgetime1. stenn@ntp.org - NEWS@1.195 +1 -0 + NEWS@1.177.1.18 +1 -0 [Bug 3138] gpsdjson refclock should honor fudgetime1. stenn@ntp.org ntpd/refclock_gpsdjson.c@1.25 +1 -1 @@ -963,7 +8114,7 @@ ChangeSet@1.3698.2.1, 2016-11-03 17:02:24-07:00, harlan@max.pfcs.com ChangeSet@1.3699.1.2, 2016-10-31 10:56:33+00:00, stenn@psp-deb1.ntp.org Add bug 3125 to the NEWS file - NEWS@1.194 +2 -0 + NEWS@1.177.1.17 +2 -0 Add bug 3125 to the NEWS file ChangeSet@1.3701, 2016-10-24 07:37:25+02:00, perlinger@ntp.org @@ -1511,19 +8662,19 @@ ChangeSet@1.3688.3.2, 2016-10-02 09:01:53+02:00, perlinger@ntp.org ChangeSet@1.3698, 2016-10-01 10:52:11+00:00, stenn@psp-deb1.ntp.org Update NEWS for 3119 - NEWS@1.193 +17 -0 + NEWS@1.177.1.16 +17 -0 Update NEWS for 3119 ChangeSet@1.3696, 2016-10-01 10:43:24+00:00, stenn@psp-deb1.ntp.org Update NEWS for 3118 - NEWS@1.192 +17 -0 + NEWS@1.177.1.15 +17 -0 Update NEWS for 3118 ChangeSet@1.3694, 2016-10-01 10:29:06+00:00, stenn@psp-deb1.ntp.org Update NEWS for 3110 - NEWS@1.191 +17 -0 + NEWS@1.177.1.14 +17 -0 Update NEWS for 3110 ChangeSet@1.3688.3.1, 2016-10-01 11:36:55+02:00, perlinger@ntp.org @@ -1557,13 +8708,13 @@ ChangeSet@1.3688.3.1, 2016-10-01 11:36:55+02:00, perlinger@ntp.org ChangeSet@1.3691, 2016-10-01 09:18:25+00:00, stenn@psp-deb1.ntp.org Update NEWS for 3082 - NEWS@1.190 +17 -0 + NEWS@1.177.1.13 +17 -0 Update NEWS for 3082 ChangeSet@1.3688.1.33, 2016-10-01 08:32:28+00:00, stenn@psp-deb1.ntp.org [Bug 3072] tweaks - NEWS@1.189 +16 -1 + NEWS@1.177.1.12 +16 -1 [Bug 3072] tweaks ntpd/ntp_peer.c@1.160 +6 -1 @@ -1588,7 +8739,7 @@ ChangeSet@1.3688.1.31, 2016-09-29 20:53:30+00:00, perlinger@ntp.org ChangeSet@1.3688.1.30, 2016-09-29 12:03:17+00:00, stenn@psp-deb1.ntp.org NEWS update - NEWS@1.188 +2 -0 + NEWS@1.177.1.11 +2 -0 NEWS update ChangeSet@1.3688.2.1, 2016-09-29 11:59:03+00:00, stenn@psp-deb1.ntp.org @@ -1597,7 +8748,7 @@ ChangeSet@1.3688.2.1, 2016-09-29 11:59:03+00:00, stenn@psp-deb1.ntp.org ChangeLog@1.1836.2.1, stenn@stenn.ntp.org +1 -0 Shim X509_get_signature_nid() if needed - NEWS@1.187, stenn@stenn.ntp.org +1 -0 + NEWS@1.177.1.10, stenn@stenn.ntp.org +1 -0 Shim X509_get_signature_nid() if needed libntp/ssl_init.c@1.17.1.3 +1 -1 @@ -1609,13 +8760,13 @@ ChangeSet@1.3688.2.1, 2016-09-29 11:59:03+00:00, stenn@psp-deb1.ntp.org ChangeSet@1.3688.1.27, 2016-09-28 11:28:56+00:00, stenn@psp-deb1.ntp.org NEWS - NEWS@1.186 +1 -0 + NEWS@1.177.1.9 +1 -0 NEWS ChangeSet@1.3688.1.25, 2016-09-28 11:24:36+00:00, stenn@psp-deb1.ntp.org NEWS - NEWS@1.185 +2 -0 + NEWS@1.177.1.8 +2 -0 NEWS ChangeSet@1.3688.1.23, 2016-09-28 11:17:22+00:00, stenn@psp-deb1.ntp.org @@ -1624,25 +8775,25 @@ ChangeSet@1.3688.1.23, 2016-09-28 11:17:22+00:00, stenn@psp-deb1.ntp.org ChangeLog@1.1836.1.19 +2 -2 Updated ChangeLog and NEWS - NEWS@1.184 +2 -0 + NEWS@1.177.1.7 +2 -0 Updated ChangeLog and NEWS ChangeSet@1.3688.1.21, 2016-09-28 11:12:28+00:00, stenn@psp-deb1.ntp.org NEWS - NEWS@1.183 +2 -0 + NEWS@1.177.1.6 +2 -0 NEWS ChangeSet@1.3688.1.19, 2016-09-28 11:01:29+00:00, stenn@psp-deb1.ntp.org NEWS - NEWS@1.182 +3 -0 + NEWS@1.177.1.5 +3 -0 NEWS ChangeSet@1.3688.1.17, 2016-09-28 10:54:12+00:00, stenn@psp-deb1.ntp.org Update ChangeLog and NEWS - NEWS@1.181 +3 -0 + NEWS@1.177.1.4 +3 -0 Update ChangeLog and NEWS ChangeSet@1.3688.1.15, 2016-09-28 10:45:21+00:00, stenn@psp-deb1.ntp.org @@ -1651,13 +8802,13 @@ ChangeSet@1.3688.1.15, 2016-09-28 10:45:21+00:00, stenn@psp-deb1.ntp.org ChangeLog@1.1836.1.14 +2 -2 Update ChangeLog and NEWS - NEWS@1.180 +2 -0 + NEWS@1.177.1.3 +2 -0 Update ChangeLog and NEWS ChangeSet@1.3688.1.13, 2016-09-28 10:37:17+00:00, stenn@psp-deb1.ntp.org NEWS updates - NEWS@1.179 +4 -0 + NEWS@1.177.1.2 +4 -0 NEWS updates ChangeSet@1.3688.1.11, 2016-09-28 10:25:01+00:00, stenn@psp-deb1.ntp.org @@ -1666,7 +8817,7 @@ ChangeSet@1.3688.1.11, 2016-09-28 10:25:01+00:00, stenn@psp-deb1.ntp.org ChangeLog@1.1836.1.11 +1 -1 Update ChangeLog and NEWS - NEWS@1.178 +1 -0 + NEWS@1.177.1.1 +1 -0 Update ChangeLog and NEWS ChangeSet@1.3688.1.8, 2016-09-28 08:17:16+00:00, stenn@psp-deb1.ntp.org @@ -146956,9 +154107,6 @@ ChangeSet@1.1436.15.74, 2009-12-08 08:23:12-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.26.2 +1 -1 NTP_4_2_4P8 - sntp/sntp.1@1.49.26.2 +2 -2 - NTP_4_2_4P8 - util/ntp-keygen-opts.c@1.49.26.2 +2 -2 NTP_4_2_4P8 @@ -147038,9 +154186,6 @@ ChangeSet@1.1436.15.73, 2009-12-08 07:45:28-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.26.1 +54 -2 NTP_4_2_4P9_RC1 - sntp/sntp.1@1.49.26.1 +2 -2 - NTP_4_2_4P9_RC1 - util/ntp-keygen-opts.c@1.49.26.1 +5 -5 NTP_4_2_4P9_RC1 @@ -163972,9 +171117,6 @@ ChangeSet@1.1436.15.70, 2009-05-18 05:04:41-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.25.1 +1 -1 NTP_4_2_4P7 - sntp/sntp.1@1.49.25.1 +2 -2 - NTP_4_2_4P7 - util/ntp-keygen-opts.c@1.49.25.1 +4 -4 NTP_4_2_4P7 @@ -164340,9 +171482,6 @@ ChangeSet@1.1436.15.64, 2009-05-12 02:41:56-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.24.1 +1 -1 NTP_4_2_4P7_RC7 - sntp/sntp.1@1.49.24.1 +3 -3 - NTP_4_2_4P7_RC7 - util/ntp-keygen-opts.c@1.49.24.1 +3 -3 NTP_4_2_4P7_RC7 @@ -164816,9 +171955,6 @@ ChangeSet@1.1436.15.58, 2009-05-08 04:42:52-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.23.1 +1 -1 NTP_4_2_4P7_RC6 - sntp/sntp.1@1.49.23.1 +2 -2 - NTP_4_2_4P7_RC6 - util/ntp-keygen-opts.c@1.49.23.1 +2 -2 NTP_4_2_4P7_RC6 @@ -165532,9 +172668,6 @@ ChangeSet@1.1436.15.50, 2009-05-02 02:38:49-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.22.1 +1 -1 NTP_4_2_4P7_RC5 - sntp/sntp.1@1.49.22.1 +2 -2 - NTP_4_2_4P7_RC5 - util/ntp-keygen-opts.c@1.49.22.1 +2 -2 NTP_4_2_4P7_RC5 @@ -165932,9 +173065,6 @@ ChangeSet@1.1436.15.48, 2009-04-29 04:03:41-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.21.1 +1 -1 NTP_4_2_4P7_RC4 - sntp/sntp.1@1.49.21.1 +2 -2 - NTP_4_2_4P7_RC4 - util/ntp-keygen-opts.c@1.49.21.1 +2 -2 NTP_4_2_4P7_RC4 @@ -166945,9 +174075,6 @@ ChangeSet@1.1436.15.44, 2009-04-22 08:18:29-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.20.1 +1 -1 NTP_4_2_4P7_RC3 - sntp/sntp.1@1.49.20.1 +2 -2 - NTP_4_2_4P7_RC3 - util/ntp-keygen-opts.c@1.49.20.1 +2 -2 NTP_4_2_4P7_RC3 @@ -167569,9 +174696,6 @@ ChangeSet@1.1436.15.30, 2009-04-09 07:44:06-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.19.1 +1 -1 NTP_4_2_4P7_RC2 - sntp/sntp.1@1.49.19.1 +2 -2 - NTP_4_2_4P7_RC2 - util/ntp-keygen-opts.c@1.49.19.1 +2 -2 NTP_4_2_4P7_RC2 @@ -168111,9 +175235,6 @@ ChangeSet@1.1436.15.26, 2009-03-30 06:47:41-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.18.1 +1 -1 NTP_4_2_4P7_RC1 - sntp/sntp.1@1.49.18.1 +2 -2 - NTP_4_2_4P7_RC1 - util/ntp-keygen-opts.c@1.49.18.1 +2 -2 NTP_4_2_4P7_RC1 @@ -169448,9 +176569,6 @@ ChangeSet@1.1436.15.12, 2009-01-08 06:21:48-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.17.2 +1 -1 NTP_4_2_4P6 - sntp/sntp.1@1.49.17.2 +2 -2 - NTP_4_2_4P6 - util/ntp-keygen-opts.c@1.49.17.2 +2 -2 NTP_4_2_4P6 @@ -169530,9 +176648,6 @@ ChangeSet@1.1436.15.11, 2009-01-08 04:49:23-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.17.1 +1 -1 NTP_4_2_4P5 - sntp/sntp.1@1.49.17.1 +2 -2 - NTP_4_2_4P5 - util/ntp-keygen-opts.c@1.49.17.1 +1 -1 NTP_4_2_4P5 @@ -172785,9 +179900,6 @@ ChangeSet@1.1735.4.1, 2008-08-30 22:09:29-04:00, stenn@whimsy.udel.edu ChangeSet@1.1759, 2008-08-22 21:27:59-04:00, stenn@pogo.udel.edu remove bogus .o file - BitKeeper/deleted/.del-utilities.o@1.2 +0 -0 - Delete: gsoc_sntp/utilities.o - ChangeSet@1.1735.1.29, 2008-08-21 05:05:19+00:00, gopal@pogo.udel.edu driver20.html: [BUG 610] Documentation update for NMEA reference clock driver. @@ -173066,9 +180178,6 @@ ChangeSet@1.1436.15.4, 2008-08-17 05:30:47-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.16.1 +1 -1 NTP_4_2_4P5 - sntp/sntp.1@1.49.16.1 +2 -2 - NTP_4_2_4P5 - util/ntp-keygen-opts.c@1.49.16.1 +2 -2 NTP_4_2_4P5 @@ -173190,11 +180299,6 @@ ChangeSet@1.1755, 2008-08-16 06:41:28+09:00, Amidamaru@yumi.mxiesoft.com gsoc_sntp/utilities.h@1.0 +0 -0 - gsoc_sntp/utilities.o@1.1 +177 -0 - BitKeeper file /geom_mobile/home/Amidamaru/projects/sntp/repo/ntp-dev/gsoc_sntp/utilities.o - - gsoc_sntp/utilities.o@1.0 +0 -0 - ChangeSet@1.1436.1.105, 2008-08-10 21:56:17-04:00, clemens@pogo.udel.edu BUG[1052] Minor reordering of previous patch to make it more robust. @@ -173352,9 +180456,6 @@ ChangeSet@1.1436.1.101, 2008-08-10 07:44:31-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.15.1 +2 -3 NTP_4_2_4P5_RC2 - sntp/sntp.1@1.49.15.1 +3 -3 - NTP_4_2_4P5_RC2 - util/ntp-keygen-opts.c@1.49.15.1 +2 -2 NTP_4_2_4P5_RC2 @@ -174815,9 +181916,6 @@ ChangeSet@1.1436.1.95, 2008-05-20 03:51:01-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.14.1 +1 -1 NTP_4_2_4P5_RC1 - sntp/sntp.1@1.49.14.1 +2 -2 - NTP_4_2_4P5_RC1 - util/ntp-keygen-opts.c@1.49.14.1 +6 -7 NTP_4_2_4P5_RC1 @@ -180076,9 +187174,6 @@ ChangeSet@1.1436.1.84, 2007-09-10 20:40:19-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.13.1 +1 -1 NTP_4_2_4P4 - sntp/sntp.1@1.49.13.1 +2 -2 - NTP_4_2_4P4 - util/ntp-keygen-opts.c@1.49.13.1 +2 -2 NTP_4_2_4P4 @@ -180385,9 +187480,6 @@ ChangeSet@1.1436.1.81, 2007-08-28 15:34:55-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.12.1 +1 -1 NTP_4_2_4P4_RC2 - sntp/sntp.1@1.49.12.1 +2 -2 - NTP_4_2_4P4_RC2 - util/ntp-keygen-opts.c@1.49.12.1 +4 -4 NTP_4_2_4P4_RC2 @@ -180775,9 +187867,6 @@ ChangeSet@1.1436.1.78, 2007-08-18 17:11:19-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.11.1 +1 -1 NTP_4_2_4P4_RC1 - sntp/sntp.1@1.49.11.1 +2 -2 - NTP_4_2_4P4_RC1 - util/ntp-keygen-opts.c@1.49.11.1 +2 -2 NTP_4_2_4P4_RC1 @@ -182125,9 +189214,6 @@ ChangeSet@1.1436.1.66, 2007-06-29 15:46:00-04:00, stenn@deacon.udel.edu sntp/sntp-opts.texi@1.46.10.1 +1 -1 NTP_4_2_4P3 - sntp/sntp.1@1.49.10.1 +2 -2 - NTP_4_2_4P3 - util/ntp-keygen-opts.c@1.49.10.1 +2 -2 NTP_4_2_4P3 @@ -182377,9 +189463,6 @@ ChangeSet@1.1436.1.63, 2007-06-27 07:46:44-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.9.1 +1 -1 NTP_4_2_4P3_RC1 - sntp/sntp.1@1.49.9.1 +2 -2 - NTP_4_2_4P3_RC1 - util/ntp-keygen-opts.c@1.49.9.1 +2 -2 NTP_4_2_4P3_RC1 @@ -182875,9 +189958,6 @@ ChangeSet@1.1436.1.59, 2007-06-20 07:45:57-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.8.1 +1 -1 NTP_4_2_4P2 - sntp/sntp.1@1.49.8.1 +2 -2 - NTP_4_2_4P2 - util/ntp-keygen-opts.c@1.49.8.1 +2 -2 NTP_4_2_4P2 @@ -183525,9 +190605,6 @@ ChangeSet@1.1436.1.57, 2007-06-10 07:58:59-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.7.1 +1 -1 NTP_4_2_4P2_RC6 - sntp/sntp.1@1.49.7.1 +2 -2 - NTP_4_2_4P2_RC6 - util/ntp-keygen-opts.c@1.49.7.1 +2 -2 NTP_4_2_4P2_RC6 @@ -184282,9 +191359,6 @@ ChangeSet@1.1436.1.54, 2007-05-29 07:43:58-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.6.1 +1 -1 NTP_4_2_4P2_RC5 - sntp/sntp.1@1.49.6.1 +2 -2 - NTP_4_2_4P2_RC5 - util/ntp-keygen-opts.c@1.49.6.1 +2 -2 NTP_4_2_4P2_RC5 @@ -184542,9 +191616,6 @@ ChangeSet@1.1436.1.51, 2007-05-27 07:45:05-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.5.1 +1 -1 NTP_4_2_4P2_RC4 - sntp/sntp.1@1.49.5.1 +2 -2 - NTP_4_2_4P2_RC4 - util/ntp-keygen-opts.c@1.49.5.1 +2 -2 NTP_4_2_4P2_RC4 @@ -184755,9 +191826,6 @@ ChangeSet@1.1436.3.9, 2007-05-25 07:44:43-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.4.1 +1 -1 NTP_4_2_4P2_RC3 - sntp/sntp.1@1.49.4.1 +2 -2 - NTP_4_2_4P2_RC3 - util/ntp-keygen-opts.c@1.49.4.1 +2 -2 NTP_4_2_4P2_RC3 @@ -185084,9 +192152,6 @@ ChangeSet@1.1436.3.3, 2007-05-19 07:53:57-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.3.2 +1 -1 NTP_4_2_4P2_RC2 - sntp/sntp.1@1.49.3.2 +2 -2 - NTP_4_2_4P2_RC2 - util/ntp-keygen-opts.c@1.49.3.2 +4 -4 NTP_4_2_4P2_RC2 @@ -185830,9 +192895,6 @@ ChangeSet@1.1436.3.2, 2007-05-19 02:33:04-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.3.1 +1 -1 We need to use the upgraded autogen/libopts in -stable too. - sntp/sntp.1@1.49.3.1 +2 -2 - We need to use the upgraded autogen/libopts in -stable too. - util/ntp-keygen-opts.c@1.49.3.1 +23 -14 We need to use the upgraded autogen/libopts in -stable too. @@ -187887,9 +194949,6 @@ ChangeSet@1.1436.1.44, 2007-04-14 19:05:07-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.2.2 +1 -1 NTP_4_2_4P2_RC1 - sntp/sntp.1@1.49.2.2 +2 -2 - NTP_4_2_4P2_RC1 - util/ntp-keygen-opts.c@1.49.2.3 +2 -2 NTP_4_2_4P2_RC1 @@ -187975,9 +195034,6 @@ ChangeSet@1.1436.1.42, 2007-04-14 07:53:43-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.2.1 +1 -1 NTP_4_2_4P1_RC1 - sntp/sntp.1@1.49.2.1 +2 -2 - NTP_4_2_4P1_RC1 - util/ntp-keygen-opts.c@1.49.2.2 +2 -2 NTP_4_2_4P1_RC1 @@ -190138,9 +197194,6 @@ ChangeSet@1.1436.1.36, 2007-03-07 06:46:09-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.1.6 +1 -1 NTP_4_2_4P0 - sntp/sntp.1@1.49.1.6 +2 -2 - NTP_4_2_4P0 - util/ntp-keygen-opts.c@1.49.1.6 +2 -2 NTP_4_2_4P0 @@ -190310,9 +197363,6 @@ ChangeSet@1.1440.1.60, 2007-03-03 22:41:27-05:00, stenn@whimsy.udel.edu BitKeeper/deleted/.del-sntp-opts.texi@1.68 +0 -0 Delete: sntp/sntp-opts.texi - BitKeeper/deleted/.del-sntp.1@1.71 +0 -0 - Delete: sntp/sntp.1 - ntpd/ntpd-opts.c@1.1 +1055 -0 BitKeeper file /deacon/backroom/ntp-dev/ntpd/ntpd-opts.c @@ -190506,9 +197556,6 @@ ChangeSet@1.1440.1.58, 2007-03-03 06:43:50-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.66 +1 -1 NTP_4_2_5P15 - sntp/sntp.1@1.69 +2 -2 - NTP_4_2_5P15 - util/ntp-keygen-opts.c@1.69 +2 -2 NTP_4_2_5P15 @@ -190598,9 +197645,6 @@ ChangeSet@1.1440.1.55, 2007-02-26 06:42:31-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.65 +1 -1 NTP_4_2_5P14 - sntp/sntp.1@1.68 +2 -2 - NTP_4_2_5P14 - util/ntp-keygen-opts.c@1.68 +2 -2 NTP_4_2_5P14 @@ -190694,9 +197738,6 @@ ChangeSet@1.1440.1.52, 2007-02-25 06:42:44-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.64 +1 -1 NTP_4_2_5P13 - sntp/sntp.1@1.67 +2 -2 - NTP_4_2_5P13 - util/ntp-keygen-opts.c@1.67 +2 -2 NTP_4_2_5P13 @@ -190789,9 +197830,6 @@ ChangeSet@1.1440.1.50, 2007-02-24 08:33:25-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.63 +1 -1 NTP_4_2_5P12 - sntp/sntp.1@1.66 +2 -2 - NTP_4_2_5P12 - util/ntp-keygen-opts.c@1.66 +2 -2 NTP_4_2_5P12 @@ -190868,9 +197906,6 @@ ChangeSet@1.1436.1.33, 2007-02-24 06:42:26-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.1.5 +1 -1 NTP_4_2_4P0_RC5 - sntp/sntp.1@1.49.1.5 +2 -2 - NTP_4_2_4P0_RC5 - util/ntp-keygen-opts.c@1.49.1.5 +2 -2 NTP_4_2_4P0_RC5 @@ -190959,9 +197994,6 @@ ChangeSet@1.1440.1.47, 2007-02-23 06:42:48-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.62 +1 -1 NTP_4_2_5P11 - sntp/sntp.1@1.65 +2 -2 - NTP_4_2_5P11 - util/ntp-keygen-opts.c@1.65 +2 -2 NTP_4_2_5P11 @@ -191053,9 +198085,6 @@ ChangeSet@1.1440.1.44, 2007-02-22 06:46:29-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.61 +1 -1 NTP_4_2_5P10 - sntp/sntp.1@1.64 +2 -2 - NTP_4_2_5P10 - util/ntp-keygen-opts.c@1.64 +2 -2 NTP_4_2_5P10 @@ -191138,9 +198167,6 @@ ChangeSet@1.1440.1.42, 2007-02-19 08:43:35-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.59 +1 -1 NTP_4_2_5P9 - sntp/sntp.1@1.62 +2 -2 - NTP_4_2_5P9 - util/ntp-keygen-opts.c@1.62 +2 -2 NTP_4_2_5P9 @@ -191217,9 +198243,6 @@ ChangeSet@1.1436.1.30, 2007-02-19 06:46:30-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.1.4 +1 -1 NTP_4_2_4P0_RC4 - sntp/sntp.1@1.49.1.4 +2 -2 - NTP_4_2_4P0_RC4 - util/ntp-keygen-opts.c@1.49.1.4 +2 -2 NTP_4_2_4P0_RC4 @@ -191329,9 +198352,6 @@ ChangeSet@1.1440.1.39, 2007-02-17 06:42:34-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.57 +1 -1 NTP_4_2_5P8 - sntp/sntp.1@1.60 +2 -2 - NTP_4_2_5P8 - util/ntp-keygen-opts.c@1.60 +2 -2 NTP_4_2_5P8 @@ -191417,9 +198437,6 @@ ChangeSet@1.1440.1.37, 2007-02-16 06:42:39-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.56 +1 -1 NTP_4_2_5P7 - sntp/sntp.1@1.59 +2 -2 - NTP_4_2_5P7 - util/ntp-keygen-opts.c@1.59 +2 -2 NTP_4_2_5P7 @@ -191520,9 +198537,6 @@ ChangeSet@1.1440.1.34, 2007-02-05 08:45:44-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.55 +1 -1 NTP_4_2_5P6 - sntp/sntp.1@1.58 +2 -2 - NTP_4_2_5P6 - util/ntp-keygen-opts.c@1.58 +2 -2 NTP_4_2_5P6 @@ -191599,9 +198613,6 @@ ChangeSet@1.1436.1.27, 2007-02-05 06:47:44-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.1.3 +1 -1 NTP_4_2_4_RC3 - sntp/sntp.1@1.49.1.3 +2 -2 - NTP_4_2_4_RC3 - util/ntp-keygen-opts.c@1.49.1.3 +2 -2 NTP_4_2_4_RC3 @@ -191747,9 +198758,6 @@ ChangeSet@1.1440.1.29, 2007-01-31 06:42:22-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.53 +1 -1 NTP_4_2_5P5 - sntp/sntp.1@1.56 +2 -2 - NTP_4_2_5P5 - util/ntp-keygen-opts.c@1.56 +2 -2 NTP_4_2_5P5 @@ -191832,9 +198840,6 @@ ChangeSet@1.1440.1.27, 2007-01-30 08:41:43-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.52 +1 -1 NTP_4_2_5P4 - sntp/sntp.1@1.55 +2 -2 - NTP_4_2_5P4 - util/ntp-keygen-opts.c@1.55 +2 -2 NTP_4_2_5P4 @@ -191911,9 +198916,6 @@ ChangeSet@1.1436.1.20, 2007-01-30 06:44:11-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.1.2 +1 -1 NTP_4_2_4_RC2 - sntp/sntp.1@1.49.1.2 +2 -2 - NTP_4_2_4_RC2 - util/ntp-keygen-opts.c@1.49.1.2 +2 -2 NTP_4_2_4_RC2 @@ -192059,9 +199061,6 @@ ChangeSet@1.1440.1.21, 2007-01-25 18:30:28-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.51 +1 -1 NTP_4_2_5P3 - sntp/sntp.1@1.54 +2 -2 - NTP_4_2_5P3 - util/ntp-keygen-opts.c@1.54 +2 -2 NTP_4_2_5P3 @@ -192144,9 +199143,6 @@ ChangeSet@1.1436.1.14, 2007-01-23 04:47:08-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46.1.1 +1 -1 NTP_4_2_4_RC1 - sntp/sntp.1@1.49.1.1 +2 -2 - NTP_4_2_4_RC1 - util/ntp-keygen-opts.c@1.49.1.1 +2 -2 NTP_4_2_4_RC1 @@ -192376,9 +199372,6 @@ ChangeSet@1.1440.1.13, 2007-01-08 06:01:47-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.49 +1 -1 NTP_4_2_5P2 - sntp/sntp.1@1.52 +2 -2 - NTP_4_2_5P2 - util/ntp-keygen-opts.c@1.52 +2 -2 NTP_4_2_5P2 @@ -192496,9 +199489,6 @@ ChangeSet@1.1440.1.10, 2007-01-06 05:35:24-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.48 +1 -1 NTP_4_2_5P1 - sntp/sntp.1@1.51 +2 -2 - NTP_4_2_5P1 - util/ntp-keygen-opts.c@1.51 +2 -2 NTP_4_2_5P1 @@ -193130,9 +200120,6 @@ ChangeSet@1.1440, 2006-12-29 06:43:02-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.45.1.2 +1 -1 NTP_4_2_5P0 - sntp/sntp.1@1.48.1.2 +2 -2 - NTP_4_2_5P0 - util/ntp-keygen-opts.c@1.48.1.2 +2 -2 NTP_4_2_5P0 @@ -193242,9 +200229,6 @@ ChangeSet@1.1438, 2006-12-28 21:29:25-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.45.1.1 +1 -1 NTP_4_2_5 - sntp/sntp.1@1.48.1.1 +2 -2 - NTP_4_2_5 - util/ntp-keygen-opts.c@1.48.1.1 +2 -2 NTP_4_2_5 @@ -193321,9 +200305,6 @@ ChangeSet@1.1436.1.1, 2006-12-28 19:21:25-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.46 +1 -1 NTP_4_2_4 - sntp/sntp.1@1.49 +2 -2 - NTP_4_2_4 - util/ntp-keygen-opts.c@1.49 +2 -2 NTP_4_2_4 @@ -193502,9 +200483,6 @@ ChangeSet@1.1426, 2006-11-25 06:41:49-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.45 +1 -1 NTP_4_2_3P70_RC - sntp/sntp.1@1.48 +2 -2 - NTP_4_2_3P70_RC - util/ntp-keygen-opts.c@1.48 +2 -2 NTP_4_2_3P70_RC @@ -193590,9 +200568,6 @@ ChangeSet@1.1424, 2006-11-24 06:42:33-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.44 +9 -1 NTP_4_2_3P69_RC - sntp/sntp.1@1.47 +8 -64 - NTP_4_2_3P69_RC - util/ntp-keygen-opts.c@1.47 +2 -2 NTP_4_2_3P69_RC @@ -193684,9 +200659,6 @@ ChangeSet@1.1422, 2006-11-22 06:42:29-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.43 +1 -1 NTP_4_2_3P68_RC - sntp/sntp.1@1.46 +2 -2 - NTP_4_2_3P68_RC - util/ntp-keygen-opts.c@1.46 +2 -2 NTP_4_2_3P68_RC @@ -193781,9 +200753,6 @@ ChangeSet@1.1419, 2006-11-21 06:42:26-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.42 +1 -1 NTP_4_2_3P67_RC - sntp/sntp.1@1.45 +2 -2 - NTP_4_2_3P67_RC - util/ntp-keygen-opts.c@1.45 +2 -2 NTP_4_2_3P67_RC @@ -193881,9 +200850,6 @@ ChangeSet@1.1415, 2006-11-19 06:45:35-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.41 +1 -1 NTP_4_2_3P66_RC - sntp/sntp.1@1.44 +2 -2 - NTP_4_2_3P66_RC - util/ntp-keygen-opts.c@1.44 +2 -2 NTP_4_2_3P66_RC @@ -193978,9 +200944,6 @@ ChangeSet@1.1412, 2006-11-10 06:41:45-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.40 +1 -1 NTP_4_2_3P65_RC - sntp/sntp.1@1.43 +2 -2 - NTP_4_2_3P65_RC - util/ntp-keygen-opts.c@1.43 +2 -2 NTP_4_2_3P65_RC @@ -194069,9 +201032,6 @@ ChangeSet@1.1409, 2006-11-09 06:42:28-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.39 +1 -1 NTP_4_2_3P64_RC - sntp/sntp.1@1.42 +2 -2 - NTP_4_2_3P64_RC - util/ntp-keygen-opts.c@1.42 +2 -2 NTP_4_2_3P64_RC @@ -194164,9 +201124,6 @@ ChangeSet@1.1406, 2006-11-06 06:47:05-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.38 +1 -1 NTP_4_2_3P63_RC - sntp/sntp.1@1.41 +2 -2 - NTP_4_2_3P63_RC - util/ntp-keygen-opts.c@1.41 +2 -2 NTP_4_2_3P63_RC @@ -194276,9 +201233,6 @@ ChangeSet@1.1400, 2006-11-01 06:45:21-05:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.37 +1 -1 NTP_4_2_3P62_RC - sntp/sntp.1@1.40 +2 -2 - NTP_4_2_3P62_RC - util/ntp-keygen-opts.c@1.40 +2 -2 NTP_4_2_3P62_RC @@ -194370,9 +201324,6 @@ ChangeSet@1.1397, 2006-10-23 07:48:24-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.36 +1 -1 NTP_4_2_3P61_RC - sntp/sntp.1@1.39 +2 -2 - NTP_4_2_3P61_RC - util/ntp-keygen-opts.c@1.39 +2 -2 NTP_4_2_3P61_RC @@ -194458,9 +201409,6 @@ ChangeSet@1.1379.12.3, 2006-10-20 07:45:30-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.35 +1 -1 NTP_4_2_3P60_RC - sntp/sntp.1@1.38 +2 -2 - NTP_4_2_3P60_RC - util/ntp-keygen-opts.c@1.38 +2 -2 NTP_4_2_3P60_RC @@ -194556,9 +201504,6 @@ ChangeSet@1.1379.1.52, 2006-10-15 07:42:15-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.34 +1 -1 NTP_4_2_3P59 - sntp/sntp.1@1.37 +2 -2 - NTP_4_2_3P59 - util/ntp-keygen-opts.c@1.37 +2 -2 NTP_4_2_3P59 @@ -194661,9 +201606,6 @@ ChangeSet@1.1379.1.50, 2006-10-14 07:41:41-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.33 +1 -1 NTP_4_2_3P58 - sntp/sntp.1@1.36 +2 -2 - NTP_4_2_3P58 - util/ntp-keygen-opts.c@1.36 +2 -2 NTP_4_2_3P58 @@ -194763,9 +201705,6 @@ ChangeSet@1.1379.1.48, 2006-10-13 07:48:30-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.32 +1 -1 NTP_4_2_3P57 - sntp/sntp.1@1.35 +2 -2 - NTP_4_2_3P57 - util/ntp-keygen-opts.c@1.35 +4 -4 NTP_4_2_3P57 @@ -195163,9 +202102,6 @@ ChangeSet@1.1379.1.42, 2006-10-12 07:40:55-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.31 +1 -1 NTP_4_2_3P56 - sntp/sntp.1@1.34 +2 -2 - NTP_4_2_3P56 - util/ntp-keygen-opts.c@1.32 +2 -2 NTP_4_2_3P56 @@ -195260,9 +202196,6 @@ ChangeSet@1.1379.1.39, 2006-10-11 07:44:18-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.30 +1 -1 NTP_4_2_3P55 - sntp/sntp.1@1.33 +2 -2 - NTP_4_2_3P55 - util/ntp-keygen-opts.c@1.31 +2 -2 NTP_4_2_3P55 @@ -195357,9 +202290,6 @@ ChangeSet@1.1379.1.36, 2006-10-10 07:46:00-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.29 +1 -1 NTP_4_2_3P54 - sntp/sntp.1@1.32 +2 -2 - NTP_4_2_3P54 - util/ntp-keygen-opts.c@1.30 +2 -2 NTP_4_2_3P54 @@ -195454,9 +202384,6 @@ ChangeSet@1.1379.1.33, 2006-10-09 07:41:25-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.28 +1 -1 NTP_4_2_3P53 - sntp/sntp.1@1.31 +2 -2 - NTP_4_2_3P53 - util/ntp-keygen-opts.c@1.29 +2 -2 NTP_4_2_3P53 @@ -195542,9 +202469,6 @@ ChangeSet@1.1379.1.31, 2006-10-08 19:39:10-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.27 +1 -1 NTP_4_2_3P52 - sntp/sntp.1@1.30 +2 -2 - NTP_4_2_3P52 - util/ntp-keygen-opts.c@1.28 +4 -4 NTP_4_2_3P52 @@ -195825,9 +202749,6 @@ ChangeSet@1.1379.1.25, 2006-09-26 16:16:30-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.26 +1 -1 autogen update - sntp/sntp.1@1.29 +1 -1 - autogen update - util/ntp-keygen-opts.c@1.26 +3 -3 autogen update @@ -195904,9 +202825,6 @@ ChangeSet@1.1379.1.24, 2006-09-25 07:49:15-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.25 +1 -1 NTP_4_2_3P51 - sntp/sntp.1@1.28 +2 -2 - NTP_4_2_3P51 - util/ntp-keygen-opts.c@1.25 +4 -4 NTP_4_2_3P51 @@ -196186,9 +203104,6 @@ ChangeSet@1.1379.1.23, 2006-09-25 01:53:46-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.24 +1 -1 autogen upgrade - sntp/sntp.1@1.27 +2 -2 - autogen upgrade - util/ntp-keygen-opts.c@1.24 +3 -2 autogen upgrade @@ -196265,9 +203180,6 @@ ChangeSet@1.1379.1.22, 2006-09-24 05:30:52-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.23 +1 -1 NTP_4_2_3P50 - sntp/sntp.1@1.26 +2 -2 - NTP_4_2_3P50 - util/ntp-keygen-opts.c@1.23 +43 -43 NTP_4_2_3P50 @@ -196731,9 +203643,6 @@ ChangeSet@1.1379.1.16, 2006-09-21 07:42:50-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.22 +1 -1 NTP_4_2_3P49 - sntp/sntp.1@1.25 +2 -2 - NTP_4_2_3P49 - util/ntp-keygen-opts.c@1.22 +2 -2 NTP_4_2_3P49 @@ -196828,9 +203737,6 @@ ChangeSet@1.1379.1.13, 2006-09-19 07:43:25-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.21 +1 -1 NTP_4_2_3P48 - sntp/sntp.1@1.24 +2 -2 - NTP_4_2_3P48 - util/ntp-keygen-opts.c@1.21 +2 -2 NTP_4_2_3P48 @@ -196938,9 +203844,6 @@ ChangeSet@1.1379.2.35, 2006-09-16 18:54:38-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.20 +1 -1 NTP_4_2_3P47 - sntp/sntp.1@1.23 +2 -2 - NTP_4_2_3P47 - util/ntp-keygen-opts.c@1.20 +2 -2 NTP_4_2_3P47 @@ -197036,9 +203939,6 @@ ChangeSet@1.1379.2.33, 2006-09-13 07:43:13-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.19 +1 -1 NTP_4_2_3P46 - sntp/sntp.1@1.22 +2 -2 - NTP_4_2_3P46 - util/ntp-keygen-opts.c@1.19 +2 -2 NTP_4_2_3P46 @@ -197136,9 +204036,6 @@ ChangeSet@1.1379.2.29, 2006-09-12 07:42:34-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.18 +1 -1 NTP_4_2_3P45 - sntp/sntp.1@1.21 +2 -2 - NTP_4_2_3P45 - util/ntp-keygen-opts.c@1.18 +2 -2 NTP_4_2_3P45 @@ -197237,9 +204134,6 @@ ChangeSet@1.1379.2.25, 2006-09-11 07:47:06-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.17 +1 -1 NTP_4_2_3P44 - sntp/sntp.1@1.20 +2 -2 - NTP_4_2_3P44 - util/ntp-keygen-opts.c@1.17 +2 -2 NTP_4_2_3P44 @@ -197406,9 +204300,6 @@ ChangeSet@1.1379.2.23, 2006-09-10 18:03:04-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.16 +1 -1 NTP_4_2_3P43 - sntp/sntp.1@1.19 +2 -2 - NTP_4_2_3P43 - util/ntp-keygen-opts.c@1.16 +2 -2 NTP_4_2_3P43 @@ -197491,9 +204382,6 @@ ChangeSet@1.1379.2.21, 2006-09-10 07:48:06-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.15 +1 -1 NTP_4_2_3P42 - sntp/sntp.1@1.18 +2 -2 - NTP_4_2_3P42 - util/ntp-keygen-opts.c@1.15 +2 -2 NTP_4_2_3P42 @@ -197678,9 +204566,6 @@ ChangeSet@1.1379.5.1, 2006-09-09 05:19:19-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.14 +1 -1 NTP_4_2_3P41 - sntp/sntp.1@1.17 +2 -2 - NTP_4_2_3P41 - util/ntp-keygen-opts.c@1.14 +2 -2 NTP_4_2_3P41 @@ -197811,9 +204696,6 @@ ChangeSet@1.1379.2.11, 2006-09-07 21:45:01-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.13 +1 -1 NTP_4_2_3P39 - sntp/sntp.1@1.16 +2 -2 - NTP_4_2_3P39 - util/ntp-keygen-opts.c@1.13 +2 -2 NTP_4_2_3P39 @@ -197965,9 +204847,6 @@ ChangeSet@1.1379.2.4, 2006-08-31 02:06:16-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.12 +1 -1 NTP_4_2_3P38 - sntp/sntp.1@1.15 +2 -2 - NTP_4_2_3P38 - util/ntp-keygen-opts.c@1.12 +2 -2 NTP_4_2_3P38 @@ -198093,9 +204972,6 @@ ChangeSet@1.1379.1.3, 2006-08-28 21:48:10-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.11 +1 -1 NTP_4_2_3P37 - sntp/sntp.1@1.14 +2 -2 - NTP_4_2_3P37 - util/ntp-keygen-opts.c@1.11 +2 -2 NTP_4_2_3P37 @@ -198208,9 +205084,6 @@ ChangeSet@1.1353.21.3, 2006-08-26 15:10:29-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.10 +1 -1 NTP_4_2_3P36 - sntp/sntp.1@1.13 +2 -2 - NTP_4_2_3P36 - util/ntp-keygen-opts.c@1.10 +2 -2 NTP_4_2_3P36 @@ -198294,9 +205167,6 @@ ChangeSet@1.1353.22.1, 2006-08-26 05:05:56-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.9 +1 -1 NTP_4_2_3P35 - sntp/sntp.1@1.12 +2 -2 - NTP_4_2_3P35 - util/ntp-keygen-opts.c@1.9 +2 -2 NTP_4_2_3P35 @@ -198436,9 +205306,6 @@ ChangeSet@1.1353.9.42, 2006-08-20 20:18:08-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.8 +1 -1 NTP_4_2_3P34 - sntp/sntp.1@1.11 +2 -2 - NTP_4_2_3P34 - util/ntp-keygen-opts.c@1.8 +2 -2 NTP_4_2_3P34 @@ -198521,9 +205388,6 @@ ChangeSet@1.1353.9.39, 2006-08-19 23:34:01-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.7 +1 -1 NTP_4_2_3P33 - sntp/sntp.1@1.10 +2 -2 - NTP_4_2_3P33 - util/ntp-keygen-opts.c@1.7 +2 -2 NTP_4_2_3P33 @@ -198689,9 +205553,6 @@ ChangeSet@1.1353.17.1, 2006-08-17 00:52:10-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.6 +1 -1 run autogen after point release - sntp/sntp.1@1.9 +2 -2 - run autogen after point release - util/ntp-keygen-opts.c@1.6 +2 -2 run autogen after point release @@ -198821,9 +205682,6 @@ ChangeSet@1.1353.9.29, 2006-08-15 05:53:43-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.5 +1 -1 regenerate autogen-erated files - sntp/sntp.1@1.8 +2 -2 - regenerate autogen-erated files - util/ntp-keygen-opts.c@1.5 +29 -4 regenerate autogen-erated files @@ -198917,9 +205775,6 @@ ChangeSet@1.1353.15.9, 2006-08-10 21:41:32-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.4 +1 -1 NTP_4_2_3P29 - sntp/sntp.1@1.7 +82 -3 - NTP_4_2_3P29 - util/ntp-keygen-opts.c@1.4 +2 -2 NTP_4_2_3P29 @@ -199412,12 +206267,6 @@ ChangeSet@1.1353.1.96, 2006-08-02 20:21:23-04:00, stenn@whimsy.udel.edu sntp/sntp-opts.texi@1.2 +0 -0 Change mode to -rw-r--r-- - sntp/sntp.1@1.6 +129 -64 - autogen upgrade - - sntp/sntp.1@1.5 +0 -0 - Change mode to -rw-r--r-- - util/ntp-keygen-opts.c@1.3 +54 -36 autogen upgrade @@ -202195,7 +209044,7 @@ ChangeSet@1.1251.85.2, 2006-04-20 23:59:56-04:00, stenn@whimsy.udel.edu [Bug 527] Lose signalled IO. configure.ac@1.359.1.28 +7 -2 - [Bug 527] Losed signalled IO. + [Bug 527] Lose signalled IO. ChangeSet@1.1251.85.1, 2006-04-18 05:58:13-04:00, stenn@whimsy.udel.edu there are 240 ntp-dev patch releases so far @@ -203644,7 +210493,7 @@ ChangeSet@1.1251.67.12, 2005-10-27 21:38:04-04:00, stenn@deacon.udel.edu [Bug 516] unprotected crypto_update() call fix from Dave Mills ChangeSet@1.1251.67.11, 2005-10-25 20:15:47-04:00, stenn@deacon.udel.edu - [Bug 517] Allow dynamic SSL libraries + [Bug 519] Allow dynamic SSL libraries configure.ac@1.359.1.24 +3 -2 [Bug 519] Allow dynamic SSL libraries: also check /usr/sfw/{lib,include} @@ -209124,6 +215973,7 @@ ChangeSet@1.1251.1.28, 2004-11-28 03:35:01-05:00, stenn@whimsy.udel.edu ntpdate/ntpdate.c@1.48 +2 -2 [Bug 363] ntpdate: use -1 to represent an invalid fd + Fix from Rainer Weikusat. ChangeSet@1.1251.1.27, 2004-11-21 21:33:09-05:00, stenn@whimsy.udel.edu [Bug 349] Patches from Takao Abe @@ -209824,9 +216674,6 @@ ChangeSet@1.1202.5.2, 2004-10-23 03:09:05-04:00, stenn@whimsy.udel.edu sntp/main.c@1.5 +19 -115 Lose broadcast and server modes. - sntp/sntp.1@1.4 +0 -23 - Lose broadcast and server modes. - sntp/socket.c@1.4 +6 -22 Lose broadcast and server modes. @@ -210214,17 +217061,6 @@ ChangeSet@1.1202.1.16, 2004-08-25 01:16:52-04:00, stenn@whimsy.udel.edu sntp/main.c@1.4 +8 -8 added sntp.1 and did a little cleanup - sntp/sntp.1@1.3 +25 -15 - added sntp.1 and did a little cleanup - - sntp/sntp.1@1.2 +0 -0 - Rename: sntp/msntp.1 -> sntp/sntp.1 - - sntp/msntp.1@1.1 +325 -0 - - sntp/msntp.1@1.0 +0 -0 - BitKeeper file /deacon/backroom/ntp-dev/sntp/msntp.1 - ChangeSet@1.1202.1.15, 2004-08-23 22:08:55-04:00, stenn@www.ntp.org make propdelay compile/link diff --git a/contrib/ntp/Makefile.in b/contrib/ntp/Makefile.in index 0cb05d32b4e0..7353076ae838 100644 --- a/contrib/ntp/Makefile.in +++ b/contrib/ntp/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -830,7 +830,7 @@ distdir: $(DISTFILES) ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir @@ -856,7 +856,7 @@ dist-shar: distdir @echo WARNING: "Support for shar distribution archives is" \ "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir @@ -874,7 +874,7 @@ dist dist-all: distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ @@ -884,7 +884,7 @@ distcheck: dist *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac diff --git a/contrib/ntp/NEWS b/contrib/ntp/NEWS index 8dc0f0f728a6..5cae9372a298 100644 --- a/contrib/ntp/NEWS +++ b/contrib/ntp/NEWS @@ -1,8 +1,60 @@ +--- +NTP 4.2.8p13 (Harlan Stenn , 2019 Mar 07) + +Focus: Security, Bug fixes, enhancements. + +Severity: MEDIUM + +This release fixes a bug that allows an attacker with access to an +explicitly trusted source to send a crafted malicious mode 6 (ntpq) +packet that can trigger a NULL pointer dereference, crashing ntpd. +It also provides 17 other bugfixes and 1 other improvement: + +* [Sec 3565] Crafted null dereference attack in authenticated + mode 6 packet + - reported by Magnus Stubman +* [Bug 3560] Fix build when HAVE_DROPROOT is not defined + - applied patch by Ian Lepore +* [Bug 3558] Crash and integer size bug + - isolate and fix linux/windows specific code issue +* [Bug 3556] ntp_loopfilter.c snprintf compilation warnings + - provide better function for incremental string formatting +* [Bug 3555] Tidy up print alignment of debug output from ntpdate + - applied patch by Gerry Garvey +* [Bug 3554] config revoke stores incorrect value + - original finding by Gerry Garvey, additional cleanup needed +* [Bug 3549] Spurious initgroups() error message + - patch by Christous Zoulas +* [Bug 3548] Signature not verified on windows system + - finding by Chen Jiabin, plus another one by me +* [Bug 3541] patch to fix STA_NANO struct timex units + - applied patch by Maciej Szmigiero +* [Bug 3540] Cannot set minsane to 0 anymore + - applied patch by Andre Charbonneau +* [Bug 3539] work_fork build fails when droproot is not supported + - applied patch by Baruch Siach +* [Bug 3538] Build fails for no-MMU targets + - applied patch by Baruch Siach +* [Bug 3535] libparse won't handle GPS week rollover + - refactored handling of GPS era based on 'tos basedate' for + parse (TSIP) and JUPITER clocks +* [Bug 3529] Build failures on Mac OS X 10.13 (High Sierra) + - patch by Daniel J. Luke; this does not fix a potential linker + regression issue on MacOS. +* [Bug 3527 - Backward Incompatible] mode7 clockinfo fudgeval2 packet + anomaly , reported by GGarvey. + - --enable-bug3527-fix support by HStenn +* [Bug 3526] Incorrect poll interval in packet + - applied patch by Gerry Garvey +* [Bug 3471] Check for openssl/[ch]mac.h. + - added missing check, reported by Reinhard Max +* [Bug 1674] runtime crashes and sync problems affecting both x86 and x86_64 + - this is a variant of [bug 3558] and should be fixed with it +* Implement 'configure --disable-signalled-io' + -- NTP 4.2.8p12 (Harlan Stenn , 2018/14/09) -NOTE: this NEWS file will be undergoing more revisions. - Focus: Security, Bug fixes, enhancements. Severity: MEDIUM diff --git a/contrib/ntp/aclocal.m4 b/contrib/ntp/aclocal.m4 index b692416c250d..ec9f3a527ca3 100644 --- a/contrib/ntp/aclocal.m4 +++ b/contrib/ntp/aclocal.m4 @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.15 -*- Autoconf -*- +# generated automatically by aclocal 1.15.1 -*- Autoconf -*- -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -20,126 +20,121 @@ You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) -# serial 9 -*- Autoconf -*- -# Enable extensions on systems that normally disable them. +# longlong.m4 serial 17 +dnl Copyright (C) 1999-2007, 2009-2016 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. -# Copyright (C) 2003, 2006-2010 Free Software Foundation, Inc. -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. +dnl From Paul Eggert. -# This definition of AC_USE_SYSTEM_EXTENSIONS is stolen from CVS -# Autoconf. Perhaps we can remove this once we can assume Autoconf -# 2.62 or later everywhere, but since CVS Autoconf mutates rapidly -# enough in this area it's likely we'll need to redefine -# AC_USE_SYSTEM_EXTENSIONS for quite some time. +# Define HAVE_LONG_LONG_INT if 'long long int' works. +# This fixes a bug in Autoconf 2.61, and can be faster +# than what's in Autoconf 2.62 through 2.68. -# If autoconf reports a warning -# warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS -# or warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS -# the fix is -# 1) to ensure that AC_USE_SYSTEM_EXTENSIONS is never directly invoked -# but always AC_REQUIREd, -# 2) to ensure that for each occurrence of -# AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) -# or -# AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) -# the corresponding gnulib module description has 'extensions' among -# its dependencies. This will ensure that the gl_USE_SYSTEM_EXTENSIONS -# invocation occurs in gl_EARLY, not in gl_INIT. +# Note: If the type 'long long int' exists but is only 32 bits large +# (as on some very old compilers), HAVE_LONG_LONG_INT will not be +# defined. In this case you can treat 'long long int' like 'long int'. -# AC_USE_SYSTEM_EXTENSIONS -# ------------------------ -# Enable extensions on systems that normally disable them, -# typically due to standards-conformance issues. -# Remember that #undef in AH_VERBATIM gets replaced with #define by -# AC_DEFINE. The goal here is to define all known feature-enabling -# macros, then, if reports of conflicts are made, disable macros that -# cause problems on some platforms (such as __EXTENSIONS__). -AC_DEFUN_ONCE([AC_USE_SYSTEM_EXTENSIONS], -[AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl -AC_BEFORE([$0], [AC_RUN_IFELSE])dnl - - AC_REQUIRE([AC_CANONICAL_HOST]) - - AC_CHECK_HEADER([minix/config.h], [MINIX=yes], [MINIX=]) - if test "$MINIX" = yes; then - AC_DEFINE([_POSIX_SOURCE], [1], - [Define to 1 if you need to in order for `stat' and other - things to work.]) - AC_DEFINE([_POSIX_1_SOURCE], [2], - [Define to 2 if the system does not provide POSIX.1 features - except with this defined.]) - AC_DEFINE([_MINIX], [1], - [Define to 1 if on MINIX.]) - fi - - dnl HP-UX 11.11 defines mbstate_t only if _XOPEN_SOURCE is defined to 500, - dnl regardless of whether the flags -Ae or _D_HPUX_SOURCE=1 are already - dnl provided. - case "$host_os" in - hpux*) - AC_DEFINE([_XOPEN_SOURCE], [500], - [Define to 500 only on HP-UX.]) - ;; - esac - - AH_VERBATIM([__EXTENSIONS__], -[/* Enable extensions on AIX 3, Interix. */ -#ifndef _ALL_SOURCE -# undef _ALL_SOURCE -#endif -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# undef _GNU_SOURCE -#endif -/* Enable threading extensions on Solaris. */ -#ifndef _POSIX_PTHREAD_SEMANTICS -# undef _POSIX_PTHREAD_SEMANTICS -#endif -/* Enable extensions on HP NonStop. */ -#ifndef _TANDEM_SOURCE -# undef _TANDEM_SOURCE -#endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# undef __EXTENSIONS__ -#endif -]) - AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__], - [ac_cv_safe_to_define___extensions__], - [AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([[ -# define __EXTENSIONS__ 1 - ]AC_INCLUDES_DEFAULT])], - [ac_cv_safe_to_define___extensions__=yes], - [ac_cv_safe_to_define___extensions__=no])]) - test $ac_cv_safe_to_define___extensions__ = yes && - AC_DEFINE([__EXTENSIONS__]) - AC_DEFINE([_ALL_SOURCE]) - AC_DEFINE([_GNU_SOURCE]) - AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) - AC_DEFINE([_TANDEM_SOURCE]) -])# AC_USE_SYSTEM_EXTENSIONS - -# gl_USE_SYSTEM_EXTENSIONS -# ------------------------ -# Enable extensions on systems that normally disable them, -# typically due to standards-conformance issues. -AC_DEFUN_ONCE([gl_USE_SYSTEM_EXTENSIONS], +AC_DEFUN([AC_TYPE_LONG_LONG_INT], [ - dnl Require this macro before AC_USE_SYSTEM_EXTENSIONS. - dnl gnulib does not need it. But if it gets required by third-party macros - dnl after AC_USE_SYSTEM_EXTENSIONS is required, autoconf 2.62..2.63 emit a - dnl warning: "AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS". - dnl Note: We can do this only for one of the macros AC_AIX, AC_GNU_SOURCE, - dnl AC_MINIX. If people still use AC_AIX or AC_MINIX, they are out of luck. - AC_REQUIRE([AC_GNU_SOURCE]) - - AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) + AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) + AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int], + [ac_cv_type_long_long_int=yes + if test "x${ac_cv_prog_cc_c99-no}" = xno; then + ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int + if test $ac_cv_type_long_long_int = yes; then + dnl Catch a bug in Tandem NonStop Kernel (OSS) cc -O circa 2004. + dnl If cross compiling, assume the bug is not important, since + dnl nobody cross compiles for this platform as far as we know. + AC_RUN_IFELSE( + [AC_LANG_PROGRAM( + [[@%:@include + @%:@ifndef LLONG_MAX + @%:@ define HALF \ + (1LL << (sizeof (long long int) * CHAR_BIT - 2)) + @%:@ define LLONG_MAX (HALF - 1 + HALF) + @%:@endif]], + [[long long int n = 1; + int i; + for (i = 0; ; i++) + { + long long int m = n << i; + if (m >> i != n) + return 1; + if (LLONG_MAX / 2 < m) + break; + } + return 0;]])], + [], + [ac_cv_type_long_long_int=no], + [:]) + fi + fi]) + if test $ac_cv_type_long_long_int = yes; then + AC_DEFINE([HAVE_LONG_LONG_INT], [1], + [Define to 1 if the system has the type 'long long int'.]) + fi ]) -# Copyright (C) 2002-2014 Free Software Foundation, Inc. +# Define HAVE_UNSIGNED_LONG_LONG_INT if 'unsigned long long int' works. +# This fixes a bug in Autoconf 2.61, and can be faster +# than what's in Autoconf 2.62 through 2.68. + +# Note: If the type 'unsigned long long int' exists but is only 32 bits +# large (as on some very old compilers), AC_TYPE_UNSIGNED_LONG_LONG_INT +# will not be defined. In this case you can treat 'unsigned long long int' +# like 'unsigned long int'. + +AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT], +[ + AC_CACHE_CHECK([for unsigned long long int], + [ac_cv_type_unsigned_long_long_int], + [ac_cv_type_unsigned_long_long_int=yes + if test "x${ac_cv_prog_cc_c99-no}" = xno; then + AC_LINK_IFELSE( + [_AC_TYPE_LONG_LONG_SNIPPET], + [], + [ac_cv_type_unsigned_long_long_int=no]) + fi]) + if test $ac_cv_type_unsigned_long_long_int = yes; then + AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], [1], + [Define to 1 if the system has the type 'unsigned long long int'.]) + fi +]) + +# Expands to a C program that can be used to test for simultaneous support +# of 'long long' and 'unsigned long long'. We don't want to say that +# 'long long' is available if 'unsigned long long' is not, or vice versa, +# because too many programs rely on the symmetry between signed and unsigned +# integer types (excluding 'bool'). +AC_DEFUN([_AC_TYPE_LONG_LONG_SNIPPET], +[ + AC_LANG_PROGRAM( + [[/* For now, do not test the preprocessor; as of 2007 there are too many + implementations with broken preprocessors. Perhaps this can + be revisited in 2012. In the meantime, code should not expect + #if to work with literals wider than 32 bits. */ + /* Test literals. */ + long long int ll = 9223372036854775807ll; + long long int nll = -9223372036854775807LL; + unsigned long long int ull = 18446744073709551615ULL; + /* Test constant expressions. */ + typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) + ? 1 : -1)]; + typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 + ? 1 : -1)]; + int i = 63;]], + [[/* Test availability of runtime routines for shift and division. */ + long long int llmax = 9223372036854775807ll; + unsigned long long int ullmax = 18446744073709551615ull; + return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) + | (llmax / ll) | (llmax % ll) + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) + | (ullmax / ull) | (ullmax % ull));]]) +]) + +# Copyright (C) 2002-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -154,7 +149,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.15' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.15], [], +m4_if([$1], [1.15.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -170,12 +165,12 @@ m4_define([_AM_AUTOCONF_VERSION], []) # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.15])dnl +[AM_AUTOMAKE_VERSION([1.15.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) -# Copyright (C) 2011-2014 Free Software Foundation, Inc. +# Copyright (C) 2011-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -237,7 +232,7 @@ AC_SUBST([AR])dnl # AM_AUX_DIR_EXPAND -*- Autoconf -*- -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -289,7 +284,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd` # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997-2014 Free Software Foundation, Inc. +# Copyright (C) 1997-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -320,7 +315,7 @@ AC_CONFIG_COMMANDS_PRE( Usually this means the macro was only invoked conditionally.]]) fi])]) -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -511,7 +506,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl # Generate code to set up dependency tracking. -*- Autoconf -*- -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -587,7 +582,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -784,7 +779,7 @@ for _am_header in $config_headers :; do done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -805,7 +800,7 @@ if test x"${install_sh+set}" != xset; then fi AC_SUBST([install_sh])]) -# Copyright (C) 2003-2014 Free Software Foundation, Inc. +# Copyright (C) 2003-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -826,7 +821,7 @@ AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -876,7 +871,7 @@ rm -f confinc confmf # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997-2014 Free Software Foundation, Inc. +# Copyright (C) 1997-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -915,7 +910,7 @@ fi # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -944,7 +939,7 @@ AC_DEFUN([_AM_SET_OPTIONS], AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -991,7 +986,7 @@ AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1010,7 +1005,7 @@ AC_DEFUN([AM_RUN_LOG], # Check to make sure that the build environment is sane. -*- Autoconf -*- -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1091,7 +1086,7 @@ AC_CONFIG_COMMANDS_PRE( rm -f conftest.file ]) -# Copyright (C) 2009-2014 Free Software Foundation, Inc. +# Copyright (C) 2009-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1151,7 +1146,7 @@ AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1179,7 +1174,7 @@ fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006-2014 Free Software Foundation, Inc. +# Copyright (C) 2006-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1198,7 +1193,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004-2014 Free Software Foundation, Inc. +# Copyright (C) 2004-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/contrib/ntp/adjtimed/Makefile.in b/contrib/ntp/adjtimed/Makefile.in index 915d3f5dbb87..87e1fba23032 100644 --- a/contrib/ntp/adjtimed/Makefile.in +++ b/contrib/ntp/adjtimed/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/contrib/ntp/build b/contrib/ntp/build index 15fe39afa047..f6dca6b350e4 100755 --- a/contrib/ntp/build +++ b/contrib/ntp/build @@ -52,7 +52,7 @@ esac case "$NTP_BDIR" in '') case "$IAM" in - *.ntp.org) + *.ntp.org | *.ntfo.org) NTP_BDIR=host ;; *.udel.edu) diff --git a/contrib/ntp/clockstuff/Makefile.in b/contrib/ntp/clockstuff/Makefile.in index 6297f44deb69..0775b9ae8060 100644 --- a/contrib/ntp/clockstuff/Makefile.in +++ b/contrib/ntp/clockstuff/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/contrib/ntp/config.h.in b/contrib/ntp/config.h.in index e91f86b1f93a..7170d83317c1 100644 --- a/contrib/ntp/config.h.in +++ b/contrib/ntp/config.h.in @@ -296,6 +296,9 @@ /* use old autokey session key behavior? */ #undef DISABLE_BUG1243_FIX +/* use old autokey session key behavior? */ +#undef DISABLE_BUG3527_FIX + /* synch TODR hourly? */ #undef DOSYNCTODR @@ -550,7 +553,7 @@ /* Define to 1 if the system has the type `long long'. */ #undef HAVE_LONG_LONG -/* Define to 1 if the system has the type `long long int'. */ +/* Define to 1 if the system has the type 'long long int'. */ #undef HAVE_LONG_LONG_INT /* if you have SunOS LWP package */ @@ -1170,7 +1173,7 @@ /* deviant sigwait? */ #undef HAVE_UNIXWARE_SIGWAIT -/* Define to 1 if the system has the type `unsigned long long int'. */ +/* Define to 1 if the system has the type 'unsigned long long int'. */ #undef HAVE_UNSIGNED_LONG_LONG_INT /* Define to 1 if you have the `updwtmp' function. */ @@ -1611,6 +1614,28 @@ typedef unsigned int uintptr_t; /* OK to use snprintb()? */ #undef USE_SNPRINTB +/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable threading extensions on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif + + /* Can we use SIGPOLL for tty IO? */ #undef USE_TTY_SIGPOLL @@ -1663,9 +1688,6 @@ typedef unsigned int uintptr_t; /* enable thread safety */ #undef _THREAD_SAFE -/* Define to 500 only on HP-UX. */ -#undef _XOPEN_SOURCE - /* Are we _special_? */ #undef __APPLE_USE_RFC_3542 @@ -1674,28 +1696,6 @@ typedef unsigned int uintptr_t; # undef __CHAR_UNSIGNED__ #endif -/* Enable extensions on AIX 3, Interix. */ -#ifndef _ALL_SOURCE -# undef _ALL_SOURCE -#endif -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# undef _GNU_SOURCE -#endif -/* Enable threading extensions on Solaris. */ -#ifndef _POSIX_PTHREAD_SEMANTICS -# undef _POSIX_PTHREAD_SEMANTICS -#endif -/* Enable extensions on HP NonStop. */ -#ifndef _TANDEM_SOURCE -# undef _TANDEM_SOURCE -#endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# undef __EXTENSIONS__ -#endif - - /* deviant */ #undef adjtimex diff --git a/contrib/ntp/configure b/contrib/ntp/configure index 0ba239416fac..ee313f0c91c9 100755 --- a/contrib/ntp/configure +++ b/contrib/ntp/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for ntp 4.2.8p12. +# Generated by GNU Autoconf 2.69 for ntp 4.2.8p13. # # Report bugs to . # @@ -590,8 +590,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='ntp' PACKAGE_TARNAME='ntp' -PACKAGE_VERSION='4.2.8p12' -PACKAGE_STRING='ntp 4.2.8p12' +PACKAGE_VERSION='4.2.8p13' +PACKAGE_STRING='ntp 4.2.8p13' PACKAGE_BUGREPORT='http://bugs.ntp.org./' PACKAGE_URL='http://www.ntp.org./' @@ -969,6 +969,7 @@ enable_clockctl enable_linuxcaps enable_solarisprivs enable_trustedbsd_mac +enable_signalled_io with_arlib with_net_snmp_config enable_libseccomp @@ -1051,6 +1052,7 @@ enable_hourly_todr_sync enable_kernel_fll_bug enable_bug1243_fix enable_bug3020_fix +enable_bug3527_fix enable_irig_sawtooth enable_nist enable_ntp_signd @@ -1615,7 +1617,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures ntp 4.2.8p12 to adapt to many kinds of systems. +\`configure' configures ntp 4.2.8p13 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1685,7 +1687,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of ntp 4.2.8p12:";; + short | recursive ) echo "Configuration of ntp 4.2.8p13:";; esac cat <<\_ACEOF @@ -1734,6 +1736,7 @@ Optional Features and Packages: --enable-solarisprivs + Use Solaris privileges for non-root clock control --enable-trustedbsd-mac s Use TrustedBSD MAC policy for non-root clock control + --enable-signalled-io s Use signalled IO if we can --with-arlib - deprecated, arlib not distributed --with-net-snmp-config + =net-snmp-config --enable-libseccomp EXPERIMENTAL: enable support for libseccomp @@ -1826,6 +1829,7 @@ Optional Features and Packages: --enable-kernel-fll-bug s if we should avoid a kernel FLL bug --enable-bug1243-fix + use unmodified autokey session keys --enable-bug3020-fix + Provide the explicit 127.0.0.0/8 martian filter + --enable-bug3527-fix + provide correct mode7 fudgetime2 behavior --enable-irig-sawtooth s if we should enable the IRIG sawtooth filter --enable-nist - if we should enable the NIST lockclock scheme --enable-ntp-signd - Provide support for Samba's signing daemon, @@ -1926,7 +1930,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -ntp configure 4.2.8p12 +ntp configure 4.2.8p13 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2635,7 +2639,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by ntp $as_me 4.2.8p12, which was +It was created by ntp $as_me 4.2.8p13, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3636,7 +3640,7 @@ fi # Define the identity of the package. PACKAGE='ntp' - VERSION='4.2.8p12' + VERSION='4.2.8p13' cat >>confdefs.h <<_ACEOF @@ -5116,8 +5120,6 @@ done - - ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" if test "x$ac_cv_header_minix_config_h" = xyes; then : MINIX=yes @@ -5138,14 +5140,6 @@ $as_echo "#define _MINIX 1" >>confdefs.h fi - case "$host_os" in - hpux*) - -$as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h - - ;; - esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } @@ -16093,18 +16087,18 @@ else /* end confdefs.h. */ /* For now, do not test the preprocessor; as of 2007 there are too many - implementations with broken preprocessors. Perhaps this can - be revisited in 2012. In the meantime, code should not expect - #if to work with literals wider than 32 bits. */ + implementations with broken preprocessors. Perhaps this can + be revisited in 2012. In the meantime, code should not expect + #if to work with literals wider than 32 bits. */ /* Test literals. */ long long int ll = 9223372036854775807ll; long long int nll = -9223372036854775807LL; unsigned long long int ull = 18446744073709551615ULL; /* Test constant expressions. */ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) - ? 1 : -1)]; + ? 1 : -1)]; typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 - ? 1 : -1)]; + ? 1 : -1)]; int i = 63; int main () @@ -16113,9 +16107,9 @@ main () long long int llmax = 9223372036854775807ll; unsigned long long int ullmax = 18446744073709551615ull; return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) - | (llmax / ll) | (llmax % ll) - | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) - | (ullmax / ull) | (ullmax % ull)); + | (llmax / ll) | (llmax % ll) + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) + | (ullmax / ull) | (ullmax % ull)); ; return 0; } @@ -16303,33 +16297,33 @@ if ${ac_cv_type_long_long_int+:} false; then : else ac_cv_type_long_long_int=yes if test "x${ac_cv_prog_cc_c99-no}" = xno; then - ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int - if test $ac_cv_type_long_long_int = yes; then - if test "$cross_compiling" = yes; then : + ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int + if test $ac_cv_type_long_long_int = yes; then + if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifndef LLONG_MAX - # define HALF \ - (1LL << (sizeof (long long int) * CHAR_BIT - 2)) - # define LLONG_MAX (HALF - 1 + HALF) - #endif + #ifndef LLONG_MAX + # define HALF \ + (1LL << (sizeof (long long int) * CHAR_BIT - 2)) + # define LLONG_MAX (HALF - 1 + HALF) + #endif int main () { long long int n = 1; - int i; - for (i = 0; ; i++) - { - long long int m = n << i; - if (m >> i != n) - return 1; - if (LLONG_MAX / 2 < m) - break; - } - return 0; + int i; + for (i = 0; ; i++) + { + long long int m = n << i; + if (m >> i != n) + return 1; + if (LLONG_MAX / 2 < m) + break; + } + return 0; ; return 0; } @@ -16343,7 +16337,7 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi - fi + fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 @@ -16366,18 +16360,18 @@ else /* end confdefs.h. */ /* For now, do not test the preprocessor; as of 2007 there are too many - implementations with broken preprocessors. Perhaps this can - be revisited in 2012. In the meantime, code should not expect - #if to work with literals wider than 32 bits. */ + implementations with broken preprocessors. Perhaps this can + be revisited in 2012. In the meantime, code should not expect + #if to work with literals wider than 32 bits. */ /* Test literals. */ long long int ll = 9223372036854775807ll; long long int nll = -9223372036854775807LL; unsigned long long int ull = 18446744073709551615ULL; /* Test constant expressions. */ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) - ? 1 : -1)]; + ? 1 : -1)]; typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 - ? 1 : -1)]; + ? 1 : -1)]; int i = 63; int main () @@ -16386,9 +16380,9 @@ main () long long int llmax = 9223372036854775807ll; unsigned long long int ullmax = 18446744073709551615ull; return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) - | (llmax / ll) | (llmax % ll) - | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) - | (ullmax / ull) | (ullmax % ull)); + | (llmax / ll) | (llmax % ll) + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) + | (ullmax / ull) | (ullmax % ull)); ; return 0; } @@ -24024,6 +24018,9 @@ case "$ntp_have_solarisprivs" in $as_echo "#define HAVE_SOLARIS_PRIVS 1" >>confdefs.h + ;; + '') ntp_have_solarisprivs="no" + ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_have_solarisprivs" >&5 @@ -24057,6 +24054,9 @@ case "$ntp_use_trustedbsd_mac$ac_cv_header_sys_mac_h" in $as_echo "#define HAVE_TRUSTEDBSD_MAC 1" >>confdefs.h + ;; + *) ntp_use_trustedbsd_mac="no"; + ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_use_trustedbsd_mac" >&5 @@ -24576,6 +24576,16 @@ fi done +# HMS: does this need to be a cached variable? +# Check whether --enable-signalled-io was given. +if test "${enable_signalled_io+set}" = set; then : + enableval=$enable_signalled_io; use_signalled_io=$enableval +else + use_signalled_io=yes + +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIGIO" >&5 $as_echo_n "checking for SIGIO... " >&6; } if ${ntp_cv_hdr_def_sigio+:} false; then : @@ -24650,13 +24660,24 @@ case "$ntp_cv_hdr_def_sigio" in ans=no ;; esac + case "$ans" in + no) + ans="Possible for $host but disabled because of reported problems" + ;; + esac ;; esac case "$ans" in yes) + case "$use_signalled_io" in + yes) $as_echo "#define HAVE_SIGNALED_IO 1" >>confdefs.h + ;; + *) ans="Allowed for $host but --disable-signalled-io was given" + ;; + esac esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 $as_echo "$ans" >&6; } @@ -28663,6 +28684,62 @@ case "$ntp_ok" in $as_echo "#define CLOCK_BANC 1" >>confdefs.h + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bcStartPci" >&5 +$as_echo_n "checking for library containing bcStartPci... " >&6; } +if ${ac_cv_search_bcStartPci+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char bcStartPci (); +int +main () +{ +return bcStartPci (); + ; + return 0; +} +_ACEOF +for ac_lib in '' bcsdk; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_bcStartPci=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_bcStartPci+:} false; then : + break +fi +done +if ${ac_cv_search_bcStartPci+:} false; then : + +else + ac_cv_search_bcStartPci=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bcStartPci" >&5 +$as_echo "$ac_cv_search_bcStartPci" >&6; } +ac_res=$ac_cv_search_bcStartPci +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + +fi + ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5 @@ -31999,6 +32076,26 @@ $as_echo "#define ENABLE_BUG3020_FIX 1" >>confdefs.h esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want correct mode7 fudgetime2 behavior" >&5 +$as_echo_n "checking if we want correct mode7 fudgetime2 behavior... " >&6; } +# Check whether --enable-bug3527-fix was given. +if test "${enable_bug3527_fix+set}" = set; then : + enableval=$enable_bug3527_fix; ans=$enableval +else + ans=yes + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 +$as_echo "$ans" >&6; } +case "$ans" in + no) + +$as_echo "#define DISABLE_BUG3527_FIX 1" >>confdefs.h + +esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should use the IRIG sawtooth filter" >&5 $as_echo_n "checking if we should use the IRIG sawtooth filter... " >&6; } @@ -34054,7 +34151,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by ntp $as_me 4.2.8p12, which was +This file was extended by ntp $as_me 4.2.8p13, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -34121,7 +34218,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -ntp config.status 4.2.8p12 +ntp config.status 4.2.8p13 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/contrib/ntp/configure.ac b/contrib/ntp/configure.ac index 1f477c514188..7975d31a97e0 100644 --- a/contrib/ntp/configure.ac +++ b/contrib/ntp/configure.ac @@ -1749,6 +1749,7 @@ case "$ntp_ok" in yes) ntp_refclock=yes AC_DEFINE([CLOCK_BANC], [1], [Datum/Bancomm bc635/VME interface?]) + AC_SEARCH_LIBS([bcStartPci], [bcsdk], , , []) ;; esac AC_MSG_RESULT([$ntp_ok]) @@ -4194,6 +4195,24 @@ case "$ans" in esac +AC_MSG_CHECKING([if we want correct mode7 fudgetime2 behavior]) +AC_ARG_ENABLE( + [bug3527-fix], + [AS_HELP_STRING( + [--enable-bug3527-fix], + [+ provide correct mode7 fudgetime2 behavior] + )], + [ans=$enableval], + [ans=yes] +) +AC_MSG_RESULT([$ans]) +case "$ans" in + no) + AC_DEFINE([DISABLE_BUG3527_FIX], [1], + [use old autokey session key behavior?]) +esac + + AC_MSG_CHECKING([if we should use the IRIG sawtooth filter]) case "$host" in diff --git a/contrib/ntp/include/Makefile.in b/contrib/ntp/include/Makefile.in index 15a1e869996d..2e1ed92c8899 100644 --- a/contrib/ntp/include/Makefile.in +++ b/contrib/ntp/include/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/contrib/ntp/include/isc/Makefile.in b/contrib/ntp/include/isc/Makefile.in index 192fe0867c12..c730b3a03cff 100644 --- a/contrib/ntp/include/isc/Makefile.in +++ b/contrib/ntp/include/isc/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/contrib/ntp/include/ntp_calendar.h b/contrib/ntp/include/ntp_calendar.h index 41c58797b2c7..0b1f20d6bd7b 100644 --- a/contrib/ntp/include/ntp_calendar.h +++ b/contrib/ntp/include/ntp_calendar.h @@ -93,6 +93,7 @@ extern systime_func_ptr ntpcal_set_timefunc(systime_func_ptr); #define SECSPERLEAPYEAR (366 * SECSPERDAY) /* leap year */ #define SECSPERAVGYEAR 31556952 /* mean year length over 400yrs */ +#define GPSWEEKS 1024 /* GPS week cycle */ /* * Gross hacks. I have illicit knowlege that there won't be overflows * here, the compiler often can't tell this. @@ -404,14 +405,21 @@ basedate_get_eracenter(void); extern time_t basedate_get_erabase(void); +extern uint32_t +basedate_get_gpsweek(void); + +extern uint32_t +basedate_expand_gpsweek(unsigned short weekno); /* * Additional support stuff for Ed Rheingold's calendrical calculations */ /* - * Start day of NTP time as days past the imaginary date 12/1/1 BC. - * (This is the beginning of the Christian Era, or BCE.) + * Start day of NTP time as days past 0000-12-31 in the proleptic + * Gregorian calendar. (So 0001-01-01 is day number 1; this is the Rata + * Die counting scheme used by Ed Rheingold in his book "Calendrical + * Calculations".) */ #define DAY_NTP_STARTS 693596 @@ -420,15 +428,25 @@ basedate_get_erabase(void); */ #define DAY_UNIX_STARTS 719163 +/* + * Start day of the GPS epoch. This is the Rata Die of 1980-01-06 + */ +#define DAY_GPS_STARTS 722819 + /* * Difference between UN*X and NTP epoch (25567). */ #define NTP_TO_UNIX_DAYS (DAY_UNIX_STARTS - DAY_NTP_STARTS) +/* + * Difference between GPS and NTP epoch (29224) + */ +#define NTP_TO_GPS_DAYS (DAY_GPS_STARTS - DAY_NTP_STARTS) + /* * Days in a normal 4 year leap year calendar cycle (1461). */ -#define GREGORIAN_NORMAL_LEAP_CYCLE_DAYS (3 * 365 + 366) +#define GREGORIAN_NORMAL_LEAP_CYCLE_DAYS (4 * 365 + 1) /* * Days in a normal 100 year leap year calendar (36524). We lose a diff --git a/contrib/ntp/include/ntp_stdlib.h b/contrib/ntp/include/ntp_stdlib.h index 889c3b25ef42..c0bc71b09f5b 100644 --- a/contrib/ntp/include/ntp_stdlib.h +++ b/contrib/ntp/include/ntp_stdlib.h @@ -40,6 +40,9 @@ extern void setup_logfile (const char *); extern void errno_to_str(int, char *, size_t); #endif +extern int xvsbprintf(char**, char* const, char const*, va_list) NTP_PRINTF(3, 0); +extern int xsbprintf(char**, char* const, char const*, ...) NTP_PRINTF(3, 4); + /* * When building without OpenSSL, use a few macros of theirs to * minimize source differences in NTP. diff --git a/contrib/ntp/include/ntpd.h b/contrib/ntp/include/ntpd.h index 6a5128ce0832..ead0c2cf8171 100644 --- a/contrib/ntp/include/ntpd.h +++ b/contrib/ntp/include/ntpd.h @@ -275,8 +275,8 @@ extern u_long orphwait; /* orphan wait time */ extern char *sys_hostname; /* host name */ extern char *sys_groupname; /* group name */ extern char *group_name; /* group name */ -extern u_long sys_revoke; /* keys revoke timeout */ -extern u_long sys_automax; /* session key timeout */ +extern u_char sys_revoke; /* keys revoke timeout */ +extern u_char sys_automax; /* session key timeout */ #endif /* AUTOKEY */ /* ntp_util.c */ diff --git a/contrib/ntp/include/parse.h b/contrib/ntp/include/parse.h index 02dbb3021904..e2caa52ea28f 100644 --- a/contrib/ntp/include/parse.h +++ b/contrib/ntp/include/parse.h @@ -108,7 +108,6 @@ extern unsigned int splclock (void); * some constants useful for GPS time conversion */ #define GPSORIGIN 2524953600UL /* NTP origin - GPS origin in seconds */ -#define GPSWRAP 990 /* assume week count less than this in the previous epoch */ #define GPSWEEKS 1024 /* number of weeks until the GPS epch rolls over */ /* diff --git a/contrib/ntp/kernel/Makefile.in b/contrib/ntp/kernel/Makefile.in index 3d1fbe946e0f..e88b256d6447 100644 --- a/contrib/ntp/kernel/Makefile.in +++ b/contrib/ntp/kernel/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/contrib/ntp/kernel/sys/Makefile.in b/contrib/ntp/kernel/sys/Makefile.in index de18d15b5884..684023c29e7c 100644 --- a/contrib/ntp/kernel/sys/Makefile.in +++ b/contrib/ntp/kernel/sys/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/contrib/ntp/libntp/Makefile.am b/contrib/ntp/libntp/Makefile.am index 6f3c0ba459e3..04b53b0cbe97 100644 --- a/contrib/ntp/libntp/Makefile.am +++ b/contrib/ntp/libntp/Makefile.am @@ -110,6 +110,7 @@ libntp_a_SRCS = \ vint64ops.c \ work_fork.c \ work_thread.c \ + xsbprintf.c \ ymd2yd.c \ $(libisc_SRCS) \ $(NULL) diff --git a/contrib/ntp/libntp/Makefile.in b/contrib/ntp/libntp/Makefile.in index 2bef7878b829..fefd9d2f126c 100644 --- a/contrib/ntp/libntp/Makefile.in +++ b/contrib/ntp/libntp/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -160,7 +160,7 @@ am__libntp_a_SOURCES_DIST = systime.c a_md5encrypt.c adjtime.c \ snprintf.c socket.c socktoa.c socktohost.c ssl_init.c \ statestr.c strdup.c strl_obsd.c syssignal.c timetoa.c \ timevalops.c uglydate.c vint64ops.c work_fork.c work_thread.c \ - ymd2yd.c $(srcdir)/../lib/isc/assertions.c \ + xsbprintf.c ymd2yd.c $(srcdir)/../lib/isc/assertions.c \ $(srcdir)/../lib/isc/buffer.c \ $(srcdir)/../lib/isc/backtrace-emptytbl.c \ $(srcdir)/../lib/isc/backtrace.c \ @@ -224,8 +224,8 @@ am__objects_4 = a_md5encrypt.$(OBJEXT) adjtime.$(OBJEXT) \ ssl_init.$(OBJEXT) statestr.$(OBJEXT) strdup.$(OBJEXT) \ strl_obsd.$(OBJEXT) syssignal.$(OBJEXT) timetoa.$(OBJEXT) \ timevalops.$(OBJEXT) uglydate.$(OBJEXT) vint64ops.$(OBJEXT) \ - work_fork.$(OBJEXT) work_thread.$(OBJEXT) ymd2yd.$(OBJEXT) \ - $(am__objects_3) $(am__objects_1) + work_fork.$(OBJEXT) work_thread.$(OBJEXT) xsbprintf.$(OBJEXT) \ + ymd2yd.$(OBJEXT) $(am__objects_3) $(am__objects_1) am_libntp_a_OBJECTS = systime.$(OBJEXT) $(am__objects_4) libntp_a_OBJECTS = $(am_libntp_a_OBJECTS) libntpsim_a_AR = $(AR) $(ARFLAGS) @@ -244,7 +244,7 @@ am__libntpsim_a_SOURCES_DIST = systime_s.c a_md5encrypt.c adjtime.c \ snprintf.c socket.c socktoa.c socktohost.c ssl_init.c \ statestr.c strdup.c strl_obsd.c syssignal.c timetoa.c \ timevalops.c uglydate.c vint64ops.c work_fork.c work_thread.c \ - ymd2yd.c $(srcdir)/../lib/isc/assertions.c \ + xsbprintf.c ymd2yd.c $(srcdir)/../lib/isc/assertions.c \ $(srcdir)/../lib/isc/buffer.c \ $(srcdir)/../lib/isc/backtrace-emptytbl.c \ $(srcdir)/../lib/isc/backtrace.c \ @@ -704,6 +704,7 @@ libntp_a_SRCS = \ vint64ops.c \ work_fork.c \ work_thread.c \ + xsbprintf.c \ ymd2yd.c \ $(libisc_SRCS) \ $(NULL) @@ -876,6 +877,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vint64ops.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/work_fork.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/work_thread.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsbprintf.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ymd2yd.Po@am__quote@ .c.o: diff --git a/contrib/ntp/libntp/authreadkeys.c b/contrib/ntp/libntp/authreadkeys.c index bd98ab21ab10..48c5c4d5ec6e 100644 --- a/contrib/ntp/libntp/authreadkeys.c +++ b/contrib/ntp/libntp/authreadkeys.c @@ -221,12 +221,14 @@ authreadkeys( log_maybe(NULL, "authreadkeys: invalid type for key %d", keyno); +# ifdef ENABLE_CMAC } else if (NID_cmac != keytype && EVP_get_digestbynid(keytype) == NULL) { log_maybe(NULL, "authreadkeys: no algorithm for key %d", keyno); keytype = 0; +# endif /* ENABLE_CMAC */ } #else /* !OPENSSL follows */ /* diff --git a/contrib/ntp/libntp/calyearstart.c b/contrib/ntp/libntp/calyearstart.c index 9e3f58fb393d..5616c8195aa9 100644 --- a/contrib/ntp/libntp/calyearstart.c +++ b/contrib/ntp/libntp/calyearstart.c @@ -54,7 +54,7 @@ calmonthstart(u_int32 ntptime, const time_t *pivot) } /* - * calweekstart - get NTP time at midnight of the last monday on or + * calweekstart - get NTP time at midnight of the last Monday on or * before the current date. */ u_int32 diff --git a/contrib/ntp/libntp/ntp_calendar.c b/contrib/ntp/libntp/ntp_calendar.c index f8b7db4ea501..79742688a2bd 100644 --- a/contrib/ntp/libntp/ntp_calendar.c +++ b/contrib/ntp/libntp/ntp_calendar.c @@ -1832,6 +1832,7 @@ isocal_date_to_ntp( */ static int32_t s_baseday = NTP_TO_UNIX_DAYS; +static int32_t s_gpsweek = 0; int32_t basedate_eval_buildstamp(void) @@ -1901,6 +1902,7 @@ basedate_set_day( struct calendar jd; int32_t retv; + /* set NTP base date for NTP era unfolding */ if (day < NTP_TO_UNIX_DAYS) { msyslog(LOG_WARNING, "baseday_set_day: invalid day (%lu), UNIX epoch substituted", @@ -1912,6 +1914,17 @@ basedate_set_day( ntpcal_rd_to_date(&jd, day + DAY_NTP_STARTS); msyslog(LOG_INFO, "basedate set to %04hu-%02hu-%02hu", jd.year, (u_short)jd.month, (u_short)jd.monthday); + + /* set GPS base week for GPS week unfolding */ + day = ntpcal_weekday_ge(day + DAY_NTP_STARTS, CAL_SUNDAY) + - DAY_NTP_STARTS; + if (day < NTP_TO_GPS_DAYS) + day = NTP_TO_GPS_DAYS; + s_gpsweek = (day - NTP_TO_GPS_DAYS) / DAYSPERWEEK; + ntpcal_rd_to_date(&jd, day + DAY_NTP_STARTS); + msyslog(LOG_INFO, "gps base set to %04hu-%02hu-%02hu (week %d)", + jd.year, (u_short)jd.month, (u_short)jd.monthday, s_gpsweek); + return retv; } @@ -1934,4 +1947,29 @@ basedate_get_erabase(void) return retv; } +uint32_t +basedate_get_gpsweek(void) +{ + return s_gpsweek; +} + +uint32_t +basedate_expand_gpsweek( + unsigned short weekno + ) +{ + /* We do a fast modulus expansion here. Since all quantities are + * unsigned and we cannot go before the start of the GPS epoch + * anyway, and since the truncated GPS week number is 10 bit, the + * expansion becomes a simple sub/and/add sequence. + */ + #if GPSWEEKS != 1024 + # error GPSWEEKS defined wrong -- should be 1024! + #endif + + uint32_t diff; + diff = ((uint32_t)weekno - s_gpsweek) & (GPSWEEKS - 1); + return s_gpsweek + diff; +} + /* -*-EOF-*- */ diff --git a/contrib/ntp/libntp/work_fork.c b/contrib/ntp/libntp/work_fork.c index cce686f239cc..1dd9e13d668f 100644 --- a/contrib/ntp/libntp/work_fork.c +++ b/contrib/ntp/libntp/work_fork.c @@ -89,7 +89,9 @@ netwrite( } -int set_user_group_ids(void); +#if defined(HAVE_DROPROOT) +extern int set_user_group_ids(void); +#endif /* === functions === */ /* @@ -594,7 +596,9 @@ fork_blocking_child( init_logging("ntp_intres", 0, FALSE); setup_logfile(NULL); +#ifdef HAVE_DROPROOT (void) set_user_group_ids(); +#endif /* * And now back to the portable code diff --git a/contrib/ntp/libntp/xsbprintf.c b/contrib/ntp/libntp/xsbprintf.c new file mode 100644 index 000000000000..4586758bc88a --- /dev/null +++ b/contrib/ntp/libntp/xsbprintf.c @@ -0,0 +1,75 @@ +/* + * xsbprintf.c - string buffer formatting helpers + * + * Written by Juergen Perlinger (perlinger@ntp.org) for the NTP project. + * The contents of 'html/copyright.html' apply. + */ + +#include +#include + +#include "ntp_stdlib.h" + +/* eXtended Varlist String Buffer printf + * + * Formats via 'vsnprintf' into a string buffer, with some semantic + * specialties: + * + * - The start of the buffer pointer is updated according to the number + * of characters written. + * - If the buffer is insufficient to format the number of charactes, + * the partial result will be be discarded, and zero is returned to + * indicate nothing was written to the buffer. + * - On successful formatting, the return code is the return value of + * the inner call to 'vsnprintf()'. + * - If there is any error, the state of the buffer will not be + * changed. (Bytes in the buffer might be smashed, but the buffer + * position does not change, and the NUL marker stays in place at the + * current buffer position.) + * - If '(*ppbuf - pend) <= 0' (or ppbuf is NULL), fail with EINVAL. + */ +int +xvsbprintf( + char **ppbuf, /* pointer to buffer pointer (I/O) */ + char * const pend, /* buffer end (I) */ + char const *pfmt, /* printf-like format string */ + va_list va /* formatting args for above */ + ) +{ + char *pbuf = (ppbuf) ? *ppbuf : NULL; + int rc = -1; + if (pbuf && (pend - pbuf > 0)) { + size_t blen = (size_t)(pend - pbuf); + rc = vsnprintf(pbuf, blen, pfmt, va); + if (rc > 0) { + if ((size_t)rc >= blen) + rc = 0; + pbuf += rc; + } + *pbuf = '\0'; /* fear of bad vsnprintf */ + *ppbuf = pbuf; + } else { + errno = EINVAL; + } + return rc; +} + +/* variadic wrapper around the buffer string formatter */ +int +xsbprintf( + char **ppbuf, /* pointer to buffer pointer (I/O) */ + char * const pend, /* buffer end (I) */ + char const *pfmt, /* printf-like format string */ + ... /* formatting args for above */ + ) +{ + va_list va; + int rc; + + va_start(va, pfmt); + rc = xvsbprintf(ppbuf, pend, pfmt, va); + va_end(va); + return rc; +} + +/* that's all folks! */ diff --git a/contrib/ntp/libparse/Makefile.in b/contrib/ntp/libparse/Makefile.in index 4ff96bbb19c0..b95eb1cc6c0f 100644 --- a/contrib/ntp/libparse/Makefile.in +++ b/contrib/ntp/libparse/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/contrib/ntp/libparse/clk_trimtsip.c b/contrib/ntp/libparse/clk_trimtsip.c index 64359efa0b32..8cf5660657cc 100644 --- a/contrib/ntp/libparse/clk_trimtsip.c +++ b/contrib/ntp/libparse/clk_trimtsip.c @@ -265,9 +265,7 @@ cvt_trimtsip( clock_time->flags = PARSEB_POWERUP; return CVT_OK; } - if (week < GPSWRAP) { - week += GPSWEEKS; - } + week = basedate_expand_gpsweek(week); /* time OK */ @@ -351,14 +349,12 @@ cvt_trimtsip( int tls = t->t_gpsutc = (u_short) getshort((unsigned char *)&mb(12)); /* current leap correction (GPS-UTC) */ int tlsf = t->t_gpsutcleap = (u_short) getshort((unsigned char *)&mb(24)); /* new leap correction */ - t->t_weekleap = (u_short) getshort((unsigned char *)&mb(20)); /* week no of leap correction */ - if (t->t_weekleap < GPSWRAP) - t->t_weekleap = (u_short)(t->t_weekleap + GPSWEEKS); + t->t_weekleap = basedate_expand_gpsweek( + (u_short) getshort((unsigned char *)&mb(20))); /* week no of leap correction */ t->t_dayleap = (u_short) getshort((unsigned char *)&mb(22)); /* day in week of leap correction */ - t->t_week = (u_short) getshort((unsigned char *)&mb(18)); /* current week no */ - if (t->t_week < GPSWRAP) - t->t_week = (u_short)(t->t_weekleap + GPSWEEKS); + t->t_week = basedate_expand_gpsweek( + (u_short) getshort((unsigned char *)&mb(18))); /* current week no */ lbp = (unsigned char *)&mb(14); /* last update time */ if (fetch_ieee754(&lbp, IEEE_SINGLE, &t0t, trim_offsets) != IEEE_OK) diff --git a/contrib/ntp/libparse/gpstolfp.c b/contrib/ntp/libparse/gpstolfp.c index 8a3607514985..6a99e8851fd7 100644 --- a/contrib/ntp/libparse/gpstolfp.c +++ b/contrib/ntp/libparse/gpstolfp.c @@ -45,11 +45,6 @@ gpstolfp( l_fp * lfp ) { - if (weeks < GPSWRAP) - { - weeks += GPSWEEKS; - } - lfp->l_ui = (uint32_t)(weeks * SECSPERWEEK + days * SECSPERDAY + seconds + GPSORIGIN); /* convert to NTP time */ lfp->l_uf = 0; } diff --git a/contrib/ntp/ntpd/Makefile.in b/contrib/ntp/ntpd/Makefile.in index fc9bc78009c5..8eab4f9a33bb 100644 --- a/contrib/ntp/ntpd/Makefile.in +++ b/contrib/ntp/ntpd/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/contrib/ntp/ntpd/invoke-ntp.conf.texi b/contrib/ntp/ntpd/invoke-ntp.conf.texi index 7e675877e8e2..132709eec5cf 100644 --- a/contrib/ntp/ntpd/invoke-ntp.conf.texi +++ b/contrib/ntp/ntpd/invoke-ntp.conf.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (invoke-ntp.conf.texi) # -# It has been AutoGen-ed August 14, 2018 at 08:29:07 AM by AutoGen 5.18.5 +# It has been AutoGen-ed February 20, 2019 at 09:56:39 AM by AutoGen 5.18.5 # From the definitions ntp.conf.def # and the template file agtexi-file.tpl @end ignore diff --git a/contrib/ntp/ntpd/invoke-ntp.keys.texi b/contrib/ntp/ntpd/invoke-ntp.keys.texi index a1f1e9520517..9698c5480d5f 100644 --- a/contrib/ntp/ntpd/invoke-ntp.keys.texi +++ b/contrib/ntp/ntpd/invoke-ntp.keys.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (invoke-ntp.keys.texi) # -# It has been AutoGen-ed August 14, 2018 at 08:29:10 AM by AutoGen 5.18.5 +# It has been AutoGen-ed February 20, 2019 at 09:56:41 AM by AutoGen 5.18.5 # From the definitions ntp.keys.def # and the template file agtexi-file.tpl @end ignore diff --git a/contrib/ntp/ntpd/invoke-ntpd.texi b/contrib/ntp/ntpd/invoke-ntpd.texi index b50529401e55..16dce21805d5 100644 --- a/contrib/ntp/ntpd/invoke-ntpd.texi +++ b/contrib/ntp/ntpd/invoke-ntpd.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (invoke-ntpd.texi) # -# It has been AutoGen-ed August 14, 2018 at 08:29:12 AM by AutoGen 5.18.5 +# It has been AutoGen-ed February 20, 2019 at 09:56:42 AM by AutoGen 5.18.5 # From the definitions ntpd-opts.def # and the template file agtexi-cmd.tpl @end ignore @@ -142,7 +142,7 @@ with a status code of 0. @exampleindent 0 @example -ntpd - NTP daemon program - Ver. 4.2.8p12 +ntpd - NTP daemon program - Ver. 4.2.8p13 Usage: ntpd [ - [] | --[@{=| @}] ]... \ [ ... ] Flg Arg Option-Name Description @@ -164,7 +164,7 @@ Usage: ntpd [ - [] | --[@{=| @}] ]... \ -g no panicgate Allow the first adjustment to be Big - may appear multiple times -G no force-step-once Step any initial offset correction. - -i Str jaildir Jail directory + -i --- jaildir built without --enable-clockctl or --enable-linuxcaps or --enable-solarisprivs -I Str interface Listen on an interface name or address - may appear multiple times -k Str keyfile path to symmetric keys @@ -187,7 +187,7 @@ Usage: ntpd [ - [] | --[@{=| @}] ]... \ -s Str statsdir Statistics file location -t Str trustedkey Trusted key number - may appear multiple times - -u Str user Run as userid (or userid:groupid) + -u --- user built without --enable-clockctl or --enable-linuxcaps or --enable-solarisprivs -U Num updateinterval interval in seconds between scans for new or dropped interfaces Str var make ARG an ntp variable (RW) - may appear multiple times diff --git a/contrib/ntp/ntpd/ntp.conf.5man b/contrib/ntp/ntpd/ntp.conf.5man index e1f061cfeb0a..50ae14f0eb28 100644 --- a/contrib/ntp/ntpd/ntp.conf.5man +++ b/contrib/ntp/ntpd/ntp.conf.5man @@ -10,11 +10,11 @@ .ds B-Font B .ds I-Font I .ds R-Font R -.TH ntp.conf 5man "14 Aug 2018" "4.2.8p12" "File Formats" +.TH ntp.conf 5man "20 Feb 2019" "4.2.8p13" "File Formats" .\" -.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-2caiQA/ag-bdaaPA) +.\" EDIT THIS FILE WITH CAUTION (in-mem file) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:28:54 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:56:43 AM by AutoGen 5.18.5 .\" From the definitions ntp.conf.def .\" and the template file agman-cmd.tpl .SH NAME diff --git a/contrib/ntp/ntpd/ntp.conf.5mdoc b/contrib/ntp/ntpd/ntp.conf.5mdoc index d31c6b761132..7d133286eb5b 100644 --- a/contrib/ntp/ntpd/ntp.conf.5mdoc +++ b/contrib/ntp/ntpd/ntp.conf.5mdoc @@ -1,9 +1,9 @@ -.Dd August 14 2018 +.Dd February 20 2019 .Dt NTP_CONF 5mdoc File Formats .Os .\" EDIT THIS FILE WITH CAUTION (ntp.mdoc) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:29:15 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:56:34 AM by AutoGen 5.18.5 .\" From the definitions ntp.conf.def .\" and the template file agmdoc-cmd.tpl .Sh NAME diff --git a/contrib/ntp/ntpd/ntp.conf.html b/contrib/ntp/ntpd/ntp.conf.html index 5439ff7a7f37..e19e3264272d 100644 --- a/contrib/ntp/ntpd/ntp.conf.html +++ b/contrib/ntp/ntpd/ntp.conf.html @@ -1,128 +1,168 @@ - + + + -NTP Configuration File User's Manual - - - - - - - + +NTP Configuration File User’s Manual + + + + + + + + + + + - -

NTP Configuration File User's Manual

-
-


-Next: , -Previous: (dir), -Up: (dir) -
+ + +

NTP Configuration File User’s Manual

+ + + + + + +
+

+Next: , Previous: , Up: (dir)  

+ +

NTP’s Configuration File User Manual

-

NTP's Configuration File User Manual

- -

This document describes the configuration file for the NTP Project's +

This document describes the configuration file for the NTP Project’s ntpd program. +

+

This document applies to version 4.2.8p13 of ntp.conf. +

+ +

Short Table of Contents

-

This document applies to version 4.2.8p12 of ntp.conf. - -

-

Short Contents

-
    -NTP's Configuration File User Manual + - -
    -


    -Previous: Top, -Up: Top -
    + + + + + +
    + +
    +

    +Previous: , Up: Top  

    - - -

    Description

    + +

    1 Description

    The behavior of ntpd can be changed by a configuration file, by default ntp.conf. +

    + + + -
    -


    +
    -
    +
    +

    +Previous: , Up: ntp.conf Description  

    + +

    1.1 Notes about ntp.conf

    + + -

    Notes about ntp.conf

    -

    -

    The +

    The ntp.conf configuration file is read at initial startup by the ntpd(1ntpdmdoc) daemon in order to specify the synchronization sources, -modes and other related information. +modes and other related information. Usually, it is installed in the -/etc +/etc directory, but could be installed elsewhere -(see the daemon's +(see the daemon’s -c command line option). - -

    The file format is similar to other -unix -configuration files. +

    +

    The file format is similar to other +UNIX +configuration files. Comments begin with a -# +‘#’ character and extend to the end of the line; -blank lines are ignored. +blank lines are ignored. Configuration commands consist of an initial keyword followed by a list of arguments, -some of which may be optional, separated by whitespace. -Commands may not be continued over multiple lines. +some of which may be optional, separated by whitespace. +Commands may not be continued over multiple lines. Arguments may be host names, host addresses written in numeric, dotted-quad form, integers, floating point numbers (when specifying times in seconds) and text strings. - -

    The rest of this page describes the configuration and control options. +

    +

    The rest of this page describes the configuration and control options. The -"Notes on Configuring NTP and Setting up an NTP Subnet" +"Notes on Configuring NTP and Setting up an NTP Subnet" page (available as part of the HTML documentation provided in -/usr/share/doc/ntp) -contains an extended discussion of these options. +/usr/share/doc/ntp) +contains an extended discussion of these options. In addition to the discussion of general -Configuration Options, +‘Configuration Options’, there are sections describing the following supported functionality and the options used to control it: -

    +

    -

    Following these is a section describing -Miscellaneous Options. +

    Following these is a section describing +Miscellaneous Options. While there is a rich set of options available, the only required option is one or more pool, @@ -131,42 +171,66 @@ the only required option is one or more broadcast or manycastclient -commands. -

    -


    +commands. +

    + + + + + + + + + + + + + +
    -
    + - -

    Configuration Support

    - + +

    1.1.1 Configuration Support

    Following is a description of the configuration commands in -NTPv4. +NTPv4. These commands have the same basic functions as in NTPv3 and -in some cases new functions and new arguments. +in some cases new functions and new arguments. There are two classes of commands, configuration commands that configure a persistent association with a remote server or peer or reference clock, and auxiliary commands that specify environmental variables that control various related operations. - -

    Configuration Commands
    - +

    +

    1.1.1.1 Configuration Commands

    The various modes are determined by the command keyword and the -type of the required IP address. +type of the required IP address. Addresses are classed by type as (s) a remote server or peer (IPv4 class A, B and C), (b) the broadcast address of a local interface, (m) a multicast address (IPv4 -class D), or (r) a reference clock address (127.127.x.x). +class D), or (r) a reference clock address (127.127.x.x). Note that -only those options applicable to each command are listed below. +only those options applicable to each command are listed below. Use of options not listed may not be caught as an error, but may result in some weird and even destructive behavior. - -

    If the Basic Socket Interface Extensions for IPv6 (RFC-2553) +

    +

    If the Basic Socket Interface Extensions for IPv6 (RFC-2553) is detected, support for the IPv6 address family is generated -in addition to the default support of the IPv4 address family. +in addition to the default support of the IPv4 address family. In a few cases, including the reslist billboard generated @@ -174,84 +238,96 @@ by ntpq(1ntpqmdoc) or ntpdc(1ntpdcmdoc), -IPv6 addresses are automatically generated. +IPv6 addresses are automatically generated. IPv6 addresses can be identified by the presence of colons -: -in the address field. +“:” +in the address field. IPv6 addresses can be used almost everywhere where IPv4 addresses can be used, with the exception of reference clock addresses, which are always IPv4. - -

    Note that in contexts where a host name is expected, a +

    +

    Note that in contexts where a host name is expected, a -4 qualifier preceding the host name forces DNS resolution to the IPv4 namespace, while a -6 -qualifier forces DNS resolution to the IPv6 namespace. +qualifier forces DNS resolution to the IPv6 namespace. See IPv6 references for the equivalent classes for that address family. -

    -
    pool address [burst] [iburst] [version version] [prefer] [minpoll minpoll] [maxpoll maxpoll]
    server address [key key | autokey] [burst] [iburst] [version version] [prefer] [minpoll minpoll] [maxpoll maxpoll] [true]
    peer address [key key | autokey] [version version] [prefer] [minpoll minpoll] [maxpoll maxpoll] [true] [xleave]
    broadcast address [key key | autokey] [version version] [prefer] [minpoll minpoll] [ttl ttl] [xleave]
    manycastclient address [key key | autokey] [version version] [prefer] [minpoll minpoll] [maxpoll maxpoll] [ttl ttl]
    +

    +
    pool address [burst] [iburst] [version version] [prefer] [minpoll minpoll] [maxpoll maxpoll]
    +
    server address [key key | autokey] [burst] [iburst] [version version] [prefer] [minpoll minpoll] [maxpoll maxpoll] [true]
    +
    peer address [key key | autokey] [version version] [prefer] [minpoll minpoll] [maxpoll maxpoll] [true] [xleave]
    +
    broadcast address [key key | autokey] [version version] [prefer] [minpoll minpoll] [ttl ttl] [xleave]
    +
    manycastclient address [key key | autokey] [version version] [prefer] [minpoll minpoll] [maxpoll maxpoll] [ttl ttl]
    +
    -

    These five commands specify the time server name or address to -be used and the mode in which to operate. +

    These five commands specify the time server name or address to +be used and the mode in which to operate. The address can be -either a DNS name or an IP address in dotted-quad notation. +either a DNS name or an IP address in dotted-quad notation. Additional information on association behavior can be found in the -"Association Management" +"Association Management" page (available as part of the HTML documentation provided in -/usr/share/doc/ntp). -

    -
    pool
    For type s addresses, this command mobilizes a persistent -client mode association with a number of remote servers. +/usr/share/doc/ntp). +

    +
    pool
    +

    For type s addresses, this command mobilizes a persistent +client mode association with a number of remote servers. In this mode the local clock can synchronized to the remote server, but the remote server can never be synchronized to -the local clock. -

    server
    For type s and r addresses, this command mobilizes a persistent +the local clock. +

    +
    server
    +

    For type s and r addresses, this command mobilizes a persistent client mode association with the specified remote server or local -radio clock. +radio clock. In this mode the local clock can synchronized to the remote server, but the remote server can never be synchronized to -the local clock. +the local clock. This command should not be used for type -b or m addresses. -

    peer
    For type s addresses (only), this command mobilizes a +b or m addresses. +

    +
    peer
    +

    For type s addresses (only), this command mobilizes a persistent symmetric-active mode association with the specified -remote peer. +remote peer. In this mode the local clock can be synchronized to the remote peer or the remote peer can be synchronized to the local -clock. +clock. This is useful in a network of servers where, depending on various failure scenarios, either the local or remote peer may be -the better source of time. +the better source of time. This command should NOT be used for type -b, m or r addresses. -

    broadcast
    For type b and m addresses (only), this -command mobilizes a persistent broadcast mode association. +b, m or r addresses. +

    +
    broadcast
    +

    For type b and m addresses (only), this +command mobilizes a persistent broadcast mode association. Multiple commands can be used to specify multiple local broadcast interfaces -(subnets) and/or multiple multicast groups. +(subnets) and/or multiple multicast groups. Note that local broadcast messages go only to the interface associated with the -subnet specified, but multicast messages go to all interfaces. +subnet specified, but multicast messages go to all interfaces. In broadcast mode the local server sends periodic broadcast messages to a client population at the address specified, which is usually the broadcast address on (one of) the -local network(s) or a multicast address assigned to NTP. +local network(s) or a multicast address assigned to NTP. The IANA has assigned the multicast group address IPv4 224.0.1.1 and IPv6 ff05::101 (site local) exclusively to NTP, but other nonconflicting addresses can be used to contain the -messages within administrative boundaries. +messages within administrative boundaries. Ordinarily, this specification applies only to the local server operating as a sender; for operation as a broadcast client, see the @@ -259,65 +335,73 @@ sender; for operation as a broadcast client, see the or multicastclient commands -below. -

    manycastclient
    For type m addresses (only), this command mobilizes a +below. +

    +
    manycastclient
    +

    For type m addresses (only), this command mobilizes a manycast client mode association for the multicast address -specified. +specified. In this case a specific address must be supplied which matches the address used on the manycastserver command for -the designated manycast servers. +the designated manycast servers. The NTP multicast address 224.0.1.1 assigned by the IANA should NOT be used, unless specific means are taken to avoid spraying large areas of the Internet with these messages and causing a possibly massive implosion of replies -at the sender. +at the sender. The manycastserver command specifies that the local server is to operate in client mode with the remote servers that are -discovered as the result of broadcast/multicast messages. +discovered as the result of broadcast/multicast messages. The client broadcasts a request message to the group address associated with the specified address and specifically enabled -servers respond to these messages. +servers respond to these messages. The client selects the servers providing the best time and continues as with the server -command. +command. The remaining servers are discarded as if never -heard. +heard. +

    -

    Options: -

    -
    autokey
    All packets sent to and received from the server or peer are to +

    Options: +

    +
    autokey
    +

    All packets sent to and received from the server or peer are to include authentication fields encrypted using the autokey scheme described in -Authentication Options. -

    burst
    when the server is reachable, send a burst of eight packets -instead of the usual one. +‘Authentication Options’. +

    +
    burst
    +

    when the server is reachable, send a burst of eight packets +instead of the usual one. The packet spacing is normally 2 s; however, the spacing between the first and second packets can be changed with the calldelay command to allow -additional time for a modem or ISDN call to complete. +additional time for a modem or ISDN call to complete. This is designed to improve timekeeping quality with the server -command and s addresses. -

    iburst
    When the server is unreachable, send a burst of eight packets -instead of the usual one. +command and s addresses. +

    +
    iburst
    +

    When the server is unreachable, send a burst of eight packets +instead of the usual one. The packet spacing is normally 2 s; however, the spacing between the first two packets can be changed with the calldelay command to allow -additional time for a modem or ISDN call to complete. +additional time for a modem or ISDN call to complete. This is designed to speed the initial synchronization acquisition with the server @@ -325,167 +409,196 @@ command and s addresses and when ntpd(1ntpdmdoc) is started with the -q -option. -

    key key
    All packets sent to and received from the server or peer are to +option. +

    +
    key key
    +

    All packets sent to and received from the server or peer are to include authentication fields encrypted using the specified key -identifier with values from 1 to 65535, inclusive. +identifier with values from 1 to 65535, inclusive. The -default is to include no encryption field. -

    minpoll minpoll
    maxpoll maxpoll
    These options specify the minimum and maximum poll intervals +default is to include no encryption field. +

    +
    minpoll minpoll
    +
    maxpoll maxpoll
    +

    These options specify the minimum and maximum poll intervals for NTP messages, as a power of 2 in seconds The maximum poll interval defaults to 10 (1,024 s), but can be increased by the maxpoll -option to an upper limit of 17 (36.4 h). +option to an upper limit of 17 (36.4 h). The minimum poll interval defaults to 6 (64 s), but can be decreased by the minpoll -option to a lower limit of 4 (16 s). -

    noselect
    Marks the server as unused, except for display purposes. -The server is discarded by the selection algroithm. -
    preempt
    Says the association can be preempted. -
    true
    Marks the server as a truechimer. -Use this option only for testing. -
    prefer
    Marks the server as preferred. +option to a lower limit of 4 (16 s). +

    +
    noselect
    +

    Marks the server as unused, except for display purposes. +The server is discarded by the selection algroithm. +

    +
    preempt
    +

    Says the association can be preempted. +

    +
    true
    +

    Marks the server as a truechimer. +Use this option only for testing. +

    +
    prefer
    +

    Marks the server as preferred. All other things being equal, this host will be chosen for synchronization among a set of -correctly operating hosts. +correctly operating hosts. See the -"Mitigation Rules and the prefer Keyword" +"Mitigation Rules and the prefer Keyword" page (available as part of the HTML documentation provided in -/usr/share/doc/ntp) -for further information. -

    true
    Forces the association to always survive the selection and clustering algorithms. +/usr/share/doc/ntp) +for further information. +

    +
    true
    +

    Forces the association to always survive the selection and clustering algorithms. This option should almost certainly only -be used while testing an association. -

    ttl ttl
    This option is used only with broadcast server and manycast -client modes. +be used while testing an association. +

    +
    ttl ttl
    +

    This option is used only with broadcast server and manycast +client modes. It specifies the time-to-live ttl to use on broadcast server and multicast server and the maximum ttl for the expanding ring search with manycast -client packets. +client packets. Selection of the proper value, which defaults to 127, is something of a black art and should be coordinated with the -network administrator. -

    version version
    Specifies the version number to be used for outgoing NTP -packets. +network administrator. +

    +
    version version
    +

    Specifies the version number to be used for outgoing NTP +packets. Versions 1-4 are the choices, with version 4 the -default. -

    xleave
    Valid in +default. +

    +
    xleave
    +

    Valid in peer and broadcast -modes only, this flag enables interleave mode. +modes only, this flag enables interleave mode. +

    - -
    Auxiliary Commands
    - -
    -
    broadcastclient
    This command enables reception of broadcast server messages to -any local interface (type b) address. + +

    1.1.1.2 Auxiliary Commands

    +
    +
    broadcastclient
    +

    This command enables reception of broadcast server messages to +any local interface (type b) address. Upon receiving a message for the first time, the broadcast client measures the nominal server propagation delay using a brief client/server exchange with the server, then enters the broadcast client mode, in which it -synchronizes to succeeding broadcast messages. +synchronizes to succeeding broadcast messages. Note that, in order to avoid accidental or malicious disruption in this mode, both the server and client should operate using symmetric-key or public-key authentication as described in -Authentication Options. -

    manycastserver address ...
    This command enables reception of manycast client messages to -the multicast group address(es) (type m) specified. +‘Authentication Options’. +

    +
    manycastserver address ...
    +

    This command enables reception of manycast client messages to +the multicast group address(es) (type m) specified. At least one address is required, but the NTP multicast address 224.0.1.1 assigned by the IANA should NOT be used, unless specific means are taken to limit the span of the reply and avoid a possibly massive -implosion at the original sender. +implosion at the original sender. Note that, in order to avoid accidental or malicious disruption in this mode, both the server and client should operate using symmetric-key or public-key authentication as described in -Authentication Options. -

    multicastclient address ...
    This command enables reception of multicast server messages to -the multicast group address(es) (type m) specified. +‘Authentication Options’. +

    +
    multicastclient address ...
    +

    This command enables reception of multicast server messages to +the multicast group address(es) (type m) specified. Upon receiving a message for the first time, the multicast client measures the nominal server propagation delay using a brief client/server exchange with the server, then enters the broadcast client mode, in -which it synchronizes to succeeding multicast messages. +which it synchronizes to succeeding multicast messages. Note that, in order to avoid accidental or malicious disruption in this mode, both the server and client should operate using symmetric-key or public-key authentication as described in -Authentication Options. -

    mdnstries number
    If we are participating in mDNS, +‘Authentication Options’. +

    +
    mdnstries number
    +

    If we are participating in mDNS, after we have synched for the first time -we attempt to register with the mDNS system. +we attempt to register with the mDNS system. If that registration attempt fails, we try again at one minute intervals for up to mdnstries -times. +times. After all, ntpd -may be starting before mDNS. +may be starting before mDNS. The default value for mdnstries -is 5. +is 5. +

    -
    -


    +
    -
    + - -

    Authentication Support

    - + +

    1.1.2 Authentication Support

    Authentication support allows the NTP client to verify that the server is in fact known and trusted and not an intruder intending -accidentally or on purpose to masquerade as that server. +accidentally or on purpose to masquerade as that server. The NTPv3 specification RFC-1305 defines a scheme which provides -cryptographic authentication of received NTP packets. +cryptographic authentication of received NTP packets. Originally, this was done using the Data Encryption Standard (DES) algorithm operating in Cipher Block Chaining (CBC) mode, commonly called -DES-CBC. +DES-CBC. Subsequently, this was replaced by the RSA Message Digest -5 (MD5) algorithm using a private key, commonly called keyed-MD5. +5 (MD5) algorithm using a private key, commonly called keyed-MD5. Either algorithm computes a message digest, or one-way hash, which can be used to verify the server has the correct private key and key identifier. - -

    NTPv4 retains the NTPv3 scheme, properly described as symmetric key +

    +

    NTPv4 retains the NTPv3 scheme, properly described as symmetric key cryptography and, in addition, provides a new Autokey scheme -based on public key cryptography. +based on public key cryptography. Public key cryptography is generally considered more secure than symmetric key cryptography, since the security is based on a private value which is generated by each server and -never revealed. +never revealed. With Autokey all key distribution and management functions involve only public values, which -considerably simplifies key distribution and storage. +considerably simplifies key distribution and storage. Public key management is based on X.509 certificates, which can be provided by commercial services or produced by utility programs in the OpenSSL software library or the NTPv4 distribution. - -

    While the algorithms for symmetric key cryptography are +

    +

    While the algorithms for symmetric key cryptography are included in the NTPv4 distribution, public key cryptography requires the OpenSSL software library to be installed -before building the NTP distribution. +before building the NTP distribution. Directions for doing that are on the Building and Installing the Distribution page. - -

    Authentication is configured separately for each association +

    +

    Authentication is configured separately for each association using the key or @@ -497,36 +610,36 @@ subcommand on the and manycastclient configuration commands as described in -Configuration Options -page. +‘Configuration Options’ +page. The authentication options described below specify the locations of the key files, if other than default, which symmetric keys are trusted and the interval between various operations, if other than default. - -

    Authentication is always enabled, +

    +

    Authentication is always enabled, although ineffective if not configured as -described below. +described below. If a NTP packet arrives including a message authentication code (MAC), it is accepted only if it -passes all cryptographic checks. +passes all cryptographic checks. The checks require correct key ID, key value -and message digest. +and message digest. If the packet has been modified in any way or replayed by an intruder, it will fail one or more -of these checks and be discarded. +of these checks and be discarded. Furthermore, the Autokey scheme requires a preliminary protocol exchange to obtain the server certificate, verify its credentials and initialize the protocol - -

    The +

    +

    The auth flag controls whether new associations or -remote configuration commands require cryptographic authentication. +remote configuration commands require cryptographic authentication. This flag can be set or reset by the enable and @@ -535,22 +648,22 @@ commands and also by remote configuration commands sent by a ntpdc(1ntpdcmdoc) program running on -another machine. +another machine. If this flag is enabled, which is the default case, new broadcast client and symmetric passive associations and remote configuration commands must be cryptographically -authenticated using either symmetric key or public key cryptography. +authenticated using either symmetric key or public key cryptography. If this flag is disabled, these operations are effective even if not cryptographic -authenticated. +authenticated. It should be understood that operating with the auth flag disabled invites a significant vulnerability where a rogue hacker can masquerade as a falseticker and seriously -disrupt system timekeeping. +disrupt system timekeeping. It is important to note that this flag has no purpose other than to allow or disallow @@ -559,42 +672,41 @@ and symmetric active messages and remote configuration commands and, in particular, the flag has no effect on the authentication process itself. - -

    An attractive alternative where multicast support is available +

    +

    An attractive alternative where multicast support is available is manycast mode, in which clients periodically troll for servers as described in the Automatic NTP Configuration Options -page. +page. Either symmetric key or public key -cryptographic authentication can be used in this mode. +cryptographic authentication can be used in this mode. The principle advantage of manycast mode is that potential servers need not be configured in advance, since the client finds them during regular operation, and the configuration files for all clients can be identical. - -

    The security model and protocol schemes for +

    +

    The security model and protocol schemes for both symmetric key and public key cryptography are summarized below; further details are in the briefings, papers and reports at the NTP project page linked from http://www.ntp.org/. - -

    Symmetric-Key Cryptography
    - +

    +

    1.1.2.1 Symmetric-Key Cryptography

    The original RFC-1305 specification allows any one of possibly 65,535 keys, each distinguished by a 32-bit key identifier, to -authenticate an association. +authenticate an association. The servers and clients involved must agree on the key and key identifier to -authenticate NTP packets. +authenticate NTP packets. Keys and related information are specified in a key file, usually called -ntp.keys, +ntp.keys, which must be distributed and stored using -secure means beyond the scope of the NTP protocol itself. +secure means beyond the scope of the NTP protocol itself. Besides the keys used for ordinary NTP associations, additional keys can be used as passwords for the @@ -602,25 +714,25 @@ additional keys can be used as passwords for the and ntpdc(1ntpdcmdoc) utility programs. - -

    When +

    +

    When ntpd(1ntpdmdoc) is first started, it reads the key file specified in the keys configuration command and installs the keys -in the key cache. +in the key cache. However, individual keys must be activated with the trusted -command before use. +command before use. This allows, for instance, the installation of possibly several batches of keys and then activating or deactivating each batch remotely using -ntpdc(1ntpdcmdoc). +ntpdc(1ntpdcmdoc). This also provides a revocation capability that can be used -if a key becomes compromised. +if a key becomes compromised. The requestkey command selects the key used as the password for the @@ -630,121 +742,118 @@ utility, while the command selects the key used as the password for the ntpq(1ntpqmdoc) utility. - -

    Public Key Cryptography
    - +

    +

    1.1.2.2 Public Key Cryptography

    NTPv4 supports the original NTPv3 symmetric key scheme described in RFC-1305 and in addition the Autokey protocol, -which is based on public key cryptography. +which is based on public key cryptography. The Autokey Version 2 protocol described on the Autokey Protocol page verifies packet integrity using MD5 message digests and verifies the source with digital signatures and any of several -digest/signature schemes. +digest/signature schemes. Optional identity schemes described on the Identity Schemes page and based on cryptographic challenge/response algorithms -are also available. +are also available. Using all of these schemes provides strong security against replay with or without modification, spoofing, masquerade and most forms of clogging attacks. - -

    The Autokey protocol has several modes of operation -corresponding to the various NTP modes supported. +

    +

    The Autokey protocol has several modes of operation +corresponding to the various NTP modes supported. Most modes use a special cookie which can be computed independently by the client and server, -but encrypted in transmission. +but encrypted in transmission. All modes use in addition a variant of the S-KEY scheme, in which a pseudo-random key list is generated and used -in reverse order. +in reverse order. These schemes are described along with an executive summary, current status, briefing slides and reading list on the -Autonomous Authentication +‘Autonomous Authentication’ page. - -

    The specific cryptographic environment used by Autokey servers +

    +

    The specific cryptographic environment used by Autokey servers and clients is determined by a set of files and soft links generated by the ntp-keygen(1ntpkeygenmdoc) -program. +program. This includes a required host key file, required certificate file and optional sign key file, -leapsecond file and identity scheme files. +leapsecond file and identity scheme files. The digest/signature scheme is specified in the X.509 certificate -along with the matching sign key. +along with the matching sign key. There are several schemes available in the OpenSSL software library, each identified by a specific string such as md5WithRSAEncryption, which stands for the MD5 message digest with RSA -encryption scheme. +encryption scheme. The current NTP distribution supports all the schemes in the OpenSSL library, including those based on RSA and DSA digital signatures. - -

    NTP secure groups can be used to define cryptographic compartments -and security hierarchies. +

    +

    NTP secure groups can be used to define cryptographic compartments +and security hierarchies. It is important that every host in the group be able to construct a certificate trail to one -or more trusted hosts in the same group. +or more trusted hosts in the same group. Each group host runs the Autokey protocol to obtain the certificates -for all hosts along the trail to one or more trusted hosts. +for all hosts along the trail to one or more trusted hosts. This requires the configuration file in all hosts to be engineered so that, even under anticipated failure conditions, the NTP subnet will form such that every group host can find a trail to at least one trusted host. - -

    Naming and Addressing
    - +

    +

    1.1.2.3 Naming and Addressing

    It is important to note that Autokey does not use DNS to -resolve addresses, since DNS can't be completely trusted -until the name servers have synchronized clocks. +resolve addresses, since DNS can’t be completely trusted +until the name servers have synchronized clocks. The cryptographic name used by Autokey to bind the host identity credentials and cryptographic values must be independent -of interface, network and any other naming convention. +of interface, network and any other naming convention. The name appears in the host certificate in either or both the subject and issuer fields, so protection against DNS compromise is essential. - -

    By convention, the name of an Autokey host is the name returned +

    +

    By convention, the name of an Autokey host is the name returned by the Unix gethostname(2) -system call or equivalent in other systems. +system call or equivalent in other systems. By the system design -model, there are no provisions to allow alternate names or aliases. +model, there are no provisions to allow alternate names or aliases. However, this is not to say that DNS aliases, different names for each interface, etc., are constrained in any way. - -

    It is also important to note that Autokey verifies authenticity +

    +

    It is also important to note that Autokey verifies authenticity using the host name, network address and public keys, all of which are bound together by the protocol specifically -to deflect masquerade attacks. +to deflect masquerade attacks. For this reason Autokey includes the source and destination IP addresses in message digest computations and so the same addresses must be available -at both the server and client. +at both the server and client. For this reason operation -with network address translation schemes is not possible. +with network address translation schemes is not possible. This reflects the intended robust security model where government and corporate NTP servers are operated outside firewall perimeters. - -

    Operation
    - +

    +

    1.1.2.4 Operation

    A specific combination of authentication scheme (none, symmetric key, public key) and identity scheme is called -a cryptotype, although not all combinations are compatible. +a cryptotype, although not all combinations are compatible. There may be management configurations where the clients, -servers and peers may not all support the same cryptotypes. +servers and peers may not all support the same cryptotypes. A secure NTPv4 subnet can be configured in many ways while keeping in mind the principles explained above and -in this section. +in this section. Note however that some cryptotype combinations may successfully interoperate with each other, but may not represent good security practice. - -

    The cryptotype of an association is determined at the time +

    +

    The cryptotype of an association is determined at the time of mobilization, either at configuration time or some time -later when a message of appropriate cryptotype arrives. +later when a message of appropriate cryptotype arrives. When mobilized by a server or @@ -761,513 +870,609 @@ using the symmetric key ID specified; if the autokey subcommand is present, the association is authenticated using Autokey. - -

    When multiple identity schemes are supported in the Autokey -protocol, the first message exchange determines which one is used. +

    +

    When multiple identity schemes are supported in the Autokey +protocol, the first message exchange determines which one is used. The client request message contains bits corresponding -to which schemes it has available. +to which schemes it has available. The server response message -contains bits corresponding to which schemes it has available. +contains bits corresponding to which schemes it has available. Both server and client match the received bits with their own and select a common scheme. - -

    Following the principle that time is a public value, +

    +

    Following the principle that time is a public value, a server responds to any client packet that matches -its cryptotype capabilities. +its cryptotype capabilities. Thus, a server receiving an unauthenticated packet will respond with an unauthenticated packet, while the same server receiving a packet of a cryptotype -it supports will respond with packets of that cryptotype. +it supports will respond with packets of that cryptotype. However, unconfigured broadcast or manycast client associations or symmetric passive associations will not be mobilized unless the server supports a cryptotype compatible -with the first packet received. +with the first packet received. By default, unauthenticated associations will not be mobilized unless overridden in a decidedly dangerous way. - -

    Some examples may help to reduce confusion. -Client Alice has no specific cryptotype selected. -Server Bob has both a symmetric key file and minimal Autokey files. -Alice's unauthenticated messages arrive at Bob, who replies with -unauthenticated messages. -Cathy has a copy of Bob's symmetric -key file and has selected key ID 4 in messages to Bob. -Bob verifies the message with his key ID 4. -If it's the +

    +

    Some examples may help to reduce confusion. +Client Alice has no specific cryptotype selected. +Server Bob has both a symmetric key file and minimal Autokey files. +Alice’s unauthenticated messages arrive at Bob, who replies with +unauthenticated messages. +Cathy has a copy of Bob’s symmetric +key file and has selected key ID 4 in messages to Bob. +Bob verifies the message with his key ID 4. +If it’s the same key and the message is verified, Bob sends Cathy a reply -authenticated with that key. +authenticated with that key. If verification fails, Bob sends Cathy a thing called a crypto-NAK, which tells her -something broke. +something broke. She can see the evidence using the ntpq(1ntpqmdoc) program. - -

    Denise has rolled her own host key and certificate. -She also uses one of the identity schemes as Bob. +

    +

    Denise has rolled her own host key and certificate. +She also uses one of the identity schemes as Bob. She sends the first Autokey message to Bob and they -both dance the protocol authentication and identity steps. +both dance the protocol authentication and identity steps. If all comes out okay, Denise and Bob continue as described above. - -

    It should be clear from the above that Bob can support +

    +

    It should be clear from the above that Bob can support all the girls at the same time, as long as he has compatible -authentication and identity credentials. +authentication and identity credentials. Now, Bob can act just like the girls in his own choice of servers; he can run multiple configured associations with multiple different -servers (or the same server, although that might not be useful). +servers (or the same server, although that might not be useful). But, wise security policy might preclude some cryptotype combinations; for instance, running an identity scheme with one server and no authentication with another might not be wise. - -

    Key Management
    - +

    +

    1.1.2.5 Key Management

    The cryptographic values used by the Autokey protocol are incorporated as a set of files generated by the ntp-keygen(1ntpkeygenmdoc) utility program, including symmetric key, host key and public certificate files, as well as sign key, identity parameters -and leapseconds files. +and leapseconds files. Alternatively, host and sign keys and certificate files can be generated by the OpenSSL utilities and certificates can be imported from public certificate -authorities. +authorities. Note that symmetric keys are necessary for the ntpq(1ntpqmdoc) and ntpdc(1ntpdcmdoc) -utility programs. +utility programs. The remaining files are necessary only for the Autokey protocol. - -

    Certificates imported from OpenSSL or public certificate -authorities have certian limitations. +

    +

    Certificates imported from OpenSSL or public certificate +authorities have certian limitations. The certificate should be in ASN.1 syntax, X.509 Version 3 format and encoded in PEM, which is the same format -used by OpenSSL. +used by OpenSSL. The overall length of the certificate encoded -in ASN.1 must not exceed 1024 bytes. +in ASN.1 must not exceed 1024 bytes. The subject distinguished name field (CN) is the fully qualified name of the host -on which it is used; the remaining subject fields are ignored. +on which it is used; the remaining subject fields are ignored. The certificate extension fields must not contain either a subject key identifier or a issuer key identifier field; however, an extended key usage field for a trusted host must contain the value -trustRoot;. +trustRoot;. Other extension fields are ignored. - -

    Authentication Commands
    - -
    -
    autokey [logsec]
    Specifies the interval between regenerations of the session key -list used with the Autokey protocol. +

    +

    1.1.2.6 Authentication Commands

    +
    +
    autokey [logsec]
    +

    Specifies the interval between regenerations of the session key +list used with the Autokey protocol. Note that the size of the key list for each association depends on this interval and the current -poll interval. -The default value is 12 (4096 s or about 1.1 hours). +poll interval. +The default value is 12 (4096 s or about 1.1 hours). For poll intervals above the specified interval, a session key list with a single entry will be regenerated for every message -sent. -

    controlkey key
    Specifies the key identifier to use with the +sent. +

    +
    controlkey key
    +

    Specifies the key identifier to use with the ntpq(1ntpqmdoc) utility, which uses the standard -protocol defined in RFC-1305. +protocol defined in RFC-1305. The key argument is the key identifier for a trusted key, where the value can be in the -range 1 to 65,535, inclusive. -

    crypto [cert file] [leap file] [randfile file] [host file] [sign file] [gq file] [gqpar file] [iffpar file] [mvpar file] [pw password]
    This command requires the OpenSSL library. +range 1 to 65,535, inclusive. +

    +
    crypto [cert file] [leap file] [randfile file] [host file] [sign file] [gq file] [gqpar file] [iffpar file] [mvpar file] [pw password]
    +

    This command requires the OpenSSL library. It activates public key cryptography, selects the message digest and signature encryption scheme and loads the required private and public -values described above. +values described above. If one or more files are left unspecified, -the default names are used as described above. +the default names are used as described above. Unless the complete path and name of the file are specified, the location of a file is relative to the keys directory specified in the keysdir command or default -/usr/local/etc. +/usr/local/etc. Following are the subcommands: -

    -
    cert file
    Specifies the location of the required host public certificate file. +

    +
    cert file
    +

    Specifies the location of the required host public certificate file. This overrides the link -ntpkey_cert_hostname -in the keys directory. -

    gqpar file
    Specifies the location of the optional GQ parameters file. +ntpkey_cert_hostname +in the keys directory. +

    +
    gqpar file
    +

    Specifies the location of the optional GQ parameters file. This overrides the link -ntpkey_gq_hostname -in the keys directory. -

    host file
    Specifies the location of the required host key file. +ntpkey_gq_hostname +in the keys directory. +

    +
    host file
    +

    Specifies the location of the required host key file. This overrides the link -ntpkey_key_hostname -in the keys directory. -

    iffpar file
    Specifies the location of the optional IFF parameters file. +ntpkey_key_hostname +in the keys directory. +

    +
    iffpar file
    +

    Specifies the location of the optional IFF parameters file. This overrides the link -ntpkey_iff_hostname -in the keys directory. -

    leap file
    Specifies the location of the optional leapsecond file. +ntpkey_iff_hostname +in the keys directory. +

    +
    leap file
    +

    Specifies the location of the optional leapsecond file. This overrides the link -ntpkey_leap -in the keys directory. -

    mvpar file
    Specifies the location of the optional MV parameters file. +ntpkey_leap +in the keys directory. +

    +
    mvpar file
    +

    Specifies the location of the optional MV parameters file. This overrides the link -ntpkey_mv_hostname -in the keys directory. -

    pw password
    Specifies the password to decrypt files containing private keys and -identity parameters. +ntpkey_mv_hostname +in the keys directory. +

    +
    pw password
    +

    Specifies the password to decrypt files containing private keys and +identity parameters. This is required only if these files have been -encrypted. -

    randfile file
    Specifies the location of the random seed file used by the OpenSSL -library. -The defaults are described in the main text above. -
    sign file
    Specifies the location of the optional sign key file. +encrypted. +

    +
    randfile file
    +

    Specifies the location of the random seed file used by the OpenSSL +library. +The defaults are described in the main text above. +

    +
    sign file
    +

    Specifies the location of the optional sign key file. This overrides the link -ntpkey_sign_hostname -in the keys directory. +ntpkey_sign_hostname +in the keys directory. If this file is -not found, the host key is also the sign key. +not found, the host key is also the sign key. +

    -
    keys keyfile
    Specifies the complete path and location of the MD5 key file +
    +
    keys keyfile
    +

    Specifies the complete path and location of the MD5 key file containing the keys and key identifiers used by ntpd(1ntpdmdoc), ntpq(1ntpqmdoc) and ntpdc(1ntpdcmdoc) -when operating with symmetric key cryptography. +when operating with symmetric key cryptography. This is the same operation as the -k -command line option. -

    keysdir path
    This command specifies the default directory path for -cryptographic keys, parameters and certificates. +command line option. +

    +
    keysdir path
    +

    This command specifies the default directory path for +cryptographic keys, parameters and certificates. The default is -/usr/local/etc/. -

    requestkey key
    Specifies the key identifier to use with the +/usr/local/etc/. +

    +
    requestkey key
    +

    Specifies the key identifier to use with the ntpdc(1ntpdcmdoc) utility program, which uses a proprietary protocol specific to this implementation of -ntpd(1ntpdmdoc). +ntpd(1ntpdmdoc). The key argument is a key identifier for the trusted key, where the value can be in the range 1 to -65,535, inclusive. -

    revoke logsec
    Specifies the interval between re-randomization of certain +65,535, inclusive. +

    +
    revoke logsec
    +

    Specifies the interval between re-randomization of certain cryptographic values used by the Autokey scheme, as a power of 2 in -seconds. +seconds. These values need to be updated frequently in order to deflect brute-force attacks on the algorithms of the scheme; -however, updating some values is a relatively expensive operation. -The default interval is 16 (65,536 s or about 18 hours). +however, updating some values is a relatively expensive operation. +The default interval is 16 (65,536 s or about 18 hours). For poll intervals above the specified interval, the values will be updated -for every message sent. -

    trustedkey key ...
    Specifies the key identifiers which are trusted for the +for every message sent. +

    +
    trustedkey key ...
    +

    Specifies the key identifiers which are trusted for the purposes of authenticating peers with symmetric key cryptography, as well as keys used by the ntpq(1ntpqmdoc) and ntpdc(1ntpdcmdoc) -programs. +programs. The authentication procedures require that both the local and remote servers share the same key and key identifier for this purpose, although different keys can be used with different -servers. +servers. The key arguments are 32-bit unsigned -integers with values from 1 to 65,535. +integers with values from 1 to 65,535. +

    - -
    Error Codes
    - + +

    1.1.2.7 Error Codes

    The following error codes are reported via the NTP control and monitoring protocol trap mechanism. -

    -
    101
    (bad field format or length) -The packet has invalid version, length or format. -
    102
    (bad timestamp) -The packet timestamp is the same or older than the most recent received. -This could be due to a replay or a server clock time step. -
    103
    (bad filestamp) -The packet filestamp is the same or older than the most recent received. -This could be due to a replay or a key file generation error. -
    104
    (bad or missing public key) -The public key is missing, has incorrect format or is an unsupported type. -
    105
    (unsupported digest type) -The server requires an unsupported digest/signature scheme. -
    106
    (mismatched digest types) -Not used. -
    107
    (bad signature length) -The signature length does not match the current public key. -
    108
    (signature not verified) -The message fails the signature check. +

    +
    101
    +

    (bad field format or length) +The packet has invalid version, length or format. +

    +
    102
    +

    (bad timestamp) +The packet timestamp is the same or older than the most recent received. +This could be due to a replay or a server clock time step. +

    +
    103
    +

    (bad filestamp) +The packet filestamp is the same or older than the most recent received. +This could be due to a replay or a key file generation error. +

    +
    104
    +

    (bad or missing public key) +The public key is missing, has incorrect format or is an unsupported type. +

    +
    105
    +

    (unsupported digest type) +The server requires an unsupported digest/signature scheme. +

    +
    106
    +

    (mismatched digest types) +Not used. +

    +
    107
    +

    (bad signature length) +The signature length does not match the current public key. +

    +
    108
    +

    (signature not verified) +The message fails the signature check. It could be bogus or signed by a -different private key. -

    109
    (certificate not verified) -The certificate is invalid or signed with the wrong key. -
    110
    (certificate not verified) +different private key. +

    +
    109
    +

    (certificate not verified) +The certificate is invalid or signed with the wrong key. +

    +
    110
    +

    (certificate not verified) The certificate is not yet valid or has expired or the signature could not -be verified. -

    111
    (bad or missing cookie) -The cookie is missing, corrupted or bogus. -
    112
    (bad or missing leapseconds table) -The leapseconds table is missing, corrupted or bogus. -
    113
    (bad or missing certificate) -The certificate is missing, corrupted or bogus. -
    114
    (bad or missing identity) -The identity key is missing, corrupt or bogus. +be verified. +

    +
    111
    +

    (bad or missing cookie) +The cookie is missing, corrupted or bogus. +

    +
    112
    +

    (bad or missing leapseconds table) +The leapseconds table is missing, corrupted or bogus. +

    +
    113
    +

    (bad or missing certificate) +The certificate is missing, corrupted or bogus. +

    +
    114
    +

    (bad or missing identity) +The identity key is missing, corrupt or bogus. +

    -
    -


    +
    -
    + - -

    Monitoring Support

    - + +

    1.1.3 Monitoring Support

    ntpd(1ntpdmdoc) includes a comprehensive monitoring facility suitable for continuous, long term recording of server and client -timekeeping performance. +timekeeping performance. See the statistics command below for a listing and example of each type of statistics currently -supported. +supported. Statistic files are managed using file generation sets and scripts in the -./scripts -directory of the source code distribution. +./scripts +directory of the source code distribution. Using these facilities and -unix +UNIX cron(8) jobs, the data can be automatically summarized and archived for retrospective analysis. - -

    Monitoring Commands
    - -
    -
    statistics name ...
    Enables writing of statistics records. +

    +

    1.1.3.1 Monitoring Commands

    +
    +
    statistics name ...
    +

    Enables writing of statistics records. Currently, eight kinds of name statistics are supported. -

    -
    clockstats
    Enables recording of clock driver statistics information. +

    +
    clockstats
    +

    Enables recording of clock driver statistics information. Each update received from a clock driver appends a line of the following form to the file generation set named clockstats: -

              
    -          49213 525.624 127.127.4.1 93 226 00:08:29.606 D
    -     
    - -

    The first two fields show the date (Modified Julian Day) and time -(seconds and fraction past UTC midnight). +

    49213 525.624 127.127.4.1 93 226 00:08:29.606 D
    +
    +

    The first two fields show the date (Modified Julian Day) and time +(seconds and fraction past UTC midnight). The next field shows the -clock address in dotted-quad notation. +clock address in dotted-quad notation. The final field shows the last timecode received from the clock in decoded ASCII format, where -meaningful. +meaningful. In some clock drivers a good deal of additional information -can be gathered and displayed as well. +can be gathered and displayed as well. See information specific to each -clock for further details. -

    cryptostats
    This option requires the OpenSSL cryptographic software library. +clock for further details. +

    +
    cryptostats
    +

    This option requires the OpenSSL cryptographic software library. It -enables recording of cryptographic public key protocol information. +enables recording of cryptographic public key protocol information. Each message received by the protocol module appends a line of the following form to the file generation set named cryptostats: -

              
    -          49213 525.624 127.127.4.1 message
    -     
    - -

    The first two fields show the date (Modified Julian Day) and time -(seconds and fraction past UTC midnight). +

    49213 525.624 127.127.4.1 message
    +
    +

    The first two fields show the date (Modified Julian Day) and time +(seconds and fraction past UTC midnight). The next field shows the peer address in dotted-quad notation, The final message field includes the -message type and certain ancillary information. +message type and certain ancillary information. See the -Authentication Options -section for further information. -

    loopstats
    Enables recording of loop filter statistics information. +‘Authentication Options’ +section for further information. +

    +
    loopstats
    +

    Enables recording of loop filter statistics information. Each update of the local clock outputs a line of the following form to the file generation set named loopstats: -

              
    -          50935 75440.031 0.000006019 13.778190 0.000351733 0.0133806
    -     
    - -

    The first two fields show the date (Modified Julian Day) and -time (seconds and fraction past UTC midnight). +

    50935 75440.031 0.000006019 13.778190 0.000351733 0.0133806
    +
    +

    The first two fields show the date (Modified Julian Day) and +time (seconds and fraction past UTC midnight). The next five fields show time offset (seconds), frequency offset (parts per million - PPM), RMS jitter (seconds), Allan deviation (PPM) and clock -discipline time constant. -

    peerstats
    Enables recording of peer statistics information. +discipline time constant. +

    +
    peerstats
    +

    Enables recording of peer statistics information. This includes statistics records of all peers of a NTP server and of special -signals, where present and configured. +signals, where present and configured. Each valid update appends a line of the following form to the current element of a file generation set named peerstats: -

              
    -          48773 10847.650 127.127.4.1 9714 -0.001605376 0.000000000 0.001424877 0.000958674
    -     
    - -

    The first two fields show the date (Modified Julian Day) and -time (seconds and fraction past UTC midnight). +

    48773 10847.650 127.127.4.1 9714 -0.001605376 0.000000000 0.001424877 0.000958674
    +
    +

    The first two fields show the date (Modified Julian Day) and +time (seconds and fraction past UTC midnight). The next two fields show the peer address in dotted-quad notation and status, -respectively. +respectively. The status field is encoded in hex in the format -described in Appendix A of the NTP specification RFC 1305. +described in Appendix A of the NTP specification RFC 1305. The final four fields show the offset, -delay, dispersion and RMS jitter, all in seconds. -

    rawstats
    Enables recording of raw-timestamp statistics information. +delay, dispersion and RMS jitter, all in seconds. +

    +
    rawstats
    +

    Enables recording of raw-timestamp statistics information. This includes statistics records of all peers of a NTP server and of -special signals, where present and configured. +special signals, where present and configured. Each NTP message received from a peer or clock driver appends a line of the following form to the file generation set named rawstats: -

              
    -          50928 2132.543 128.4.1.1 128.4.1.20 3102453281.584327000 3102453281.58622800031 02453332.540806000 3102453332.541458000
    -     
    - -

    The first two fields show the date (Modified Julian Day) and -time (seconds and fraction past UTC midnight). +

    50928 2132.543 128.4.1.1 128.4.1.20 3102453281.584327000 3102453281.58622800031 02453332.540806000 3102453332.541458000
    +
    +

    The first two fields show the date (Modified Julian Day) and +time (seconds and fraction past UTC midnight). The next two fields show the remote peer or clock address followed by the local address -in dotted-quad notation. +in dotted-quad notation. The final four fields show the originate, -receive, transmit and final NTP timestamps in order. +receive, transmit and final NTP timestamps in order. The timestamp values are as received and before processing by the various data -smoothing and mitigation algorithms. -

    sysstats
    Enables recording of ntpd statistics counters on a periodic basis. +smoothing and mitigation algorithms. +

    +
    sysstats
    +

    Enables recording of ntpd statistics counters on a periodic basis. Each hour a line of the following form is appended to the file generation set named sysstats: -

              
    -          50928 2132.543 36000 81965 0 9546 56 71793 512 540 10 147
    -     
    - -

    The first two fields show the date (Modified Julian Day) and time -(seconds and fraction past UTC midnight). +

    50928 2132.543 36000 81965 0 9546 56 71793 512 540 10 147
    +
    +

    The first two fields show the date (Modified Julian Day) and time +(seconds and fraction past UTC midnight). The remaining ten fields show the statistics counter values accumulated since the last generated line. -

    -
    Time since restart 36000
    Time in hours since the system was last rebooted. -
    Packets received 81965
    Total number of packets received. -
    Packets processed 0
    Number of packets received in response to previous packets sent -
    Current version 9546
    Number of packets matching the current NTP version. -
    Previous version 56
    Number of packets matching the previous NTP version. -
    Bad version 71793
    Number of packets matching neither NTP version. -
    Access denied 512
    Number of packets denied access for any reason. -
    Bad length or format 540
    Number of packets with invalid length, format or port number. -
    Bad authentication 10
    Number of packets not verified as authentic. -
    Rate exceeded 147
    Number of packets discarded due to rate limitation. +

    +
    Time since restart 36000
    +

    Time in hours since the system was last rebooted. +

    +
    Packets received 81965
    +

    Total number of packets received. +

    +
    Packets processed 0
    +

    Number of packets received in response to previous packets sent +

    +
    Current version 9546
    +

    Number of packets matching the current NTP version. +

    +
    Previous version 56
    +

    Number of packets matching the previous NTP version. +

    +
    Bad version 71793
    +

    Number of packets matching neither NTP version. +

    +
    Access denied 512
    +

    Number of packets denied access for any reason. +

    +
    Bad length or format 540
    +

    Number of packets with invalid length, format or port number. +

    +
    Bad authentication 10
    +

    Number of packets not verified as authentic. +

    +
    Rate exceeded 147
    +

    Number of packets discarded due to rate limitation. +

    -
    statsdir directory_path
    Indicates the full path of a directory where statistics files -should be created (see below). +
    +
    statsdir directory_path
    +

    Indicates the full path of a directory where statistics files +should be created (see below). This keyword allows the (otherwise constant) filegen filename prefix to be modified for file generation sets, which -is useful for handling statistics logs. -

    filegen name [file filename] [type typename] [link | nolink] [enable | disable]
    Configures setting of generation file set name. +is useful for handling statistics logs. +

    +
    filegen name [file filename] [type typename] [link | nolink] [enable | disable]
    +

    Configures setting of generation file set name. Generation file sets provide a means for handling files that are -continuously growing during the lifetime of a server. -Server statistics are a typical example for such files. +continuously growing during the lifetime of a server. +Server statistics are a typical example for such files. Generation file sets provide access to a set of files used -to store the actual data. +to store the actual data. At any time at most one element -of the set is being written to. +of the set is being written to. The type given specifies -when and how data will be directed to a new element of the set. +when and how data will be directed to a new element of the set. This way, information stored in elements of a file set that are currently unused are available for administrational -operations without the risk of disturbing the operation of ntpd. +operations without the risk of disturbing the operation of ntpd. (Most important: they can be removed to free space for new data produced.) - -

    Note that this command can be sent from the +

    +

    Note that this command can be sent from the ntpdc(1ntpdcmdoc) program running at a remote location. -

    -
    name
    This is the type of the statistics records, as shown in the +

    +
    name
    +

    This is the type of the statistics records, as shown in the statistics -command. -

    file filename
    This is the file name for the statistics records. +command. +

    +
    file filename
    +

    This is the file name for the statistics records. Filenames of set members are built from three concatenated elements prefix, filename and suffix: -

    -
    prefix
    This is a constant filename path. +

    +
    prefix
    +

    This is a constant filename path. It is not subject to modifications via the filegen -option. +option. It is defined by the -server, usually specified as a compile-time constant. +server, usually specified as a compile-time constant. It may, however, be configurable for individual file generation sets -via other commands. +via other commands. For example, the prefix used with loopstats and peerstats generation can be configured using the statsdir -option explained above. -

    filename
    This string is directly concatenated to the prefix mentioned +option explained above. +

    +
    filename
    +

    This string is directly concatenated to the prefix mentioned above (no intervening -/). +‘/’). This can be modified using the file argument to the filegen -statement. +statement. No -.. +.. elements are allowed in this component to prevent filenames referring to parts outside the filesystem hierarchy denoted by -prefix. -

    suffix
    This part is reflects individual elements of a file set. +prefix. +

    +
    suffix
    +

    This part is reflects individual elements of a file set. It is -generated according to the type of a file set. +generated according to the type of a file set. +

    -
    type typename
    A file generation set is characterized by its type. +
    +
    type typename
    +

    A file generation set is characterized by its type. The following types are supported: -

    -
    none
    The file set is actually a single plain file. -
    pid
    One element of file set is used per incarnation of a ntpd -server. +

    +
    none
    +

    The file set is actually a single plain file. +

    +
    pid
    +

    One element of file set is used per incarnation of a ntpd +server. This type does not perform any changes to file set members during runtime, however it provides an easy way of separating files belonging to different ntpd(1ntpdmdoc) -server incarnations. +server incarnations. The set member filename is built by appending a -. +‘.’ to concatenated prefix and @@ -1275,399 +1480,445 @@ and strings, and appending the decimal representation of the process ID of the ntpd(1ntpdmdoc) -server process. -

    day
    One file generation set element is created per day. +server process. +

    +
    day
    +

    One file generation set element is created per day. A day is -defined as the period between 00:00 and 24:00 UTC. +defined as the period between 00:00 and 24:00 UTC. The file set member suffix consists of a -. +‘.’ and a day specification in the form -YYYYMMdd. +YYYYMMdd. YYYY -is a 4-digit year number (e.g., 1992). +is a 4-digit year number (e.g., 1992). MM -is a two digit month number. +is a two digit month number. dd -is a two digit day number. +is a two digit day number. Thus, all information written at 10 December 1992 would end up in a file named prefix -filename.19921210. -

    week
    Any file set member contains data related to a certain week of -a year. +filename.19921210. +

    +
    week
    +

    Any file set member contains data related to a certain week of +a year. The term week is defined by computing day-of-year -modulo 7. +modulo 7. Elements of such a file generation set are distinguished by appending the following suffix to the file set filename base: A dot, a 4-digit year number, the letter W, -and a 2-digit week number. +and a 2-digit week number. For example, information from January, 10th 1992 would end up in a file with suffix -.No . Ns Ar 1992W1 . -

    month
    One generation file set element is generated per month. +.No . Ns Ar 1992W1 . +

    +
    month
    +

    One generation file set element is generated per month. The file name suffix consists of a dot, a 4-digit year number, and -a 2-digit month. -

    year
    One generation file element is generated per year. +a 2-digit month. +

    +
    year
    +

    One generation file element is generated per year. The filename -suffix consists of a dot and a 4 digit year number. -

    age
    This type of file generation sets changes to a new element of -the file set every 24 hours of server operation. +suffix consists of a dot and a 4 digit year number. +

    +
    age
    +

    This type of file generation sets changes to a new element of +the file set every 24 hours of server operation. The filename suffix consists of a dot, the letter a, -and an 8-digit number. +and an 8-digit number. This number is taken to be the number of seconds the server is -running at the start of the corresponding 24-hour period. +running at the start of the corresponding 24-hour period. Information is only written to a file generation by specifying enable; output is prevented by specifying -disable. +disable. +

    -
    link | nolink
    It is convenient to be able to access the current element of a file -generation set by a fixed name. +
    +
    link | nolink
    +

    It is convenient to be able to access the current element of a file +generation set by a fixed name. This feature is enabled by specifying link and disabled using -nolink. +nolink. If link is specified, a hard link from the current file set element to a file without -suffix is created. +suffix is created. When there is already a file with this name and the number of links of this file is one, it is renamed appending a dot, the letter C, and the pid of the ntpd(1ntpdmdoc) -server process. +server process. When the -number of links is greater than one, the file is unlinked. +number of links is greater than one, the file is unlinked. This -allows the current file to be accessed by a constant name. -

    enable | disable
    Enables or disables the recording function. +allows the current file to be accessed by a constant name. +

    +
    enable | disable
    +

    Enables or disables the recording function. +

    -
    -
    -
    -


    +
    +
    +
    +
    +
    -
    + - -

    Access Control Support

    - + +

    1.1.4 Access Control Support

    The ntpd(1ntpdmdoc) daemon implements a general purpose address/mask based restriction -list. +list. The list contains address/match entries sorted first -by increasing address values and and then by increasing mask values. +by increasing address values and and then by increasing mask values. A match occurs when the bitwise AND of the mask and the packet source address is equal to the bitwise AND of the mask and -address in the list. +address in the list. The list is searched in order with the last match found defining the restriction flags associated -with the entry. +with the entry. Additional information and examples can be found in the -"Notes on Configuring NTP and Setting up a NTP Subnet" +"Notes on Configuring NTP and Setting up a NTP Subnet" page (available as part of the HTML documentation provided in -/usr/share/doc/ntp). - -

    The restriction facility was implemented in conformance +/usr/share/doc/ntp). +

    +

    The restriction facility was implemented in conformance with the access policies for the original NSFnet backbone -time servers. +time servers. Later the facility was expanded to deflect -cryptographic and clogging attacks. +cryptographic and clogging attacks. While this facility may be useful for keeping unwanted or broken or malicious clients from congesting innocent servers, it should not be considered -an alternative to the NTP authentication facilities. +an alternative to the NTP authentication facilities. Source address based restrictions are easily circumvented by a determined cracker. - -

    Clients can be denied service because they are explicitly +

    +

    Clients can be denied service because they are explicitly included in the restrict list created by the restrict command or implicitly as the result of cryptographic or rate limit -violations. +violations. Cryptographic violations include certificate or identity verification failure; rate limit violations generally result from defective NTP implementations that send packets -at abusive rates. +at abusive rates. Some violations cause denied service only for the offending packet, others cause denied service for a timed period and others cause the denied service for -an indefinite period. +an indefinite period. When a client or network is denied access for an indefinite period, the only way at present to remove the restrictions is by restarting the server. - -

    The Kiss-of-Death Packet
    - +

    +

    1.1.4.1 The Kiss-of-Death Packet

    Ordinarily, packets denied service are simply dropped with no -further action except incrementing statistics counters. +further action except incrementing statistics counters. Sometimes a more proactive response is needed, such as a server message that explicitly requests the client to stop sending and leave a message -for the system operator. +for the system operator. A special packet format has been created -for this purpose called the "kiss-of-death" (KoD) packet. +for this purpose called the "kiss-of-death" (KoD) packet. KoD packets have the leap bits set unsynchronized and stratum set to zero and the reference identifier field set to a four-byte -ASCII code. +ASCII code. If the noserve or notrust flag of the matching restrict list entry is set, -the code is "DENY"; if the +the code is "DENY"; if the limited flag is set and the rate limit -is exceeded, the code is "RATE". -Finally, if a cryptographic violation occurs, the code is "CRYP". - -

    A client receiving a KoD performs a set of sanity checks to +is exceeded, the code is "RATE". +Finally, if a cryptographic violation occurs, the code is "CRYP". +

    +

    A client receiving a KoD performs a set of sanity checks to minimize security exposure, then updates the stratum and reference identifier peer variables, sets the access denied (TEST4) bit in the peer flash variable and sends -a message to the log. +a message to the log. As long as the TEST4 bit is set, -the client will send no further packets to the server. +the client will send no further packets to the server. The only way at present to recover from this condition is -to restart the protocol at both the client and server. +to restart the protocol at both the client and server. This -happens automatically at the client when the association times out. +happens automatically at the client when the association times out. It will happen at the server only if the server operator cooperates. - -

    Access Control Commands
    - -
    -
    discard [average avg] [minimum min] [monitor prob]
    Set the parameters of the +

    +

    1.1.4.2 Access Control Commands

    +
    +
    discard [average avg] [minimum min] [monitor prob]
    +

    Set the parameters of the limited facility which protects the server from -client abuse. +client abuse. The average subcommand specifies the minimum average packet spacing, while the minimum -subcommand specifies the minimum packet spacing. +subcommand specifies the minimum packet spacing. Packets that violate these minima are discarded -and a kiss-o'-death packet returned if enabled. +and a kiss-o’-death packet returned if enabled. The default -minimum average and minimum are 5 and 2, respectively. +minimum average and minimum are 5 and 2, respectively. The monitor subcommand specifies the probability of discard -for packets that overflow the rate-control window. -

    restrict address [mask mask] [ippeerlimit int] [flag ...]
    The +for packets that overflow the rate-control window. +

    +
    restrict address [mask mask] [ippeerlimit int] [flag ...]
    +

    The address argument expressed in -dotted-quad form is the address of a host or network. +dotted-quad form is the address of a host or network. Alternatively, the address -argument can be a valid host DNS name. +argument can be a valid host DNS name. The mask argument expressed in dotted-quad form defaults to 255.255.255.255, meaning that the address -is treated as the address of an individual host. +is treated as the address of an individual host. A default entry (address 0.0.0.0, mask 0.0.0.0) -is always included and is always the first entry in the list. +is always included and is always the first entry in the list. Note that text string default, with no mask option, may -be used to indicate the default entry. +be used to indicate the default entry. The ippeerlimit directive limits the number of peer requests for each IP to int, -where a value of -1 means "unlimited", the current default. -A value of 0 means "none". +where a value of -1 means "unlimited", the current default. +A value of 0 means "none". There would usually be at most 1 peering request per IP, but if the remote peering requests are behind a proxy -there could well be more than 1 per IP. +there could well be more than 1 per IP. In the current implementation, flag always restricts access, i.e., an entry with no flags indicates that free -access to the server is to be given. +access to the server is to be given. The flags are not orthogonal, in that more restrictive flags will often make less restrictive -ones redundant. +ones redundant. The flags can generally be classed into two categories, those which restrict time service and those which restrict informational queries and attempts to do run-time -reconfiguration of the server. +reconfiguration of the server. One or more of the following flags may be specified: -

    -
    ignore
    Deny packets of all kinds, including +

    +
    ignore
    +

    Deny packets of all kinds, including ntpq(1ntpqmdoc) and ntpdc(1ntpdcmdoc) -queries. -

    kod
    If this flag is set when an access violation occurs, a kiss-o'-death -(KoD) packet is sent. +queries. +

    +
    kod
    +

    If this flag is set when an access violation occurs, a kiss-o’-death +(KoD) packet is sent. KoD packets are rate limited to no more than one -per second. +per second. If another KoD packet occurs within one second after the -last one, the packet is dropped. -

    limited
    Deny service if the packet spacing violates the lower limits specified +last one, the packet is dropped. +

    +
    limited
    +

    Deny service if the packet spacing violates the lower limits specified in the discard -command. +command. A history of clients is kept using the monitoring capability of -ntpd(1ntpdmdoc). +ntpd(1ntpdmdoc). Thus, monitoring is always active as long as there is a restriction entry with the limited -flag. -

    lowpriotrap
    Declare traps set by matching hosts to be low priority. +flag. +

    +
    lowpriotrap
    +

    Declare traps set by matching hosts to be low priority. The number of traps a server can maintain is limited (the current limit -is 3). +is 3). Traps are usually assigned on a first come, first served -basis, with later trap requestors being denied service. +basis, with later trap requestors being denied service. This flag modifies the assignment algorithm by allowing low priority traps to -be overridden by later requests for normal priority traps. -

    noepeer
    Deny ephemeral peer requests, -even if they come from an authenticated source. +be overridden by later requests for normal priority traps. +

    +
    noepeer
    +

    Deny ephemeral peer requests, +even if they come from an authenticated source. Note that the ability to use a symmetric key for authentication may be restricted to one or more IPs or subnets via the third field of the -ntp.keys -file. +ntp.keys +file. This restriction is not enabled by default, -to maintain backward compatability. +to maintain backward compatability. Expect noepeer -to become the default in ntp-4.4. -

    nomodify
    Deny +to become the default in ntp-4.4. +

    +
    nomodify
    +

    Deny ntpq(1ntpqmdoc) and ntpdc(1ntpdcmdoc) queries which attempt to modify the state of the -server (i.e., run time reconfiguration). +server (i.e., run time reconfiguration). Queries which return -information are permitted. -

    noquery
    Deny +information are permitted. +

    +
    noquery
    +

    Deny ntpq(1ntpqmdoc) and ntpdc(1ntpdcmdoc) -queries. -Time service is not affected. -

    nopeer
    Deny unauthenticated packets which would result in mobilizing a new association. +queries. +Time service is not affected. +

    +
    nopeer
    +

    Deny unauthenticated packets which would result in mobilizing a new association. This includes broadcast and symmetric active packets -when a configured association does not exist. +when a configured association does not exist. It also includes pool -associations, so if you want to use servers from a +associations, so if you want to use servers from a pool directive and also want to use nopeer -by default, you'll want a +by default, you’ll want a restrict source ... line as well that does not include the nopeer -directive. -

    noserve
    Deny all packets except +directive. +

    +
    noserve
    +

    Deny all packets except ntpq(1ntpqmdoc) and ntpdc(1ntpdcmdoc) -queries. -

    notrap
    Decline to provide mode 6 control message trap service to matching -hosts. +queries. +

    +
    notrap
    +

    Decline to provide mode 6 control message trap service to matching +hosts. The trap service is a subsystem of the ntpq(1ntpqmdoc) control message -protocol which is intended for use by remote event logging programs. -

    notrust
    Deny service unless the packet is cryptographically authenticated. -
    ntpport
    This is actually a match algorithm modifier, rather than a -restriction flag. +protocol which is intended for use by remote event logging programs. +

    +
    notrust
    +

    Deny service unless the packet is cryptographically authenticated. +

    +
    ntpport
    +

    This is actually a match algorithm modifier, rather than a +restriction flag. Its presence causes the restriction entry to be matched only if the source port in the packet is the standard NTP -UDP port (123). +UDP port (123). Both ntpport and non-ntpport may -be specified. +be specified. The ntpport is considered more specific and -is sorted later in the list. -

    version
    Deny packets that do not match the current NTP version. +is sorted later in the list. +

    +
    version
    +

    Deny packets that do not match the current NTP version. +

    -

    Default restriction list entries with the flags ignore, interface, -ntpport, for each of the local host's interface addresses are +

    Default restriction list entries with the flags ignore, interface, +ntpport, for each of the local host’s interface addresses are inserted into the table at startup to prevent the server -from attempting to synchronize to its own time. +from attempting to synchronize to its own time. A default entry is also always present, though if it is otherwise unconfigured; no flags are associated with the default entry (i.e., everything besides your own -NTP server is unrestricted). +NTP server is unrestricted). +

    -
    -


    +
    -
    + - -

    Automatic NTP Configuration Options

    - -
    Manycasting
    - + +

    1.1.5 Automatic NTP Configuration Options

    + +

    1.1.5.1 Manycasting

    Manycasting is a automatic discovery and configuration paradigm -new to NTPv4. +new to NTPv4. It is intended as a means for a multicast client to troll the nearby network neighborhood to find cooperating manycast servers, validate them using cryptographic means and evaluate their time values with respect to other servers -that might be lurking in the vicinity. +that might be lurking in the vicinity. The intended result is that each manycast client mobilizes -client associations with some number of the "best" +client associations with some number of the "best" of the nearby manycast servers, yet automatically reconfigures to sustain this number of servers should one or another fail. - -

    Note that the manycasting paradigm does not coincide +

    +

    Note that the manycasting paradigm does not coincide with the anycast paradigm described in RFC-1546, which is designed to find a single server from a clique -of servers providing the same service. +of servers providing the same service. The manycast paradigm is designed to find a plurality of redundant servers satisfying defined optimality criteria. - -

    Manycasting can be used with either symmetric key -or public key cryptography. +

    +

    Manycasting can be used with either symmetric key +or public key cryptography. The public key infrastructure (PKI) offers the best protection against compromised keys and is generally considered stronger, at least with relatively -large key sizes. +large key sizes. It is implemented using the Autokey protocol and the OpenSSL cryptographic library available from -http://www.openssl.org/. +http://www.openssl.org/. The library can also be used with other NTPv4 modes as well and is highly recommended, especially for broadcast modes. - -

    A persistent manycast client association is configured +

    +

    A persistent manycast client association is configured using the manycastclient command, which is similar to the @@ -1676,62 +1927,62 @@ command but with a multicast (IPv4 class D or IPv6 prefix FF) -group address. +group address. The IANA has designated IPv4 address 224.1.1.1 -and IPv6 address FF05::101 (site local) for NTP. +and IPv6 address FF05::101 (site local) for NTP. When more servers are needed, it broadcasts manycast client messages to this address at the minimum feasible rate and minimum feasible time-to-live (TTL) hops, depending -on how many servers have already been found. +on how many servers have already been found. There can be as many manycast client associations as different group address, each one serving as a template for a future ephemeral unicast client/server association. - -

    Manycast servers configured with the +

    +

    Manycast servers configured with the manycastserver command listen on the specified group address for manycast -client messages. +client messages. Note the distinction between manycast client, which actively broadcasts messages, and manycast server, -which passively responds to them. +which passively responds to them. If a manycast server is in scope of the current TTL and is itself synchronized to a valid source and operating at a stratum level equal to or lower than the manycast client, it replies to the manycast client message with an ordinary unicast server message. - -

    The manycast client receiving this message mobilizes +

    +

    The manycast client receiving this message mobilizes an ephemeral client/server association according to the matching manycast client template, but only if cryptographically authenticated and the server stratum is less than or equal -to the client stratum. +to the client stratum. Authentication is explicitly required -and either symmetric key or public key (Autokey) can be used. +and either symmetric key or public key (Autokey) can be used. Then, the client polls the server at its unicast address in burst mode in order to reliably set the host clock -and validate the source. +and validate the source. This normally results in a volley of eight client/server at 2-s intervals during which both the synchronization and cryptographic -protocols run concurrently. +protocols run concurrently. Following the volley, the client runs the NTP intersection and clustering -algorithms, which act to discard all but the "best" +algorithms, which act to discard all but the "best" associations according to stratum and synchronization -distance. +distance. The surviving associations then continue in ordinary client/server mode. - -

    The manycast client polling strategy is designed to reduce +

    +

    The manycast client polling strategy is designed to reduce as much as possible the volume of manycast client messages and the effects of implosion due to near-simultaneous -arrival of manycast server messages. +arrival of manycast server messages. The strategy is determined by the manycastclient, tos and ttl -configuration commands. +configuration commands. The manycast poll interval is normally eight times the system poll interval, which starts out at the @@ -1740,17 +1991,17 @@ value specified in the manycastclient, command and, under normal circumstances, increments to the maxpolll -value specified in this command. +value specified in this command. Initially, the TTL is set at the minimum hops specified by the ttl -command. +command. At each retransmission the TTL is increased until reaching the maximum hops specified by this command or a sufficient -number client associations have been found. +number client associations have been found. Further retransmissions use the same TTL. - -

    The quality and reliability of the suite of associations +

    +

    The quality and reliability of the suite of associations discovered by the manycast client is determined by the NTP mitigation algorithms and the minclock @@ -1758,66 +2009,66 @@ and minsane values specified in the tos -configuration command. +configuration command. At least minsane candidate servers must be available and the mitigation algorithms produce at least minclock -survivors in order to synchronize the clock. +survivors in order to synchronize the clock. Byzantine agreement principles require at least four -candidates in order to correctly discard a single falseticker. +candidates in order to correctly discard a single falseticker. For legacy purposes, minsane defaults to 1 and minclock -defaults to 3. +defaults to 3. For manycast service minsane should be explicitly set to 4, assuming at least that number of servers are available. - -

    If at least +

    +

    If at least minclock servers are found, the manycast poll interval is immediately set to eight times -maxpoll. +maxpoll. If less than minclock servers are found when the TTL has reached the maximum hops, -the manycast poll interval is doubled. +the manycast poll interval is doubled. For each transmission after that, the poll interval is doubled again until reaching the maximum of eight times -maxpoll. +maxpoll. Further transmissions use the same poll interval and -TTL values. +TTL values. Note that while all this is going on, each client/server association found is operating normally it the system poll interval. - -

    Administratively scoped multicast boundaries are normally +

    +

    Administratively scoped multicast boundaries are normally specified by the network router configuration and, -in the case of IPv6, the link/site scope prefix. +in the case of IPv6, the link/site scope prefix. By default, the increment for TTL hops is 32 starting from 31; however, the ttl configuration command can be used to modify the values to match the scope rules. - -

    It is often useful to narrow the range of acceptable -servers which can be found by manycast client associations. +

    +

    It is often useful to narrow the range of acceptable +servers which can be found by manycast client associations. Because manycast servers respond only when the client stratum is equal to or greater than the server stratum, primary (stratum 1) servers fill find only primary servers -in TTL range, which is probably the most common objective. +in TTL range, which is probably the most common objective. However, unless configured otherwise, all manycast clients in TTL range will eventually find all primary servers in TTL range, which is probably not the most common -objective in large networks. +objective in large networks. The tos -command can be used to modify this behavior. +command can be used to modify this behavior. Servers with stratum below floor or above @@ -1829,270 +2080,283 @@ process; however, these servers may be temporally accepted if the number of servers within TTL range is less than minclock. - -

    The above actions occur for each manycast client message, -which repeats at the designated poll interval. +

    +

    The above actions occur for each manycast client message, +which repeats at the designated poll interval. However, once the ephemeral client association is mobilized, subsequent manycast server replies are discarded, -since that would result in a duplicate association. +since that would result in a duplicate association. If during a poll interval the number of client associations falls below minclock, all manycast client prototype associations are reset to the initial poll interval and TTL hops and operation -resumes from the beginning. +resumes from the beginning. It is important to avoid frequent manycast client messages, since each one requires -all manycast servers in TTL range to respond. +all manycast servers in TTL range to respond. The result could well be an implosion, either minor or major, -depending on the number of servers in range. +depending on the number of servers in range. The recommended value for maxpoll is 12 (4,096 s). - -

    It is possible and frequently useful to configure a host -as both manycast client and manycast server. +

    +

    It is possible and frequently useful to configure a host +as both manycast client and manycast server. A number of hosts configured this way and sharing a common group address will automatically organize themselves in an optimum configuration based on stratum and -synchronization distance. +synchronization distance. For example, consider an NTP subnet of two primary servers and a hundred or more -dependent clients. +dependent clients. With two exceptions, all servers and clients have identical configuration files including both multicastclient and multicastserver commands using, for instance, multicast group address -239.1.1.1. +239.1.1.1. The only exception is that each primary server configuration file must include commands for the primary reference source such as a GPS receiver. - -

    The remaining configuration files for all secondary +

    +

    The remaining configuration files for all secondary servers and clients have the same contents, except for the tos -command, which is specific for each stratum level. +command, which is specific for each stratum level. For stratum 1 and stratum 2 servers, that command is -not necessary. +not necessary. For stratum 3 and above servers the floor -value is set to the intended stratum number. +value is set to the intended stratum number. Thus, all stratum 3 configuration files are identical, all stratum 4 files are identical and so forth. - -

    Once operations have stabilized in this scenario, +

    +

    Once operations have stabilized in this scenario, the primary servers will find the primary reference source and each other, since they both operate at the same stratum (1), but not with any secondary server or client, -since these operate at a higher stratum. +since these operate at a higher stratum. The secondary -servers will find the servers at the same stratum level. +servers will find the servers at the same stratum level. If one of the primary servers loses its GPS receiver, it will continue to operate as a client and other clients will time out the corresponding association and re-associate accordingly. - -

    Some administrators prefer to avoid running +

    +

    Some administrators prefer to avoid running ntpd(1ntpdmdoc) continuously and run either sntp(1sntpmdoc) or ntpd(1ntpdmdoc) -q -as a cron job. +as a cron job. In either case the servers must be configured in advance and the program fails if none are -available when the cron job runs. +available when the cron job runs. A really slick application of manycast is with ntpd(1ntpdmdoc) --q. +-q. The program wakes up, scans the local landscape looking for the usual suspects, selects the best from among -the rascals, sets the clock and then departs. +the rascals, sets the clock and then departs. Servers do not have to be configured in advance and all clients throughout the network can have the same configuration file. - -

    Manycast Interactions with Autokey
    - +

    +

    1.1.5.2 Manycast Interactions with Autokey

    Each time a manycast client sends a client mode packet to a multicast group address, all manycast servers in scope generate a reply including the host name -and status word. +and status word. The manycast clients then run the Autokey protocol, which collects and verifies -all certificates involved. +all certificates involved. Following the burst interval all but three survivors are cast off, -but the certificates remain in the local cache. +but the certificates remain in the local cache. It often happens that several complete signing trails from the client to the primary servers are collected in this way. - -

    About once an hour or less often if the poll interval -exceeds this, the client regenerates the Autokey key list. -This is in general transparent in client/server mode. +

    +

    About once an hour or less often if the poll interval +exceeds this, the client regenerates the Autokey key list. +This is in general transparent in client/server mode. However, about once per day the server private value used to generate cookies is refreshed along with all -manycast client associations. +manycast client associations. In this case all -cryptographic values including certificates is refreshed. +cryptographic values including certificates is refreshed. If a new certificate has been generated since the last refresh epoch, it will automatically revoke all prior certificates that happen to be in the -certificate cache. +certificate cache. At the same time, the manycast scheme starts all over from the beginning and the expanding ring shrinks to the minimum and increments from there while collecting all servers in scope. - -

    Broadcast Options
    - -
    -
    tos [bcpollbstep gate]
    This command provides a way to delay, +

    +

    1.1.5.3 Broadcast Options

    +
    +
    tos [bcpollbstep gate]
    +

    This command provides a way to delay, by the specified number of broadcast poll intervals, -believing backward time steps from a broadcast server. -Broadcast time networks are expected to be trusted. -In the event a broadcast server's time is stepped backwards, +believing backward time steps from a broadcast server. +Broadcast time networks are expected to be trusted. +In the event a broadcast server’s time is stepped backwards, there is clear benefit to having the clients notice this change -as soon as possible. +as soon as possible. Attacks such as replay attacks can happen, however, and even though there are a number of protections built in to -broadcast mode, attempts to perform a replay attack are possible. +broadcast mode, attempts to perform a replay attack are possible. This value defaults to 0, but can be changed -to any number of poll intervals between 0 and 4. +to any number of poll intervals between 0 and 4. +

    - -
    Manycast Options
    - -
    -
    tos [ceiling ceiling | cohort { 0 | 1 } | floor floor | minclock minclock | minsane minsane]
    This command affects the clock selection and clustering -algorithms. + +

    1.1.5.4 Manycast Options

    +
    +
    tos [ceiling ceiling | cohort { 0 | 1 } | floor floor | minclock minclock | minsane minsane]
    +

    This command affects the clock selection and clustering +algorithms. It can be used to select the quality and quantity of peers used to synchronize the system clock -and is most useful in manycast mode. +and is most useful in manycast mode. The variables operate as follows: -

    -
    ceiling ceiling
    Peers with strata above +

    +
    ceiling ceiling
    +

    Peers with strata above ceiling will be discarded if there are at least minclock -peers remaining. +peers remaining. This value defaults to 15, but can be changed -to any number from 1 to 15. -

    cohort {0 | 1}
    This is a binary flag which enables (0) or disables (1) +to any number from 1 to 15. +

    +
    cohort {0 | 1}
    +

    This is a binary flag which enables (0) or disables (1) manycast server replies to manycast clients with the same -stratum level. +stratum level. This is useful to reduce implosions where large numbers of clients with the same stratum level -are present. -The default is to enable these replies. -

    floor floor
    Peers with strata below +are present. +The default is to enable these replies. +

    +
    floor floor
    +

    Peers with strata below floor will be discarded if there are at least minclock -peers remaining. +peers remaining. This value defaults to 1, but can be changed -to any number from 1 to 15. -

    minclock minclock
    The clustering algorithm repeatedly casts out outlier +to any number from 1 to 15. +

    +
    minclock minclock
    +

    The clustering algorithm repeatedly casts out outlier associations until no more than minclock -associations remain. +associations remain. This value defaults to 3, but can be changed to any number from 1 to the number of -configured sources. -

    minsane minsane
    This is the minimum number of candidates available +configured sources. +

    +
    minsane minsane
    +

    This is the minimum number of candidates available to the clock selection algorithm in order to produce -one or more truechimers for the clustering algorithm. +one or more truechimers for the clustering algorithm. If fewer than this number are available, the clock is -undisciplined and allowed to run free. +undisciplined and allowed to run free. The default is 1 -for legacy purposes. +for legacy purposes. However, according to principles of Byzantine agreement, minsane should be at least 4 in order to detect and discard -a single falseticker. +a single falseticker. +

    -
    ttl hop ...
    This command specifies a list of TTL values in increasing -order, up to 8 values can be specified. +
    +
    ttl hop ...
    +

    This command specifies a list of TTL values in increasing +order, up to 8 values can be specified. In manycast mode these values are used in turn -in an expanding-ring search. +in an expanding-ring search. The default is eight -multiples of 32 starting at 31. +multiples of 32 starting at 31. +

    -
    -


    +
    -
    + - -

    Reference Clock Support

    - + +

    1.1.6 Reference Clock Support

    The NTP Version 4 daemon supports some three dozen different radio, satellite and modem reference clocks plus a special pseudo-clock -used for backup or when no other clock source is available. +used for backup or when no other clock source is available. Detailed descriptions of individual device drivers and options can be found in the -"Reference Clock Drivers" +"Reference Clock Drivers" page (available as part of the HTML documentation provided in -/usr/share/doc/ntp). +/usr/share/doc/ntp). Additional information can be found in the pages linked there, including the -"Debugging Hints for Reference Clock Drivers" +"Debugging Hints for Reference Clock Drivers" and -"How To Write a Reference Clock Driver" +"How To Write a Reference Clock Driver" pages (available as part of the HTML documentation provided in -/usr/share/doc/ntp). +/usr/share/doc/ntp). In addition, support for a PPS signal is available as described in the -"Pulse-per-second (PPS) Signal Interfacing" +"Pulse-per-second (PPS) Signal Interfacing" page (available as part of the HTML documentation provided in -/usr/share/doc/ntp). +/usr/share/doc/ntp). Many drivers support special line discipline/streams modules which can -significantly improve the accuracy using the driver. +significantly improve the accuracy using the driver. These are described in the -"Line Disciplines and Streams Drivers" +"Line Disciplines and Streams Drivers" page (available as part of the HTML documentation provided in -/usr/share/doc/ntp). - -

    A reference clock will generally (though not always) be a radio +/usr/share/doc/ntp). +

    +

    A reference clock will generally (though not always) be a radio timecode receiver which is synchronized to a source of standard time such as the services offered by the NRC in Canada and NIST and -USNO in the US. +USNO in the US. The interface between the computer and the timecode -receiver is device dependent, but is usually a serial port. +receiver is device dependent, but is usually a serial port. A device driver specific to each reference clock must be selected and compiled in the distribution; however, most common radio, satellite -and modem clocks are included by default. +and modem clocks are included by default. Note that an attempt to configure a reference clock when the driver has not been compiled or the hardware port has not been appropriately configured results in a scalding remark to the system log file, but is otherwise non hazardous. - -

    For the purposes of configuration, +

    +

    For the purposes of configuration, ntpd(1ntpdmdoc) treats reference clocks in a manner analogous to normal NTP peers as much -as possible. +as possible. Reference clocks are identified by a syntactically correct but invalid IP address, in order to distinguish them from -normal NTP peers. +normal NTP peers. Reference clock addresses are of the form 127.127.t.u, where @@ -2101,199 +2365,222 @@ is an integer denoting the clock type and u indicates the unit -number in the range 0-3. +number in the range 0-3. While it may seem overkill, it is in fact sometimes useful to configure multiple reference clocks of the same type, in which case the unit numbers must be unique. - -

    The +

    +

    The server command is used to configure a reference clock, where the address argument in that command -is the clock address. +is the clock address. The key, version and ttl -options are not used for reference clock support. +options are not used for reference clock support. The mode option is added for reference clock support, as -described below. +described below. The prefer option can be useful to persuade the server to cherish a reference clock with somewhat more -enthusiasm than other reference clocks or peers. +enthusiasm than other reference clocks or peers. Further information on this option can be found in the -"Mitigation Rules and the prefer Keyword" +"Mitigation Rules and the prefer Keyword" (available as part of the HTML documentation provided in -/usr/share/doc/ntp) -page. +/usr/share/doc/ntp) +page. The minpoll and maxpoll options have -meaning only for selected clock drivers. +meaning only for selected clock drivers. See the individual clock driver document pages for additional information. - -

    The +

    +

    The fudge command is used to provide additional information for individual clock drivers and normally follows immediately after the server -command. +command. The address -argument specifies the clock address. +argument specifies the clock address. The refid and stratum options can be used to -override the defaults for the device. +override the defaults for the device. There are two optional device-dependent time offsets and four flags that can be included in the fudge command as well. - -

    The stratum number of a reference clock is by default zero. +

    +

    The stratum number of a reference clock is by default zero. Since the ntpd(1ntpdmdoc) daemon adds one to the stratum of each peer, a primary server ordinarily displays an external stratum of -one. +one. In order to provide engineered backups, it is often useful to -specify the reference clock stratum as greater than zero. +specify the reference clock stratum as greater than zero. The stratum -option is used for this purpose. +option is used for this purpose. Also, in cases involving both a reference clock and a pulse-per-second (PPS) discipline signal, it is useful to specify the reference clock -identifier as other than the default, depending on the driver. +identifier as other than the default, depending on the driver. The refid -option is used for this purpose. +option is used for this purpose. Except where noted, these options apply to all clock drivers. - -

    Reference Clock Commands
    - -
    -
    server 127.127.t.u [prefer] [mode int] [minpoll int] [maxpoll int]
    This command can be used to configure reference clocks in -special ways. +

    +

    1.1.6.1 Reference Clock Commands

    +
    +
    server 127.127.t.u [prefer] [mode int] [minpoll int] [maxpoll int]
    +

    This command can be used to configure reference clocks in +special ways. The options are interpreted as follows: -

    -
    prefer
    Marks the reference clock as preferred. +

    +
    prefer
    +

    Marks the reference clock as preferred. All other things being equal, this host will be chosen for synchronization among a set of -correctly operating hosts. +correctly operating hosts. See the -"Mitigation Rules and the prefer Keyword" +"Mitigation Rules and the prefer Keyword" page (available as part of the HTML documentation provided in -/usr/share/doc/ntp) -for further information. -

    mode int
    Specifies a mode number which is interpreted in a -device-specific fashion. +/usr/share/doc/ntp) +for further information. +

    +
    mode int
    +

    Specifies a mode number which is interpreted in a +device-specific fashion. For instance, it selects a dialing protocol in the ACTS driver and a device subtype in the parse -drivers. -

    minpoll int
    maxpoll int
    These options specify the minimum and maximum polling interval +drivers. +

    +
    minpoll int
    +
    maxpoll int
    +

    These options specify the minimum and maximum polling interval for reference clock messages, as a power of 2 in seconds For most directly connected reference clocks, both minpoll and maxpoll -default to 6 (64 s). +default to 6 (64 s). For modem reference clocks, minpoll defaults to 10 (17.1 m) and maxpoll -defaults to 14 (4.5 h). -The allowable range is 4 (16 s) to 17 (36.4 h) inclusive. +defaults to 14 (4.5 h). +The allowable range is 4 (16 s) to 17 (36.4 h) inclusive. +

    -
    fudge 127.127.t.u [time1 sec] [time2 sec] [stratum int] [refid string] [mode int] [flag1 0 | 1] [flag2 0 | 1] [flag3 0 | 1] [flag4 0 | 1]
    This command can be used to configure reference clocks in -special ways. +
    +
    fudge 127.127.t.u [time1 sec] [time2 sec] [stratum int] [refid string] [mode int] [flag1 0 | 1] [flag2 0 | 1] [flag3 0 | 1] [flag4 0 | 1]
    +

    This command can be used to configure reference clocks in +special ways. It must immediately follow the server -command which configures the driver. +command which configures the driver. Note that the same capability is possible at run time using the ntpdc(1ntpdcmdoc) -program. +program. The options are interpreted as follows: -

    -
    time1 sec
    Specifies a constant to be added to the time offset produced by -the driver, a fixed-point decimal number in seconds. +

    +
    time1 sec
    +

    Specifies a constant to be added to the time offset produced by +the driver, a fixed-point decimal number in seconds. This is used as a calibration constant to adjust the nominal time offset of a particular clock to agree with an external standard, such as a -precision PPS signal. +precision PPS signal. It also provides a way to correct a systematic error or bias due to serial port or operating system -latencies, different cable lengths or receiver internal delay. +latencies, different cable lengths or receiver internal delay. The specified offset is in addition to the propagation delay provided -by other means, such as internal DIPswitches. +by other means, such as internal DIPswitches. Where a calibration for an individual system and driver is available, an approximate -correction is noted in the driver documentation pages. +correction is noted in the driver documentation pages. Note: in order to facilitate calibration when more than one radio clock or PPS signal is supported, a special calibration -feature is available. +feature is available. It takes the form of an argument to the enable command described in Miscellaneous Options page and operates as described in the -"Reference Clock Drivers" +"Reference Clock Drivers" page (available as part of the HTML documentation provided in -/usr/share/doc/ntp). -

    time2 secs
    Specifies a fixed-point decimal number in seconds, which is -interpreted in a driver-dependent way. +/usr/share/doc/ntp). +

    +
    time2 secs
    +

    Specifies a fixed-point decimal number in seconds, which is +interpreted in a driver-dependent way. See the descriptions of specific drivers in the -"Reference Clock Drivers" +"Reference Clock Drivers" page (available as part of the HTML documentation provided in -/usr/share/doc/ntp ). -

    stratum int
    Specifies the stratum number assigned to the driver, an integer -between 0 and 15. +/usr/share/doc/ntp ). +

    +
    stratum int
    +

    Specifies the stratum number assigned to the driver, an integer +between 0 and 15. This number overrides the default stratum number -ordinarily assigned by the driver itself, usually zero. -

    refid string
    Specifies an ASCII string of from one to four characters which -defines the reference identifier used by the driver. +ordinarily assigned by the driver itself, usually zero. +

    +
    refid string
    +

    Specifies an ASCII string of from one to four characters which +defines the reference identifier used by the driver. This string overrides the default identifier ordinarily assigned by the driver -itself. -

    mode int
    Specifies a mode number which is interpreted in a -device-specific fashion. +itself. +

    +
    mode int
    +

    Specifies a mode number which is interpreted in a +device-specific fashion. For instance, it selects a dialing protocol in the ACTS driver and a device subtype in the parse -drivers. -

    flag1 0 | 1
    flag2 0 | 1
    flag3 0 | 1
    flag4 0 | 1
    These four flags are used for customizing the clock driver. +drivers. +

    +
    flag1 0 | 1
    +
    flag2 0 | 1
    +
    flag3 0 | 1
    +
    flag4 0 | 1
    +

    These four flags are used for customizing the clock driver. The interpretation of these values, and whether they are used at all, -is a function of the particular clock driver. +is a function of the particular clock driver. However, by convention flag4 @@ -2302,155 +2589,186 @@ data to the clockstats file configured with the filegen -command. +command. Further information on the filegen command can be found in -Monitoring Options. +‘Monitoring Options’. +

    -
    -
    -


    +
    +
    +
    -
    + - -

    Miscellaneous Options

    - -
    -
    broadcastdelay seconds
    The broadcast and multicast modes require a special calibration + +

    1.1.7 Miscellaneous Options

    +
    +
    broadcastdelay seconds
    +

    The broadcast and multicast modes require a special calibration to determine the network delay between the local and remote -servers. +servers. Ordinarily, this is done automatically by the initial -protocol exchanges between the client and server. +protocol exchanges between the client and server. In some cases, the calibration procedure may fail due to network or server access -controls, for example. +controls, for example. This command specifies the default delay to -be used under these circumstances. +be used under these circumstances. Typically (for Ethernet), a -number between 0.003 and 0.007 seconds is appropriate. +number between 0.003 and 0.007 seconds is appropriate. The default -when this command is not used is 0.004 seconds. -

    calldelay delay
    This option controls the delay in seconds between the first and second +when this command is not used is 0.004 seconds. +

    +
    calldelay delay
    +

    This option controls the delay in seconds between the first and second packets sent in burst or iburst mode to allow additional time for a modem -or ISDN call to complete. -

    driftfile driftfile
    This command specifies the complete path and name of the file used to -record the frequency of the local clock oscillator. +or ISDN call to complete. +

    +
    driftfile driftfile
    +

    This command specifies the complete path and name of the file used to +record the frequency of the local clock oscillator. This is the same operation as the -f -command line option. +command line option. If the file exists, it is read at startup in order to set the initial frequency and then updated once per -hour with the current frequency computed by the daemon. +hour with the current frequency computed by the daemon. If the file name is specified, but the file itself does not exist, the starts with an initial -frequency of zero and creates the file when writing it for the first time. +frequency of zero and creates the file when writing it for the first time. If this command is not given, the daemon will always start with an initial frequency of zero. - -

    The file format consists of a single line containing a single +

    +

    The file format consists of a single line containing a single floating point number, which records the frequency offset measured -in parts-per-million (PPM). +in parts-per-million (PPM). The file is updated by first writing the current drift value into a temporary file and then renaming -this file to replace the old version. +this file to replace the old version. This implies that ntpd(1ntpdmdoc) must have write permission for the directory the drift file is located in, and that file system links, symbolic or -otherwise, should be avoided. -

    dscp value
    This option specifies the Differentiated Services Control Point (DSCP) value, -a 6-bit code. -The default value is 46, signifying Expedited Forwarding. -
    enable [auth | bclient | calibrate | kernel | mode7 | monitor | ntp | stats | peer_clear_digest_early | unpeer_crypto_early | unpeer_crypto_nak_early | unpeer_digest_early]
    disable [auth | bclient | calibrate | kernel | mode7 | monitor | ntp | stats | peer_clear_digest_early | unpeer_crypto_early | unpeer_crypto_nak_early | unpeer_digest_early]
    Provides a way to enable or disable various server options. -Flags not mentioned are unaffected. +otherwise, should be avoided. +

    +
    dscp value
    +

    This option specifies the Differentiated Services Control Point (DSCP) value, +a 6-bit code. +The default value is 46, signifying Expedited Forwarding. +

    +
    enable [auth | bclient | calibrate | kernel | mode7 | monitor | ntp | stats | peer_clear_digest_early | unpeer_crypto_early | unpeer_crypto_nak_early | unpeer_digest_early]
    +
    disable [auth | bclient | calibrate | kernel | mode7 | monitor | ntp | stats | peer_clear_digest_early | unpeer_crypto_early | unpeer_crypto_nak_early | unpeer_digest_early]
    +

    Provides a way to enable or disable various server options. +Flags not mentioned are unaffected. Note that all of these flags can be controlled remotely using the ntpdc(1ntpdcmdoc) utility program. -

    -
    auth
    Enables the server to synchronize with unconfigured peers only if the +

    +
    auth
    +

    Enables the server to synchronize with unconfigured peers only if the peer has been correctly authenticated using either public key or -private key cryptography. +private key cryptography. The default for this flag is -enable. -

    bclient
    Enables the server to listen for a message from a broadcast or +enable. +

    +
    bclient
    +

    Enables the server to listen for a message from a broadcast or multicast server, as in the multicastclient command with default -address. +address. The default for this flag is -disable. -

    calibrate
    Enables the calibrate feature for reference clocks. +disable. +

    +
    calibrate
    +

    Enables the calibrate feature for reference clocks. The default for this flag is -disable. -

    kernel
    Enables the kernel time discipline, if available. +disable. +

    +
    kernel
    +

    Enables the kernel time discipline, if available. The default for this flag is enable if support is available, otherwise -disable. -

    mode7
    Enables processing of NTP mode 7 implementation-specific requests +disable. +

    +
    mode7
    +

    Enables processing of NTP mode 7 implementation-specific requests which are used by the deprecated ntpdc(1ntpdcmdoc) -program. -The default for this flag is disable. +program. +The default for this flag is disable. This flag is excluded from runtime configuration using -ntpq(1ntpqmdoc). +ntpq(1ntpqmdoc). The ntpq(1ntpqmdoc) program provides the same capabilities as ntpdc(1ntpdcmdoc) -using standard mode 6 requests. -

    monitor
    Enables the monitoring facility. +using standard mode 6 requests. +

    +
    monitor
    +

    Enables the monitoring facility. See the ntpdc(1ntpdcmdoc) program and the monlist -command or further information. +command or further information. The default for this flag is -enable. -

    ntp
    Enables time and frequency discipline. +enable. +

    +
    ntp
    +

    Enables time and frequency discipline. In effect, this switch opens and -closes the feedback loop, which is useful for testing. +closes the feedback loop, which is useful for testing. The default for this flag is -enable. -

    peer_clear_digest_early
    By default, if +enable. +

    +
    peer_clear_digest_early
    +

    By default, if ntpd(1ntpdmdoc) is using autokey and it receives a crypto-NAK packet that passes the duplicate packet and origin timestamp checks -the peer variables are immediately cleared. +the peer variables are immediately cleared. While this is generally a feature as it allows for quick recovery if a server key has changed, a properly forged and appropriately delivered crypto-NAK packet -can be used in a DoS attack. +can be used in a DoS attack. If you have active noticable problems with this type of DoS attack then you should consider -disabling this option. +disabling this option. You can check your peerstats -file for evidence of any of these attacks. +file for evidence of any of these attacks. The default for this flag is -enable. -

    stats
    Enables the statistics facility. +enable. +

    +
    stats
    +

    Enables the statistics facility. See the -Monitoring Options -section for further information. +‘Monitoring Options’ +section for further information. The default for this flag is -disable. -

    unpeer_crypto_early
    By default, if +disable. +

    +
    unpeer_crypto_early
    +

    By default, if ntpd(1ntpdmdoc) receives an autokey packet that fails TEST9, a crypto failure, -the association is immediately cleared. +the association is immediately cleared. This is almost certainly a feature, but if, in spite of the current recommendation of not using autokey, you are @@ -2460,84 +2778,93 @@ using autokey you are seeing this sort of DoS attack disabling this flag will delay tearing down the association until the reachability counter -becomes zero. +becomes zero. You can check your peerstats -file for evidence of any of these attacks. +file for evidence of any of these attacks. The default for this flag is -enable. -

    unpeer_crypto_nak_early
    By default, if +enable. +

    +
    unpeer_crypto_nak_early
    +

    By default, if ntpd(1ntpdmdoc) receives a crypto-NAK packet that passes the duplicate packet and origin timestamp checks -the association is immediately cleared. +the association is immediately cleared. While this is generally a feature as it allows for quick recovery if a server key has changed, a properly forged and appropriately delivered crypto-NAK packet -can be used in a DoS attack. +can be used in a DoS attack. If you have active noticable problems with this type of DoS attack then you should consider -disabling this option. +disabling this option. You can check your peerstats -file for evidence of any of these attacks. +file for evidence of any of these attacks. The default for this flag is -enable. -

    unpeer_digest_early
    By default, if +enable. +

    +
    unpeer_digest_early
    +

    By default, if ntpd(1ntpdmdoc) receives what should be an authenticated packet that passes other packet sanity checks but contains an invalid digest -the association is immediately cleared. +the association is immediately cleared. While this is generally a feature as it allows for quick recovery, if this type of packet is carefully forged and sent -during an appropriate window it can be used for a DoS attack. +during an appropriate window it can be used for a DoS attack. If you have active noticable problems with this type of DoS attack then you should consider -disabling this option. +disabling this option. You can check your peerstats -file for evidence of any of these attacks. +file for evidence of any of these attacks. The default for this flag is -enable. +enable. +

    -
    includefile includefile
    This command allows additional configuration commands -to be included from a separate file. +
    +
    includefile includefile
    +

    This command allows additional configuration commands +to be included from a separate file. Include files may be nested to a depth of five; upon reaching the end of any include file, command processing resumes in the previous -configuration file. +configuration file. This option is useful for sites that run ntpd(1ntpdmdoc) on multiple hosts, with (mostly) common options (e.g., a -restriction list). -

    interface [listen | ignore | drop] [all | ipv4 | ipv6 | wildcard name | address [/ prefixlen]]
    The +restriction list). +

    +
    interface [listen | ignore | drop] [all | ipv4 | ipv6 | wildcard name | address [/ prefixlen]]
    +

    The interface directive controls which network addresses ntpd(1ntpdmdoc) -opens, and whether input is dropped without processing. +opens, and whether input is dropped without processing. The first parameter determines the action for addresses -which match the second parameter. +which match the second parameter. The second parameter specifies a class of addresses, or a specific interface name, -or an address. +or an address. In the address case, prefixlen -determines how many bits must match for this rule to apply. +determines how many bits must match for this rule to apply. ignore prevents opening matching addresses, drop causes ntpd(1ntpdmdoc) -to open the address and drop all received packets without examination. +to open the address and drop all received packets without examination. Multiple interface -directives can be used. -The last rule which matches a particular address determines the action for it. +directives can be used. +The last rule which matches a particular address determines the action for it. interface directives are disabled if any -I, @@ -2546,18 +2873,20 @@ directives are disabled if any or --novirtualips command-line options are specified in the configuration file, -all available network addresses are opened. +all available network addresses are opened. The nic directive is an alias for -interface. -

    leapfile leapfile
    This command loads the IERS leapseconds file and initializes the +interface. +

    +
    leapfile leapfile
    +

    This command loads the IERS leapseconds file and initializes the leapsecond values for the next leapsecond event, leapfile expiration -time, and TAI offset. +time, and TAI offset. The file can be obtained directly from the IERS at https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list or -ftp://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list. +ftp://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list. The leapfile is scanned when @@ -2566,56 +2895,60 @@ processes the leapfile directive or when ntpd detects that the leapfile -has changed. +has changed. ntpd checks once a day to see if the leapfile -has changed. +has changed. The update-leap(1update_leapmdoc) script can be run to see if the leapfile -should be updated. -

    leapsmearinterval seconds
    This EXPERIMENTAL option is only available if +should be updated. +

    +
    leapsmearinterval seconds
    +

    This EXPERIMENTAL option is only available if ntpd(1ntpdmdoc) was built with the --enable-leap-smear option to the configure -script. -It specifies the interval over which a leap second correction will be applied. +script. +It specifies the interval over which a leap second correction will be applied. Recommended values for this option are between -7200 (2 hours) and 86400 (24 hours). -.Sy DO NOT USE THIS OPTION ON PUBLIC-ACCESS SERVERS! -See http://bugs.ntp.org/2855 for more information. -

    logconfig configkeyword
    This command controls the amount and type of output written to +7200 (2 hours) and 86400 (24 hours). +.Sy DO NOT USE THIS OPTION ON PUBLIC-ACCESS SERVERS! +See http://bugs.ntp.org/2855 for more information. +

    +
    logconfig configkeyword
    +

    This command controls the amount and type of output written to the system syslog(3) facility or the alternate logfile -log file. -By default, all output is turned on. +log file. +By default, all output is turned on. All configkeyword keywords can be prefixed with -=, -+ +‘=’, +‘+’ and --, +‘-’, where -= +‘=’ sets the syslog(3) priority mask, -+ +‘+’ adds and -- +‘-’ removes -messages. +messages. syslog(3) messages can be controlled in four classes -(clock, peer, sys and sync). +(clock, peer, sys and sync). Within these classes four types of messages can be controlled: informational messages (info), @@ -2626,383 +2959,464 @@ statistics messages and status messages (status). - -

    Configuration keywords are formed by concatenating the message class with -the event class. +

    +

    Configuration keywords are formed by concatenating the message class with +the event class. The all -prefix can be used instead of a message class. +prefix can be used instead of a message class. A message class may also be followed by the all keyword to enable/disable all -messages of the respective message class. +messages of the respective message class. Thus, a minimal log configuration could look like this: -

         
    -     logconfig =syncstatus +sysevents
    +

    logconfig =syncstatus +sysevents
     
    - -

    This would just list the synchronizations state of +

    This would just list the synchronizations state of ntpd(1ntpdmdoc) -and the major system events. +and the major system events. For a simple reference server, the following minimum message configuration could be useful: -

         
    -     logconfig =syncall +clockall
    +

    logconfig =syncall +clockall
     
    - -

    This configuration will list all clock information and -synchronization information. +

    This configuration will list all clock information and +synchronization information. All other events and messages about -peers, system events and so on is suppressed. -

    logfile logfile
    This command specifies the location of an alternate log file to +peers, system events and so on is suppressed. +

    +
    logfile logfile
    +

    This command specifies the location of an alternate log file to be used instead of the default system syslog(3) -facility. +facility. This is the same operation as the -l -command line option. -

    mru [maxdepth count | maxmem kilobytes | mindepth count | maxage seconds | initialloc count | initmem kilobytes | incalloc count | incmem kilobytes]
    Controls size limite of the monitoring facility's Most Recently Used +command line option. +

    +
    mru [maxdepth count | maxmem kilobytes | mindepth count | maxage seconds | initialloc count | initmem kilobytes | incalloc count | incmem kilobytes]
    +

    Controls size limite of the monitoring facility’s Most Recently Used (MRU) list of client addresses, which is also used by the rate control facility. -

    -
    maxdepth count
    maxmem kilobytes
    Equivalent upper limits on the size of the MRU list, in terms of entries or kilobytes. +

    +
    maxdepth count
    +
    maxmem kilobytes
    +

    Equivalent upper limits on the size of the MRU list, in terms of entries or kilobytes. The acutal limit will be up to incalloc entries or incmem -kilobytes larger. +kilobytes larger. As with all of the mru options offered in units of entries or kilobytes, if both maxdepth and maxmem are used, the last one used controls. -The default is 1024 kilobytes. -

    mindepth count
    Lower limit on the MRU list size. +The default is 1024 kilobytes. +

    +
    mindepth count
    +

    Lower limit on the MRU list size. When the MRU list has fewer than mindepth entries, existing entries are never removed to make room for newer ones, -regardless of their age. -The default is 600 entries. -

    maxage seconds
    Once the MRU list has +regardless of their age. +The default is 600 entries. +

    +
    maxage seconds
    +

    Once the MRU list has mindepth entries and an additional client is to ba added to the list, if the oldest entry was updated more than maxage -seconds ago, that entry is removed and its storage is reused. +seconds ago, that entry is removed and its storage is reused. If the oldest entry was updated more recently the MRU list is grown, -subject to -maxdepth / moxmem. -The default is 64 seconds. -

    initalloc count
    initmem kilobytes
    Initial memory allocation at the time the monitoringfacility is first enabled, -in terms of the number of entries or kilobytes. -The default is 4 kilobytes. -
    incalloc count
    incmem kilobytes
    Size of additional memory allocations when growing the MRU list, in entries or kilobytes. -The default is 4 kilobytes. +subject to +maxdepth / moxmem. +The default is 64 seconds. +

    +
    initalloc count
    +
    initmem kilobytes
    +

    Initial memory allocation at the time the monitoringfacility is first enabled, +in terms of the number of entries or kilobytes. +The default is 4 kilobytes. +

    +
    incalloc count
    +
    incmem kilobytes
    +

    Size of additional memory allocations when growing the MRU list, in entries or kilobytes. +The default is 4 kilobytes. +

    -
    nonvolatile threshold
    Specify the +
    +
    nonvolatile threshold
    +

    Specify the threshold delta in seconds before an hourly change to the driftfile -(frequency file) will be written, with a default value of 1e-7 (0.1 PPM). -The frequency file is inspected each hour. +(frequency file) will be written, with a default value of 1e-7 (0.1 PPM). +The frequency file is inspected each hour. If the difference between the current frequency and the last value written exceeds the threshold, the file is written and the threshold -becomes the new threshold value. -If the threshold is not exceeeded, it is reduced by half. -This is intended to reduce the number of file writes -for embedded systems with nonvolatile memory. -

    phone dial ...
    This command is used in conjunction with +becomes the new threshold value. +If the threshold is not exceeeded, it is reduced by half. +This is intended to reduce the number of file writes +for embedded systems with nonvolatile memory. +

    +
    phone dial ...
    +

    This command is used in conjunction with the ACTS modem driver (type 18) -or the JJY driver (type 40, mode 100 - 180). +or the JJY driver (type 40, mode 100 - 180). For the ACTS modem driver (type 18), the arguments consist of a maximum of 10 telephone numbers used to dial USNO, NIST, or European -time service. -For the JJY driver (type 40 mode 100 - 180), the argument is -one telephone number used to dial the telephone JJY service. -The Hayes command ATDT is normally prepended to the number. -The number can contain other modem control codes as well. -

    reset [allpeers] [auth] [ctl] [io] [mem] [sys] [timer]
    Reset one or more groups of counters maintained by +time service. +For the JJY driver (type 40 mode 100 - 180), the argument is +one telephone number used to dial the telephone JJY service. +The Hayes command ATDT is normally prepended to the number. +The number can contain other modem control codes as well. +

    +
    reset [allpeers] [auth] [ctl] [io] [mem] [sys] [timer]
    +

    Reset one or more groups of counters maintained by ntpd and exposed by ntpq and -ntpdc. -

    rlimit [memlock Nmegabytes | stacksize N4kPages filenum Nfiledescriptors]
    -
    -
    memlock Nmegabytes
    Specify the number of megabytes of memory that should be -allocated and locked. +ntpdc. +

    +
    rlimit [memlock Nmegabytes | stacksize N4kPages filenum Nfiledescriptors]
    +
    +
    memlock Nmegabytes
    +

    Specify the number of megabytes of memory that should be +allocated and locked. Probably only available under Linux, this option may be useful when dropping root (the -i -option). -The default is 32 megabytes on non-Linux machines, and -1 under Linux. --1 means "do not lock the process into memory". -0 means "lock whatever memory the process wants into memory". -

    stacksize N4kPages
    Specifies the maximum size of the process stack on systems with the +option). +The default is 32 megabytes on non-Linux machines, and -1 under Linux. +-1 means "do not lock the process into memory". +0 means "lock whatever memory the process wants into memory". +

    +
    stacksize N4kPages
    +

    Specifies the maximum size of the process stack on systems with the mlockall() -function. -Defaults to 50 4k pages (200 4k pages in OpenBSD). -

    filenum Nfiledescriptors
    Specifies the maximum number of file descriptors ntpd may have open at once. -Defaults to the system default. +function. +Defaults to 50 4k pages (200 4k pages in OpenBSD). +

    +
    filenum Nfiledescriptors
    +

    Specifies the maximum number of file descriptors ntpd may have open at once. +Defaults to the system default. +

    -
    saveconfigdir directory_path
    Specify the directory in which to write configuration snapshots +
    +
    saveconfigdir directory_path
    +

    Specify the directory in which to write configuration snapshots requested with -.Cm ntpq 's +.Cm ntpq ’s saveconfig -command. +command. If saveconfigdir does not appear in the configuration file, saveconfig requests are rejected by -ntpd. -

    saveconfig filename
    Write the current configuration, including any runtime +ntpd. +

    +
    saveconfig filename
    +

    Write the current configuration, including any runtime modifications given with :config or config-from-file to the ntpd -host's +host’s filename in the -saveconfigdir. +saveconfigdir. This command will be rejected unless the saveconfigdir directive appears in -.Cm ntpd 's -configuration file. +.Cm ntpd ’s +configuration file. filename can use strftime(3) format directives to substitute the current date and time, for example, -saveconfig\ ntp-%Y%m%d-%H%M%S.conf. +saveconfig\ ntp-%Y%m%d-%H%M%S.conf. The filename used is stored in the system variable -savedconfig. -Authentication is required. -

    setvar variable [default]
    This command adds an additional system variable. +savedconfig. +Authentication is required. +

    +
    setvar variable [default]
    +

    This command adds an additional system variable. These variables can be used to distribute additional information such as -the access policy. +the access policy. If the variable of the form name=value is followed by the default keyword, the variable will be listed as part of the default system variables -(rv command)). +(rv command)). These additional variables serve -informational purposes only. +informational purposes only. They are not related to the protocol -other that they can be listed. +other that they can be listed. The known protocol variables will always override any variables defined via the setvar -mechanism. +mechanism. There are three special variables that contain the names -of all variable of the same group. +of all variable of the same group. The sys_var_list holds -the names of all system variables. +the names of all system variables. The peer_var_list holds the names of all peer variables and the clock_var_list -holds the names of the reference clock variables. -

    sysinfo
    Display operational summary. -
    sysstats
    Show statistics counters maintained in the protocol module. -
    tinker [allan allan | dispersion dispersion | freq freq | huffpuff huffpuff | panic panic | step step | stepback stepback | stepfwd stepfwd | stepout stepout]
    This command can be used to alter several system variables in -very exceptional circumstances. +holds the names of the reference clock variables. +

    +
    sysinfo
    +

    Display operational summary. +

    +
    sysstats
    +

    Show statistics counters maintained in the protocol module. +

    +
    tinker [allan allan | dispersion dispersion | freq freq | huffpuff huffpuff | panic panic | step step | stepback stepback | stepfwd stepfwd | stepout stepout]
    +

    This command can be used to alter several system variables in +very exceptional circumstances. It should occur in the -configuration file before any other configuration options. +configuration file before any other configuration options. The default values of these variables have been carefully optimized for -a wide range of network speeds and reliability expectations. +a wide range of network speeds and reliability expectations. In general, they interact in intricate ways that are hard to predict -and some combinations can result in some very nasty behavior. +and some combinations can result in some very nasty behavior. Very rarely is it necessary to change the default values; but, some folks cannot resist twisting the knobs anyway and this command is -for them. +for them. Emphasis added: twisters are on their own and can expect no help from the support group. - -

    The variables operate as follows: -

    -
    allan allan
    The argument becomes the new value for the minimum Allan +

    +

    The variables operate as follows: +

    +
    allan allan
    +

    The argument becomes the new value for the minimum Allan intercept, which is a parameter of the PLL/FLL clock discipline -algorithm. +algorithm. The value in log2 seconds defaults to 7 (1024 s), which is also the lower -limit. -

    dispersion dispersion
    The argument becomes the new value for the dispersion increase rate, -normally .000015 s/s. -
    freq freq
    The argument becomes the initial value of the frequency offset in -parts-per-million. +limit. +

    +
    dispersion dispersion
    +

    The argument becomes the new value for the dispersion increase rate, +normally .000015 s/s. +

    +
    freq freq
    +

    The argument becomes the initial value of the frequency offset in +parts-per-million. This overrides the value in the frequency file, if -present, and avoids the initial training state if it is not. -

    huffpuff huffpuff
    The argument becomes the new value for the experimental -huff-n'-puff filter span, which determines the most recent interval -the algorithm will search for a minimum delay. +present, and avoids the initial training state if it is not. +

    +
    huffpuff huffpuff
    +

    The argument becomes the new value for the experimental +huff-n’-puff filter span, which determines the most recent interval +the algorithm will search for a minimum delay. The lower limit is -900 s (15 m), but a more reasonable value is 7200 (2 hours). +900 s (15 m), but a more reasonable value is 7200 (2 hours). There is no default, since the filter is not enabled unless this command -is given. -

    panic panic
    The argument is the panic threshold, normally 1000 s. +is given. +

    +
    panic panic
    +

    The argument is the panic threshold, normally 1000 s. If set to zero, the panic sanity check is disabled and a clock offset of any value will -be accepted. -

    step step
    The argument is the step threshold, which by default is 0.128 s. +be accepted. +

    +
    step step
    +

    The argument is the step threshold, which by default is 0.128 s. It can -be set to any positive number in seconds. +be set to any positive number in seconds. If set to zero, step -adjustments will never occur. +adjustments will never occur. Note: The kernel time discipline is disabled if the step threshold is set to zero or greater than the -default. -

    stepback stepback
    The argument is the step threshold for the backward direction, -which by default is 0.128 s. +default. +

    +
    stepback stepback
    +

    The argument is the step threshold for the backward direction, +which by default is 0.128 s. It can -be set to any positive number in seconds. +be set to any positive number in seconds. If both the forward and backward step thresholds are set to zero, step -adjustments will never occur. +adjustments will never occur. Note: The kernel time discipline is disabled if each direction of step threshold are either -set to zero or greater than .5 second. -

    stepfwd stepfwd
    As for stepback, but for the forward direction. -
    stepout stepout
    The argument is the stepout timeout, which by default is 900 s. +set to zero or greater than .5 second. +

    +
    stepfwd stepfwd
    +

    As for stepback, but for the forward direction. +

    +
    stepout stepout
    +

    The argument is the stepout timeout, which by default is 900 s. It can -be set to any positive number in seconds. +be set to any positive number in seconds. If set to zero, the stepout -pulses will not be suppressed. +pulses will not be suppressed. +

    -
    writevar assocID\ name = value [,...]
    Write (create or update) the specified variables. +
    +
    writevar assocID\ name = value [,...]
    +

    Write (create or update) the specified variables. If the assocID is zero, the variablea re from the system variables name space, otherwise they are from the peer variables -name space. +name space. The assocID -is required, as the same name can occur in both name spaces. -

    trap host_address [port port_number] [interface interface_address]
    This command configures a trap receiver at the given host +is required, as the same name can occur in both name spaces. +

    +
    trap host_address [port port_number] [interface interface_address]
    +

    This command configures a trap receiver at the given host address and port number for sending messages with the specified -local interface address. +local interface address. If the port number is unspecified, a value -of 18447 is used. +of 18447 is used. If the interface address is not specified, the message is sent with a source address of the local interface the -message is sent through. +message is sent through. Note that on a multihomed host the -interface used may vary from time to time with routing changes. -

    ttl hop ...
    This command specifies a list of TTL values in increasing order. -Up to 8 values can be specified. +interface used may vary from time to time with routing changes. +

    +
    ttl hop ...
    +

    This command specifies a list of TTL values in increasing order. +Up to 8 values can be specified. In manycast -mode these values are used in-turn in an expanding-ring search. +mode these values are used in-turn in an expanding-ring search. The default is eight multiples of 32 starting at 31. - -

    The trap receiver will generally log event messages and other -information from the server in a log file. +

    +

    The trap receiver will generally log event messages and other +information from the server in a log file. While such monitor programs may also request their own trap dynamically, configuring a trap receiver will ensure that no messages are lost when the server -is started. -

    hop ...
    This command specifies a list of TTL values in increasing order, up to 8 -values can be specified. +is started. +

    +
    hop ...
    +

    This command specifies a list of TTL values in increasing order, up to 8 +values can be specified. In manycast mode these values are used in turn in -an expanding-ring search. +an expanding-ring search. The default is eight multiples of 32 starting at -31. +31. +

    -

    This section was generated by AutoGen, -using the agtexi-cmd template and the option descriptions for the ntp.conf program. +

    This section was generated by AutoGen, +using the agtexi-cmd template and the option descriptions for the ntp.conf program. This software is released under the NTP license, <http://ntp.org/license>. +

    + + + + + + - - -
    -


    +
    -
    + - -

    ntp.conf Files

    - -
    -
    /etc/ntp.conf
    the default name of the configuration file -
    ntp.keys
    private MD5 keys -
    ntpkey
    RSA private key -
    ntpkey_host
    RSA public key -
    ntp_dh
    Diffie-Hellman agreement parameters + +

    1.1.8 ntp.conf Files

    +
    +
    /etc/ntp.conf
    +

    the default name of the configuration file +

    +
    ntp.keys
    +

    private MD5 keys +

    +
    ntpkey
    +

    RSA private key +

    +
    ntpkey_host
    +

    RSA public key +

    +
    ntp_dh
    +

    Diffie-Hellman agreement parameters +

    -
    -


    +
    -
    +
    +

    +Next: , Previous: , Up: ntp.conf Notes  

    - -

    ntp.conf See Also

    - + +

    1.1.9 ntp.conf See Also

    ntpd(1ntpdmdoc), ntpdc(1ntpdcmdoc), ntpq(1ntpqmdoc) - -

    In addition to the manual pages provided, +

    +

    In addition to the manual pages provided, comprehensive documentation is available on the world wide web at -http://www.ntp.org/. +http://www.ntp.org/. A snapshot of this documentation is available in HTML format in -/usr/share/doc/ntp. +/usr/share/doc/ntp.
    - -


    -David L. Mills, Network Time Protocol (Version 4), RFC5905 -

    -


    +

    +
    +

    David L. Mills, Network Time Protocol (Version 4), RFC5905 +


    -
    +
    +

    +Previous: , Up: ntp.conf Notes  

    - -

    ntp.conf Bugs

    - + +

    1.1.10 ntp.conf Bugs

    The syntax checking is not picky; some combinations of ridiculous and even hilarious options and modes may not be detected. - -

    The -ntpkey_host +

    +

    The +ntpkey_host files are really digital -certificates. +certificates. These should be obtained via secure directory -services when they become universally available. -

    -


    - -
    +services when they become universally available. +


    +
    +

    +  

    - -

    ntp.conf Notes

    - + +

    1.1.11 ntp.conf Notes

    This document was derived from FreeBSD. +


    - + + + diff --git a/contrib/ntp/ntpd/ntp.conf.man.in b/contrib/ntp/ntpd/ntp.conf.man.in index 8f6c99c98503..d1d9ca562018 100644 --- a/contrib/ntp/ntpd/ntp.conf.man.in +++ b/contrib/ntp/ntpd/ntp.conf.man.in @@ -10,11 +10,11 @@ .ds B-Font B .ds I-Font I .ds R-Font R -.TH ntp.conf 5 "14 Aug 2018" "4.2.8p12" "File Formats" +.TH ntp.conf 5 "20 Feb 2019" "4.2.8p13" "File Formats" .\" -.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-2caiQA/ag-bdaaPA) +.\" EDIT THIS FILE WITH CAUTION (in-mem file) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:28:54 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:56:43 AM by AutoGen 5.18.5 .\" From the definitions ntp.conf.def .\" and the template file agman-cmd.tpl .SH NAME diff --git a/contrib/ntp/ntpd/ntp.conf.mdoc.in b/contrib/ntp/ntpd/ntp.conf.mdoc.in index 3fa7f8d34707..a1c795da2cf8 100644 --- a/contrib/ntp/ntpd/ntp.conf.mdoc.in +++ b/contrib/ntp/ntpd/ntp.conf.mdoc.in @@ -1,9 +1,9 @@ -.Dd August 14 2018 +.Dd February 20 2019 .Dt NTP_CONF 5 File Formats .Os .\" EDIT THIS FILE WITH CAUTION (ntp.mdoc) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:29:15 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:56:34 AM by AutoGen 5.18.5 .\" From the definitions ntp.conf.def .\" and the template file agmdoc-cmd.tpl .Sh NAME diff --git a/contrib/ntp/ntpd/ntp.keys.5man b/contrib/ntp/ntpd/ntp.keys.5man index e52d94d3e423..2642c5660b81 100644 --- a/contrib/ntp/ntpd/ntp.keys.5man +++ b/contrib/ntp/ntpd/ntp.keys.5man @@ -1,8 +1,8 @@ -.TH ntp.keys 5man "14 Aug 2018" "4.2.8p12" "File Formats" +.TH ntp.keys 5man "20 Feb 2019" "4.2.8p13" "File Formats" .\" .\" EDIT THIS FILE WITH CAUTION (ntp.man) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:28:59 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:56:44 AM by AutoGen 5.18.5 .\" From the definitions ntp.keys.def .\" and the template file agman-file.tpl .Sh NAME diff --git a/contrib/ntp/ntpd/ntp.keys.5mdoc b/contrib/ntp/ntpd/ntp.keys.5mdoc index 8f4190c813b2..8a2dbcbc8938 100644 --- a/contrib/ntp/ntpd/ntp.keys.5mdoc +++ b/contrib/ntp/ntpd/ntp.keys.5mdoc @@ -1,9 +1,9 @@ -.Dd August 14 2018 +.Dd February 20 2019 .Dt NTP_KEYS 5mdoc File Formats -.Os SunOS 5.10 +.Os FreeBSD 11.2-RELEASE_SI .\" EDIT THIS FILE WITH CAUTION (ntp.mdoc) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:29:18 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:56:35 AM by AutoGen 5.18.5 .\" From the definitions ntp.keys.def .\" and the template file agmdoc-file.tpl .Sh NAME diff --git a/contrib/ntp/ntpd/ntp.keys.html b/contrib/ntp/ntpd/ntp.keys.html index 25fb763f1d32..08d89221c5cf 100644 --- a/contrib/ntp/ntpd/ntp.keys.html +++ b/contrib/ntp/ntpd/ntp.keys.html @@ -1,101 +1,143 @@ - + + + + NTP Symmetric Key - + - - - - - + + + + + + + + + - -

    NTP Symmetric Key

    -
    -


    -Next: , -Previous: (dir), -Up: (dir) -
    + + +

    NTP Symmetric Key

    + + + + + + +
    +

    +Next: , Previous: , Up: (dir)  

    + +

    NTP’s Symmetric Key File User Manual

    -

    NTP's Symmetric Key File User Manual

    - -

    This document describes the symmetric key file for the NTP Project's +

    This document describes the symmetric key file for the NTP Project’s ntpd program. +

    +

    This document applies to version 4.2.8p13 of ntp.keys. +

    + +

    Short Table of Contents

    -

    This document applies to version 4.2.8p12 of ntp.keys. - -

    -

    Short Contents

    -
      -NTP's Symmetric Key File User Manual + - -
      -


      -Previous: Top, -Up: Top -
      + + + + + +
      + +
      +

      +Previous: , Up: Top  

      - - -

      Description

      + +

      1 Description

      The name and location of the symmetric key file for ntpd can be specified in a configuration file, by default /etc/ntp.keys. +

      + + + -
      -


      +
      -
      + + +

      1.1 Notes about ntp.keys

      + + -

      Notes about ntp.keys

      -

      -

      This document describes the format of an NTP symmetric key file. +

      This document describes the format of an NTP symmetric key file. For a description of the use of this type of file, see the -"Authentication Support" +"Authentication Support" section of the ntp.conf(5) page. - -

      ntpd(8) +

      +

      ntpd(8) reads its keys from a file specified using the -k command line option or the keys -statement in the configuration file. +statement in the configuration file. While key number 0 is fixed by the NTP standard (as 56 zero bits) and may not be changed, one or more keys numbered between 1 and 65535 may be arbitrarily set in the keys file. - -

      The key file uses the same comment conventions -as the configuration file. +

      +

      The key file uses the same comment conventions +as the configuration file. Key entries use a fixed format of the form +

      +
      +
      keyno type key opt_IP_list
      +
      -
           keyno type key opt_IP_list
      -
      -

      where +

      where keyno is a positive integer (between 1 and 65535), type @@ -106,111 +148,120 @@ is the key itself, and is an optional comma-separated list of IPs where the keyno -should be trusted. -that are allowed to serve time. +should be trusted. +that are allowed to serve time. Each IP in opt_IP_list may contain an optional /subnetbits specification which identifies the number of bits for -the desired subnet of trust. +the desired subnet of trust. If opt_IP_list is empty, any properly-authenticated message will be accepted. - -

      The +

      +

      The key may be given in a format controlled by the type -field. +field. The type MD5 -is always supported. +is always supported. If ntpd was built with the OpenSSL library -then any digest library supported by that library may be specified. +then any digest library supported by that library may be specified. However, if compliance with FIPS 140-2 is required the type must be either SHA or SHA1. - -

      What follows are some key types, and corresponding formats: - -

      -
      MD5
      The key is 1 to 16 printable characters terminated by +

      +

      What follows are some key types, and corresponding formats: +

      +
      +
      MD5
      +

      The key is 1 to 16 printable characters terminated by an EOL, whitespace, or a # -(which is the "start of comment" character). - -

      SHA
      SHA1
      RMD160
      The key is a hex-encoded ASCII string of 40 characters, -which is truncated as necessary. +(which is the "start of comment" character). +

      +
      +
      SHA
      +
      SHA1
      +
      RMD160
      +

      The key is a hex-encoded ASCII string of 40 characters, +which is truncated as necessary. +

      -

      Note that the keys used by the +

      Note that the keys used by the ntpq(8) and ntpdc(8) programs are checked against passwords requested by the programs and entered by hand, so it is generally appropriate to specify these keys in ASCII format. - -

      This section was generated by AutoGen, -using the agtexi-cmd template and the option descriptions for the ntp.keys program. +

      +

      This section was generated by AutoGen, +using the agtexi-cmd template and the option descriptions for the ntp.keys program. This software is released under the NTP license, <http://ntp.org/license>. +

      + + + + + - - -
      -


      -Next: , -Up: ntp.keys Notes -
      +
      + + - -

      ntp.keys Files

      - -
      -
      /etc/ntp.keys
      the default name of the configuration file + +

      1.1.1 ntp.keys Files

      +
      +
      /etc/ntp.keys
      +

      the default name of the configuration file +

      -
      -


      -Next: , -Previous: ntp.keys Files, -Up: ntp.keys Notes -
      +
      + +
      +

      +Previous: , Up: ntp.keys Notes  

      - -

      ntp.keys See Also

      - + +

      1.1.2 ntp.keys See Also

      ntp.conf(5), ntpd(1ntpdmdoc), ntpdate(1ntpdatemdoc), ntpdc(1ntpdcmdoc), sntp(1sntpmdoc) -

      -


      -Previous: ntp.keys See Also, -Up: ntp.keys Notes -
      +


      +
      +

      +  

      - -

      ntp.keys Notes

      - + +

      1.1.3 ntp.keys Notes

      This document was derived from FreeBSD. +


      - + + + diff --git a/contrib/ntp/ntpd/ntp.keys.man.in b/contrib/ntp/ntpd/ntp.keys.man.in index fd85bb8f5700..9d8b995ca948 100644 --- a/contrib/ntp/ntpd/ntp.keys.man.in +++ b/contrib/ntp/ntpd/ntp.keys.man.in @@ -1,8 +1,8 @@ -.TH ntp.keys 5 "14 Aug 2018" "4.2.8p12" "File Formats" +.TH ntp.keys 5 "20 Feb 2019" "4.2.8p13" "File Formats" .\" .\" EDIT THIS FILE WITH CAUTION (ntp.man) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:28:59 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:56:44 AM by AutoGen 5.18.5 .\" From the definitions ntp.keys.def .\" and the template file agman-file.tpl .Sh NAME diff --git a/contrib/ntp/ntpd/ntp.keys.mdoc.in b/contrib/ntp/ntpd/ntp.keys.mdoc.in index 26bb78ecec06..1bc36e3ef75f 100644 --- a/contrib/ntp/ntpd/ntp.keys.mdoc.in +++ b/contrib/ntp/ntpd/ntp.keys.mdoc.in @@ -1,9 +1,9 @@ -.Dd August 14 2018 +.Dd February 20 2019 .Dt NTP_KEYS 5 File Formats -.Os SunOS 5.10 +.Os FreeBSD 11.2-RELEASE_SI .\" EDIT THIS FILE WITH CAUTION (ntp.mdoc) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:29:18 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:56:35 AM by AutoGen 5.18.5 .\" From the definitions ntp.keys.def .\" and the template file agmdoc-file.tpl .Sh NAME diff --git a/contrib/ntp/ntpd/ntp_config.c b/contrib/ntp/ntpd/ntp_config.c index 89c920c1ecb6..0597393513f5 100644 --- a/contrib/ntp/ntpd/ntp_config.c +++ b/contrib/ntp/ntpd/ntp_config.c @@ -2065,8 +2065,12 @@ config_auth( #ifdef AUTOKEY /* crypto revoke command */ - if (ptree->auth.revoke) - sys_revoke = 1UL << ptree->auth.revoke; + if (ptree->auth.revoke > 2 && ptree->auth.revoke < 32) + sys_revoke = (u_char)ptree->auth.revoke; + else if (ptree->auth.revoke) + msyslog(LOG_ERR, + "'revoke' value %d ignored", + ptree->auth.revoke); #endif /* AUTOKEY */ } #endif /* !SIM */ @@ -2112,6 +2116,10 @@ config_tos_clock( break; } } + + if (basedate_get_day() <= NTP_TO_UNIX_DAYS) + basedate_set_day(basedate_eval_buildstamp() - 11); + return ret; } @@ -2194,8 +2202,8 @@ config_tos( case T_Minsane: val = tos->value.d; - if ((int)tos->value.d < 1) - tos->value.d = 1; + if ((int)tos->value.d < 0) + tos->value.d = 0; l_minsane = (int)tos->value.d; break; } @@ -3813,7 +3821,12 @@ config_vars( case T_Automax: #ifdef AUTOKEY - sys_automax = curr_var->value.i; + if (curr_var->value.i > 2 && curr_var->value.i < 32) + sys_automax = (u_char)curr_var->value.i; + else + msyslog(LOG_ERR, + "'automax' value %d ignored", + curr_var->value.i); #endif break; diff --git a/contrib/ntp/ntpd/ntp_control.c b/contrib/ntp/ntpd/ntp_control.c index 48cd908f9a84..49a197ed7c61 100644 --- a/contrib/ntp/ntpd/ntp_control.c +++ b/contrib/ntp/ntpd/ntp_control.c @@ -1910,11 +1910,13 @@ ctl_putsys( static struct timex ntx; static u_long ntp_adjtime_time; - static const double to_ms = + static const double to_ms_usec = + 1.0e-3; /* usec to msec */ + static const double to_ms_nusec = # ifdef STA_NANO 1.0e-6; /* nsec to msec */ # else - 1.0e-3; /* usec to msec */ + to_ms_usec; # endif /* @@ -2319,7 +2321,7 @@ ctl_putsys( case CS_K_OFFSET: CTL_IF_KERNLOOP( ctl_putdblf, - (sys_var[varid].text, 0, -1, to_ms * ntx.offset) + (sys_var[varid].text, 0, -1, to_ms_nusec * ntx.offset) ); break; @@ -2334,7 +2336,7 @@ ctl_putsys( CTL_IF_KERNLOOP( ctl_putdblf, (sys_var[varid].text, 0, 6, - to_ms * ntx.maxerror) + to_ms_usec * ntx.maxerror) ); break; @@ -2342,7 +2344,7 @@ ctl_putsys( CTL_IF_KERNLOOP( ctl_putdblf, (sys_var[varid].text, 0, 6, - to_ms * ntx.esterror) + to_ms_usec * ntx.esterror) ); break; @@ -2366,7 +2368,7 @@ ctl_putsys( CTL_IF_KERNLOOP( ctl_putdblf, (sys_var[varid].text, 0, 6, - to_ms * ntx.precision) + to_ms_usec * ntx.precision) ); break; @@ -2394,7 +2396,7 @@ ctl_putsys( case CS_K_PPS_JITTER: CTL_IF_KERNPPS( ctl_putdbl, - (sys_var[varid].text, to_ms * ntx.jitter) + (sys_var[varid].text, to_ms_nusec * ntx.jitter) ); break; @@ -3446,11 +3448,11 @@ write_variables( * Look through the variables. Dump out at the first sign of * trouble. */ - while ((v = ctl_getitem(sys_var, &valuep)) != 0) { + while ((v = ctl_getitem(sys_var, &valuep)) != NULL) { ext_var = 0; if (v->flags & EOV) { - if ((v = ctl_getitem(ext_sys_var, &valuep)) != - 0) { + v = ctl_getitem(ext_sys_var, &valuep); + if (v != NULL) { if (v->flags & EOV) { ctl_error(CERR_UNKNOWNVAR); return; @@ -3464,16 +3466,24 @@ write_variables( ctl_error(CERR_PERMISSION); return; } - if (!ext_var && (*valuep == '\0' || !atoint(valuep, - &val))) { + /* [bug 3565] writing makes sense only if we *have* a + * value in the packet! + */ + if (valuep == NULL) { ctl_error(CERR_BADFMT); return; } - if (!ext_var && (val & ~LEAP_NOTINSYNC) != 0) { - ctl_error(CERR_BADVALUE); - return; + if (!ext_var) { + if ( !(*valuep && atoint(valuep, &val))) { + ctl_error(CERR_BADFMT); + return; + } + if ((val & ~LEAP_NOTINSYNC) != 0) { + ctl_error(CERR_BADVALUE); + return; + } } - + if (ext_var) { octets = strlen(v->text) + strlen(valuep) + 2; vareqv = emalloc(octets); diff --git a/contrib/ntp/ntpd/ntp_crypto.c b/contrib/ntp/ntpd/ntp_crypto.c index fd742221aed7..fa0017f73efe 100644 --- a/contrib/ntp/ntpd/ntp_crypto.c +++ b/contrib/ntp/ntpd/ntp_crypto.c @@ -353,8 +353,8 @@ make_keylist( * included in the hash is zero if broadcast mode, the peer * cookie if client mode or the host cookie if symmetric modes. */ - mpoll = 1 << min(peer->ppoll, peer->hpoll); - lifetime = min(1U << sys_automax, NTP_MAXSESSION * mpoll); + mpoll = 1U << min(peer->ppoll, peer->hpoll); + lifetime = min((1UL << sys_automax), NTP_MAXSESSION * mpoll); if (peer->hmode == MODE_BROADCAST) cookie = 0; else @@ -1486,7 +1486,8 @@ crypto_verify( return (XEVNT_LEN); i = (vallen + 3) / 4; - siglen = ntohl(ep->pkt[i++]); + siglen = ntohl(ep->pkt[i]); + ++i; if ( siglen > MAX_VALLEN || len - VALUE_LEN < ((vallen + 3) / 4) * 4 || len - VALUE_LEN - ((vallen + 3) / 4) * 4 diff --git a/contrib/ntp/ntpd/ntp_loopfilter.c b/contrib/ntp/ntpd/ntp_loopfilter.c index 924d5738b1e4..01772bd1ffe9 100644 --- a/contrib/ntp/ntpd/ntp_loopfilter.c +++ b/contrib/ntp/ntpd/ntp_loopfilter.c @@ -246,7 +246,11 @@ ntp_adjtime_error_handler( ) { char des[1024] = ""; /* Decoded Error Status */ + char *dbp, *ebp; + dbp = des; + ebp = dbp + sizeof(des); + switch (ret) { case -1: switch (saved_errno) { @@ -363,37 +367,37 @@ or, from ntp_adjtime(): /* error (see status word) */ if (ptimex->status & STA_UNSYNC) - snprintf(des, sizeof(des), "%s%sClock Unsynchronized", - des, (*des) ? "; " : ""); + xsbprintf(&dbp, ebp, "%sClock Unsynchronized", + (*des) ? "; " : ""); if (ptimex->status & STA_CLOCKERR) - snprintf(des, sizeof(des), "%s%sClock Error", - des, (*des) ? "; " : ""); + xsbprintf(&dbp, ebp, "%sClock Error", + (*des) ? "; " : ""); if (!(ptimex->status & STA_PPSSIGNAL) && ptimex->status & STA_PPSFREQ) - snprintf(des, sizeof(des), "%s%sPPS Frequency Sync wanted but no PPS", - des, (*des) ? "; " : ""); + xsbprintf(&dbp, ebp, "%sPPS Frequency Sync wanted but no PPS", + (*des) ? "; " : ""); if (!(ptimex->status & STA_PPSSIGNAL) && ptimex->status & STA_PPSTIME) - snprintf(des, sizeof(des), "%s%sPPS Time Sync wanted but no PPS signal", - des, (*des) ? "; " : ""); + xsbprintf(&dbp, ebp, "%sPPS Time Sync wanted but no PPS signal", + (*des) ? "; " : ""); if ( ptimex->status & STA_PPSTIME && ptimex->status & STA_PPSJITTER) - snprintf(des, sizeof(des), "%s%sPPS Time Sync wanted but PPS Jitter exceeded", - des, (*des) ? "; " : ""); + xsbprintf(&dbp, ebp, "%sPPS Time Sync wanted but PPS Jitter exceeded", + (*des) ? "; " : ""); if ( ptimex->status & STA_PPSFREQ && ptimex->status & STA_PPSWANDER) - snprintf(des, sizeof(des), "%s%sPPS Frequency Sync wanted but PPS Wander exceeded", - des, (*des) ? "; " : ""); + xsbprintf(&dbp, ebp, "%sPPS Frequency Sync wanted but PPS Wander exceeded", + (*des) ? "; " : ""); if ( ptimex->status & STA_PPSFREQ && ptimex->status & STA_PPSERROR) - snprintf(des, sizeof(des), "%s%sPPS Frequency Sync wanted but Calibration error detected", - des, (*des) ? "; " : ""); + xsbprintf(&dbp, ebp, "%sPPS Frequency Sync wanted but Calibration error detected", + (*des) ? "; " : ""); if (pps_call && !(ptimex->status & STA_PPSSIGNAL)) report_event(EVNT_KERN, NULL, diff --git a/contrib/ntp/ntpd/ntp_proto.c b/contrib/ntp/ntpd/ntp_proto.c index 73ada6b442ba..eb663515b8a4 100644 --- a/contrib/ntp/ntpd/ntp_proto.c +++ b/contrib/ntp/ntpd/ntp_proto.c @@ -387,9 +387,9 @@ transmit( */ if (peer->cast_flags & (MDF_BCAST | MDF_MCAST)) { peer->outdate = current_time; + poll_update(peer, hpoll); if (sys_leap != LEAP_NOTINSYNC) peer_xmit(peer); - poll_update(peer, hpoll); return; } @@ -408,6 +408,7 @@ transmit( */ if (peer->cast_flags & MDF_ACAST) { peer->outdate = current_time; + poll_update(peer, hpoll); if (peer->unreach > sys_beacon) { peer->unreach = 0; peer->ttl = 0; @@ -419,7 +420,6 @@ transmit( peer_xmit(peer); } peer->unreach++; - poll_update(peer, hpoll); return; } @@ -437,11 +437,11 @@ transmit( */ if (peer->cast_flags & MDF_POOL) { peer->outdate = current_time; + poll_update(peer, hpoll); if ( (peer_associations <= 2 * sys_maxclock) && ( peer_associations < sys_maxclock || sys_survivors < sys_minclock)) pool_xmit(peer); - poll_update(peer, hpoll); return; } @@ -549,9 +549,9 @@ transmit( /* * Do not transmit if in broadcast client mode. */ + poll_update(peer, hpoll); if (peer->hmode != MODE_BCLIENT) peer_xmit(peer); - poll_update(peer, hpoll); return; } diff --git a/contrib/ntp/ntpd/ntp_request.c b/contrib/ntp/ntpd/ntp_request.c index 19d9b0d829c5..53585088a67f 100644 --- a/contrib/ntp/ntpd/ntp_request.c +++ b/contrib/ntp/ntpd/ntp_request.c @@ -2536,7 +2536,15 @@ get_clock_info( DTOLFP(clock_stat.fudgetime2, <mp); HTONL_FP(<mp, &ic->fudgetime2); ic->fudgeval1 = htonl((u_int32)clock_stat.fudgeval1); + /* [Bug3527] Backward Incompatible: ic->fudgeval2 is + * a string, instantiated via memcpy() so there is no + * endian issue to correct. + */ +#ifdef DISABLE_BUG3527_FIX ic->fudgeval2 = htonl(clock_stat.fudgeval2); +#else + ic->fudgeval2 = clock_stat.fudgeval2; +#endif free_varlist(clock_stat.kv_list); diff --git a/contrib/ntp/ntpd/ntp_timer.c b/contrib/ntp/ntpd/ntp_timer.c index 9ee35f812d48..9725b5bda312 100644 --- a/contrib/ntp/ntpd/ntp_timer.c +++ b/contrib/ntp/ntpd/ntp_timer.c @@ -82,8 +82,8 @@ u_long orphwait; /* orphan wait time */ #ifdef AUTOKEY static u_long revoke_timer; /* keys revoke timer */ static u_long keys_timer; /* session key timer */ -u_long sys_revoke = KEY_REVOKE; /* keys revoke timeout (log2 s) */ -u_long sys_automax = NTP_AUTOMAX; /* key list timeout (log2 s) */ +u_char sys_revoke = KEY_REVOKE; /* keys revoke timeout (log2 s) */ +u_char sys_automax = NTP_AUTOMAX; /* key list timeout (log2 s) */ #endif /* AUTOKEY */ /* @@ -404,7 +404,7 @@ timer(void) * Garbage collect expired keys. */ if (keys_timer <= current_time) { - keys_timer += 1 << sys_automax; + keys_timer += (1UL << sys_automax); auth_agekeys(); } @@ -413,7 +413,7 @@ timer(void) * to regenerate cookies. */ if (revoke_timer && revoke_timer <= current_time) { - revoke_timer += 1 << sys_revoke; + revoke_timer += (1UL << sys_revoke); RAND_bytes((u_char *)&sys_private, 4); } #endif /* AUTOKEY */ diff --git a/contrib/ntp/ntpd/ntpd-opts.c b/contrib/ntp/ntpd/ntpd-opts.c index 82656cf61535..f07269d008b5 100644 --- a/contrib/ntp/ntpd/ntpd-opts.c +++ b/contrib/ntp/ntpd/ntpd-opts.c @@ -1,11 +1,11 @@ /* * EDIT THIS FILE WITH CAUTION (ntpd-opts.c) * - * It has been AutoGen-ed August 14, 2018 at 08:27:45 AM by AutoGen 5.18.5 + * It has been AutoGen-ed February 20, 2019 at 09:56:15 AM by AutoGen 5.18.5 * From the definitions ntpd-opts.def * and the template file options * - * Generated from AutoOpts 41:0:16 templates. + * Generated from AutoOpts 41:1:16 templates. * * AutoOpts is a copyrighted work. This source file is not encumbered * by AutoOpts licensing, but is provided under the licensing terms chosen @@ -75,7 +75,7 @@ extern FILE * option_usage_fp; * static const strings for ntpd options */ static char const ntpd_opt_strs[3132] = -/* 0 */ "ntpd 4.2.8p12\n" +/* 0 */ "ntpd 4.2.8p13\n" "Copyright (C) 1992-2017 The University of Delaware and Network Time Foundation, all rights reserved.\n" "This is free software. It is licensed for use, modification and\n" "redistribution under the terms of the NTP License, copies of which\n" @@ -205,12 +205,12 @@ static char const ntpd_opt_strs[3132] = /* 2901 */ "output version information and exit\0" /* 2937 */ "version\0" /* 2945 */ "NTPD\0" -/* 2950 */ "ntpd - NTP daemon program - Ver. 4.2.8p12\n" +/* 2950 */ "ntpd - NTP daemon program - Ver. 4.2.8p13\n" "Usage: %s [ - [] | --[{=| }] ]... \\\n" "\t\t[ ... ]\n\0" /* 3082 */ "http://bugs.ntp.org, bugs@ntp.org\0" /* 3116 */ "\n\0" -/* 3118 */ "ntpd 4.2.8p12"; +/* 3118 */ "ntpd 4.2.8p13"; /** * ipv4 option description with @@ -1529,7 +1529,7 @@ static void bogus_function(void) { translate option names. */ /* referenced via ntpdOptions.pzCopyright */ - puts(_("ntpd 4.2.8p12\n\ + puts(_("ntpd 4.2.8p13\n\ Copyright (C) 1992-2017 The University of Delaware and Network Time Foundation, all rights reserved.\n\ This is free software. It is licensed for use, modification and\n\ redistribution under the terms of the NTP License, copies of which\n\ @@ -1670,7 +1670,7 @@ implied warranty.\n")); puts(_("output version information and exit")); /* referenced via ntpdOptions.pzUsageTitle */ - puts(_("ntpd - NTP daemon program - Ver. 4.2.8p12\n\ + puts(_("ntpd - NTP daemon program - Ver. 4.2.8p13\n\ Usage: %s [ - [] | --[{=| }] ]... \\\n\ \t\t[ ... ]\n")); @@ -1678,7 +1678,7 @@ Usage: %s [ - [] | --[{=| }] ]... \\\n\ puts(_("\n")); /* referenced via ntpdOptions.pzFullVersion */ - puts(_("ntpd 4.2.8p12")); + puts(_("ntpd 4.2.8p13")); /* referenced via ntpdOptions.pzFullUsage */ puts(_("<<>>")); diff --git a/contrib/ntp/ntpd/ntpd-opts.h b/contrib/ntp/ntpd/ntpd-opts.h index 60299c6bb2cc..e7e8a608d119 100644 --- a/contrib/ntp/ntpd/ntpd-opts.h +++ b/contrib/ntp/ntpd/ntpd-opts.h @@ -1,11 +1,11 @@ /* * EDIT THIS FILE WITH CAUTION (ntpd-opts.h) * - * It has been AutoGen-ed August 14, 2018 at 08:27:44 AM by AutoGen 5.18.5 + * It has been AutoGen-ed February 20, 2019 at 09:56:15 AM by AutoGen 5.18.5 * From the definitions ntpd-opts.def * and the template file options * - * Generated from AutoOpts 41:0:16 templates. + * Generated from AutoOpts 41:1:16 templates. * * AutoOpts is a copyrighted work. This header file is not encumbered * by AutoOpts licensing, but is provided under the licensing terms chosen @@ -53,7 +53,7 @@ * tolerable version is at least as old as what was current when the header * template was released. */ -#define AO_TEMPLATE_VERSION 167936 +#define AO_TEMPLATE_VERSION 167937 #if (AO_TEMPLATE_VERSION < OPTIONS_MINIMUM_VERSION) \ || (AO_TEMPLATE_VERSION > OPTIONS_STRUCT_VERSION) # error option template version mismatches autoopts/options.h header @@ -106,9 +106,9 @@ typedef enum { /** count of all options for ntpd */ #define OPTION_CT 38 /** ntpd version */ -#define NTPD_VERSION "4.2.8p12" +#define NTPD_VERSION "4.2.8p13" /** Full ntpd version text */ -#define NTPD_FULL_VERSION "ntpd 4.2.8p12" +#define NTPD_FULL_VERSION "ntpd 4.2.8p13" /** * Interface defines for all options. Replace "n" with the UPPER_CASED diff --git a/contrib/ntp/ntpd/ntpd.1ntpdman b/contrib/ntp/ntpd/ntpd.1ntpdman index c9e93181ef43..92d053e40873 100644 --- a/contrib/ntp/ntpd/ntpd.1ntpdman +++ b/contrib/ntp/ntpd/ntpd.1ntpdman @@ -10,11 +10,11 @@ .ds B-Font B .ds I-Font I .ds R-Font R -.TH ntpd 1ntpdman "14 Aug 2018" "4.2.8p12" "User Commands" +.TH ntpd 1ntpdman "20 Feb 2019" "4.2.8p13" "User Commands" .\" -.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-jbaWTB/ag-ubaOSB) +.\" EDIT THIS FILE WITH CAUTION (in-mem file) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:29:02 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:56:46 AM by AutoGen 5.18.5 .\" From the definitions ntpd-opts.def .\" and the template file agman-cmd.tpl .SH NAME diff --git a/contrib/ntp/ntpd/ntpd.1ntpdmdoc b/contrib/ntp/ntpd/ntpd.1ntpdmdoc index 33a90324810d..962089892019 100644 --- a/contrib/ntp/ntpd/ntpd.1ntpdmdoc +++ b/contrib/ntp/ntpd/ntpd.1ntpdmdoc @@ -1,9 +1,9 @@ -.Dd August 14 2018 +.Dd February 20 2019 .Dt NTPD 1ntpdmdoc User Commands .Os .\" EDIT THIS FILE WITH CAUTION (ntpd-opts.mdoc) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:29:20 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:56:37 AM by AutoGen 5.18.5 .\" From the definitions ntpd-opts.def .\" and the template file agmdoc-cmd.tpl .Sh NAME diff --git a/contrib/ntp/ntpd/ntpd.c b/contrib/ntp/ntpd/ntpd.c index b477a71804bf..2b14431dc7b4 100644 --- a/contrib/ntp/ntpd/ntpd.c +++ b/contrib/ntp/ntpd/ntpd.c @@ -534,6 +534,7 @@ set_process_priority(void) * Detach from terminal (much like daemon()) * Nothe that this function calls exit() */ +# ifdef HAVE_WORKING_FORK static void detach_from_terminal( int pipe_fds[2], @@ -617,6 +618,7 @@ detach_from_terminal( return; } +# endif /* HAVE_WORKING_FORK */ #ifdef HAVE_DROPROOT /* @@ -665,8 +667,7 @@ map_user( * Map group name/number to group ID */ static int -map_group( - ) +map_group(void) { char *endp; @@ -688,24 +689,9 @@ map_group( return 1; } -/* - * Change (effective) user and group IDs, also initialize the supplementary group access list - */ -int -set_user_group_ids( - ) +static int +set_group_ids(void) { - /* If the the user was already mapped, no need to map it again */ - if ((NULL != user) && (0 == sw_uid)) { - if (0 == map_user()) - exit (-1); - } - /* same applies for the group */ - if ((NULL != group) && (0 == sw_gid)) { - if (0 == map_group()) - exit (-1); - } - if (user && initgroups(user, sw_gid)) { msyslog(LOG_ERR, "Cannot initgroups() to user `%s': %m", user); return 0; @@ -729,6 +715,12 @@ set_user_group_ids( msyslog(LOG_ERR, "initgroups(<%s>, %d) filed: %m", pw->pw_name, pw->pw_gid); return 0; } + return 1; +} + +static int +set_user_ids(void) +{ if (user && setuid(sw_uid)) { msyslog(LOG_ERR, "Cannot setuid() to user `%s': %m", user); return 0; @@ -737,6 +729,31 @@ set_user_group_ids( msyslog(LOG_ERR, "Cannot seteuid() to user `%s': %m", user); return 0; } + return 1; +} + +/* + * Change (effective) user and group IDs, also initialize the supplementary group access list + */ +int set_user_group_ids(void); +int +set_user_group_ids(void) +{ + /* If the the user was already mapped, no need to map it again */ + if ((NULL != user) && (0 == sw_uid)) { + if (0 == map_user()) + exit (-1); + } + /* same applies for the group */ + if ((NULL != group) && (0 == sw_gid)) { + if (0 == map_group()) + exit (-1); + } + + if (getegid() != sw_gid && 0 == set_group_ids()) + return 0; + if (geteuid() != sw_uid && 0 == set_user_ids()) + return 0; return 1; } diff --git a/contrib/ntp/ntpd/ntpd.html b/contrib/ntp/ntpd/ntpd.html index 64198eff79a1..50a3ac86808c 100644 --- a/contrib/ntp/ntpd/ntpd.html +++ b/contrib/ntp/ntpd/ntpd.html @@ -1,128 +1,179 @@ - + + + -ntpd: Network Time Protocol (NTP) Daemon User's Manual - - - - - - - - - -

      ntpd: Network Time Protocol (NTP) Daemon User's Manual

      -
      -


      -Next: , -Previous: (dir), -Up: (dir) -
      -
      + +ntpd: Network Time Protocol (NTP) Daemon User’s Manual -

      ntpd: Network Time Protocol (NTP) Daemon User Manual

      + + + + + + + + + + + + + +

      ntpd: Network Time Protocol (NTP) Daemon User’s Manual

      + + + + + + +
      +

      +Next: , Previous: , Up: (dir)  

      +
      + +

      ntpd: Network Time Protocol (NTP) Daemon User Manual

      The ntpd program is an operating system daemon that synchronizes the -system clock to remote NTP time servers or local reference clocks. +system clock to remote NTP time servers or local reference clocks. It is a complete implementation of NTP version 4 defined by RFC-5905, but also retains compatible with version 3 defined by RFC-1305 and versions -1 and 2, defined by RFC-1059 and RFC-1119, respectively. +1 and 2, defined by RFC-1059 and RFC-1119, respectively. The program can operate in any of several modes, including client/server, symmetric and broadcast modes, and with both symmetric-key and public-key cryptography. +

      +

      This document applies to version 4.2.8p13 of ntpd. +

      + +

      Short Table of Contents

      -

      This document applies to version 4.2.8p12 of ntpd. - -

    + +
    + + + +

    1.2 source-url option (-s)

    + -

    0.1.2 source-url option (-s)

    - -

    -This is the “the url of the master copy of the leapseconds file” option. -This option takes a string argument. +

    This is the “the url of the master copy of the leapseconds file” option. +This option takes a string argument. Specify the URL of the master copy to download $LEAPSRC -

    -


    -Next: , -Previous: update-leap source-url, -Up: update-leap Invocation -
    +


    + + + +

    1.3 ipv4 option (-4)

    + -

    0.1.3 ipv4 option (-4)

    +

    This is the “use only ipv4 addresses for dns name resolution” option. +

    +

    This option has some usage constraints. It: +

      +
    • must not appear in combination with any of the following options: +ipv6. +
    -

    -This is the “use only ipv4 addresses for dns name resolution” option. - -

    This option has some usage constraints. It: -

      -
    • must not appear in combination with any of the following options: -ipv6. -
    - -

    Force DNS resolution of following host names on the command line - to the IPv4 namespace. +

    Force DNS resolution of following host names on the command line + to the IPv4 namespace. _EndOfDoc_; ; - -

    flag = +

    +

    flag = name = ipv6; flags-cant = ipv4, prefer; value = 6; - descrip = "Use only IPv6 addresses for DNS name resolution"; + descrip = "Use only IPv6 addresses for DNS name resolution"; doc = <<- _EndOfDoc_ Force DNS resolution of following host names on the command line - to the IPv6 namespace. + to the IPv6 namespace. _EndOfDoc_; ; - -

    flag = +

    +

    flag = name = prefer; flags-cant = ipv4, ipv6; value = p; arg-type = keyword; keyword = 4, 6; - descrip = 'Prefer IPv4 or IPv6 (as specified) addresses, but use either'; + descrip = ’Prefer IPv4 or IPv6 (as specified) addresses, but use either’; doc = <<- _EndOfDoc_ -Prefer IPv4 or IPv6 (as specified) addresses, but use either. -

    -


    -Next: , -Previous: update-leap ipv4, -Up: update-leap Invocation -
    +Prefer IPv4 or IPv6 (as specified) addresses, but use either. +


    + + + +

    1.4 destination option (-d)

    + -

    0.1.4 destination option (-d)

    - -

    -This is the “filename on the local system” option. -This option takes a string argument float. -The name to use to store the leapfile on the local system. +

    This is the “filename on the local system” option. +This option takes a string argument float. +The name to use to store the leapfile on the local system. $LEAPFILE -

    -


    -Next: , -Previous: update-leap destination, -Up: update-leap Invocation -
    +


    + + + +

    1.5 expiration option (-e)

    + -

    0.1.5 expiration option (-e)

    - -

    -This is the “refresh the leapfile this long before it expires” option. -This option takes a string argument. +

    This is the “refresh the leapfile this long before it expires” option. +This option takes a string argument. Specify how long before expiration the file is to be refreshed -Units are required, e.g. "-e 60 days" Note that larger values -imply more frequent refreshes. -"$PREFETCH" -

    -


    -Next: , -Previous: update-leap expiration, -Up: update-leap Invocation -
    +Units are required, e.g. "-e 60 days" Note that larger values +imply more frequent refreshes. +"$PREFETCH" +


    + + + +

    1.6 ntp-conf-file option (-f)

    + -

    0.1.6 ntp-conf-file option (-f)

    - -

    -This is the “location of the ntp.conf file” option. -This option takes a string argument. +

    This is the “location of the ntp.conf file” option. +This option takes a string argument. Specify location of ntp.conf (used to make sure leapfile directive is present and to default leapfile) /etc/ntp.conf -

    -


    -Next: , -Previous: update-leap ntp-conf-file, -Up: update-leap Invocation -
    +


    + + + +

    1.7 force-update option (-F)

    + -

    0.1.7 force-update option (-F)

    - -

    -This is the “force update of the leapfile” option. -Force update even if current file is OK and not close to expiring. -

    -


    -Next: , -Previous: update-leap force-update, -Up: update-leap Invocation -
    +

    This is the “force update of the leapfile” option. +Force update even if current file is OK and not close to expiring. +


    + + - -

    0.1.8 update-leap exit status

    + +

    1.8 update-leap exit status

    One of the following exit values will be returned: -

    -
    0 (EXIT_SUCCESS)
    Successful program execution. -
    1 (EXIT_FAILURE)
    The operation failed or the command syntax was not valid. +

    +
    0 (EXIT_SUCCESS)
    +

    Successful program execution. +

    +
    1 (EXIT_FAILURE)
    +

    The operation failed or the command syntax was not valid. +

    -
    -


    -Next: , -Previous: update-leap exit status, -Up: update-leap Invocation -
    +
    + + - -

    0.1.9 update-leap Usage

    - -
    -


    -Previous: update-leap Usage, -Up: update-leap Invocation -
    + +

    1.9 update-leap Usage

    +
    + + + +

    1.10 update-leap Authors

    +
    -

    0.1.10 update-leap Authors

    - + + diff --git a/contrib/ntp/scripts/update-leap/update-leap.man.in b/contrib/ntp/scripts/update-leap/update-leap.man.in index ac138146ed81..33aa4f66538f 100644 --- a/contrib/ntp/scripts/update-leap/update-leap.man.in +++ b/contrib/ntp/scripts/update-leap/update-leap.man.in @@ -10,11 +10,11 @@ .ds B-Font B .ds I-Font I .ds R-Font R -.TH update-leap 1update-leapman "14 Aug 2018" "ntp (4.2.8p12)" "User Commands" +.TH update-leap 1update-leapman "20 Feb 2019" "ntp (4.2.8p13)" "User Commands" .\" -.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-4Iayif/ag-fJaGhf) +.\" EDIT THIS FILE WITH CAUTION (in-mem file) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:09:29 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 05:04:24 PM by AutoGen 5.18.5 .\" From the definitions update-leap-opts.def .\" and the template file agman-cmd.tpl .SH NAME diff --git a/contrib/ntp/scripts/update-leap/update-leap.mdoc.in b/contrib/ntp/scripts/update-leap/update-leap.mdoc.in index e3845dcc3849..fe1a164720c0 100644 --- a/contrib/ntp/scripts/update-leap/update-leap.mdoc.in +++ b/contrib/ntp/scripts/update-leap/update-leap.mdoc.in @@ -1,9 +1,9 @@ -.Dd August 14 2018 +.Dd February 20 2019 .Dt UPDATE_LEAP 1update-leapmdoc User Commands .Os .\" EDIT THIS FILE WITH CAUTION (update-leap-opts.mdoc) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:09:36 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:57:38 AM by AutoGen 5.18.5 .\" From the definitions update-leap-opts.def .\" and the template file agmdoc-cmd.tpl .Sh NAME diff --git a/contrib/ntp/sntp/COPYRIGHT b/contrib/ntp/sntp/COPYRIGHT index 935d57413a11..f38933c19827 100644 --- a/contrib/ntp/sntp/COPYRIGHT +++ b/contrib/ntp/sntp/COPYRIGHT @@ -1,16 +1,15 @@ This file is automatically generated from html/copyright.html - Copyright Notice - + jpg "Clone me," says Dolly sheepishly. - + Last update: 2-Jan-2017 11:58 UTC - _________________________________________________________________ - - The following copyright notice applies to all files collectively - called the Network Time Protocol Version 4 Distribution. Unless - specifically declared otherwise in an individual file, this entire - notice applies as if the text was explicitly included in the file. + __________________________________________________________________ + + The following copyright notice applies to all files collectively called + the Network Time Protocol Version 4 Distribution. Unless specifically + declared otherwise in an individual file, this entire notice applies as + if the text was explicitly included in the file. *********************************************************************** * * * Copyright (c) University of Delaware 1992-2015 * @@ -62,13 +61,13 @@ This file is automatically generated from html/copyright.html *********************************************************************** The following individuals contributed in part to the Network Time - Protocol Distribution Version 4 and are acknowledged as authors of - this work. + Protocol Distribution Version 4 and are acknowledged as authors of this + work. 1. [1]Takao Abe Clock driver for JJY receivers 2. [2]Mark Andrews Leitch atomic clock controller - 3. [3]Bernd Altmeier hopf Elektronik serial - line and PCI-bus devices + 3. [3]Bernd Altmeier hopf Elektronik serial line + and PCI-bus devices 4. [4]Viraj Bais and [5]Clayton Kirkwood port to WindowsNT 3.5 5. [6]Michael Barone GPSVME fixes @@ -84,13 +83,12 @@ This file is automatically generated from html/copyright.html IPv6 support 12. [13]Reg Clemens Oncore driver (Current maintainer) 13. [14]Steve Clift OMEGA clock driver - 14. [15]Casey Crellin vxWorks (Tornado) port and - help with target configuration + 14. [15]Casey Crellin vxWorks (Tornado) port and help + with target configuration 15. [16]Sven Dietrich Palisade reference clock driver, NT adj. residuals, integrated Greg's Winnt port. 16. [17]John A. Dundas III Apple A/UX port - 17. [18]Torsten Duwe Linux - port + 17. [18]Torsten Duwe Linux port 18. [19]Dennis Ferguson foundation code for NTP Version 2 as specified in RFC-1119 19. [20]John Hay IPv6 support and testing @@ -122,9 +120,8 @@ This file is automatically generated from html/copyright.html code for Version 3 as specified in RFC-1305 36. [39]Danny Mayer Network I/O, Windows Port, Code Maintenance - 37. [40]David L. Mills Version 4 foundation, - precision kernel; clock drivers: 1, 3, 4, 6, 7, 11, 13, 18, 19, - 22, 36 + 37. [40]David L. Mills Version 4 foundation, precision + kernel; clock drivers: 1, 3, 4, 6, 7, 11, 13, 18, 19, 22, 36 38. [41]Wolfgang Moeller VMS port 39. [42]Jeffrey Mogul ntptrace utility 40. [43]Tom Moore i386 svr4 port @@ -136,22 +133,18 @@ This file is automatically generated from html/copyright.html 44. [48]Rainer Pruy monitoring/trap scripts, statistics file handling 45. [49]Dirce Richards Digital UNIX V4.0 port - 46. [50]Wilfredo Sánchez added support for - NetInfo + 46. [50]Wilfredo Sánchez added support for NetInfo 47. [51]Nick Sayer SunOS streams modules 48. [52]Jack Sasportas Saved a Lot of space on the stuff in the html/pic/ subdirectory 49. [53]Ray Schnitzler Unixware1 port 50. [54]Michael Shields USNO clock driver - 51. [55]Jeff Steinman Datum PTS clock - driver + 51. [55]Jeff Steinman Datum PTS clock driver 52. [56]Harlan Stenn GNU automake/autoconfigure makeover, various other bits (see the ChangeLog) 53. [57]Kenneth Stone HP-UX port - 54. [58]Ajit Thyagarajan IP multicast/anycast - support - 55. [59]Tomoaki TSURUOKA TRAK clock - driver + 54. [58]Ajit Thyagarajan IP multicast/anycast support + 55. [59]Tomoaki TSURUOKA TRAK clock driver 56. [60]Brian Utterback General codebase, Solaris issues 57. [61]Loganaden Velvindron Sandboxing @@ -160,7 +153,7 @@ This file is automatically generated from html/copyright.html TrueTime clock driver 59. [63]Ulrich Windl corrected and validated HTML documents according to the HTML DTD - _________________________________________________________________ + __________________________________________________________________ References diff --git a/contrib/ntp/sntp/Makefile.in b/contrib/ntp/sntp/Makefile.in index 2085ace921a3..3b5156cbf60b 100644 --- a/contrib/ntp/sntp/Makefile.in +++ b/contrib/ntp/sntp/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1211,7 +1211,7 @@ distdir: $(DISTFILES) ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir @@ -1237,7 +1237,7 @@ dist-shar: distdir @echo WARNING: "Support for shar distribution archives is" \ "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir @@ -1255,7 +1255,7 @@ dist dist-all: distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ @@ -1265,7 +1265,7 @@ distcheck: dist *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac diff --git a/contrib/ntp/sntp/aclocal.m4 b/contrib/ntp/sntp/aclocal.m4 index ac1093890d08..a22e4e1d7e95 100644 --- a/contrib/ntp/sntp/aclocal.m4 +++ b/contrib/ntp/sntp/aclocal.m4 @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.15 -*- Autoconf -*- +# generated automatically by aclocal 1.15.1 -*- Autoconf -*- -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -20,126 +20,121 @@ You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) -# serial 9 -*- Autoconf -*- -# Enable extensions on systems that normally disable them. +# longlong.m4 serial 17 +dnl Copyright (C) 1999-2007, 2009-2016 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. -# Copyright (C) 2003, 2006-2010 Free Software Foundation, Inc. -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. +dnl From Paul Eggert. -# This definition of AC_USE_SYSTEM_EXTENSIONS is stolen from CVS -# Autoconf. Perhaps we can remove this once we can assume Autoconf -# 2.62 or later everywhere, but since CVS Autoconf mutates rapidly -# enough in this area it's likely we'll need to redefine -# AC_USE_SYSTEM_EXTENSIONS for quite some time. +# Define HAVE_LONG_LONG_INT if 'long long int' works. +# This fixes a bug in Autoconf 2.61, and can be faster +# than what's in Autoconf 2.62 through 2.68. -# If autoconf reports a warning -# warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS -# or warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS -# the fix is -# 1) to ensure that AC_USE_SYSTEM_EXTENSIONS is never directly invoked -# but always AC_REQUIREd, -# 2) to ensure that for each occurrence of -# AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) -# or -# AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) -# the corresponding gnulib module description has 'extensions' among -# its dependencies. This will ensure that the gl_USE_SYSTEM_EXTENSIONS -# invocation occurs in gl_EARLY, not in gl_INIT. +# Note: If the type 'long long int' exists but is only 32 bits large +# (as on some very old compilers), HAVE_LONG_LONG_INT will not be +# defined. In this case you can treat 'long long int' like 'long int'. -# AC_USE_SYSTEM_EXTENSIONS -# ------------------------ -# Enable extensions on systems that normally disable them, -# typically due to standards-conformance issues. -# Remember that #undef in AH_VERBATIM gets replaced with #define by -# AC_DEFINE. The goal here is to define all known feature-enabling -# macros, then, if reports of conflicts are made, disable macros that -# cause problems on some platforms (such as __EXTENSIONS__). -AC_DEFUN_ONCE([AC_USE_SYSTEM_EXTENSIONS], -[AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl -AC_BEFORE([$0], [AC_RUN_IFELSE])dnl - - AC_REQUIRE([AC_CANONICAL_HOST]) - - AC_CHECK_HEADER([minix/config.h], [MINIX=yes], [MINIX=]) - if test "$MINIX" = yes; then - AC_DEFINE([_POSIX_SOURCE], [1], - [Define to 1 if you need to in order for `stat' and other - things to work.]) - AC_DEFINE([_POSIX_1_SOURCE], [2], - [Define to 2 if the system does not provide POSIX.1 features - except with this defined.]) - AC_DEFINE([_MINIX], [1], - [Define to 1 if on MINIX.]) - fi - - dnl HP-UX 11.11 defines mbstate_t only if _XOPEN_SOURCE is defined to 500, - dnl regardless of whether the flags -Ae or _D_HPUX_SOURCE=1 are already - dnl provided. - case "$host_os" in - hpux*) - AC_DEFINE([_XOPEN_SOURCE], [500], - [Define to 500 only on HP-UX.]) - ;; - esac - - AH_VERBATIM([__EXTENSIONS__], -[/* Enable extensions on AIX 3, Interix. */ -#ifndef _ALL_SOURCE -# undef _ALL_SOURCE -#endif -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# undef _GNU_SOURCE -#endif -/* Enable threading extensions on Solaris. */ -#ifndef _POSIX_PTHREAD_SEMANTICS -# undef _POSIX_PTHREAD_SEMANTICS -#endif -/* Enable extensions on HP NonStop. */ -#ifndef _TANDEM_SOURCE -# undef _TANDEM_SOURCE -#endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# undef __EXTENSIONS__ -#endif -]) - AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__], - [ac_cv_safe_to_define___extensions__], - [AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([[ -# define __EXTENSIONS__ 1 - ]AC_INCLUDES_DEFAULT])], - [ac_cv_safe_to_define___extensions__=yes], - [ac_cv_safe_to_define___extensions__=no])]) - test $ac_cv_safe_to_define___extensions__ = yes && - AC_DEFINE([__EXTENSIONS__]) - AC_DEFINE([_ALL_SOURCE]) - AC_DEFINE([_GNU_SOURCE]) - AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) - AC_DEFINE([_TANDEM_SOURCE]) -])# AC_USE_SYSTEM_EXTENSIONS - -# gl_USE_SYSTEM_EXTENSIONS -# ------------------------ -# Enable extensions on systems that normally disable them, -# typically due to standards-conformance issues. -AC_DEFUN_ONCE([gl_USE_SYSTEM_EXTENSIONS], +AC_DEFUN([AC_TYPE_LONG_LONG_INT], [ - dnl Require this macro before AC_USE_SYSTEM_EXTENSIONS. - dnl gnulib does not need it. But if it gets required by third-party macros - dnl after AC_USE_SYSTEM_EXTENSIONS is required, autoconf 2.62..2.63 emit a - dnl warning: "AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS". - dnl Note: We can do this only for one of the macros AC_AIX, AC_GNU_SOURCE, - dnl AC_MINIX. If people still use AC_AIX or AC_MINIX, they are out of luck. - AC_REQUIRE([AC_GNU_SOURCE]) - - AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) + AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) + AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int], + [ac_cv_type_long_long_int=yes + if test "x${ac_cv_prog_cc_c99-no}" = xno; then + ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int + if test $ac_cv_type_long_long_int = yes; then + dnl Catch a bug in Tandem NonStop Kernel (OSS) cc -O circa 2004. + dnl If cross compiling, assume the bug is not important, since + dnl nobody cross compiles for this platform as far as we know. + AC_RUN_IFELSE( + [AC_LANG_PROGRAM( + [[@%:@include + @%:@ifndef LLONG_MAX + @%:@ define HALF \ + (1LL << (sizeof (long long int) * CHAR_BIT - 2)) + @%:@ define LLONG_MAX (HALF - 1 + HALF) + @%:@endif]], + [[long long int n = 1; + int i; + for (i = 0; ; i++) + { + long long int m = n << i; + if (m >> i != n) + return 1; + if (LLONG_MAX / 2 < m) + break; + } + return 0;]])], + [], + [ac_cv_type_long_long_int=no], + [:]) + fi + fi]) + if test $ac_cv_type_long_long_int = yes; then + AC_DEFINE([HAVE_LONG_LONG_INT], [1], + [Define to 1 if the system has the type 'long long int'.]) + fi ]) -# Copyright (C) 2002-2014 Free Software Foundation, Inc. +# Define HAVE_UNSIGNED_LONG_LONG_INT if 'unsigned long long int' works. +# This fixes a bug in Autoconf 2.61, and can be faster +# than what's in Autoconf 2.62 through 2.68. + +# Note: If the type 'unsigned long long int' exists but is only 32 bits +# large (as on some very old compilers), AC_TYPE_UNSIGNED_LONG_LONG_INT +# will not be defined. In this case you can treat 'unsigned long long int' +# like 'unsigned long int'. + +AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT], +[ + AC_CACHE_CHECK([for unsigned long long int], + [ac_cv_type_unsigned_long_long_int], + [ac_cv_type_unsigned_long_long_int=yes + if test "x${ac_cv_prog_cc_c99-no}" = xno; then + AC_LINK_IFELSE( + [_AC_TYPE_LONG_LONG_SNIPPET], + [], + [ac_cv_type_unsigned_long_long_int=no]) + fi]) + if test $ac_cv_type_unsigned_long_long_int = yes; then + AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], [1], + [Define to 1 if the system has the type 'unsigned long long int'.]) + fi +]) + +# Expands to a C program that can be used to test for simultaneous support +# of 'long long' and 'unsigned long long'. We don't want to say that +# 'long long' is available if 'unsigned long long' is not, or vice versa, +# because too many programs rely on the symmetry between signed and unsigned +# integer types (excluding 'bool'). +AC_DEFUN([_AC_TYPE_LONG_LONG_SNIPPET], +[ + AC_LANG_PROGRAM( + [[/* For now, do not test the preprocessor; as of 2007 there are too many + implementations with broken preprocessors. Perhaps this can + be revisited in 2012. In the meantime, code should not expect + #if to work with literals wider than 32 bits. */ + /* Test literals. */ + long long int ll = 9223372036854775807ll; + long long int nll = -9223372036854775807LL; + unsigned long long int ull = 18446744073709551615ULL; + /* Test constant expressions. */ + typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) + ? 1 : -1)]; + typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 + ? 1 : -1)]; + int i = 63;]], + [[/* Test availability of runtime routines for shift and division. */ + long long int llmax = 9223372036854775807ll; + unsigned long long int ullmax = 18446744073709551615ull; + return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) + | (llmax / ll) | (llmax % ll) + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) + | (ullmax / ull) | (ullmax % ull));]]) +]) + +# Copyright (C) 2002-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -154,7 +149,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.15' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.15], [], +m4_if([$1], [1.15.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -170,12 +165,12 @@ m4_define([_AM_AUTOCONF_VERSION], []) # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.15])dnl +[AM_AUTOMAKE_VERSION([1.15.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) -# Copyright (C) 2011-2014 Free Software Foundation, Inc. +# Copyright (C) 2011-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -237,7 +232,7 @@ AC_SUBST([AR])dnl # AM_AUX_DIR_EXPAND -*- Autoconf -*- -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -289,7 +284,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd` # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997-2014 Free Software Foundation, Inc. +# Copyright (C) 1997-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -320,7 +315,7 @@ AC_CONFIG_COMMANDS_PRE( Usually this means the macro was only invoked conditionally.]]) fi])]) -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -511,7 +506,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl # Generate code to set up dependency tracking. -*- Autoconf -*- -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -587,7 +582,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -784,7 +779,7 @@ for _am_header in $config_headers :; do done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -805,7 +800,7 @@ if test x"${install_sh+set}" != xset; then fi AC_SUBST([install_sh])]) -# Copyright (C) 2003-2014 Free Software Foundation, Inc. +# Copyright (C) 2003-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -826,7 +821,7 @@ AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -876,7 +871,7 @@ rm -f confinc confmf # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997-2014 Free Software Foundation, Inc. +# Copyright (C) 1997-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -915,7 +910,7 @@ fi # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -944,7 +939,7 @@ AC_DEFUN([_AM_SET_OPTIONS], AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -991,7 +986,7 @@ AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1010,7 +1005,7 @@ AC_DEFUN([AM_RUN_LOG], # Check to make sure that the build environment is sane. -*- Autoconf -*- -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1091,7 +1086,7 @@ AC_CONFIG_COMMANDS_PRE( rm -f conftest.file ]) -# Copyright (C) 2009-2014 Free Software Foundation, Inc. +# Copyright (C) 2009-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1151,7 +1146,7 @@ AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1179,7 +1174,7 @@ fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006-2014 Free Software Foundation, Inc. +# Copyright (C) 2006-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1198,7 +1193,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004-2014 Free Software Foundation, Inc. +# Copyright (C) 2004-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/contrib/ntp/sntp/config.h.in b/contrib/ntp/sntp/config.h.in index e157348223b5..84a8cb9e5f1c 100644 --- a/contrib/ntp/sntp/config.h.in +++ b/contrib/ntp/sntp/config.h.in @@ -194,7 +194,7 @@ /* Define to 1 if the system has the type `long long'. */ #undef HAVE_LONG_LONG -/* Define to 1 if the system has the type `long long int'. */ +/* Define to 1 if the system has the type 'long long int'. */ #undef HAVE_LONG_LONG_INT /* if you have SunOS LWP package */ @@ -592,7 +592,7 @@ /* deviant sigwait? */ #undef HAVE_UNIXWARE_SIGWAIT -/* Define to 1 if the system has the type `unsigned long long int'. */ +/* Define to 1 if the system has the type 'unsigned long long int'. */ #undef HAVE_UNSIGNED_LONG_LONG_INT /* Define to 1 if you have the header file. */ @@ -852,6 +852,28 @@ typedef unsigned int uintptr_t; /* OK to use snprintb()? */ #undef USE_SNPRINTB +/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable threading extensions on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif + + /* Can we use SIGPOLL for tty IO? */ #undef USE_TTY_SIGPOLL @@ -904,9 +926,6 @@ typedef unsigned int uintptr_t; /* enable thread safety */ #undef _THREAD_SAFE -/* Define to 500 only on HP-UX. */ -#undef _XOPEN_SOURCE - /* Are we _special_? */ #undef __APPLE_USE_RFC_3542 @@ -915,28 +934,6 @@ typedef unsigned int uintptr_t; # undef __CHAR_UNSIGNED__ #endif -/* Enable extensions on AIX 3, Interix. */ -#ifndef _ALL_SOURCE -# undef _ALL_SOURCE -#endif -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# undef _GNU_SOURCE -#endif -/* Enable threading extensions on Solaris. */ -#ifndef _POSIX_PTHREAD_SEMANTICS -# undef _POSIX_PTHREAD_SEMANTICS -#endif -/* Enable extensions on HP NonStop. */ -#ifndef _TANDEM_SOURCE -# undef _TANDEM_SOURCE -#endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# undef __EXTENSIONS__ -#endif - - /* Define to empty if `const' does not conform to ANSI C. */ #undef const diff --git a/contrib/ntp/sntp/configure b/contrib/ntp/sntp/configure index ec32721cbf80..aa665af06a75 100755 --- a/contrib/ntp/sntp/configure +++ b/contrib/ntp/sntp/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for sntp 4.2.8p12. +# Generated by GNU Autoconf 2.69 for sntp 4.2.8p13. # # Report bugs to . # @@ -590,8 +590,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='sntp' PACKAGE_TARNAME='sntp' -PACKAGE_VERSION='4.2.8p12' -PACKAGE_STRING='sntp 4.2.8p12' +PACKAGE_VERSION='4.2.8p13' +PACKAGE_STRING='sntp 4.2.8p13' PACKAGE_BUGREPORT='http://bugs.ntp.org./' PACKAGE_URL='http://www.ntp.org./' @@ -908,6 +908,7 @@ enable_clockctl enable_linuxcaps enable_solarisprivs enable_trustedbsd_mac +enable_signalled_io enable_shared enable_static with_pic @@ -1485,7 +1486,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures sntp 4.2.8p12 to adapt to many kinds of systems. +\`configure' configures sntp 4.2.8p13 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1555,7 +1556,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of sntp 4.2.8p12:";; + short | recursive ) echo "Configuration of sntp 4.2.8p13:";; esac cat <<\_ACEOF @@ -1578,6 +1579,7 @@ Optional Features: --enable-solarisprivs + Use Solaris privileges for non-root clock control --enable-trustedbsd-mac s Use TrustedBSD MAC policy for non-root clock control + --enable-signalled-io s Use signalled IO if we can --enable-shared[=PKGS] build shared libraries [default=no] --enable-static[=PKGS] build static libraries [default=yes] --enable-fast-install[=PKGS] @@ -1705,7 +1707,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -sntp configure 4.2.8p12 +sntp configure 4.2.8p13 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2414,7 +2416,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by sntp $as_me 4.2.8p12, which was +It was created by sntp $as_me 4.2.8p13, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3411,7 +3413,7 @@ fi # Define the identity of the package. PACKAGE='sntp' - VERSION='4.2.8p12' + VERSION='4.2.8p13' cat >>confdefs.h <<_ACEOF @@ -4884,8 +4886,6 @@ done - - ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" if test "x$ac_cv_header_minix_config_h" = xyes; then : MINIX=yes @@ -4906,14 +4906,6 @@ $as_echo "#define _MINIX 1" >>confdefs.h fi - case "$host_os" in - hpux*) - -$as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h - - ;; - esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } @@ -6765,18 +6757,18 @@ else /* end confdefs.h. */ /* For now, do not test the preprocessor; as of 2007 there are too many - implementations with broken preprocessors. Perhaps this can - be revisited in 2012. In the meantime, code should not expect - #if to work with literals wider than 32 bits. */ + implementations with broken preprocessors. Perhaps this can + be revisited in 2012. In the meantime, code should not expect + #if to work with literals wider than 32 bits. */ /* Test literals. */ long long int ll = 9223372036854775807ll; long long int nll = -9223372036854775807LL; unsigned long long int ull = 18446744073709551615ULL; /* Test constant expressions. */ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) - ? 1 : -1)]; + ? 1 : -1)]; typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 - ? 1 : -1)]; + ? 1 : -1)]; int i = 63; int main () @@ -6785,9 +6777,9 @@ main () long long int llmax = 9223372036854775807ll; unsigned long long int ullmax = 18446744073709551615ull; return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) - | (llmax / ll) | (llmax % ll) - | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) - | (ullmax / ull) | (ullmax % ull)); + | (llmax / ll) | (llmax % ll) + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) + | (ullmax / ull) | (ullmax % ull)); ; return 0; } @@ -6975,33 +6967,33 @@ if ${ac_cv_type_long_long_int+:} false; then : else ac_cv_type_long_long_int=yes if test "x${ac_cv_prog_cc_c99-no}" = xno; then - ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int - if test $ac_cv_type_long_long_int = yes; then - if test "$cross_compiling" = yes; then : + ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int + if test $ac_cv_type_long_long_int = yes; then + if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifndef LLONG_MAX - # define HALF \ - (1LL << (sizeof (long long int) * CHAR_BIT - 2)) - # define LLONG_MAX (HALF - 1 + HALF) - #endif + #ifndef LLONG_MAX + # define HALF \ + (1LL << (sizeof (long long int) * CHAR_BIT - 2)) + # define LLONG_MAX (HALF - 1 + HALF) + #endif int main () { long long int n = 1; - int i; - for (i = 0; ; i++) - { - long long int m = n << i; - if (m >> i != n) - return 1; - if (LLONG_MAX / 2 < m) - break; - } - return 0; + int i; + for (i = 0; ; i++) + { + long long int m = n << i; + if (m >> i != n) + return 1; + if (LLONG_MAX / 2 < m) + break; + } + return 0; ; return 0; } @@ -7015,7 +7007,7 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi - fi + fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 @@ -7038,18 +7030,18 @@ else /* end confdefs.h. */ /* For now, do not test the preprocessor; as of 2007 there are too many - implementations with broken preprocessors. Perhaps this can - be revisited in 2012. In the meantime, code should not expect - #if to work with literals wider than 32 bits. */ + implementations with broken preprocessors. Perhaps this can + be revisited in 2012. In the meantime, code should not expect + #if to work with literals wider than 32 bits. */ /* Test literals. */ long long int ll = 9223372036854775807ll; long long int nll = -9223372036854775807LL; unsigned long long int ull = 18446744073709551615ULL; /* Test constant expressions. */ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) - ? 1 : -1)]; + ? 1 : -1)]; typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 - ? 1 : -1)]; + ? 1 : -1)]; int i = 63; int main () @@ -7058,9 +7050,9 @@ main () long long int llmax = 9223372036854775807ll; unsigned long long int ullmax = 18446744073709551615ull; return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) - | (llmax / ll) | (llmax % ll) - | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) - | (ullmax / ull) | (ullmax % ull)); + | (llmax / ll) | (llmax % ll) + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) + | (ullmax / ull) | (ullmax % ull)); ; return 0; } @@ -14699,6 +14691,9 @@ case "$ntp_have_solarisprivs" in $as_echo "#define HAVE_SOLARIS_PRIVS 1" >>confdefs.h + ;; + '') ntp_have_solarisprivs="no" + ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_have_solarisprivs" >&5 @@ -14732,6 +14727,9 @@ case "$ntp_use_trustedbsd_mac$ac_cv_header_sys_mac_h" in $as_echo "#define HAVE_TRUSTEDBSD_MAC 1" >>confdefs.h + ;; + *) ntp_use_trustedbsd_mac="no"; + ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_use_trustedbsd_mac" >&5 @@ -15251,6 +15249,16 @@ fi done +# HMS: does this need to be a cached variable? +# Check whether --enable-signalled-io was given. +if test "${enable_signalled_io+set}" = set; then : + enableval=$enable_signalled_io; use_signalled_io=$enableval +else + use_signalled_io=yes + +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIGIO" >&5 $as_echo_n "checking for SIGIO... " >&6; } if ${ntp_cv_hdr_def_sigio+:} false; then : @@ -15325,13 +15333,24 @@ case "$ntp_cv_hdr_def_sigio" in ans=no ;; esac + case "$ans" in + no) + ans="Possible for $host but disabled because of reported problems" + ;; + esac ;; esac case "$ans" in yes) + case "$use_signalled_io" in + yes) $as_echo "#define HAVE_SIGNALED_IO 1" >>confdefs.h + ;; + *) ans="Allowed for $host but --disable-signalled-io was given" + ;; + esac esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 $as_echo "$ans" >&6; } @@ -27127,7 +27146,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by sntp $as_me 4.2.8p12, which was +This file was extended by sntp $as_me 4.2.8p13, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -27194,7 +27213,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -sntp config.status 4.2.8p12 +sntp config.status 4.2.8p13 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/contrib/ntp/sntp/include/Makefile.in b/contrib/ntp/sntp/include/Makefile.in index 403fdd6606c4..b66440c621ef 100644 --- a/contrib/ntp/sntp/include/Makefile.in +++ b/contrib/ntp/sntp/include/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/contrib/ntp/sntp/include/version.def b/contrib/ntp/sntp/include/version.def index 1118af65195d..eee2240e1c65 100644 --- a/contrib/ntp/sntp/include/version.def +++ b/contrib/ntp/sntp/include/version.def @@ -1 +1 @@ -version = '4.2.8p12'; +version = '4.2.8p13'; diff --git a/contrib/ntp/sntp/include/version.texi b/contrib/ntp/sntp/include/version.texi index 50019e703128..1f30a3ad2698 100644 --- a/contrib/ntp/sntp/include/version.texi +++ b/contrib/ntp/sntp/include/version.texi @@ -1,3 +1,3 @@ -@set UPDATED 14 August 2018 -@set EDITION 4.2.8p12 -@set VERSION 4.2.8p12 +@set UPDATED 20 February 2019 +@set EDITION 4.2.8p13 +@set VERSION 4.2.8p13 diff --git a/contrib/ntp/sntp/invoke-sntp.texi b/contrib/ntp/sntp/invoke-sntp.texi index 2692326fb6bf..4448653e3e23 100644 --- a/contrib/ntp/sntp/invoke-sntp.texi +++ b/contrib/ntp/sntp/invoke-sntp.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (invoke-sntp.texi) # -# It has been AutoGen-ed August 14, 2018 at 08:27:37 AM by AutoGen 5.18.5 +# It has been AutoGen-ed February 20, 2019 at 09:55:49 AM by AutoGen 5.18.5 # From the definitions sntp-opts.def # and the template file agtexi-cmd.tpl @end ignore @@ -101,7 +101,7 @@ with a status code of 0. @exampleindent 0 @example -sntp - standard Simple Network Time Protocol client program - Ver. 4.2.8p12 +sntp - standard Simple Network Time Protocol client program - Ver. 4.2.8p13 Usage: sntp [ - [] | --[@{=| @}] ]... \ [ hostname-or-IP ...] Flg Arg Option-Name Description diff --git a/contrib/ntp/sntp/libevent/Makefile.in b/contrib/ntp/sntp/libevent/Makefile.in index 5fb8c02e15be..a608569d2265 100644 --- a/contrib/ntp/sntp/libevent/Makefile.in +++ b/contrib/ntp/sntp/libevent/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -2168,7 +2168,7 @@ distdir: $(DISTFILES) ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir @@ -2194,7 +2194,7 @@ dist-shar: distdir @echo WARNING: "Support for shar distribution archives is" \ "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir @@ -2212,7 +2212,7 @@ dist dist-all: distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ @@ -2222,7 +2222,7 @@ distcheck: dist *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac diff --git a/contrib/ntp/sntp/libevent/aclocal.m4 b/contrib/ntp/sntp/libevent/aclocal.m4 index 3d294974f4a2..f869b9265d87 100644 --- a/contrib/ntp/sntp/libevent/aclocal.m4 +++ b/contrib/ntp/sntp/libevent/aclocal.m4 @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.15 -*- Autoconf -*- +# generated automatically by aclocal 1.15.1 -*- Autoconf -*- -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -20,126 +20,7 @@ You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) -# serial 9 -*- Autoconf -*- -# Enable extensions on systems that normally disable them. - -# Copyright (C) 2003, 2006-2010 Free Software Foundation, Inc. -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This definition of AC_USE_SYSTEM_EXTENSIONS is stolen from CVS -# Autoconf. Perhaps we can remove this once we can assume Autoconf -# 2.62 or later everywhere, but since CVS Autoconf mutates rapidly -# enough in this area it's likely we'll need to redefine -# AC_USE_SYSTEM_EXTENSIONS for quite some time. - -# If autoconf reports a warning -# warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS -# or warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS -# the fix is -# 1) to ensure that AC_USE_SYSTEM_EXTENSIONS is never directly invoked -# but always AC_REQUIREd, -# 2) to ensure that for each occurrence of -# AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) -# or -# AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) -# the corresponding gnulib module description has 'extensions' among -# its dependencies. This will ensure that the gl_USE_SYSTEM_EXTENSIONS -# invocation occurs in gl_EARLY, not in gl_INIT. - -# AC_USE_SYSTEM_EXTENSIONS -# ------------------------ -# Enable extensions on systems that normally disable them, -# typically due to standards-conformance issues. -# Remember that #undef in AH_VERBATIM gets replaced with #define by -# AC_DEFINE. The goal here is to define all known feature-enabling -# macros, then, if reports of conflicts are made, disable macros that -# cause problems on some platforms (such as __EXTENSIONS__). -AC_DEFUN_ONCE([AC_USE_SYSTEM_EXTENSIONS], -[AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl -AC_BEFORE([$0], [AC_RUN_IFELSE])dnl - - AC_REQUIRE([AC_CANONICAL_HOST]) - - AC_CHECK_HEADER([minix/config.h], [MINIX=yes], [MINIX=]) - if test "$MINIX" = yes; then - AC_DEFINE([_POSIX_SOURCE], [1], - [Define to 1 if you need to in order for `stat' and other - things to work.]) - AC_DEFINE([_POSIX_1_SOURCE], [2], - [Define to 2 if the system does not provide POSIX.1 features - except with this defined.]) - AC_DEFINE([_MINIX], [1], - [Define to 1 if on MINIX.]) - fi - - dnl HP-UX 11.11 defines mbstate_t only if _XOPEN_SOURCE is defined to 500, - dnl regardless of whether the flags -Ae or _D_HPUX_SOURCE=1 are already - dnl provided. - case "$host_os" in - hpux*) - AC_DEFINE([_XOPEN_SOURCE], [500], - [Define to 500 only on HP-UX.]) - ;; - esac - - AH_VERBATIM([__EXTENSIONS__], -[/* Enable extensions on AIX 3, Interix. */ -#ifndef _ALL_SOURCE -# undef _ALL_SOURCE -#endif -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# undef _GNU_SOURCE -#endif -/* Enable threading extensions on Solaris. */ -#ifndef _POSIX_PTHREAD_SEMANTICS -# undef _POSIX_PTHREAD_SEMANTICS -#endif -/* Enable extensions on HP NonStop. */ -#ifndef _TANDEM_SOURCE -# undef _TANDEM_SOURCE -#endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# undef __EXTENSIONS__ -#endif -]) - AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__], - [ac_cv_safe_to_define___extensions__], - [AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([[ -# define __EXTENSIONS__ 1 - ]AC_INCLUDES_DEFAULT])], - [ac_cv_safe_to_define___extensions__=yes], - [ac_cv_safe_to_define___extensions__=no])]) - test $ac_cv_safe_to_define___extensions__ = yes && - AC_DEFINE([__EXTENSIONS__]) - AC_DEFINE([_ALL_SOURCE]) - AC_DEFINE([_GNU_SOURCE]) - AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) - AC_DEFINE([_TANDEM_SOURCE]) -])# AC_USE_SYSTEM_EXTENSIONS - -# gl_USE_SYSTEM_EXTENSIONS -# ------------------------ -# Enable extensions on systems that normally disable them, -# typically due to standards-conformance issues. -AC_DEFUN_ONCE([gl_USE_SYSTEM_EXTENSIONS], -[ - dnl Require this macro before AC_USE_SYSTEM_EXTENSIONS. - dnl gnulib does not need it. But if it gets required by third-party macros - dnl after AC_USE_SYSTEM_EXTENSIONS is required, autoconf 2.62..2.63 emit a - dnl warning: "AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS". - dnl Note: We can do this only for one of the macros AC_AIX, AC_GNU_SOURCE, - dnl AC_MINIX. If people still use AC_AIX or AC_MINIX, they are out of luck. - AC_REQUIRE([AC_GNU_SOURCE]) - - AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) -]) - -# Copyright (C) 2002-2014 Free Software Foundation, Inc. +# Copyright (C) 2002-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -154,7 +35,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.15' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.15], [], +m4_if([$1], [1.15.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -170,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], []) # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.15])dnl +[AM_AUTOMAKE_VERSION([1.15.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -229,7 +110,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd` # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997-2014 Free Software Foundation, Inc. +# Copyright (C) 1997-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -260,7 +141,7 @@ AC_CONFIG_COMMANDS_PRE( Usually this means the macro was only invoked conditionally.]]) fi])]) -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -451,7 +332,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl # Generate code to set up dependency tracking. -*- Autoconf -*- -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -527,7 +408,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -724,7 +605,7 @@ for _am_header in $config_headers :; do done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -745,7 +626,7 @@ if test x"${install_sh+set}" != xset; then fi AC_SUBST([install_sh])]) -# Copyright (C) 2003-2014 Free Software Foundation, Inc. +# Copyright (C) 2003-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -766,7 +647,7 @@ AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -816,7 +697,7 @@ rm -f confinc confmf # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997-2014 Free Software Foundation, Inc. +# Copyright (C) 1997-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -855,7 +736,7 @@ fi # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -884,7 +765,7 @@ AC_DEFUN([_AM_SET_OPTIONS], AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -931,7 +812,7 @@ AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -950,7 +831,7 @@ AC_DEFUN([AM_RUN_LOG], # Check to make sure that the build environment is sane. -*- Autoconf -*- -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1031,7 +912,7 @@ AC_CONFIG_COMMANDS_PRE( rm -f conftest.file ]) -# Copyright (C) 2009-2014 Free Software Foundation, Inc. +# Copyright (C) 2009-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1091,7 +972,7 @@ AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1119,7 +1000,7 @@ fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006-2014 Free Software Foundation, Inc. +# Copyright (C) 2006-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1138,7 +1019,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004-2014 Free Software Foundation, Inc. +# Copyright (C) 2004-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/contrib/ntp/sntp/libevent/build-aux/ar-lib b/contrib/ntp/sntp/libevent/build-aux/ar-lib index 463b9ec0206e..05094d34c696 100755 --- a/contrib/ntp/sntp/libevent/build-aux/ar-lib +++ b/contrib/ntp/sntp/libevent/build-aux/ar-lib @@ -4,7 +4,7 @@ me=ar-lib scriptversion=2012-03-01.08; # UTC -# Copyright (C) 2010-2014 Free Software Foundation, Inc. +# Copyright (C) 2010-2017 Free Software Foundation, Inc. # Written by Peter Rosin . # # This program is free software; you can redistribute it and/or modify diff --git a/contrib/ntp/sntp/libevent/build-aux/compile b/contrib/ntp/sntp/libevent/build-aux/compile index a85b723c7e67..2ab71e4ea13e 100755 --- a/contrib/ntp/sntp/libevent/build-aux/compile +++ b/contrib/ntp/sntp/libevent/build-aux/compile @@ -1,9 +1,9 @@ #! /bin/sh # Wrapper for compilers which do not understand '-c -o'. -scriptversion=2012-10-14.11; # UTC +scriptversion=2016-01-11.22; # UTC -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2017 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify @@ -255,7 +255,8 @@ EOF echo "compile $scriptversion" exit $? ;; - cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ + icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac @@ -342,6 +343,6 @@ exit $ret # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: diff --git a/contrib/ntp/sntp/libevent/build-aux/config.guess b/contrib/ntp/sntp/libevent/build-aux/config.guess index 6c32c8645c8b..0bb53aebf96d 100755 --- a/contrib/ntp/sntp/libevent/build-aux/config.guess +++ b/contrib/ntp/sntp/libevent/build-aux/config.guess @@ -1,8 +1,8 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright 1992-2014 Free Software Foundation, Inc. +# Copyright 1992-2015 Free Software Foundation, Inc. -timestamp='2014-11-04' +timestamp='2015-03-04' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -50,7 +50,7 @@ version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright 1992-2014 Free Software Foundation, Inc. +Copyright 1992-2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -168,20 +168,27 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" - UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ - /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ + /sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || \ + echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; + earmv*) + arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'` + endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'` + machine=${arch}${endian}-unknown + ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in - arm*|i386|m68k|ns32k|sh3*|sparc|vax) + arm*|earm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ @@ -197,6 +204,13 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in os=netbsd ;; esac + # Determine ABI tags. + case "${UNAME_MACHINE_ARCH}" in + earm*) + expr='s/^earmv[0-9]/-eabi/;s/eb$//' + abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"` + ;; + esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need @@ -213,7 +227,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. - echo "${machine}-${os}${release}" + echo "${machine}-${os}${release}${abi}" exit ;; *:Bitrig:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` @@ -811,12 +825,7 @@ EOF exit ;; *:FreeBSD:*:*) UNAME_PROCESSOR=`/usr/bin/uname -p` - case ${UNAME_PROCESSOR} in - amd64) - echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - *) - echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - esac + echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin @@ -933,6 +942,9 @@ EOF crisv32:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; + e2k:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; frv:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; diff --git a/contrib/ntp/sntp/libevent/build-aux/config.sub b/contrib/ntp/sntp/libevent/build-aux/config.sub index 7ffe37378428..3580aaf3ef9c 100755 --- a/contrib/ntp/sntp/libevent/build-aux/config.sub +++ b/contrib/ntp/sntp/libevent/build-aux/config.sub @@ -1,8 +1,8 @@ #! /bin/sh # Configuration validation subroutine script. -# Copyright 1992-2014 Free Software Foundation, Inc. +# Copyright 1992-2015 Free Software Foundation, Inc. -timestamp='2014-12-03' +timestamp='2015-03-08' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -68,7 +68,7 @@ Report bugs and patches to ." version="\ GNU config.sub ($timestamp) -Copyright 1992-2014 Free Software Foundation, Inc. +Copyright 1992-2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -117,7 +117,7 @@ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ - knetbsd*-gnu* | netbsd*-gnu* | \ + knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os @@ -259,8 +259,8 @@ case $basic_machine in | bfin \ | c4x | c8051 | clipper \ | d10v | d30v | dlx | dsp16xx \ - | epiphany \ - | fido | fr30 | frv \ + | e2k | epiphany \ + | fido | fr30 | frv | ft32 \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ | i370 | i860 | i960 | ia64 \ @@ -300,7 +300,7 @@ case $basic_machine in | ns16k | ns32k \ | open8 | or1k | or1knd | or32 \ | pdp10 | pdp11 | pj | pjl \ - | powerpc | powerpc64 | powerpc64le | powerpcle \ + | powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \ | pyramid \ | riscv32 | riscv64 \ | rl78 | rx \ @@ -373,7 +373,7 @@ case $basic_machine in | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | amd64-* | arc-* | arceb-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | be32-* | be64-* \ @@ -381,7 +381,7 @@ case $basic_machine in | c[123]* | c30-* | [cjt]90-* | c4x-* \ | c8051-* | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ - | elxsi-* \ + | e2k-* | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ @@ -426,7 +426,7 @@ case $basic_machine in | or1k*-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | powerpcspe-* \ | pyramid-* \ | rl78-* | romp-* | rs6000-* | rx-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ @@ -485,12 +485,6 @@ case $basic_machine in basic_machine=a29k-none os=-bsd ;; - amd64) - basic_machine=x86_64-pc - ;; - amd64-*) - basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; amdahl) basic_machine=580-amdahl os=-sysv @@ -518,6 +512,9 @@ case $basic_machine in basic_machine=i386-pc os=-aros ;; + asmjs) + basic_machine=asmjs-unknown + ;; aux) basic_machine=m68k-apple os=-aux @@ -1373,7 +1370,7 @@ case $os in | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | -sym* | -kopensolaris* | -plan9* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* | -aros* \ + | -aos* | -aros* | -cloudabi* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ diff --git a/contrib/ntp/sntp/libevent/build-aux/depcomp b/contrib/ntp/sntp/libevent/build-aux/depcomp index fc98710e2a1d..b39f98f9ae9f 100755 --- a/contrib/ntp/sntp/libevent/build-aux/depcomp +++ b/contrib/ntp/sntp/libevent/build-aux/depcomp @@ -1,9 +1,9 @@ #! /bin/sh # depcomp - compile a program generating dependencies as side-effects -scriptversion=2013-05-30.07; # UTC +scriptversion=2016-01-11.22; # UTC -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2017 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -786,6 +786,6 @@ exit 0 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: diff --git a/contrib/ntp/sntp/libevent/build-aux/install-sh b/contrib/ntp/sntp/libevent/build-aux/install-sh index 0b0fdcbba69a..0360b79e7d02 100755 --- a/contrib/ntp/sntp/libevent/build-aux/install-sh +++ b/contrib/ntp/sntp/libevent/build-aux/install-sh @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2013-12-25.23; # UTC +scriptversion=2016-01-11.22; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -496,6 +496,6 @@ done # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: diff --git a/contrib/ntp/sntp/libevent/build-aux/missing b/contrib/ntp/sntp/libevent/build-aux/missing index f62bbae306c7..c6e379584baf 100755 --- a/contrib/ntp/sntp/libevent/build-aux/missing +++ b/contrib/ntp/sntp/libevent/build-aux/missing @@ -1,9 +1,9 @@ #! /bin/sh # Common wrapper for a few potentially missing GNU programs. -scriptversion=2013-10-28.13; # UTC +scriptversion=2016-01-11.22; # UTC -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify @@ -210,6 +210,6 @@ exit $st # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: diff --git a/contrib/ntp/sntp/libevent/build-aux/test-driver b/contrib/ntp/sntp/libevent/build-aux/test-driver index 8e575b017d93..0218a01f616e 100755 --- a/contrib/ntp/sntp/libevent/build-aux/test-driver +++ b/contrib/ntp/sntp/libevent/build-aux/test-driver @@ -1,9 +1,9 @@ #! /bin/sh # test-driver - basic testsuite driver script. -scriptversion=2013-07-13.22; # UTC +scriptversion=2016-01-11.22; # UTC -# Copyright (C) 2011-2014 Free Software Foundation, Inc. +# Copyright (C) 2011-2017 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -143,6 +143,6 @@ echo ":copy-in-global-log: $gcopy" >> $trs_file # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: diff --git a/contrib/ntp/sntp/libevent/build-aux/ylwrap b/contrib/ntp/sntp/libevent/build-aux/ylwrap index 7c2d927f7f67..d788f2da5581 100755 --- a/contrib/ntp/sntp/libevent/build-aux/ylwrap +++ b/contrib/ntp/sntp/libevent/build-aux/ylwrap @@ -1,9 +1,9 @@ #! /bin/sh # ylwrap - wrapper for lex/yacc invocations. -scriptversion=2013-01-12.17; # UTC +scriptversion=2016-01-11.22; # UTC -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # # Written by Tom Tromey . # @@ -242,6 +242,6 @@ exit $ret # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: diff --git a/contrib/ntp/sntp/libevent/config.h.in b/contrib/ntp/sntp/libevent/config.h.in index 64bb3f208698..e425aa16882b 100644 --- a/contrib/ntp/sntp/libevent/config.h.in +++ b/contrib/ntp/sntp/libevent/config.h.in @@ -449,6 +449,28 @@ /* Define to 1 if you can safely include both and . */ #undef TIME_WITH_SYS_TIME +/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable threading extensions on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif + + /* Version number of package */ #undef VERSION @@ -473,31 +495,6 @@ /* Define to 1 if you need to in order for `stat' and other things to work. */ #undef _POSIX_SOURCE -/* Define to 500 only on HP-UX. */ -#undef _XOPEN_SOURCE - -/* Enable extensions on AIX 3, Interix. */ -#ifndef _ALL_SOURCE -# undef _ALL_SOURCE -#endif -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# undef _GNU_SOURCE -#endif -/* Enable threading extensions on Solaris. */ -#ifndef _POSIX_PTHREAD_SEMANTICS -# undef _POSIX_PTHREAD_SEMANTICS -#endif -/* Enable extensions on HP NonStop. */ -#ifndef _TANDEM_SOURCE -# undef _TANDEM_SOURCE -#endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# undef __EXTENSIONS__ -#endif - - /* Define to appropriate substitue if compiler doesnt have __func__ */ #undef __func__ diff --git a/contrib/ntp/sntp/libevent/configure b/contrib/ntp/sntp/libevent/configure index 486a7d3b0047..0d9dcdd01f18 100755 --- a/contrib/ntp/sntp/libevent/configure +++ b/contrib/ntp/sntp/libevent/configure @@ -703,6 +703,14 @@ FGREP LIBTOOL SED LN_S +host_os +host_vendor +host_cpu +host +build_os +build_vendor +build_cpu +build EGREP GREP CPP @@ -723,14 +731,6 @@ CPPFLAGS LDFLAGS CFLAGS CC -host_os -host_vendor -host_cpu -host -build_os -build_vendor -build_cpu -build AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V @@ -3287,77 +3287,6 @@ if test "$prefix" = "NONE"; then fi -# Make sure we can run config.sub. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 -$as_echo_n "checking build system type... " >&6; } -if ${ac_cv_build+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_build_alias=$build_alias -test "x$ac_build_alias" = x && - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` -test "x$ac_build_alias" = x && - as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -$as_echo "$ac_cv_build" >&6; } -case $ac_cv_build in -*-*-*) ;; -*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; -esac -build=$ac_cv_build -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_build -shift -build_cpu=$1 -build_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -build_os=$* -IFS=$ac_save_IFS -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 -$as_echo_n "checking host system type... " >&6; } -if ${ac_cv_host+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "x$host_alias" = x; then - ac_cv_host=$ac_cv_build -else - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 -$as_echo "$ac_cv_host" >&6; } -case $ac_cv_host in -*-*-*) ;; -*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; -esac -host=$ac_cv_host -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_host -shift -host_cpu=$1 -host_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -host_os=$* -IFS=$ac_save_IFS -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac - - DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" @@ -4796,8 +4725,6 @@ done - - ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" if test "x$ac_cv_header_minix_config_h" = xyes; then : MINIX=yes @@ -4818,14 +4745,6 @@ $as_echo "#define _MINIX 1" >>confdefs.h fi - case "$host_os" in - hpux*) - -$as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h - - ;; - esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } @@ -4868,6 +4787,75 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } +# Make sure we can run config.sub. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +$as_echo_n "checking build system type... " >&6; } +if ${ac_cv_build+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_build_alias=$build_alias +test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` +test "x$ac_build_alias" = x && + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +$as_echo "$ac_cv_build" >&6; } +case $ac_cv_build in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; +esac +build=$ac_cv_build +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_build +shift +build_cpu=$1 +build_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +build_os=$* +IFS=$ac_save_IFS +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +$as_echo_n "checking host system type... " >&6; } +if ${ac_cv_host+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build +else + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +$as_echo "$ac_cv_host" >&6; } +case $ac_cv_host in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; +esac +host=$ac_cv_host +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_host +shift +host_cpu=$1 +host_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +host_os=$* +IFS=$ac_save_IFS +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac diff --git a/contrib/ntp/sntp/libevent/evconfig-private.h b/contrib/ntp/sntp/libevent/evconfig-private.h index ea4940d5e8f9..f6b08e353e84 100644 --- a/contrib/ntp/sntp/libevent/evconfig-private.h +++ b/contrib/ntp/sntp/libevent/evconfig-private.h @@ -26,7 +26,7 @@ #endif /* Number of bits in a file offset, on hosts where this is settable. */ -#define _FILE_OFFSET_BITS 64 +/* #undef _FILE_OFFSET_BITS */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ diff --git a/contrib/ntp/sntp/libevent/test/regress.gen.c b/contrib/ntp/sntp/libevent/test/regress.gen.c index 8d1c8b69c3fc..9ec92583bcc2 100644 --- a/contrib/ntp/sntp/libevent/test/regress.gen.c +++ b/contrib/ntp/sntp/libevent/test/regress.gen.c @@ -1 +1,1225 @@ - +/* + * Automatically generated from ../../../sntp/libevent/test/regress.rpc + * by event_rpcgen.py/0.1. DO NOT EDIT THIS FILE. + */ + +#include +#include +#include +#include +#include +#include +#include + +#ifdef EVENT____func__ +#define __func__ EVENT____func__ +#endif + + +#include "regress.gen.h" + +void event_warn(const char *fmt, ...); +void event_warnx(const char *fmt, ...); + + +/* + * Implementation of msg + */ + +static struct msg_access_ msg_base__ = { + msg_from_name_assign, + msg_from_name_get, + msg_to_name_assign, + msg_to_name_get, + msg_attack_assign, + msg_attack_get, + msg_run_assign, + msg_run_get, + msg_run_add, +}; + +struct msg * +msg_new(void) +{ + return msg_new_with_arg(NULL); +} + +struct msg * +msg_new_with_arg(void *unused) +{ + struct msg *tmp; + if ((tmp = malloc(sizeof(struct msg))) == NULL) { + event_warn("%s: malloc", __func__); + return (NULL); + } + tmp->base = &msg_base__; + + tmp->from_name_data = NULL; + tmp->from_name_set = 0; + + tmp->to_name_data = NULL; + tmp->to_name_set = 0; + + tmp->attack_data = NULL; + tmp->attack_set = 0; + + tmp->run_data = NULL; + tmp->run_length = 0; + tmp->run_num_allocated = 0; + tmp->run_set = 0; + + return (tmp); +} + + + + +static int +msg_run_expand_to_hold_more(struct msg *msg) +{ + int tobe_allocated = msg->run_num_allocated; + struct run** new_data = NULL; + tobe_allocated = !tobe_allocated ? 1 : tobe_allocated << 1; + new_data = (struct run**) realloc(msg->run_data, + tobe_allocated * sizeof(struct run*)); + if (new_data == NULL) + return -1; + msg->run_data = new_data; + msg->run_num_allocated = tobe_allocated; + return 0;} + +struct run* +msg_run_add(struct msg *msg) +{ + if (++msg->run_length >= msg->run_num_allocated) { + if (msg_run_expand_to_hold_more(msg)<0) + goto error; + } + msg->run_data[msg->run_length - 1] = run_new(); + if (msg->run_data[msg->run_length - 1] == NULL) + goto error; + msg->run_set = 1; + return (msg->run_data[msg->run_length - 1]); +error: + --msg->run_length; + return (NULL); +} + +int +msg_from_name_assign(struct msg *msg, + const char * value) +{ + if (msg->from_name_data != NULL) + free(msg->from_name_data); + if ((msg->from_name_data = strdup(value)) == NULL) + return (-1); + msg->from_name_set = 1; + return (0); +} + +int +msg_to_name_assign(struct msg *msg, + const char * value) +{ + if (msg->to_name_data != NULL) + free(msg->to_name_data); + if ((msg->to_name_data = strdup(value)) == NULL) + return (-1); + msg->to_name_set = 1; + return (0); +} + +int +msg_attack_assign(struct msg *msg, + const struct kill* value) +{ + struct evbuffer *tmp = NULL; + if (msg->attack_set) { + kill_clear(msg->attack_data); + msg->attack_set = 0; + } else { + msg->attack_data = kill_new(); + if (msg->attack_data == NULL) { + event_warn("%s: kill_new()", __func__); + goto error; + } + } + if ((tmp = evbuffer_new()) == NULL) { + event_warn("%s: evbuffer_new()", __func__); + goto error; + } + kill_marshal(tmp, value); + if (kill_unmarshal(msg->attack_data, tmp) == -1) { + event_warnx("%s: kill_unmarshal", __func__); + goto error; + } + msg->attack_set = 1; + evbuffer_free(tmp); + return (0); + error: + if (tmp != NULL) + evbuffer_free(tmp); + if (msg->attack_data != NULL) { + kill_free(msg->attack_data); + msg->attack_data = NULL; + } + return (-1); +} + +int +msg_run_assign(struct msg *msg, int off, + const struct run* value) +{ + if (!msg->run_set || off < 0 || off >= msg->run_length) + return (-1); + + { + int had_error = 0; + struct evbuffer *tmp = NULL; + run_clear(msg->run_data[off]); + if ((tmp = evbuffer_new()) == NULL) { + event_warn("%s: evbuffer_new()", __func__); + had_error = 1; + goto done; + } + run_marshal(tmp, value); + if (run_unmarshal(msg->run_data[off], tmp) == -1) { + event_warnx("%s: run_unmarshal", __func__); + had_error = 1; + goto done; + } + done:if (tmp != NULL) + evbuffer_free(tmp); + if (had_error) { + run_clear(msg->run_data[off]); + return (-1); + } + } + return (0); +} + +int +msg_from_name_get(struct msg *msg, char * *value) +{ + if (msg->from_name_set != 1) + return (-1); + *value = msg->from_name_data; + return (0); +} + +int +msg_to_name_get(struct msg *msg, char * *value) +{ + if (msg->to_name_set != 1) + return (-1); + *value = msg->to_name_data; + return (0); +} + +int +msg_attack_get(struct msg *msg, struct kill* *value) +{ + if (msg->attack_set != 1) { + msg->attack_data = kill_new(); + if (msg->attack_data == NULL) + return (-1); + msg->attack_set = 1; + } + *value = msg->attack_data; + return (0); +} + +int +msg_run_get(struct msg *msg, int offset, + struct run* *value) +{ + if (!msg->run_set || offset < 0 || offset >= msg->run_length) + return (-1); + *value = msg->run_data[offset]; + return (0); +} + +void +msg_clear(struct msg *tmp) +{ + if (tmp->from_name_set == 1) { + free(tmp->from_name_data); + tmp->from_name_data = NULL; + tmp->from_name_set = 0; + } + if (tmp->to_name_set == 1) { + free(tmp->to_name_data); + tmp->to_name_data = NULL; + tmp->to_name_set = 0; + } + if (tmp->attack_set == 1) { + kill_free(tmp->attack_data); + tmp->attack_data = NULL; + tmp->attack_set = 0; + } + if (tmp->run_set == 1) { + int i; + for (i = 0; i < tmp->run_length; ++i) { + run_free(tmp->run_data[i]); + } + free(tmp->run_data); + tmp->run_data = NULL; + tmp->run_set = 0; + tmp->run_length = 0; + tmp->run_num_allocated = 0; + } +} + +void +msg_free(struct msg *tmp) +{ + if (tmp->from_name_data != NULL) + free (tmp->from_name_data); + if (tmp->to_name_data != NULL) + free (tmp->to_name_data); + if (tmp->attack_data != NULL) + kill_free(tmp->attack_data); + if (tmp->run_set == 1) { + int i; + for (i = 0; i < tmp->run_length; ++i) { + run_free(tmp->run_data[i]); + } + free(tmp->run_data); + tmp->run_data = NULL; + tmp->run_set = 0; + tmp->run_length = 0; + tmp->run_num_allocated = 0; + } + free(tmp->run_data); + free(tmp); +} + +void +msg_marshal(struct evbuffer *evbuf, const struct msg *tmp){ + evtag_marshal_string(evbuf, MSG_FROM_NAME, tmp->from_name_data); + evtag_marshal_string(evbuf, MSG_TO_NAME, tmp->to_name_data); + if (tmp->attack_set) { + evtag_marshal_kill(evbuf, MSG_ATTACK, tmp->attack_data); + } + if (tmp->run_set) { + { + int i; + for (i = 0; i < tmp->run_length; ++i) { + evtag_marshal_run(evbuf, MSG_RUN, tmp->run_data[i]); + } + } + } +} + +int +msg_unmarshal(struct msg *tmp, struct evbuffer *evbuf) +{ + ev_uint32_t tag; + while (evbuffer_get_length(evbuf) > 0) { + if (evtag_peek(evbuf, &tag) == -1) + return (-1); + switch (tag) { + + case MSG_FROM_NAME: + + if (tmp->from_name_set) + return (-1); + if (evtag_unmarshal_string(evbuf, MSG_FROM_NAME, &tmp->from_name_data) == -1) { + event_warnx("%s: failed to unmarshal from_name", __func__); + return (-1); + } + tmp->from_name_set = 1; + break; + + case MSG_TO_NAME: + + if (tmp->to_name_set) + return (-1); + if (evtag_unmarshal_string(evbuf, MSG_TO_NAME, &tmp->to_name_data) == -1) { + event_warnx("%s: failed to unmarshal to_name", __func__); + return (-1); + } + tmp->to_name_set = 1; + break; + + case MSG_ATTACK: + + if (tmp->attack_set) + return (-1); + tmp->attack_data = kill_new(); + if (tmp->attack_data == NULL) + return (-1); + if (evtag_unmarshal_kill(evbuf, MSG_ATTACK, tmp->attack_data) == -1) { + event_warnx("%s: failed to unmarshal attack", __func__); + return (-1); + } + tmp->attack_set = 1; + break; + + case MSG_RUN: + + if (tmp->run_length >= tmp->run_num_allocated && + msg_run_expand_to_hold_more(tmp) < 0) { + puts("HEY NOW"); + return (-1); + } + tmp->run_data[tmp->run_length] = run_new(); + if (tmp->run_data[tmp->run_length] == NULL) + return (-1); + if (evtag_unmarshal_run(evbuf, MSG_RUN, tmp->run_data[tmp->run_length]) == -1) { + event_warnx("%s: failed to unmarshal run", __func__); + return (-1); + } + ++tmp->run_length; + tmp->run_set = 1; + break; + + default: + return -1; + } + } + + if (msg_complete(tmp) == -1) + return (-1); + return (0); +} + +int +msg_complete(struct msg *msg) +{ + if (!msg->from_name_set) + return (-1); + if (!msg->to_name_set) + return (-1); + if (msg->attack_set && kill_complete(msg->attack_data) == -1) + return (-1); + { + int i; + for (i = 0; i < msg->run_length; ++i) { + if (msg->run_set && run_complete(msg->run_data[i]) == -1) + return (-1); + } + } + return (0); +} + +int +evtag_unmarshal_msg(struct evbuffer *evbuf, ev_uint32_t need_tag, struct msg *msg) +{ + ev_uint32_t tag; + int res = -1; + + struct evbuffer *tmp = evbuffer_new(); + + if (evtag_unmarshal(evbuf, &tag, tmp) == -1 || tag != need_tag) + goto error; + + if (msg_unmarshal(msg, tmp) == -1) + goto error; + + res = 0; + + error: + evbuffer_free(tmp); + return (res); +} + +void +evtag_marshal_msg(struct evbuffer *evbuf, ev_uint32_t tag, const struct msg *msg) +{ + struct evbuffer *buf_ = evbuffer_new(); + assert(buf_ != NULL); + msg_marshal(buf_, msg); + evtag_marshal_buffer(evbuf, tag, buf_); + evbuffer_free(buf_); +} + +/* + * Implementation of kill + */ + +static struct kill_access_ kill_base__ = { + kill_weapon_assign, + kill_weapon_get, + kill_action_assign, + kill_action_get, + kill_how_often_assign, + kill_how_often_get, + kill_how_often_add, +}; + +struct kill * +kill_new(void) +{ + return kill_new_with_arg(NULL); +} + +struct kill * +kill_new_with_arg(void *unused) +{ + struct kill *tmp; + if ((tmp = malloc(sizeof(struct kill))) == NULL) { + event_warn("%s: malloc", __func__); + return (NULL); + } + tmp->base = &kill_base__; + + tmp->weapon_data = NULL; + tmp->weapon_set = 0; + + tmp->action_data = NULL; + tmp->action_set = 0; + + tmp->how_often_data = NULL; + tmp->how_often_length = 0; + tmp->how_often_num_allocated = 0; + tmp->how_often_set = 0; + + return (tmp); +} + + + +static int +kill_how_often_expand_to_hold_more(struct kill *msg) +{ + int tobe_allocated = msg->how_often_num_allocated; + ev_uint32_t* new_data = NULL; + tobe_allocated = !tobe_allocated ? 1 : tobe_allocated << 1; + new_data = (ev_uint32_t*) realloc(msg->how_often_data, + tobe_allocated * sizeof(ev_uint32_t)); + if (new_data == NULL) + return -1; + msg->how_often_data = new_data; + msg->how_often_num_allocated = tobe_allocated; + return 0;} + +ev_uint32_t * +kill_how_often_add(struct kill *msg, const ev_uint32_t value) +{ + if (++msg->how_often_length >= msg->how_often_num_allocated) { + if (kill_how_often_expand_to_hold_more(msg)<0) + goto error; + } + msg->how_often_data[msg->how_often_length - 1] = value; + msg->how_often_set = 1; + return &(msg->how_often_data[msg->how_often_length - 1]); +error: + --msg->how_often_length; + return (NULL); +} + +int +kill_weapon_assign(struct kill *msg, + const char * value) +{ + if (msg->weapon_data != NULL) + free(msg->weapon_data); + if ((msg->weapon_data = strdup(value)) == NULL) + return (-1); + msg->weapon_set = 1; + return (0); +} + +int +kill_action_assign(struct kill *msg, + const char * value) +{ + if (msg->action_data != NULL) + free(msg->action_data); + if ((msg->action_data = strdup(value)) == NULL) + return (-1); + msg->action_set = 1; + return (0); +} + +int +kill_how_often_assign(struct kill *msg, int off, + const ev_uint32_t value) +{ + if (!msg->how_often_set || off < 0 || off >= msg->how_often_length) + return (-1); + + { + msg->how_often_data[off] = value; + } + return (0); +} + +int +kill_weapon_get(struct kill *msg, char * *value) +{ + if (msg->weapon_set != 1) + return (-1); + *value = msg->weapon_data; + return (0); +} + +int +kill_action_get(struct kill *msg, char * *value) +{ + if (msg->action_set != 1) + return (-1); + *value = msg->action_data; + return (0); +} + +int +kill_how_often_get(struct kill *msg, int offset, + ev_uint32_t *value) +{ + if (!msg->how_often_set || offset < 0 || offset >= msg->how_often_length) + return (-1); + *value = msg->how_often_data[offset]; + return (0); +} + +void +kill_clear(struct kill *tmp) +{ + if (tmp->weapon_set == 1) { + free(tmp->weapon_data); + tmp->weapon_data = NULL; + tmp->weapon_set = 0; + } + if (tmp->action_set == 1) { + free(tmp->action_data); + tmp->action_data = NULL; + tmp->action_set = 0; + } + if (tmp->how_often_set == 1) { + free(tmp->how_often_data); + tmp->how_often_data = NULL; + tmp->how_often_set = 0; + tmp->how_often_length = 0; + tmp->how_often_num_allocated = 0; + } +} + +void +kill_free(struct kill *tmp) +{ + if (tmp->weapon_data != NULL) + free (tmp->weapon_data); + if (tmp->action_data != NULL) + free (tmp->action_data); + if (tmp->how_often_set == 1) { + free(tmp->how_often_data); + tmp->how_often_data = NULL; + tmp->how_often_set = 0; + tmp->how_often_length = 0; + tmp->how_often_num_allocated = 0; + } + free(tmp->how_often_data); + free(tmp); +} + +void +kill_marshal(struct evbuffer *evbuf, const struct kill *tmp){ + evtag_marshal_string(evbuf, KILL_WEAPON, tmp->weapon_data); + evtag_marshal_string(evbuf, KILL_ACTION, tmp->action_data); + if (tmp->how_often_set) { + { + int i; + for (i = 0; i < tmp->how_often_length; ++i) { + evtag_marshal_int(evbuf, KILL_HOW_OFTEN, tmp->how_often_data[i]); + } + } + } +} + +int +kill_unmarshal(struct kill *tmp, struct evbuffer *evbuf) +{ + ev_uint32_t tag; + while (evbuffer_get_length(evbuf) > 0) { + if (evtag_peek(evbuf, &tag) == -1) + return (-1); + switch (tag) { + + case KILL_WEAPON: + + if (tmp->weapon_set) + return (-1); + if (evtag_unmarshal_string(evbuf, KILL_WEAPON, &tmp->weapon_data) == -1) { + event_warnx("%s: failed to unmarshal weapon", __func__); + return (-1); + } + tmp->weapon_set = 1; + break; + + case KILL_ACTION: + + if (tmp->action_set) + return (-1); + if (evtag_unmarshal_string(evbuf, KILL_ACTION, &tmp->action_data) == -1) { + event_warnx("%s: failed to unmarshal action", __func__); + return (-1); + } + tmp->action_set = 1; + break; + + case KILL_HOW_OFTEN: + + if (tmp->how_often_length >= tmp->how_often_num_allocated && + kill_how_often_expand_to_hold_more(tmp) < 0) { + puts("HEY NOW"); + return (-1); + } + if (evtag_unmarshal_int(evbuf, KILL_HOW_OFTEN, &tmp->how_often_data[tmp->how_often_length]) == -1) { + event_warnx("%s: failed to unmarshal how_often", __func__); + return (-1); + } + ++tmp->how_often_length; + tmp->how_often_set = 1; + break; + + default: + return -1; + } + } + + if (kill_complete(tmp) == -1) + return (-1); + return (0); +} + +int +kill_complete(struct kill *msg) +{ + if (!msg->weapon_set) + return (-1); + if (!msg->action_set) + return (-1); + return (0); +} + +int +evtag_unmarshal_kill(struct evbuffer *evbuf, ev_uint32_t need_tag, struct kill *msg) +{ + ev_uint32_t tag; + int res = -1; + + struct evbuffer *tmp = evbuffer_new(); + + if (evtag_unmarshal(evbuf, &tag, tmp) == -1 || tag != need_tag) + goto error; + + if (kill_unmarshal(msg, tmp) == -1) + goto error; + + res = 0; + + error: + evbuffer_free(tmp); + return (res); +} + +void +evtag_marshal_kill(struct evbuffer *evbuf, ev_uint32_t tag, const struct kill *msg) +{ + struct evbuffer *buf_ = evbuffer_new(); + assert(buf_ != NULL); + kill_marshal(buf_, msg); + evtag_marshal_buffer(evbuf, tag, buf_); + evbuffer_free(buf_); +} + +/* + * Implementation of run + */ + +static struct run_access_ run_base__ = { + run_how_assign, + run_how_get, + run_some_bytes_assign, + run_some_bytes_get, + run_fixed_bytes_assign, + run_fixed_bytes_get, + run_notes_assign, + run_notes_get, + run_notes_add, + run_large_number_assign, + run_large_number_get, + run_other_numbers_assign, + run_other_numbers_get, + run_other_numbers_add, +}; + +struct run * +run_new(void) +{ + return run_new_with_arg(NULL); +} + +struct run * +run_new_with_arg(void *unused) +{ + struct run *tmp; + if ((tmp = malloc(sizeof(struct run))) == NULL) { + event_warn("%s: malloc", __func__); + return (NULL); + } + tmp->base = &run_base__; + + tmp->how_data = NULL; + tmp->how_set = 0; + + tmp->some_bytes_data = NULL; + tmp->some_bytes_length = 0; + tmp->some_bytes_set = 0; + + memset(tmp->fixed_bytes_data, 0, sizeof(tmp->fixed_bytes_data)); + tmp->fixed_bytes_set = 0; + + tmp->notes_data = NULL; + tmp->notes_length = 0; + tmp->notes_num_allocated = 0; + tmp->notes_set = 0; + + tmp->large_number_data = 0; + tmp->large_number_set = 0; + + tmp->other_numbers_data = NULL; + tmp->other_numbers_length = 0; + tmp->other_numbers_num_allocated = 0; + tmp->other_numbers_set = 0; + + return (tmp); +} + + + + +static int +run_notes_expand_to_hold_more(struct run *msg) +{ + int tobe_allocated = msg->notes_num_allocated; + char ** new_data = NULL; + tobe_allocated = !tobe_allocated ? 1 : tobe_allocated << 1; + new_data = (char **) realloc(msg->notes_data, + tobe_allocated * sizeof(char *)); + if (new_data == NULL) + return -1; + msg->notes_data = new_data; + msg->notes_num_allocated = tobe_allocated; + return 0;} + +char * * +run_notes_add(struct run *msg, const char * value) +{ + if (++msg->notes_length >= msg->notes_num_allocated) { + if (run_notes_expand_to_hold_more(msg)<0) + goto error; + } + if (value != NULL) { + msg->notes_data[msg->notes_length - 1] = strdup(value); + if (msg->notes_data[msg->notes_length - 1] == NULL) { + goto error; + } + } else { + msg->notes_data[msg->notes_length - 1] = NULL; + } + msg->notes_set = 1; + return &(msg->notes_data[msg->notes_length - 1]); +error: + --msg->notes_length; + return (NULL); +} + + +static int +run_other_numbers_expand_to_hold_more(struct run *msg) +{ + int tobe_allocated = msg->other_numbers_num_allocated; + ev_uint32_t* new_data = NULL; + tobe_allocated = !tobe_allocated ? 1 : tobe_allocated << 1; + new_data = (ev_uint32_t*) realloc(msg->other_numbers_data, + tobe_allocated * sizeof(ev_uint32_t)); + if (new_data == NULL) + return -1; + msg->other_numbers_data = new_data; + msg->other_numbers_num_allocated = tobe_allocated; + return 0;} + +ev_uint32_t * +run_other_numbers_add(struct run *msg, const ev_uint32_t value) +{ + if (++msg->other_numbers_length >= msg->other_numbers_num_allocated) { + if (run_other_numbers_expand_to_hold_more(msg)<0) + goto error; + } + msg->other_numbers_data[msg->other_numbers_length - 1] = value; + msg->other_numbers_set = 1; + return &(msg->other_numbers_data[msg->other_numbers_length - 1]); +error: + --msg->other_numbers_length; + return (NULL); +} + +int +run_how_assign(struct run *msg, + const char * value) +{ + if (msg->how_data != NULL) + free(msg->how_data); + if ((msg->how_data = strdup(value)) == NULL) + return (-1); + msg->how_set = 1; + return (0); +} + +int +run_some_bytes_assign(struct run *msg, const ev_uint8_t * value, ev_uint32_t len) +{ + if (msg->some_bytes_data != NULL) + free (msg->some_bytes_data); + msg->some_bytes_data = malloc(len); + if (msg->some_bytes_data == NULL) + return (-1); + msg->some_bytes_set = 1; + msg->some_bytes_length = len; + memcpy(msg->some_bytes_data, value, len); + return (0); +} + +int +run_fixed_bytes_assign(struct run *msg, const ev_uint8_t *value) +{ + msg->fixed_bytes_set = 1; + memcpy(msg->fixed_bytes_data, value, 24); + return (0); +} + +int +run_notes_assign(struct run *msg, int off, + const char * value) +{ + if (!msg->notes_set || off < 0 || off >= msg->notes_length) + return (-1); + + { + if (msg->notes_data[off] != NULL) + free(msg->notes_data[off]); + msg->notes_data[off] = strdup(value); + if (msg->notes_data[off] == NULL) { + event_warnx("%s: strdup", __func__); + return (-1); + } + } + return (0); +} + +int +run_large_number_assign(struct run *msg, const ev_uint64_t value) +{ + msg->large_number_set = 1; + msg->large_number_data = value; + return (0); +} + +int +run_other_numbers_assign(struct run *msg, int off, + const ev_uint32_t value) +{ + if (!msg->other_numbers_set || off < 0 || off >= msg->other_numbers_length) + return (-1); + + { + msg->other_numbers_data[off] = value; + } + return (0); +} + +int +run_how_get(struct run *msg, char * *value) +{ + if (msg->how_set != 1) + return (-1); + *value = msg->how_data; + return (0); +} + +int +run_some_bytes_get(struct run *msg, ev_uint8_t * *value, ev_uint32_t *plen) +{ + if (msg->some_bytes_set != 1) + return (-1); + *value = msg->some_bytes_data; + *plen = msg->some_bytes_length; + return (0); +} + +int +run_fixed_bytes_get(struct run *msg, ev_uint8_t **value) +{ + if (msg->fixed_bytes_set != 1) + return (-1); + *value = msg->fixed_bytes_data; + return (0); +} + +int +run_notes_get(struct run *msg, int offset, + char * *value) +{ + if (!msg->notes_set || offset < 0 || offset >= msg->notes_length) + return (-1); + *value = msg->notes_data[offset]; + return (0); +} + +int +run_large_number_get(struct run *msg, ev_uint64_t *value) +{ + if (msg->large_number_set != 1) + return (-1); + *value = msg->large_number_data; + return (0); +} + +int +run_other_numbers_get(struct run *msg, int offset, + ev_uint32_t *value) +{ + if (!msg->other_numbers_set || offset < 0 || offset >= msg->other_numbers_length) + return (-1); + *value = msg->other_numbers_data[offset]; + return (0); +} + +void +run_clear(struct run *tmp) +{ + if (tmp->how_set == 1) { + free(tmp->how_data); + tmp->how_data = NULL; + tmp->how_set = 0; + } + if (tmp->some_bytes_set == 1) { + free (tmp->some_bytes_data); + tmp->some_bytes_data = NULL; + tmp->some_bytes_length = 0; + tmp->some_bytes_set = 0; + } + tmp->fixed_bytes_set = 0; + memset(tmp->fixed_bytes_data, 0, sizeof(tmp->fixed_bytes_data)); + if (tmp->notes_set == 1) { + int i; + for (i = 0; i < tmp->notes_length; ++i) { + if (tmp->notes_data[i] != NULL) free(tmp->notes_data[i]); + } + free(tmp->notes_data); + tmp->notes_data = NULL; + tmp->notes_set = 0; + tmp->notes_length = 0; + tmp->notes_num_allocated = 0; + } + tmp->large_number_set = 0; + if (tmp->other_numbers_set == 1) { + free(tmp->other_numbers_data); + tmp->other_numbers_data = NULL; + tmp->other_numbers_set = 0; + tmp->other_numbers_length = 0; + tmp->other_numbers_num_allocated = 0; + } +} + +void +run_free(struct run *tmp) +{ + if (tmp->how_data != NULL) + free (tmp->how_data); + if (tmp->some_bytes_data != NULL) + free(tmp->some_bytes_data); + if (tmp->notes_set == 1) { + int i; + for (i = 0; i < tmp->notes_length; ++i) { + if (tmp->notes_data[i] != NULL) free(tmp->notes_data[i]); + } + free(tmp->notes_data); + tmp->notes_data = NULL; + tmp->notes_set = 0; + tmp->notes_length = 0; + tmp->notes_num_allocated = 0; + } + free(tmp->notes_data); + if (tmp->other_numbers_set == 1) { + free(tmp->other_numbers_data); + tmp->other_numbers_data = NULL; + tmp->other_numbers_set = 0; + tmp->other_numbers_length = 0; + tmp->other_numbers_num_allocated = 0; + } + free(tmp->other_numbers_data); + free(tmp); +} + +void +run_marshal(struct evbuffer *evbuf, const struct run *tmp){ + evtag_marshal_string(evbuf, RUN_HOW, tmp->how_data); + if (tmp->some_bytes_set) { + evtag_marshal(evbuf, RUN_SOME_BYTES, tmp->some_bytes_data, tmp->some_bytes_length); + } + evtag_marshal(evbuf, RUN_FIXED_BYTES, tmp->fixed_bytes_data, (24)); + if (tmp->notes_set) { + { + int i; + for (i = 0; i < tmp->notes_length; ++i) { + evtag_marshal_string(evbuf, RUN_NOTES, tmp->notes_data[i]); + } + } + } + if (tmp->large_number_set) { + evtag_marshal_int64(evbuf, RUN_LARGE_NUMBER, tmp->large_number_data); + } + if (tmp->other_numbers_set) { + { + int i; + for (i = 0; i < tmp->other_numbers_length; ++i) { + evtag_marshal_int(evbuf, RUN_OTHER_NUMBERS, tmp->other_numbers_data[i]); + } + } + } +} + +int +run_unmarshal(struct run *tmp, struct evbuffer *evbuf) +{ + ev_uint32_t tag; + while (evbuffer_get_length(evbuf) > 0) { + if (evtag_peek(evbuf, &tag) == -1) + return (-1); + switch (tag) { + + case RUN_HOW: + + if (tmp->how_set) + return (-1); + if (evtag_unmarshal_string(evbuf, RUN_HOW, &tmp->how_data) == -1) { + event_warnx("%s: failed to unmarshal how", __func__); + return (-1); + } + tmp->how_set = 1; + break; + + case RUN_SOME_BYTES: + + if (tmp->some_bytes_set) + return (-1); + if (evtag_payload_length(evbuf, &tmp->some_bytes_length) == -1) + return (-1); + if (tmp->some_bytes_length > evbuffer_get_length(evbuf)) + return (-1); + if ((tmp->some_bytes_data = malloc(tmp->some_bytes_length)) == NULL) + return (-1); + if (evtag_unmarshal_fixed(evbuf, RUN_SOME_BYTES, tmp->some_bytes_data, tmp->some_bytes_length) == -1) { + event_warnx("%s: failed to unmarshal some_bytes", __func__); + return (-1); + } + tmp->some_bytes_set = 1; + break; + + case RUN_FIXED_BYTES: + + if (tmp->fixed_bytes_set) + return (-1); + if (evtag_unmarshal_fixed(evbuf, RUN_FIXED_BYTES, tmp->fixed_bytes_data, (24)) == -1) { + event_warnx("%s: failed to unmarshal fixed_bytes", __func__); + return (-1); + } + tmp->fixed_bytes_set = 1; + break; + + case RUN_NOTES: + + if (tmp->notes_length >= tmp->notes_num_allocated && + run_notes_expand_to_hold_more(tmp) < 0) { + puts("HEY NOW"); + return (-1); + } + if (evtag_unmarshal_string(evbuf, RUN_NOTES, &tmp->notes_data[tmp->notes_length]) == -1) { + event_warnx("%s: failed to unmarshal notes", __func__); + return (-1); + } + ++tmp->notes_length; + tmp->notes_set = 1; + break; + + case RUN_LARGE_NUMBER: + + if (tmp->large_number_set) + return (-1); + if (evtag_unmarshal_int64(evbuf, RUN_LARGE_NUMBER, &tmp->large_number_data) == -1) { + event_warnx("%s: failed to unmarshal large_number", __func__); + return (-1); + } + tmp->large_number_set = 1; + break; + + case RUN_OTHER_NUMBERS: + + if (tmp->other_numbers_length >= tmp->other_numbers_num_allocated && + run_other_numbers_expand_to_hold_more(tmp) < 0) { + puts("HEY NOW"); + return (-1); + } + if (evtag_unmarshal_int(evbuf, RUN_OTHER_NUMBERS, &tmp->other_numbers_data[tmp->other_numbers_length]) == -1) { + event_warnx("%s: failed to unmarshal other_numbers", __func__); + return (-1); + } + ++tmp->other_numbers_length; + tmp->other_numbers_set = 1; + break; + + default: + return -1; + } + } + + if (run_complete(tmp) == -1) + return (-1); + return (0); +} + +int +run_complete(struct run *msg) +{ + if (!msg->how_set) + return (-1); + if (!msg->fixed_bytes_set) + return (-1); + return (0); +} + +int +evtag_unmarshal_run(struct evbuffer *evbuf, ev_uint32_t need_tag, struct run *msg) +{ + ev_uint32_t tag; + int res = -1; + + struct evbuffer *tmp = evbuffer_new(); + + if (evtag_unmarshal(evbuf, &tag, tmp) == -1 || tag != need_tag) + goto error; + + if (run_unmarshal(msg, tmp) == -1) + goto error; + + res = 0; + + error: + evbuffer_free(tmp); + return (res); +} + +void +evtag_marshal_run(struct evbuffer *evbuf, ev_uint32_t tag, const struct run *msg) +{ + struct evbuffer *buf_ = evbuffer_new(); + assert(buf_ != NULL); + run_marshal(buf_, msg); + evtag_marshal_buffer(evbuf, tag, buf_); + evbuffer_free(buf_); +} + diff --git a/contrib/ntp/sntp/libevent/test/regress.gen.h b/contrib/ntp/sntp/libevent/test/regress.gen.h index 7130984dbc75..3546f621891f 100644 --- a/contrib/ntp/sntp/libevent/test/regress.gen.h +++ b/contrib/ntp/sntp/libevent/test/regress.gen.h @@ -1 +1,207 @@ -#define NO_PYTHON_EXISTS +/* + * Automatically generated from ../../../sntp/libevent/test/regress.rpc + */ + +#ifndef EVENT_RPCOUT__________SNTP_LIBEVENT_TEST_REGRESS_RPC_ +#define EVENT_RPCOUT__________SNTP_LIBEVENT_TEST_REGRESS_RPC_ + +#include /* for ev_uint*_t */ +#include + +struct msg; +struct kill; +struct run; + +/* Tag definition for msg */ +enum msg_ { + MSG_FROM_NAME=1, + MSG_TO_NAME=2, + MSG_ATTACK=3, + MSG_RUN=4, + MSG_MAX_TAGS +}; + +/* Structure declaration for msg */ +struct msg_access_ { + int (*from_name_assign)(struct msg *, const char *); + int (*from_name_get)(struct msg *, char * *); + int (*to_name_assign)(struct msg *, const char *); + int (*to_name_get)(struct msg *, char * *); + int (*attack_assign)(struct msg *, const struct kill*); + int (*attack_get)(struct msg *, struct kill* *); + int (*run_assign)(struct msg *, int, const struct run*); + int (*run_get)(struct msg *, int, struct run* *); + struct run* (*run_add)(struct msg *msg); +}; + +struct msg { + struct msg_access_ *base; + + char *from_name_data; + char *to_name_data; + struct kill* attack_data; + struct run* *run_data; + int run_length; + int run_num_allocated; + + ev_uint8_t from_name_set; + ev_uint8_t to_name_set; + ev_uint8_t attack_set; + ev_uint8_t run_set; +}; + +struct msg *msg_new(void); +struct msg *msg_new_with_arg(void *); +void msg_free(struct msg *); +void msg_clear(struct msg *); +void msg_marshal(struct evbuffer *, const struct msg *); +int msg_unmarshal(struct msg *, struct evbuffer *); +int msg_complete(struct msg *); +void evtag_marshal_msg(struct evbuffer *, ev_uint32_t, + const struct msg *); +int evtag_unmarshal_msg(struct evbuffer *, ev_uint32_t, + struct msg *); +int msg_from_name_assign(struct msg *, const char *); +int msg_from_name_get(struct msg *, char * *); +int msg_to_name_assign(struct msg *, const char *); +int msg_to_name_get(struct msg *, char * *); +int msg_attack_assign(struct msg *, const struct kill*); +int msg_attack_get(struct msg *, struct kill* *); +int msg_run_assign(struct msg *, int, const struct run*); +int msg_run_get(struct msg *, int, struct run* *); +struct run* msg_run_add(struct msg *msg); +/* --- msg done --- */ + +/* Tag definition for kill */ +enum kill_ { + KILL_WEAPON=65825, + KILL_ACTION=2, + KILL_HOW_OFTEN=3, + KILL_MAX_TAGS +}; + +/* Structure declaration for kill */ +struct kill_access_ { + int (*weapon_assign)(struct kill *, const char *); + int (*weapon_get)(struct kill *, char * *); + int (*action_assign)(struct kill *, const char *); + int (*action_get)(struct kill *, char * *); + int (*how_often_assign)(struct kill *, int, const ev_uint32_t); + int (*how_often_get)(struct kill *, int, ev_uint32_t *); + ev_uint32_t * (*how_often_add)(struct kill *msg, const ev_uint32_t value); +}; + +struct kill { + struct kill_access_ *base; + + char *weapon_data; + char *action_data; + ev_uint32_t *how_often_data; + int how_often_length; + int how_often_num_allocated; + + ev_uint8_t weapon_set; + ev_uint8_t action_set; + ev_uint8_t how_often_set; +}; + +struct kill *kill_new(void); +struct kill *kill_new_with_arg(void *); +void kill_free(struct kill *); +void kill_clear(struct kill *); +void kill_marshal(struct evbuffer *, const struct kill *); +int kill_unmarshal(struct kill *, struct evbuffer *); +int kill_complete(struct kill *); +void evtag_marshal_kill(struct evbuffer *, ev_uint32_t, + const struct kill *); +int evtag_unmarshal_kill(struct evbuffer *, ev_uint32_t, + struct kill *); +int kill_weapon_assign(struct kill *, const char *); +int kill_weapon_get(struct kill *, char * *); +int kill_action_assign(struct kill *, const char *); +int kill_action_get(struct kill *, char * *); +int kill_how_often_assign(struct kill *, int, const ev_uint32_t); +int kill_how_often_get(struct kill *, int, ev_uint32_t *); +ev_uint32_t * kill_how_often_add(struct kill *msg, const ev_uint32_t value); +/* --- kill done --- */ + +/* Tag definition for run */ +enum run_ { + RUN_HOW=1, + RUN_SOME_BYTES=2, + RUN_FIXED_BYTES=3, + RUN_NOTES=4, + RUN_LARGE_NUMBER=5, + RUN_OTHER_NUMBERS=6, + RUN_MAX_TAGS +}; + +/* Structure declaration for run */ +struct run_access_ { + int (*how_assign)(struct run *, const char *); + int (*how_get)(struct run *, char * *); + int (*some_bytes_assign)(struct run *, const ev_uint8_t *, ev_uint32_t); + int (*some_bytes_get)(struct run *, ev_uint8_t * *, ev_uint32_t *); + int (*fixed_bytes_assign)(struct run *, const ev_uint8_t *); + int (*fixed_bytes_get)(struct run *, ev_uint8_t **); + int (*notes_assign)(struct run *, int, const char *); + int (*notes_get)(struct run *, int, char * *); + char * * (*notes_add)(struct run *msg, const char * value); + int (*large_number_assign)(struct run *, const ev_uint64_t); + int (*large_number_get)(struct run *, ev_uint64_t *); + int (*other_numbers_assign)(struct run *, int, const ev_uint32_t); + int (*other_numbers_get)(struct run *, int, ev_uint32_t *); + ev_uint32_t * (*other_numbers_add)(struct run *msg, const ev_uint32_t value); +}; + +struct run { + struct run_access_ *base; + + char *how_data; + ev_uint8_t *some_bytes_data; + ev_uint32_t some_bytes_length; + ev_uint8_t fixed_bytes_data[24]; + char * *notes_data; + int notes_length; + int notes_num_allocated; + ev_uint64_t large_number_data; + ev_uint32_t *other_numbers_data; + int other_numbers_length; + int other_numbers_num_allocated; + + ev_uint8_t how_set; + ev_uint8_t some_bytes_set; + ev_uint8_t fixed_bytes_set; + ev_uint8_t notes_set; + ev_uint8_t large_number_set; + ev_uint8_t other_numbers_set; +}; + +struct run *run_new(void); +struct run *run_new_with_arg(void *); +void run_free(struct run *); +void run_clear(struct run *); +void run_marshal(struct evbuffer *, const struct run *); +int run_unmarshal(struct run *, struct evbuffer *); +int run_complete(struct run *); +void evtag_marshal_run(struct evbuffer *, ev_uint32_t, + const struct run *); +int evtag_unmarshal_run(struct evbuffer *, ev_uint32_t, + struct run *); +int run_how_assign(struct run *, const char *); +int run_how_get(struct run *, char * *); +int run_some_bytes_assign(struct run *, const ev_uint8_t *, ev_uint32_t); +int run_some_bytes_get(struct run *, ev_uint8_t * *, ev_uint32_t *); +int run_fixed_bytes_assign(struct run *, const ev_uint8_t *); +int run_fixed_bytes_get(struct run *, ev_uint8_t **); +int run_notes_assign(struct run *, int, const char *); +int run_notes_get(struct run *, int, char * *); +char * * run_notes_add(struct run *msg, const char * value); +int run_large_number_assign(struct run *, const ev_uint64_t); +int run_large_number_get(struct run *, ev_uint64_t *); +int run_other_numbers_assign(struct run *, int, const ev_uint32_t); +int run_other_numbers_get(struct run *, int, ev_uint32_t *); +ev_uint32_t * run_other_numbers_add(struct run *msg, const ev_uint32_t value); +/* --- run done --- */ + +#endif /* EVENT_RPCOUT__________SNTP_LIBEVENT_TEST_REGRESS_RPC_ */ diff --git a/contrib/ntp/sntp/libopts/Makefile.in b/contrib/ntp/sntp/libopts/Makefile.in index 8550a37d04c7..f7b7d4e14714 100644 --- a/contrib/ntp/sntp/libopts/Makefile.in +++ b/contrib/ntp/sntp/libopts/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/contrib/ntp/sntp/libopts/autoopts/options.h b/contrib/ntp/sntp/libopts/autoopts/options.h index f92cd0efafde..09aac10bce73 100644 --- a/contrib/ntp/sntp/libopts/autoopts/options.h +++ b/contrib/ntp/sntp/libopts/autoopts/options.h @@ -109,7 +109,7 @@ * @{ */ /// autoopts structure version -#define OPTIONS_STRUCT_VERSION 167936 +#define OPTIONS_STRUCT_VERSION 167937 /// autoopts structure version string #define OPTIONS_VERSION_STRING "41:0:16" /// minimum version the autoopts library supports diff --git a/contrib/ntp/sntp/libopts/genshell.h b/contrib/ntp/sntp/libopts/genshell.h index 1c1873574140..44825567bc7f 100644 --- a/contrib/ntp/sntp/libopts/genshell.h +++ b/contrib/ntp/sntp/libopts/genshell.h @@ -55,7 +55,7 @@ * tolerable version is at least as old as what was current when the header * template was released. */ -#define AO_TEMPLATE_VERSION 167936 +#define AO_TEMPLATE_VERSION 167937 #if (AO_TEMPLATE_VERSION < OPTIONS_MINIMUM_VERSION) \ || (AO_TEMPLATE_VERSION > OPTIONS_STRUCT_VERSION) # error option template version mismatches autoopts/options.h header diff --git a/contrib/ntp/sntp/m4/ntp_libntp.m4 b/contrib/ntp/sntp/m4/ntp_libntp.m4 index 7aacde7633f2..21d0cff82c07 100644 --- a/contrib/ntp/sntp/m4/ntp_libntp.m4 +++ b/contrib/ntp/sntp/m4/ntp_libntp.m4 @@ -689,6 +689,9 @@ case "$ntp_have_solarisprivs" in yes) AC_DEFINE([HAVE_SOLARIS_PRIVS], [1], [Are Solaris privileges available?]) + ;; + '') ntp_have_solarisprivs="no" + ;; esac AC_MSG_RESULT([$ntp_have_solarisprivs]) @@ -710,6 +713,9 @@ case "$ntp_use_trustedbsd_mac$ac_cv_header_sys_mac_h" in yesyes) AC_DEFINE([HAVE_TRUSTEDBSD_MAC], [1], [Are TrustedBSD MAC policy privileges available?]) + ;; + *) ntp_use_trustedbsd_mac="no"; + ;; esac AC_MSG_RESULT([$ntp_use_trustedbsd_mac]) @@ -883,6 +889,14 @@ AC_CHECK_HEADERS( AC_SEARCH_LIBS([MD5Init], [md5 md]) AC_CHECK_FUNCS([MD5Init sysconf getdtablesize sigaction sigset sigvec]) +# HMS: does this need to be a cached variable? +AC_ARG_ENABLE( + [signalled-io], + [AS_HELP_STRING([--enable-signalled-io], [s Use signalled IO if we can])], + [use_signalled_io=$enableval], + [use_signalled_io=yes] + ) + AC_CACHE_CHECK( [for SIGIO], [ntp_cv_hdr_def_sigio], @@ -946,12 +960,23 @@ case "$ntp_cv_hdr_def_sigio" in ans=no ;; esac + case "$ans" in + no) + ans="Possible for $host but disabled because of reported problems" + ;; + esac ;; esac case "$ans" in yes) - AC_DEFINE([HAVE_SIGNALED_IO], [1], - [Can we use SIGIO for tcp and udp IO?]) + case "$use_signalled_io" in + yes) + AC_DEFINE([HAVE_SIGNALED_IO], [1], + [Can we use SIGIO for tcp and udp IO?]) + ;; + *) ans="Allowed for $host but --disable-signalled-io was given" + ;; + esac esac AC_MSG_RESULT([$ans]) diff --git a/contrib/ntp/sntp/m4/version.m4 b/contrib/ntp/sntp/m4/version.m4 index 79b5b7c5fb6e..48b635c16e71 100644 --- a/contrib/ntp/sntp/m4/version.m4 +++ b/contrib/ntp/sntp/m4/version.m4 @@ -1 +1 @@ -m4_define([VERSION_NUMBER],[4.2.8p12]) +m4_define([VERSION_NUMBER],[4.2.8p13]) diff --git a/contrib/ntp/sntp/main.c b/contrib/ntp/sntp/main.c index f0a7650ac718..204d6a8de328 100644 --- a/contrib/ntp/sntp/main.c +++ b/contrib/ntp/sntp/main.c @@ -1609,9 +1609,8 @@ gettimeofday_cached( } /* Dummy function to satisfy libntp/work_fork.c */ -int -set_user_group_ids( - ) +extern int set_user_group_ids(void); +int set_user_group_ids(void) { return 1; } diff --git a/contrib/ntp/sntp/networking.c b/contrib/ntp/sntp/networking.c index ecac15c262a5..040395e175b2 100644 --- a/contrib/ntp/sntp/networking.c +++ b/contrib/ntp/sntp/networking.c @@ -78,7 +78,8 @@ skip_efields( u_int nlen; /* next extension length */ while ((tail - head) > 6) { - nlen = ntohl(*head++) & 0xffff; + nlen = ntohl(*head) & 0xffff; + ++head; nlen = (nlen + 3) >> 2; if (nlen > (u_int)(tail - head) || nlen < 4) return NULL; /* Blooper! Inconsistent! */ diff --git a/contrib/ntp/sntp/scm-rev b/contrib/ntp/sntp/scm-rev index fe53b4fe5a4d..4410181884b6 100644 --- a/contrib/ntp/sntp/scm-rev +++ b/contrib/ntp/sntp/scm-rev @@ -1 +1 @@ -1.3728 +1.3847 diff --git a/contrib/ntp/sntp/scripts/Makefile.in b/contrib/ntp/sntp/scripts/Makefile.in index 0c44543a2eea..2e8e3df44911 100644 --- a/contrib/ntp/sntp/scripts/Makefile.in +++ b/contrib/ntp/sntp/scripts/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/contrib/ntp/sntp/sntp-opts.c b/contrib/ntp/sntp/sntp-opts.c index 3995921427c2..9f6ee3268aed 100644 --- a/contrib/ntp/sntp/sntp-opts.c +++ b/contrib/ntp/sntp/sntp-opts.c @@ -1,11 +1,11 @@ /* * EDIT THIS FILE WITH CAUTION (sntp-opts.c) * - * It has been AutoGen-ed August 14, 2018 at 08:01:13 AM by AutoGen 5.18.5 + * It has been AutoGen-ed February 20, 2019 at 09:55:45 AM by AutoGen 5.18.5 * From the definitions sntp-opts.def * and the template file options * - * Generated from AutoOpts 41:0:16 templates. + * Generated from AutoOpts 41:1:16 templates. * * AutoOpts is a copyrighted work. This source file is not encumbered * by AutoOpts licensing, but is provided under the licensing terms chosen @@ -70,7 +70,7 @@ extern FILE * option_usage_fp; * static const strings for sntp options */ static char const sntp_opt_strs[2566] = -/* 0 */ "sntp 4.2.8p12\n" +/* 0 */ "sntp 4.2.8p13\n" "Copyright (C) 1992-2017 The University of Delaware and Network Time Foundation, all rights reserved.\n" "This is free software. It is licensed for use, modification and\n" "redistribution under the terms of the NTP License, copies of which\n" @@ -156,7 +156,7 @@ static char const sntp_opt_strs[2566] = /* 2313 */ "LOAD_OPTS\0" /* 2323 */ "no-load-opts\0" /* 2336 */ "SNTP\0" -/* 2341 */ "sntp - standard Simple Network Time Protocol client program - Ver. 4.2.8p12\n" +/* 2341 */ "sntp - standard Simple Network Time Protocol client program - Ver. 4.2.8p13\n" "Usage: %s [ - [] | --[{=| }] ]... \\\n" "\t\t[ hostname-or-IP ...]\n\0" /* 2501 */ "$HOME\0" @@ -164,7 +164,7 @@ static char const sntp_opt_strs[2566] = /* 2509 */ ".ntprc\0" /* 2516 */ "http://bugs.ntp.org, bugs@ntp.org\0" /* 2550 */ "\n\0" -/* 2552 */ "sntp 4.2.8p12"; +/* 2552 */ "sntp 4.2.8p13"; /** * ipv4 option description with @@ -1176,7 +1176,7 @@ static void bogus_function(void) { translate option names. */ /* referenced via sntpOptions.pzCopyright */ - puts(_("sntp 4.2.8p12\n\ + puts(_("sntp 4.2.8p13\n\ Copyright (C) 1992-2017 The University of Delaware and Network Time Foundation, all rights reserved.\n\ This is free software. It is licensed for use, modification and\n\ redistribution under the terms of the NTP License, copies of which\n\ @@ -1266,7 +1266,7 @@ implied warranty.\n")); puts(_("load options from a config file")); /* referenced via sntpOptions.pzUsageTitle */ - puts(_("sntp - standard Simple Network Time Protocol client program - Ver. 4.2.8p12\n\ + puts(_("sntp - standard Simple Network Time Protocol client program - Ver. 4.2.8p13\n\ Usage: %s [ - [] | --[{=| }] ]... \\\n\ \t\t[ hostname-or-IP ...]\n")); @@ -1274,7 +1274,7 @@ Usage: %s [ - [] | --[{=| }] ]... \\\n\ puts(_("\n")); /* referenced via sntpOptions.pzFullVersion */ - puts(_("sntp 4.2.8p12")); + puts(_("sntp 4.2.8p13")); /* referenced via sntpOptions.pzFullUsage */ puts(_("<<>>")); diff --git a/contrib/ntp/sntp/sntp-opts.h b/contrib/ntp/sntp/sntp-opts.h index aa0019ebbfde..cf17a27c938f 100644 --- a/contrib/ntp/sntp/sntp-opts.h +++ b/contrib/ntp/sntp/sntp-opts.h @@ -1,11 +1,11 @@ /* * EDIT THIS FILE WITH CAUTION (sntp-opts.h) * - * It has been AutoGen-ed August 14, 2018 at 08:01:13 AM by AutoGen 5.18.5 + * It has been AutoGen-ed February 20, 2019 at 09:55:45 AM by AutoGen 5.18.5 * From the definitions sntp-opts.def * and the template file options * - * Generated from AutoOpts 41:0:16 templates. + * Generated from AutoOpts 41:1:16 templates. * * AutoOpts is a copyrighted work. This header file is not encumbered * by AutoOpts licensing, but is provided under the licensing terms chosen @@ -53,7 +53,7 @@ * tolerable version is at least as old as what was current when the header * template was released. */ -#define AO_TEMPLATE_VERSION 167936 +#define AO_TEMPLATE_VERSION 167937 #if (AO_TEMPLATE_VERSION < OPTIONS_MINIMUM_VERSION) \ || (AO_TEMPLATE_VERSION > OPTIONS_STRUCT_VERSION) # error option template version mismatches autoopts/options.h header @@ -91,9 +91,9 @@ typedef enum { /** count of all options for sntp */ #define OPTION_CT 23 /** sntp version */ -#define SNTP_VERSION "4.2.8p12" +#define SNTP_VERSION "4.2.8p13" /** Full sntp version text */ -#define SNTP_FULL_VERSION "sntp 4.2.8p12" +#define SNTP_FULL_VERSION "sntp 4.2.8p13" /** * Interface defines for all options. Replace "n" with the UPPER_CASED diff --git a/contrib/ntp/sntp/sntp.1sntpman b/contrib/ntp/sntp/sntp.1sntpman index 7bf038c3ef67..732b0b427f1a 100644 --- a/contrib/ntp/sntp/sntp.1sntpman +++ b/contrib/ntp/sntp/sntp.1sntpman @@ -10,11 +10,11 @@ .ds B-Font B .ds I-Font I .ds R-Font R -.TH sntp 1sntpman "14 Aug 2018" "4.2.8p12" "User Commands" +.TH sntp 1sntpman "20 Feb 2019" "4.2.8p13" "User Commands" .\" -.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-7ray4x/ag-hsaq3x) +.\" EDIT THIS FILE WITH CAUTION (in-mem file) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:27:33 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:55:51 AM by AutoGen 5.18.5 .\" From the definitions sntp-opts.def .\" and the template file agman-cmd.tpl .SH NAME diff --git a/contrib/ntp/sntp/sntp.1sntpmdoc b/contrib/ntp/sntp/sntp.1sntpmdoc index a4425c1192c2..36f527092427 100644 --- a/contrib/ntp/sntp/sntp.1sntpmdoc +++ b/contrib/ntp/sntp/sntp.1sntpmdoc @@ -1,9 +1,9 @@ -.Dd August 14 2018 +.Dd February 20 2019 .Dt SNTP 1sntpmdoc User Commands .Os .\" EDIT THIS FILE WITH CAUTION (sntp-opts.mdoc) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:27:40 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:55:48 AM by AutoGen 5.18.5 .\" From the definitions sntp-opts.def .\" and the template file agmdoc-cmd.tpl .Sh NAME diff --git a/contrib/ntp/sntp/sntp.html b/contrib/ntp/sntp/sntp.html index fe1af50dbf03..884553b04322 100644 --- a/contrib/ntp/sntp/sntp.html +++ b/contrib/ntp/sntp/sntp.html @@ -1,182 +1,249 @@ - + + + -Sntp User's Manual - - - - - - - + +Sntp User’s Manual + + + + + + + + + + + - -

    Sntp User's Manual

    -
    -


    -Next: , -Previous: (dir), -Up: (dir) -
    + + +

    Sntp User’s Manual

    + + + + + + +
    +

    +Next: , Previous: , Up: (dir)  

    + +

    Simple Network Time Protocol User Manual

    -

    Simple Network Time Protocol User Manual

    - -

    This document describes the use of the NTP Project's sntp program, +

    This document describes the use of the NTP Project’s sntp program, that can be used to query a Network Time Protocol (NTP) server and display the time offset of the system clock relative to the server clock. Run as root, it can correct the system clock to this offset as well. It can be run as an interactive command or from a cron job. - -

    This document applies to version 4.2.8p12 of sntp. - -

    The program implements the SNTP protocol as defined by RFC 5905, the NTPv4 +

    +

    This document applies to version 4.2.8p13 of sntp. +

    +

    The program implements the SNTP protocol as defined by RFC 5905, the NTPv4 IETF specification. +

    + +

    Short Table of Contents

    -
    -

    Short Contents

    -
      -Simple Network Time Protocol User Manual + - -
      -


      + + + + + + +
      -
      +
      +

      +Next: , Up: Top  

      - - -

      Description

      + +

      1 Description

      By default, sntp writes the local data and time (i.e., not UTC) to the standard output in the format: +

      +
      +
      1996-10-15 20:17:25.123 (+0800) +4.567 +/- 0.089 secs
      +
      -
           1996-10-15 20:17:25.123 (+0800) +4.567 +/- 0.089 secs
      -
      -

      where +

      where YYYY-MM-DD HH:MM:SS.SUBSEC is the local date and time, (+0800) is the local timezone adjustment (so we would add 8 hours and 0 minutes to convert the reported local time to UTC), and the +4.567 +/- 0.089 secs indicates the time offset and error bound of the system clock relative to the server clock. +

      + + + + -
      -


      +
      -
      +
      +

      +Next: , Previous: , Up: sntp Description  

      + +

      1.1 Invoking sntp

      + + -

      Invoking sntp

      -

      -

      sntp +

      sntp can be used as an SNTP client to query a NTP or SNTP server and either display -the time or set the local system's time (given suitable privilege). It can be +the time or set the local system’s time (given suitable privilege). It can be run as an interactive command or from a cron job. - -

      NTP (the Network Time Protocol) and SNTP (the Simple Network Time Protocol) +

      +

      NTP (the Network Time Protocol) and SNTP (the Simple Network Time Protocol) are defined and described by RFC 5905. +

      -

      The default is to write the estimated correct local date and time (i.e. not +

      The default is to write the estimated correct local date and time (i.e. not UTC) to the standard output in a format like: - -

      '1996-10-15 20:17:25.123 (+0800) +4.567 +/- 0.089 [host] IP sN' - -

      where the +

      +

      '1996-10-15 20:17:25.123 (+0800) +4.567 +/- 0.089 [host] IP sN' +

      +

      where the '(+0800)' means that to get to UTC from the reported local time one must add 8 hours and 0 minutes, the '+4.567' indicates the local clock is 4.567 seconds behind the correct time -(so 4.567 seconds must be added to the local clock to get it to be correct). +(so 4.567 seconds must be added to the local clock to get it to be correct). Note that the number of decimals printed for this value will change -based on the reported precision of the server. +based on the reported precision of the server. '+/- 0.089' is the reported synchronization distance -(in seconds), which represents the maximum error due to all causes. +(in seconds), which represents the maximum error due to all causes. If the server does not report valid data needed to calculate the synchronization distance, this will be reported as -'+/- ?'. +'+/- ?'. If the host is different from the IP, -both will be displayed. -Otherwise, only the +both will be displayed. +Otherwise, only the IP -is displayed. +is displayed. Finally, the stratum of the host is reported and the leap indicator is decoded and displayed. - -

      This section was generated by AutoGen, -using the agtexi-cmd template and the option descriptions for the sntp program. +

      +

      This section was generated by AutoGen, +using the agtexi-cmd template and the option descriptions for the sntp program. This software is released under the NTP license, <http://ntp.org/license>. +

      + + + + + + + + + + + + + + + + + + + + + - - -
      -


      -Next: , -Up: sntp Invocation -
      +
      + +
      +

      +Next: , Up: sntp Invocation  

      + +

      1.1.1 sntp help/usage (--help)

      + -

      sntp help/usage (--help)

      - -

      -This is the automatically generated usage text for sntp. - -

      The text printed is the same whether selected with the help option -(--help) or the more-help option (--more-help). more-help will print -the usage text by passing it through a pager program. +

      This is the automatically generated usage text for sntp. +

      +

      The text printed is the same whether selected with the help option +(--help) or the more-help option (--more-help). more-help will print +the usage text by passing it through a pager program. more-help is disabled on platforms without a working fork(2) function. The PAGER environment variable is -used to select the program, defaulting to more. Both will exit +used to select the program, defaulting to more. Both will exit with a status code of 0. - -

      sntp - standard Simple Network Time Protocol client program - Ver. 4.2.8p12
      +

      +
      +
      sntp - standard Simple Network Time Protocol client program - Ver. 4.2.8p13
       Usage:  sntp [ -<flag> [<val>] | --<name>[{=| }<val>] ]... \
                       [ hostname-or-IP ...]
         Flg Arg Option-Name    Description
      @@ -228,397 +295,408 @@ The following option preset mechanisms are supported:
        - examining environment variables named SNTP_*
       
       Please send bug reports to:  <http://bugs.ntp.org, bugs@ntp.org>
      -
      -
      -


      -Next: , -Previous: sntp usage, -Up: sntp Invocation -
      +
      + +
      + +
      +

      +Next: , Previous: , Up: sntp Invocation  

      + +

      1.1.2 ipv4 option (-4)

      + -

      ipv4 option (-4)

      +

      This is the “force ipv4 dns name resolution” option. +

      +

      This option has some usage constraints. It: +

        +
      • must not appear in combination with any of the following options: +ipv6. +
      -

      -This is the “force ipv4 dns name resolution” option. - -

      This option has some usage constraints. It: -

        -
      • must not appear in combination with any of the following options: -ipv6. -
      - -

      Force DNS resolution of the following host names on the command line -to the IPv4 namespace. -

      -


      -Next: , -Previous: sntp ipv4, -Up: sntp Invocation -
      +

      Force DNS resolution of the following host names on the command line +to the IPv4 namespace. +


      + +
      +

      +Next: , Previous: , Up: sntp Invocation  

      + +

      1.1.3 ipv6 option (-6)

      + -

      ipv6 option (-6)

      +

      This is the “force ipv6 dns name resolution” option. +

      +

      This option has some usage constraints. It: +

        +
      • must not appear in combination with any of the following options: +ipv4. +
      -

      -This is the “force ipv6 dns name resolution” option. - -

      This option has some usage constraints. It: -

        -
      • must not appear in combination with any of the following options: -ipv4. -
      - -

      Force DNS resolution of the following host names on the command line -to the IPv6 namespace. -

      -


      -Next: , -Previous: sntp ipv6, -Up: sntp Invocation -
      +

      Force DNS resolution of the following host names on the command line +to the IPv6 namespace. +


      + +
      +

      +Next: , Previous: , Up: sntp Invocation  

      + +

      1.1.4 authentication option (-a)

      + -

      authentication option (-a)

      - -

      -This is the “enable authentication with the key auth-keynumber” option. -This option takes a number argument auth-keynumber. -Enable authentication using the key specified in this option's -argument. The argument of this option is the keyid, a -number specified in the keyfile as this key's identifier. -See the keyfile option (-k) for more details. -

      -


      -Next: , -Previous: sntp authentication, -Up: sntp Invocation -
      +

      This is the “enable authentication with the key auth-keynumber” option. +This option takes a number argument auth-keynumber. +Enable authentication using the key specified in this option’s +argument. The argument of this option is the keyid, a +number specified in the keyfile as this key’s identifier. +See the keyfile option (-k) for more details. +


      + + + +

      1.1.5 broadcast option (-b)

      + -

      broadcast option (-b)

      +

      This is the “listen to the address specified for broadcast time sync” option. +This option takes a string argument broadcast-address. +

      +

      This option has some usage constraints. It: +

        +
      • may appear an unlimited number of times. +
      -

      -This is the “listen to the address specified for broadcast time sync” option. -This option takes a string argument broadcast-address. - -

      This option has some usage constraints. It: -

        -
      • may appear an unlimited number of times. -
      - -

      If specified sntp will listen to the specified address +

      If specified sntp will listen to the specified address for NTP broadcasts. The default maximum wait time -can (and probably should) be modified with -t. -

      -


      -Next: , -Previous: sntp broadcast, -Up: sntp Invocation -
      +can (and probably should) be modified with -t. +


      + +
      +

      +Next: , Previous: , Up: sntp Invocation  

      + +

      1.1.6 concurrent option (-c)

      + -

      concurrent option (-c)

      +

      This is the “concurrently query all ips returned for host-name” option. +This option takes a string argument host-name. +

      +

      This option has some usage constraints. It: +

        +
      • may appear an unlimited number of times. +
      -

      -This is the “concurrently query all ips returned for host-name” option. -This option takes a string argument host-name. - -

      This option has some usage constraints. It: -

        -
      • may appear an unlimited number of times. -
      - -

      Requests from an NTP "client" to a "server" should never be sent +

      Requests from an NTP "client" to a "server" should never be sent more rapidly than one every 2 seconds. By default, any IPs returned as part of a DNS lookup are assumed to be for a single instance of ntpd, and therefore sntp will send queries to these IPs one after another, with a 2-second gap in between each query. - -

      The -c or --concurrent flag says that any IPs +

      +

      The -c or --concurrent flag says that any IPs returned for the DNS lookup of the supplied host-name are on -different machines, so we can send concurrent queries. -

      -


      -Next: , -Previous: sntp concurrent, -Up: sntp Invocation -
      +different machines, so we can send concurrent queries. +


      + +
      +

      +Next: , Previous: , Up: sntp Invocation  

      + +

      1.1.7 gap option (-g)

      + -

      gap option (-g)

      - -

      -This is the “the gap (in milliseconds) between time requests” option. -This option takes a number argument milliseconds. -Since we're only going to use the first valid response we get and +

      This is the “the gap (in milliseconds) between time requests” option. +This option takes a number argument milliseconds. +Since we’re only going to use the first valid response we get and there is benefit to specifying a good number of servers to query, separate the queries we send out by the specified number of -milliseconds. -

      -


      -Next: , -Previous: sntp gap, -Up: sntp Invocation -
      +milliseconds. +


      + +
      +

      +Next: , Previous: , Up: sntp Invocation  

      + +

      1.1.8 kod option (-K)

      + -

      kod option (-K)

      - -

      -This is the “kod history filename” option. -This option takes a file argument file-name. +

      This is the “kod history filename” option. +This option takes a file argument file-name. Specifies the filename to be used for the persistent history of KoD responses received from servers. If the file does not exist, a -warning message will be displayed. The file will not be created. -

      -


      -Next: , -Previous: sntp kod, -Up: sntp Invocation -
      +warning message will be displayed. The file will not be created. +


      + +
      +

      +Next: , Previous: , Up: sntp Invocation  

      + +

      1.1.9 keyfile option (-k)

      + -

      keyfile option (-k)

      - -

      -This is the “look in this file for the key specified with -a” option. -This option takes a file argument file-name. -This option specifies the keyfile. -sntp will search for the key specified with -a -keyno in this file. See ntp.keys(5) for more -information. -

      -


      -Next: , -Previous: sntp keyfile, -Up: sntp Invocation -
      +

      This is the “look in this file for the key specified with -a” option. +This option takes a file argument file-name. +This option specifies the keyfile. +sntp will search for the key specified with -a +keyno in this file. See ntp.keys(5) for more +information. +


      + +
      +

      +Next: , Previous: , Up: sntp Invocation  

      + +

      1.1.10 logfile option (-l)

      + -

      logfile option (-l)

      - -

      -This is the “log to specified logfile” option. -This option takes a file argument file-name. +

      This is the “log to specified logfile” option. +This option takes a file argument file-name. This option causes the client to write log messages to the specified -logfile. -

      -


      -Next: , -Previous: sntp logfile, -Up: sntp Invocation -
      +logfile. +


      + +
      +

      +Next: , Previous: , Up: sntp Invocation  

      + +

      1.1.11 steplimit option (-M)

      + -

      steplimit option (-M)

      - -

      -This is the “adjustments less than steplimit msec will be slewed” option. -This option takes a number argument. -If the time adjustment is less than steplimit milliseconds, -slew the amount using adjtime(2). Otherwise, step the -correction using settimeofday(2). The default value is 0, +

      This is the “adjustments less than steplimit msec will be slewed” option. +This option takes a number argument. +If the time adjustment is less than steplimit milliseconds, +slew the amount using adjtime(2). Otherwise, step the +correction using settimeofday(2). The default value is 0, which means all adjustments will be stepped. This is a feature, as -different situations demand different values. -

      -


      -Next: , -Previous: sntp steplimit, -Up: sntp Invocation -
      +different situations demand different values. +


      + + + +

      1.1.12 ntpversion option (-o)

      + -

      ntpversion option (-o)

      - -

      -This is the “send int as our ntp protocol version” option. -This option takes a number argument. +

      This is the “send int as our ntp protocol version” option. +This option takes a number argument. When sending requests to a remote server, tell them we are running -NTP protocol version ntpversion . -

      -


      -Next: , -Previous: sntp ntpversion, -Up: sntp Invocation -
      +NTP protocol version ntpversion . +


      + +
      +

      +Next: , Previous: , Up: sntp Invocation  

      + +

      1.1.13 usereservedport option (-r)

      + -

      usereservedport option (-r)

      - -

      -This is the “use the ntp reserved port (port 123)” option. +

      This is the “use the ntp reserved port (port 123)” option. Use port 123, which is reserved for NTP, for our network -communications. -

      -


      -Next: , -Previous: sntp usereservedport, -Up: sntp Invocation -
      +communications. +


      + +
      +

      +Next: , Previous: , Up: sntp Invocation  

      + +

      1.1.14 timeout option (-t)

      + -

      timeout option (-t)

      - -

      -This is the “the number of seconds to wait for responses” option. -This option takes a number argument seconds. +

      This is the “the number of seconds to wait for responses” option. +This option takes a number argument seconds. When waiting for a reply, sntp will wait the number of seconds specified before giving up. The default should be more than enough for a unicast response. If sntp is only waiting for a broadcast response a longer timeout is -likely needed. -

      -


      -Next: , -Previous: sntp timeout, -Up: sntp Invocation -
      +likely needed. +


      + +
      +

      +Next: , Previous: , Up: sntp Invocation  

      + +

      1.1.15 wait option

      + -

      wait option

      +

      This is the “wait for pending replies (if not setting the time)” option. +

      +

      This option has some usage constraints. It: +

        +
      • can be disabled with –no-wait. +
      • It is enabled by default. +
      -

      -This is the “wait for pending replies (if not setting the time)” option. +

      If we are not setting the time, wait for all pending responses. +

      -

      This option has some usage constraints. It: -

        -
      • can be disabled with –no-wait. -
      • It is enabled by default. -
      - -

      If we are not setting the time, wait for all pending responses. - -

      -


      -Next: , -Previous: sntp wait, -Up: sntp Invocation -
      +
      + +
      +

      +Next: , Previous: , Up: sntp Invocation  

      - -

      presetting/configuring sntp

      + +

      1.1.16 presetting/configuring sntp

      Any option that is not marked as not presettable may be preset by -loading values from configuration ("rc" or "ini") files, and values from environment variables named SNTP and SNTP_<OPTION_NAME>. <OPTION_NAME> must be one of -the options listed above in upper case and segmented with underscores. +loading values from configuration ("rc" or "ini") files, and values from environment variables named SNTP and SNTP_<OPTION_NAME>. <OPTION_NAME> must be one of +the options listed above in upper case and segmented with underscores. The SNTP variable will be tokenized and parsed like the command line. The remaining variables are tested for existence and their values are treated like option arguments. +

      -

      libopts will search in 2 places for configuration files: -

        -
      • $HOME -
      • $PWD -
      - The environment variables HOME, and PWD -are expanded and replaced when sntp runs. -For any of these that are plain files, they are simply processed. -For any that are directories, then a file named .ntprc is searched for +

      libopts will search in 2 places for configuration files: +

        +
      • $HOME +
      • $PWD +
      +

      The environment variables HOME, and PWD +are expanded and replaced when sntp runs. +For any of these that are plain files, they are simply processed. +For any that are directories, then a file named .ntprc is searched for within that directory and processed. - -

      Configuration files may be in a wide variety of formats. +

      +

      Configuration files may be in a wide variety of formats. The basic format is an option name followed by a value (argument) on the same line. Values may be separated from the option name with a colon, equal sign or simply white space. Values may be continued across multiple lines by escaping the newline with a backslash. - -

      Multiple programs may also share the same initialization file. +

      +

      Multiple programs may also share the same initialization file. Common options are collected at the top, followed by program specific segments. The segments are separated by lines like: -

          [SNTP]
      -
      -

      or by -

          <?program sntp>
      -
      -

      Do not mix these styles within one configuration file. - -

      Compound values and carefully constructed string values may also be +

      +
      [SNTP]
      +
      +

      or by +

      +
      <?program sntp>
      +
      +

      Do not mix these styles within one configuration file. +

      +

      Compound values and carefully constructed string values may also be specified using XML syntax: -

          <option-name>
      -       <sub-opt>...&lt;...&gt;...</sub-opt>
      -    </option-name>
      -
      -

      yielding an option-name.sub-opt string value of -

          "...<...>..."
      -
      -

      AutoOpts does not track suboptions. You simply note that it is a +

      +
      <option-name>
      +   <sub-opt>...&lt;...&gt;...</sub-opt>
      +</option-name>
      +
      +

      yielding an option-name.sub-opt string value of +

      +
      "...<...>..."
      +
      +

      AutoOpts does not track suboptions. You simply note that it is a hierarchicly valued option. AutoOpts does provide a means for searching the associated name/value pair list (see: optionFindValue). - -

      The command line options relating to configuration and/or usage help are: - -

      version (-)
      +

      +

      The command line options relating to configuration and/or usage help are: +

      + +

      version (-)

      Print the program version to standard out, optionally with licensing information, then exit 0. The optional argument specifies how much licensing -detail to provide. The default is to print just the version. The licensing infomation may be selected with an option argument. +detail to provide. The default is to print just the version. The licensing infomation may be selected with an option argument. Only the first letter of the argument is examined: - -

      -
      version
      Only print the version. This is the default. -
      copyright
      Name the copyright usage licensing terms. -
      verbose
      Print the full copyright usage licensing terms. +

      +
      +
      version
      +

      Only print the version. This is the default. +

      +
      copyright
      +

      Name the copyright usage licensing terms. +

      +
      verbose
      +

      Print the full copyright usage licensing terms. +

      -
      -


      -Next: , -Previous: sntp config, -Up: sntp Invocation -
      +
      + +
      +

      +Next: , Previous: , Up: sntp Invocation  

      - -

      sntp exit status

      + +

      1.1.17 sntp exit status

      One of the following exit values will be returned: -

      -
      0 (EXIT_SUCCESS)
      Successful program execution. -
      1 (EXIT_FAILURE)
      The operation failed or the command syntax was not valid. -
      66 (EX_NOINPUT)
      A specified configuration file could not be loaded. -
      70 (EX_SOFTWARE)
      libopts had an internal operational error. Please report -it to autogen-users@lists.sourceforge.net. Thank you. +

      +
      0 (EXIT_SUCCESS)
      +

      Successful program execution. +

      +
      1 (EXIT_FAILURE)
      +

      The operation failed or the command syntax was not valid. +

      +
      66 (EX_NOINPUT)
      +

      A specified configuration file could not be loaded. +

      +
      70 (EX_SOFTWARE)
      +

      libopts had an internal operational error. Please report +it to autogen-users@lists.sourceforge.net. Thank you. +

      -
      -


      -Next: , -Previous: sntp exit status, -Up: sntp Invocation -
      +
      + +
      +

      +Next: , Previous: , Up: sntp Invocation  

      - -

      sntp Usage

      - -
      -


      -Previous: sntp Usage, -Up: sntp Invocation -
      + +

      1.1.18 sntp Usage

      +
      + +
      +

      +Previous: , Up: sntp Invocation  

      + +

      1.1.19 sntp Authors

      -

      sntp Authors

      - -
      -


      +
      -
      +
      +

      +Previous: , Up: sntp Description  

      - - -

      Usage

      + +

      1.2 Usage

      The simplest use of this program is as an unprivileged command to -check the current time, offset, and error in the local clock. +check the current time, offset, and error in the local clock. For example: +

      +
      +
      sntp ntpserver.somewhere
      +
      -
          sntp ntpserver.somewhere
      -
      -

      With suitable privilege, it can be run as a command or in a +

      With suitable privilege, it can be run as a command or in a crom job to reset the local clock from a reliable server, like -the ntpdate and rdate commands. +the ntpdate and rdate commands. For example: +

      +
      +
      sntp -a ntpserver.somewhere
      +
      +
      -
          sntp -a ntpserver.somewhere
      -
      - + + + diff --git a/contrib/ntp/sntp/sntp.man.in b/contrib/ntp/sntp/sntp.man.in index 41985da7e190..b94a3cdea388 100644 --- a/contrib/ntp/sntp/sntp.man.in +++ b/contrib/ntp/sntp/sntp.man.in @@ -10,11 +10,11 @@ .ds B-Font B .ds I-Font I .ds R-Font R -.TH sntp @SNTP_MS@ "14 Aug 2018" "4.2.8p12" "User Commands" +.TH sntp @SNTP_MS@ "20 Feb 2019" "4.2.8p13" "User Commands" .\" -.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-7ray4x/ag-hsaq3x) +.\" EDIT THIS FILE WITH CAUTION (in-mem file) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:27:33 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:55:51 AM by AutoGen 5.18.5 .\" From the definitions sntp-opts.def .\" and the template file agman-cmd.tpl .SH NAME diff --git a/contrib/ntp/sntp/sntp.mdoc.in b/contrib/ntp/sntp/sntp.mdoc.in index 4a7fb05bd035..89eb68c0d014 100644 --- a/contrib/ntp/sntp/sntp.mdoc.in +++ b/contrib/ntp/sntp/sntp.mdoc.in @@ -1,9 +1,9 @@ -.Dd August 14 2018 +.Dd February 20 2019 .Dt SNTP @SNTP_MS@ User Commands .Os .\" EDIT THIS FILE WITH CAUTION (sntp-opts.mdoc) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:27:40 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:55:48 AM by AutoGen 5.18.5 .\" From the definitions sntp-opts.def .\" and the template file agmdoc-cmd.tpl .Sh NAME diff --git a/contrib/ntp/sntp/tests/Makefile.in b/contrib/ntp/sntp/tests/Makefile.in index bd776d88374a..a3fc69ec702e 100644 --- a/contrib/ntp/sntp/tests/Makefile.in +++ b/contrib/ntp/sntp/tests/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/contrib/ntp/sntp/unity/Makefile.in b/contrib/ntp/sntp/unity/Makefile.in index be1866ca8e61..0923192d4783 100644 --- a/contrib/ntp/sntp/unity/Makefile.in +++ b/contrib/ntp/sntp/unity/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/contrib/ntp/sntp/version.c b/contrib/ntp/sntp/version.c index 619d26411862..77ce2231687e 100644 --- a/contrib/ntp/sntp/version.c +++ b/contrib/ntp/sntp/version.c @@ -2,4 +2,4 @@ * version file for sntp */ #include -const char * Version = "sntp 4.2.8p12@1.3728-o Tue Aug 14 12:27:30 UTC 2018 (54)"; +const char * Version = "sntp 4.2.8p13@1.3847-o Thu Feb 21 01:04:54 UTC 2019 (1)"; diff --git a/contrib/ntp/util/Makefile.in b/contrib/ntp/util/Makefile.in index a7ab7eebf48e..099e27015b22 100644 --- a/contrib/ntp/util/Makefile.in +++ b/contrib/ntp/util/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/contrib/ntp/util/invoke-ntp-keygen.texi b/contrib/ntp/util/invoke-ntp-keygen.texi index bfba1fedc077..cb0d89103d9b 100644 --- a/contrib/ntp/util/invoke-ntp-keygen.texi +++ b/contrib/ntp/util/invoke-ntp-keygen.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (invoke-ntp-keygen.texi) # -# It has been AutoGen-ed August 14, 2018 at 08:30:35 AM by AutoGen 5.18.5 +# It has been AutoGen-ed February 20, 2019 at 09:57:13 AM by AutoGen 5.18.5 # From the definitions ntp-keygen-opts.def # and the template file agtexi-cmd.tpl @end ignore @@ -1056,7 +1056,7 @@ with a status code of 0. @exampleindent 0 @example -ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.8p12 +ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.8p13 Usage: ntp-keygen [ - [] | --[@{=| @}] ]... Flg Arg Option-Name Description -b Num imbits identity modulus bits diff --git a/contrib/ntp/util/ntp-keygen-opts.c b/contrib/ntp/util/ntp-keygen-opts.c index 7009ed5a0938..e47d7ce5cfff 100644 --- a/contrib/ntp/util/ntp-keygen-opts.c +++ b/contrib/ntp/util/ntp-keygen-opts.c @@ -1,11 +1,11 @@ /* * EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.c) * - * It has been AutoGen-ed August 14, 2018 at 08:30:21 AM by AutoGen 5.18.5 + * It has been AutoGen-ed February 20, 2019 at 09:57:09 AM by AutoGen 5.18.5 * From the definitions ntp-keygen-opts.def * and the template file options * - * Generated from AutoOpts 41:0:16 templates. + * Generated from AutoOpts 41:1:16 templates. * * AutoOpts is a copyrighted work. This source file is not encumbered * by AutoOpts licensing, but is provided under the licensing terms chosen @@ -72,7 +72,7 @@ extern FILE * option_usage_fp; * static const strings for ntp-keygen options */ static char const ntp_keygen_opt_strs[2442] = -/* 0 */ "ntp-keygen (ntp) 4.2.8p12\n" +/* 0 */ "ntp-keygen (ntp) 4.2.8p13\n" "Copyright (C) 1992-2017 The University of Delaware and Network Time Foundation, all rights reserved.\n" "This is free software. It is licensed for use, modification and\n" "redistribution under the terms of the NTP License, copies of which\n" @@ -165,14 +165,14 @@ static char const ntp_keygen_opt_strs[2442] = /* 2223 */ "no-load-opts\0" /* 2236 */ "no\0" /* 2239 */ "NTP_KEYGEN\0" -/* 2250 */ "ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.8p12\n" +/* 2250 */ "ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.8p13\n" "Usage: %s [ - [] | --[{=| }] ]...\n\0" /* 2365 */ "$HOME\0" /* 2371 */ ".\0" /* 2373 */ ".ntprc\0" /* 2380 */ "http://bugs.ntp.org, bugs@ntp.org\0" /* 2414 */ "\n\0" -/* 2416 */ "ntp-keygen (ntp) 4.2.8p12"; +/* 2416 */ "ntp-keygen (ntp) 4.2.8p13"; /** * imbits option description: @@ -1310,7 +1310,7 @@ static void bogus_function(void) { translate option names. */ /* referenced via ntp_keygenOptions.pzCopyright */ - puts(_("ntp-keygen (ntp) 4.2.8p12\n\ + puts(_("ntp-keygen (ntp) 4.2.8p13\n\ Copyright (C) 1992-2017 The University of Delaware and Network Time Foundation, all rights reserved.\n\ This is free software. It is licensed for use, modification and\n\ redistribution under the terms of the NTP License, copies of which\n\ @@ -1409,14 +1409,14 @@ implied warranty.\n")); puts(_("load options from a config file")); /* referenced via ntp_keygenOptions.pzUsageTitle */ - puts(_("ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.8p12\n\ + puts(_("ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.8p13\n\ Usage: %s [ - [] | --[{=| }] ]...\n")); /* referenced via ntp_keygenOptions.pzExplain */ puts(_("\n")); /* referenced via ntp_keygenOptions.pzFullVersion */ - puts(_("ntp-keygen (ntp) 4.2.8p12")); + puts(_("ntp-keygen (ntp) 4.2.8p13")); /* referenced via ntp_keygenOptions.pzFullUsage */ puts(_("<<>>")); diff --git a/contrib/ntp/util/ntp-keygen-opts.h b/contrib/ntp/util/ntp-keygen-opts.h index 7ff899641ad6..5af994db87af 100644 --- a/contrib/ntp/util/ntp-keygen-opts.h +++ b/contrib/ntp/util/ntp-keygen-opts.h @@ -1,11 +1,11 @@ /* * EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.h) * - * It has been AutoGen-ed August 14, 2018 at 08:30:20 AM by AutoGen 5.18.5 + * It has been AutoGen-ed February 20, 2019 at 09:57:09 AM by AutoGen 5.18.5 * From the definitions ntp-keygen-opts.def * and the template file options * - * Generated from AutoOpts 41:0:16 templates. + * Generated from AutoOpts 41:1:16 templates. * * AutoOpts is a copyrighted work. This header file is not encumbered * by AutoOpts licensing, but is provided under the licensing terms chosen @@ -53,7 +53,7 @@ * tolerable version is at least as old as what was current when the header * template was released. */ -#define AO_TEMPLATE_VERSION 167936 +#define AO_TEMPLATE_VERSION 167937 #if (AO_TEMPLATE_VERSION < OPTIONS_MINIMUM_VERSION) \ || (AO_TEMPLATE_VERSION > OPTIONS_STRUCT_VERSION) # error option template version mismatches autoopts/options.h header @@ -94,9 +94,9 @@ typedef enum { /** count of all options for ntp-keygen */ #define OPTION_CT 26 /** ntp-keygen version */ -#define NTP_KEYGEN_VERSION "4.2.8p12" +#define NTP_KEYGEN_VERSION "4.2.8p13" /** Full ntp-keygen version text */ -#define NTP_KEYGEN_FULL_VERSION "ntp-keygen (ntp) 4.2.8p12" +#define NTP_KEYGEN_FULL_VERSION "ntp-keygen (ntp) 4.2.8p13" /** * Interface defines for all options. Replace "n" with the UPPER_CASED diff --git a/contrib/ntp/util/ntp-keygen.1ntp-keygenman b/contrib/ntp/util/ntp-keygen.1ntp-keygenman index d51b0b652a03..0d5e443d3cdf 100644 --- a/contrib/ntp/util/ntp-keygen.1ntp-keygenman +++ b/contrib/ntp/util/ntp-keygen.1ntp-keygenman @@ -10,11 +10,11 @@ .ds B-Font B .ds I-Font I .ds R-Font R -.TH ntp-keygen 1ntp-keygenman "14 Aug 2018" "ntp (4.2.8p12)" "User Commands" +.TH ntp-keygen 1ntp-keygenman "20 Feb 2019" "ntp (4.2.8p13)" "User Commands" .\" -.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-VYaG.G/ag-7Yay9G) +.\" EDIT THIS FILE WITH CAUTION (in-mem file) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:30:31 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:57:14 AM by AutoGen 5.18.5 .\" From the definitions ntp-keygen-opts.def .\" and the template file agman-cmd.tpl .SH NAME diff --git a/contrib/ntp/util/ntp-keygen.1ntp-keygenmdoc b/contrib/ntp/util/ntp-keygen.1ntp-keygenmdoc index 2703c6b15724..602dae8753f6 100644 --- a/contrib/ntp/util/ntp-keygen.1ntp-keygenmdoc +++ b/contrib/ntp/util/ntp-keygen.1ntp-keygenmdoc @@ -1,9 +1,9 @@ -.Dd August 14 2018 +.Dd February 20 2019 .Dt NTP_KEYGEN 1ntp-keygenmdoc User Commands .Os .\" EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.mdoc) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:30:38 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:57:11 AM by AutoGen 5.18.5 .\" From the definitions ntp-keygen-opts.def .\" and the template file agmdoc-cmd.tpl .Sh NAME diff --git a/contrib/ntp/util/ntp-keygen.html b/contrib/ntp/util/ntp-keygen.html index 8c5bd1d0603e..07ac9c2d359e 100644 --- a/contrib/ntp/util/ntp-keygen.html +++ b/contrib/ntp/util/ntp-keygen.html @@ -1,87 +1,115 @@ - + + + -Ntp-keygen User's Manual - - - - - - - + +Ntp-keygen User’s Manual + + + + + + + + + + + - -

      Ntp-keygen User's Manual

      -
      -

      Short Contents

      -
        -Top -NTP Key Generation Program User Manual + + +

        Ntp-keygen User’s Manual

        + + + + + + +

        Short Table of Contents

        + + + + + + + + + -
        -


        -Up: (dir) -
        + +
        +

        +Next: , Previous: , Up: (dir)  

        + +

        NTP Key Generation Program User Manual

        -

        Top

        - - - -
        -


        -Next: , -Previous: (dir), -Up: (dir) -
        -
        - -

        NTP Key Generation Program User Manual

        - -

        This document describes the use of the NTP Project's ntp-keygen +

        This document describes the use of the NTP Project’s ntp-keygen program, that generates cryptographic data files used by the NTPv4 -authentication and identity schemes. +authentication and identity schemes. It can generate message digest keys used in symmetric key cryptography and, if the OpenSSL software library has been installed, it can generate host keys, sign keys, certificates, and identity keys and parameters used by the Autokey -public key cryptography. +public key cryptography. The message digest keys file is generated in a -format compatible with NTPv3. +format compatible with NTPv3. All other files are in PEM-encoded printable ASCII format so they can be embedded as MIME attachments in mail to other sites. +

        +

        This document applies to version 4.2.8p13 of ntp-keygen. +

        + + + -

        This document applies to version 4.2.8p12 of ntp-keygen. - -

        -


        -Next: , -Previous: Top, -Up: Top -
        +
        + +
        +

        +Next: , Previous: , Up: Top  

        - - -

        Description

        + +

        1 Description

        This program generates cryptographic data files used by the NTPv4 authentication and identity schemes. It can generate message digest @@ -92,255 +120,320 @@ public key cryptography. The message digest keys file is generated in a format compatible with NTPv3. All other files are in PEM-encoded printable ASCII format so they can be embedded as MIME attachments in mail to other sites. - -

        When used to generate message digest keys, the program produces a file +

        +

        When used to generate message digest keys, the program produces a file containing ten pseudo-random printable ASCII strings suitable for the -MD5 message digest algorithm included in the distribution. +MD5 message digest algorithm included in the distribution. If the OpenSSL library is installed, it produces an additional ten hex-encoded random bit strings suitable for the SHA1 and other message digest -algorithms. +algorithms. The message digest keys file must be distributed and stored -using secure means beyond the scope of NTP itself. +using secure means beyond the scope of NTP itself. Besides the keys used for ordinary NTP associations, additional keys can be defined as passwords for the ntpq and ntpdc utility programs. - -

        The remaining generated files are compatible with other OpenSSL -applications and other Public Key Infrastructure (PKI) resources. +

        +

        The remaining generated files are compatible with other OpenSSL +applications and other Public Key Infrastructure (PKI) resources. Certificates generated by this program are compatible with extant industry practice, although some users might find the interpretation of -X509v3 extension fields somewhat liberal. +X509v3 extension fields somewhat liberal. However, the identity keys are probably not compatible with anything other than Autokey. - -

        Some files used by this program are encrypted using a private password. +

        +

        Some files used by this program are encrypted using a private password. The -p option specifies the password for local encrypted files and the --q option the password for encrypted files sent to remote sites. +-q option the password for encrypted files sent to remote sites. If no password is specified, the host name returned by the Unix gethostname() function, normally the DNS name of the host, is used. - -

        The pw option of the crypto configuration command -specifies the read password for previously encrypted local files. -This must match the local password used by this program. -If not specified, the host name is used. +

        +

        The pw option of the crypto configuration command +specifies the read password for previously encrypted local files. +This must match the local password used by this program. +If not specified, the host name is used. Thus, if files are generated by this program without password, they can be read back by ntpd without password, but only on the same host. - -

        Normally, encrypted files for each host are generated by that host and +

        +

        Normally, encrypted files for each host are generated by that host and used only by that host, although exceptions exist as noted later on -this page. +this page. The symmetric keys file, normally called ntp.keys, is -usually installed in /etc. +usually installed in /etc. Other files and links are usually installed in /usr/local/etc, which is normally in a shared filesystem in -NFS-mounted networks and cannot be changed by shared clients. +NFS-mounted networks and cannot be changed by shared clients. The location of the keys directory can be changed by the keysdir -configuration command in such cases. +configuration command in such cases. Normally, this is in /etc. - -

        This program directs commentary and error messages to the standard +

        +

        This program directs commentary and error messages to the standard error stream stderr and remote files to the standard output stream stdout where they can be piped to other applications or redirected to -files. +files. The names used for generated files and links all begin with the string ntpkey and include the file type, generating host and filestamp, as described in the Cryptographic Data Files section below. +

        + + + + + + -
        -


        -Next: , -Previous: Description, -Up: Top -
        +
        + +
        +

        +Next: , Previous: , Up: Top  

        - - -

        Running the Program

        + +

        1.1 Running the Program

        To test and gain experience with Autokey concepts, log in as root and -change to the keys directory, usually /usr/local/etc. +change to the keys directory, usually /usr/local/etc. When run for the first time, or if all files with names beginning ntpkey] have been removed, use the ntp-keygen command without arguments to generate a default RSA host key and matching RSA-MD5 certificate with expiration -date one year hence. +date one year hence. If run again without options, the program uses the existing keys and parameters and generates only a new certificate with new expiration date one year hence. - -

        Run the command on as many hosts as necessary. +

        +

        Run the command on as many hosts as necessary. Designate one of them as the trusted host (TH) using ntp-keygen with the -T option and configure -it to synchronize from reliable Internet servers. -Then configure the other hosts to synchronize to the TH directly or indirectly. +it to synchronize from reliable Internet servers. +Then configure the other hosts to synchronize to the TH directly or indirectly. A certificate trail is created when Autokey asks the immediately ascendant host towards the TH to sign its certificate, which is then -provided to the immediately descendant host on request. +provided to the immediately descendant host on request. All group hosts should have acyclic certificate trails ending on the TH. - -

        The host key is used to encrypt the cookie when required and so must be -RSA type. -By default, the host key is also the sign key used to encrypt signatures. +

        +

        The host key is used to encrypt the cookie when required and so must be +RSA type. +By default, the host key is also the sign key used to encrypt signatures. A different sign key can be assigned using the -S option -and this can be either RSA or DSA type. +and this can be either RSA or DSA type. By default, the signature message digest type is MD5, but any combination of sign key type and message digest type supported by the OpenSSL library can be specified using the -c option. - -

        The rules say cryptographic media should be generated with proventic +

        +

        The rules say cryptographic media should be generated with proventic filestamps, which means the host should already be synchronized before -this program is run. +this program is run. This of course creates a chicken-and-egg problem -when the host is started for the first time. +when the host is started for the first time. Accordingly, the host time should be set by some other means, such as eyeball-and-wristwatch, at -least so that the certificate lifetime is within the current year. +least so that the certificate lifetime is within the current year. After that and when the host is synchronized to a proventic source, the certificate should be re-generated. - -

        Additional information on trusted groups and identity schemes is on the +

        +

        Additional information on trusted groups and identity schemes is on the Autokey Public-Key Authentication page. - -

        -


        +

        +
        -
        +
        +

        +Next: , Previous: , Up: Description  

        + +

        1.2 Invoking ntp-keygen

        + + -

        Invoking ntp-keygen

        -

        -

        This program generates cryptographic data files used by the NTPv4 -authentication and identification schemes. +

        This program generates cryptographic data files used by the NTPv4 +authentication and identification schemes. It can generate message digest keys used in symmetric key cryptography and, if the OpenSSL software library has been installed, it can generate host keys, signing keys, certificates, and identity keys and parameters used in Autokey -public key cryptography. +public key cryptography. These files are used for cookie encryption, digital signature, and challenge/response identification algorithms compatible with the Internet standard security infrastructure. - -

        The message digest symmetric keys file is generated in a format -compatible with NTPv3. +

        +

        The message digest symmetric keys file is generated in a format +compatible with NTPv3. All other files are in PEM-encoded printable ASCII format, so they can be embedded as MIME attachments in email to other sites -and certificate authorities. +and certificate authorities. By default, files are not encrypted. - -

        When used to generate message digest symmetric keys, the program +

        +

        When used to generate message digest symmetric keys, the program produces a file containing ten pseudo-random printable ASCII strings suitable for the MD5 message digest algorithm included in the -distribution. +distribution. If the OpenSSL library is installed, it produces an additional ten hex-encoded random bit strings suitable for SHA1, AES-128-CMAC, and -other message digest algorithms. +other message digest algorithms. The message digest symmetric keys file must be distributed and stored -using secure means beyond the scope of NTP itself. +using secure means beyond the scope of NTP itself. Besides the keys used for ordinary NTP associations, additional keys can be defined as passwords for the ntpq(1ntpqmdoc) and ntpdc(1ntpdcmdoc) utility programs. - -

        The remaining generated files are compatible with other OpenSSL -applications and other Public Key Infrastructure (PKI) resources. +

        +

        The remaining generated files are compatible with other OpenSSL +applications and other Public Key Infrastructure (PKI) resources. Certificates generated by this program are compatible with extant industry practice, although some users might find the interpretation of -X509v3 extension fields somewhat liberal. +X509v3 extension fields somewhat liberal. However, the identity keys are probably not compatible with anything other than Autokey. - -

        Some files used by this program are encrypted using a private password. +

        +

        Some files used by this program are encrypted using a private password. The -p option specifies the read password for local encrypted files and the -q -option the write password for encrypted files sent to remote sites. +option the write password for encrypted files sent to remote sites. If no password is specified, the host name returned by the Unix hostname(1) command, normally the DNS name of the host, is used as the the default read -password, for convenience. +password, for convenience. The ntp-keygen program prompts for the password if it reads an encrypted file -and the password is missing or incorrect. +and the password is missing or incorrect. If an encrypted file is read successfully and no write password is specified, the read password is used as the write password by default. - -

        The +

        +

        The pw option of the crypto ntpd(1ntpdmdoc) configuration command specifies the read -password for previously encrypted local files. -This must match the local read password used by this program. -If not specified, the host name is used. +password for previously encrypted local files. +This must match the local read password used by this program. +If not specified, the host name is used. Thus, if files are generated by this program without an explicit password, they can be read back by ntpd(1ntpdmdoc) -without specifying an explicit password but only on the same host. +without specifying an explicit password but only on the same host. If the write password used for encryption is specified as the host name, these files can be read by that host with no explicit password. - -

        Normally, encrypted files for each host are generated by that host and +

        +

        Normally, encrypted files for each host are generated by that host and used only by that host, although exceptions exist as noted later on -this page. +this page. The symmetric keys file, normally called -ntp.keys, +ntp.keys, is usually installed in -/etc. +/etc. Other files and links are usually installed in -/usr/local/etc, +/usr/local/etc, which is normally in a shared filesystem in -NFS-mounted networks and cannot be changed by shared clients. +NFS-mounted networks and cannot be changed by shared clients. In these cases, NFS clients can specify the files in another directory such as -/etc +/etc using the keysdir ntpd(1ntpdmdoc) configuration file command. - -

        This program directs commentary and error messages to the standard +

        +

        This program directs commentary and error messages to the standard error stream -stderr +stderr and remote files to the standard output stream -stdout -where they can be piped to other applications or redirected to files. +stdout +where they can be piped to other applications or redirected to files. The names used for generated files and links all begin with the string -ntpkey* +ntpkey* and include the file type, generating host and filestamp, as described in the Cryptographic Data Files section below. +

        + + + + + + + + + + + + + + + + + + + + + + + + + + + -
        Running the Program
        - + +

        1.2.1 Running the Program

        The safest way to run the ntp-keygen -program is logged in directly as root. +program is logged in directly as root. The recommended procedure is change to the keys directory, usually -/usr/local/etc, +/usr/local/etc, then run the program. - -

        To test and gain experience with Autokey concepts, log in as root and +

        +

        To test and gain experience with Autokey concepts, log in as root and change to the keys directory, usually -/usr/local/etc. +/usr/local/etc. When run for the first time, or if all files with names beginning with -ntpkey* +ntpkey* have been removed, use the ntp-keygen command without arguments to generate a default @@ -348,23 +441,23 @@ command without arguments to generate a default host key and matching RSA-MD5 certificate file with expiration date one year hence, -which is all that is necessary in many cases. +which is all that is necessary in many cases. The program also generates soft links from the generic names -to the respective files. +to the respective files. If run again without options, the program uses the existing keys and parameters and generates a new certificate file with new expiration date one year hence, and soft link. - -

        The host key is used to encrypt the cookie when required and so must be +

        +

        The host key is used to encrypt the cookie when required and so must be RSA -type. -By default, the host key is also the sign key used to encrypt signatures. +type. +By default, the host key is also the sign key used to encrypt signatures. When necessary, a different sign key can be specified and this can be either RSA or DSA -type. +type. By default, the message digest type is MD5, but any combination @@ -373,9 +466,9 @@ can be specified, including those using the AES128CMAC, MD2, MD5, MDC2, SHA, SHA1 and RIPE160 -message digest algorithms. +message digest algorithms. However, the scheme specified in the certificate must be compatible -with the sign key. +with the sign key. Certificates using any digest algorithm are compatible with RSA sign keys; @@ -386,96 +479,96 @@ and certificates are compatible with DSA sign keys. - -

        Private/public key files and certificates are compatible with -other OpenSSL applications and very likely other libraries as well. +

        +

        Private/public key files and certificates are compatible with +other OpenSSL applications and very likely other libraries as well. Certificates or certificate requests derived from them should be compatible with extant industry practice, although some users might find -the interpretation of X509v3 extension fields somewhat liberal. +the interpretation of X509v3 extension fields somewhat liberal. However, the identification parameter files, although encoded as the other files, are probably not compatible with anything other than Autokey. - -

        Running the program as other than root and using the Unix +

        +

        Running the program as other than root and using the Unix su(1) command to assume root may not work properly, since by default the OpenSSL library looks for the random seed file -.rnd -in the user home directory. +.rnd +in the user home directory. However, there should be only one -.rnd, +.rnd, most conveniently in the root directory, so it is convenient to define the .Ev RANDFILE environment variable used by the OpenSSL library as the path to -.rnd. - -

        Installing the keys as root might not work in NFS-mounted +.rnd. +

        +

        Installing the keys as root might not work in NFS-mounted shared file systems, as NFS clients may not be able to write -to the shared keys directory, even as root. +to the shared keys directory, even as root. In this case, NFS clients can specify the files in another directory such as -/etc +/etc using the keysdir ntpd(1ntpdmdoc) -configuration file command. +configuration file command. There is no need for one client to read the keys and certificates of other clients or servers, as these data are obtained automatically by the Autokey protocol. - -

        Ordinarily, cryptographic files are generated by the host that uses them, +

        +

        Ordinarily, cryptographic files are generated by the host that uses them, but it is possible for a trusted agent (TA) to generate these files -for other hosts; however, in such cases files should always be encrypted. +for other hosts; however, in such cases files should always be encrypted. The subject name and trusted name default to the hostname -of the host generating the files, but can be changed by command line options. +of the host generating the files, but can be changed by command line options. It is convenient to designate the owner name and trusted name -as the subject and issuer fields, respectively, of the certificate. +as the subject and issuer fields, respectively, of the certificate. The owner name is also used for the host and sign key files, while the trusted name is used for the identity files. - -

        All files are installed by default in the keys directory -/usr/local/etc, +

        +

        All files are installed by default in the keys directory +/usr/local/etc, which is normally in a shared filesystem -in NFS-mounted networks. +in NFS-mounted networks. The actual location of the keys directory and each file can be overridden by configuration commands, -but this is not recommended. +but this is not recommended. Normally, the files for each host are generated by that host and used only by that host, although exceptions exist as noted later on this page. - -

        Normally, files containing private values, +

        +

        Normally, files containing private values, including the host key, sign key and identification parameters, are permitted root read/write-only; -while others containing public values are permitted world readable. +while others containing public values are permitted world readable. Alternatively, files containing private values can be encrypted and these files permitted world readable, -which simplifies maintenance in shared file systems. +which simplifies maintenance in shared file systems. Since uniqueness is insured by the hostname and filestamp file name extensions, the files for an NTP server and dependent clients can all be installed in the same shared directory. - -

        The recommended practice is to keep the file name extensions +

        +

        The recommended practice is to keep the file name extensions when installing a file and to install a soft link from the generic names specified elsewhere on this page -to the generated files. +to the generated files. This allows new file generations to be activated simply -by changing the link. +by changing the link. If a link is present, ntpd(1ntpdmdoc) follows it to the file name to extract the -filestamp. +filestamp. If a link is not present, ntpd(1ntpdmdoc) extracts the filestamp -from the file itself. +from the file itself. This allows clients to verify that the file and generation times -are always current. +are always current. The ntp-keygen program uses the same @@ -483,31 +576,31 @@ program uses the same extension for all files generated at one time, so each generation is distinct and can be readily recognized in monitoring data. - -

        Run the command on as many hosts as necessary. +

        +

        Run the command on as many hosts as necessary. Designate one of them as the trusted host (TH) using ntp-keygen with the -T -option and configure it to synchronize from reliable Internet servers. +option and configure it to synchronize from reliable Internet servers. Then configure the other hosts to synchronize to the TH directly or -indirectly. +indirectly. A certificate trail is created when Autokey asks the immediately ascendant host towards the TH to sign its certificate, which is then -provided to the immediately descendant host on request. +provided to the immediately descendant host on request. All group hosts should have acyclic certificate trails ending on the TH. - -

        The host key is used to encrypt the cookie when required and so must be -RSA type. +

        +

        The host key is used to encrypt the cookie when required and so must be +RSA type. By default, the host key is also the sign key used to encrypt -signatures. +signatures. A different sign key can be assigned using the -S option and this can be either RSA or DSA -type. +type. By default, the signature message digest type is MD5, @@ -516,26 +609,26 @@ message digest type supported by the OpenSSL library can be specified using the -c option. - -

        The rules say cryptographic media should be generated with proventic +

        +

        The rules say cryptographic media should be generated with proventic filestamps, which means the host should already be synchronized before -this program is run. +this program is run. This of course creates a chicken-and-egg problem -when the host is started for the first time. +when the host is started for the first time. Accordingly, the host time should be set by some other means, such as eyeball-and-wristwatch, at -least so that the certificate lifetime is within the current year. +least so that the certificate lifetime is within the current year. After that and when the host is synchronized to a proventic source, the certificate should be re-generated. - -

        Additional information on trusted groups and identity schemes is on the -Autokey Public-Key Authentication +

        +

        Additional information on trusted groups and identity schemes is on the +“Autokey Public-Key Authentication” page. - -

        File names begin with the prefix -ntpkey_ +

        +

        File names begin with the prefix +ntpkey_ and end with the suffix -_hostname. filestamp, +_hostname. filestamp, where hostname is the owner name, usually the string returned @@ -543,27 +636,27 @@ by the Unix hostname(1) command, and filestamp -is the NTP seconds when the file was generated, in decimal digits. +is the NTP seconds when the file was generated, in decimal digits. This both guarantees uniqueness and simplifies maintenance procedures, since all files can be quickly removed by a -rm ntpkey* +rm ntpkey* command or all files generated at a specific time can be removed by a -rm *filestamp -command. +rm *filestamp +command. To further reduce the risk of misconfiguration, the first two lines of a file contain the file name and generation date and time as comments. - -

        Trusted Hosts and Groups
        - +

        + +

        1.2.1.1 Trusted Hosts and Groups

        Each cryptographic configuration involves selection of a signature scheme and identification scheme, called a cryptotype, as explained in the -Authentication Options +‘Authentication Options’ section of -ntp.conf(5). +ntp.conf(5). The default cryptotype uses RSA encryption, @@ -571,39 +664,39 @@ encryption, message digest and TC -identification. +identification. First, configure a NTP subnet including one or more low-stratum trusted hosts from which all other hosts derive synchronization -directly or indirectly. +directly or indirectly. Trusted hosts have trusted certificates; -all other hosts have nontrusted certificates. +all other hosts have nontrusted certificates. These hosts will automatically and dynamically build authoritative -certificate trails to one or more trusted hosts. +certificate trails to one or more trusted hosts. A trusted group is the set of all hosts that have, directly or indirectly, -a certificate trail ending at a trusted host. +a certificate trail ending at a trusted host. The trail is defined by static configuration file entries or dynamic means described on the -Automatic NTP Configuration Options +‘Automatic NTP Configuration Options’ section of ntp.conf(5). - -

        On each trusted host as root, change to the keys directory. +

        +

        On each trusted host as root, change to the keys directory. To insure a fresh fileset, remove all -ntpkey -files. +ntpkey +files. Then run ntp-keygen -T -to generate keys and a trusted certificate. +to generate keys and a trusted certificate. On all other hosts do the same, but leave off the -T -flag to generate keys and nontrusted certificates. +flag to generate keys and nontrusted certificates. When complete, start the NTP daemons beginning at the lowest stratum -and working up the tree. +and working up the tree. It may take some time for Autokey to instantiate the certificate trails throughout the subnet, but setting up the environment is completely automatic. - -

        If it is necessary to use a different sign key or different digest/signature +

        +

        If it is necessary to use a different sign key or different digest/signature scheme than the default, run ntp-keygen with the @@ -613,10 +706,10 @@ option, where is either RSA or -DSA. +DSA. The most frequent need to do this is when a DSA-signed -certificate is used. +certificate is used. If it is necessary to use a different certificate scheme than the default, run ntp-keygen @@ -624,83 +717,83 @@ with the -c scheme option and selected scheme -as needed. +as needed. If ntp-keygen is run again without these options, it generates a new certificate using the same scheme and sign key, and soft link. - -

        After setting up the environment it is advisable to update certificates -from time to time, if only to extend the validity interval. +

        +

        After setting up the environment it is advisable to update certificates +from time to time, if only to extend the validity interval. Simply run ntp-keygen with the same flags as before to generate new certificates -using existing keys, and soft links. +using existing keys, and soft links. However, if the host or sign key is changed, ntpd(1ntpdmdoc) -should be restarted. +should be restarted. When ntpd(1ntpdmdoc) -is restarted, it loads any new files and restarts the protocol. +is restarted, it loads any new files and restarts the protocol. Other dependent hosts will continue as usual until signatures are refreshed, at which time the protocol is restarted. - -

        Identity Schemes
        - +

        + +

        1.2.1.2 Identity Schemes

        As mentioned on the Autonomous Authentication page, the default TC -identity scheme is vulnerable to a middleman attack. +identity scheme is vulnerable to a middleman attack. However, there are more secure identity schemes available, including PC, IFF, GQ and MV -schemes described below. +schemes described below. These schemes are based on a TA, one or more trusted hosts -and some number of nontrusted hosts. +and some number of nontrusted hosts. Trusted hosts prove identity using values provided by the TA, while the remaining hosts prove identity using values provided -by a trusted host and certificate trails that end on that host. +by a trusted host and certificate trails that end on that host. The name of a trusted host is also the name of its sugroup -and also the subject and issuer name on its trusted certificate. +and also the subject and issuer name on its trusted certificate. The TA is not necessarily a trusted host in this sense, but often is. - -

        In some schemes there are separate keys for servers and clients. +

        +

        In some schemes there are separate keys for servers and clients. A server can also be a client of another server, -but a client can never be a server for another client. +but a client can never be a server for another client. In general, trusted hosts and nontrusted hosts that operate as both server and client have parameter files that contain -both server and client keys. +both server and client keys. Hosts that operate only as clients have key files that contain only client keys. - -

        The PC scheme supports only one trusted host in the group. +

        +

        The PC scheme supports only one trusted host in the group. On trusted host alice run ntp-keygen -P -p password to generate the host key file -ntpkey_ RSA key_alice. filestamp +ntpkey_ RSA key_alice. filestamp and trusted private certificate file -ntpkey_ RSA-MD5 _ cert_alice. filestamp, -and soft links. +ntpkey_ RSA-MD5 _ cert_alice. filestamp, +and soft links. Copy both files to all group hosts; -they replace the files which would be generated in other schemes. +they replace the files which would be generated in other schemes. On each host bob install a soft link from the generic name -ntpkey_host_bob +ntpkey_host_bob to the host key file and soft link -ntpkey_cert_bob -to the private certificate file. +ntpkey_cert_bob +to the private certificate file. Note the generic links are on bob, but point to files generated -by trusted host alice. +by trusted host alice. In this scheme it is not possible to refresh either the keys or certificates without copying them to all other hosts in the group, and recreating the soft links. - -

        For the +

        +

        For the IFF scheme proceed as in the TC @@ -708,42 +801,42 @@ scheme to generate keys and certificates for all group hosts, then for every trusted host in the group, generate the IFF -parameter file. +parameter file. On trusted host alice run ntp-keygen -T -I -p password to produce her parameter file -ntpkey_IFFpar_alice.filestamp, -which includes both server and client keys. +ntpkey_IFFpar_alice.filestamp, +which includes both server and client keys. Copy this file to all group hosts that operate as both servers and clients and install a soft link from the generic -ntpkey_iff_alice -to this file. +ntpkey_iff_alice +to this file. If there are no hosts restricted to operate only as clients, -there is nothing further to do. +there is nothing further to do. As the IFF scheme is independent of keys and certificates, these files can be refreshed as needed. - -

        If a rogue client has the parameter file, it could masquerade -as a legitimate server and present a middleman threat. +

        +

        If a rogue client has the parameter file, it could masquerade +as a legitimate server and present a middleman threat. To eliminate this threat, the client keys can be extracted -from the parameter file and distributed to all restricted clients. +from the parameter file and distributed to all restricted clients. After generating the parameter file, on alice run ntp-keygen -e -and pipe the output to a file or email program. -Copy or email this file to all restricted clients. +and pipe the output to a file or email program. +Copy or email this file to all restricted clients. On these clients install a soft link from the generic -ntpkey_iff_alice -to this file. +ntpkey_iff_alice +to this file. To further protect the integrity of the keys, each file can be encrypted with a secret password. - -

        For the +

        +

        For the GQ scheme proceed as in the TC @@ -751,40 +844,40 @@ scheme to generate keys and certificates for all group hosts, then for every trusted host in the group, generate the IFF -parameter file. +parameter file. On trusted host alice run ntp-keygen -T -G -p password to produce her parameter file -ntpkey_GQpar_alice.filestamp, -which includes both server and client keys. +ntpkey_GQpar_alice.filestamp, +which includes both server and client keys. Copy this file to all group hosts and install a soft link from the generic -ntpkey_gq_alice -to this file. +ntpkey_gq_alice +to this file. In addition, on each host bob install a soft link from generic -ntpkey_gq_bob -to this file. +ntpkey_gq_bob +to this file. As the GQ scheme updates the GQ parameters file and certificate at the same time, keys and certificates can be regenerated as needed. - -

        For the +

        +

        For the MV scheme, proceed as in the TC scheme to generate keys -and certificates for all group hosts. +and certificates for all group hosts. For illustration assume trish is the TA, alice one of several trusted hosts -and bob one of her clients. +and bob one of her clients. On TA trish run ntp-keygen -V n @@ -793,49 +886,52 @@ where n is the number of revokable keys (typically 5) to produce the parameter file -ntpkeys_MVpar_trish.filestamp +ntpkeys_MVpar_trish.filestamp and client key files -ntpkeys_MVkeyd _ trish. filestamp +ntpkeys_MVkeyd _ trish. filestamp where d is the key number (0 < d < -n). +n). Copy the parameter file to alice and install a soft link from the generic -ntpkey_mv_alice -to this file. +ntpkey_mv_alice +to this file. Copy one of the client key files to alice for later distribution -to her clients. +to her clients. It does not matter which client key file goes to alice, -since they all work the same way. -Alice copies the client key file to all of her clients. +since they all work the same way. +Alice copies the client key file to all of her clients. On client bob install a soft link from generic -ntpkey_mvkey_bob -to the client key file. +ntpkey_mvkey_bob +to the client key file. As the MV scheme is independent of keys and certificates, these files can be refreshed as needed. - -

        Command Line Options
        - -
        -
        -b --imbits= modulus
        Set the number of bits in the identity modulus for generating identity keys to +

        + +

        1.2.1.3 Command Line Options

        +
        +
        -b --imbits= modulus
        +

        Set the number of bits in the identity modulus for generating identity keys to modulus -bits. +bits. The number of bits in the identity modulus defaults to 256, but can be set to -values from 256 to 2048 (32 to 256 octets). +values from 256 to 2048 (32 to 256 octets). Use the larger moduli with caution, as this can consume considerable computing -resources and increases the size of authenticated packets. -

        -c --certificate= scheme
        Select certificate signature encryption/message digest scheme. +resources and increases the size of authenticated packets. +

        +
        -c --certificate= scheme
        +

        Select certificate signature encryption/message digest scheme. The scheme can be one of the following: RSA-MD2, RSA-MD5, RSA-MDC2, RSA-SHA, RSA-SHA1, RSA-RIPEMD160, DSA-SHA, or -DSA-SHA1. +DSA-SHA1. Note that RSA schemes must be used with an @@ -844,26 +940,34 @@ sign key and DSA schemes must be used with a DSA -sign key. +sign key. The default without this option is -RSA-MD5. +RSA-MD5. If compatibility with FIPS 140-2 is required, either the DSA-SHA or DSA-SHA1 -scheme must be used. -

        -C --cipher= cipher
        Select the OpenSSL cipher to encrypt the files containing private keys. +scheme must be used. +

        +
        -C --cipher= cipher
        +

        Select the OpenSSL cipher to encrypt the files containing private keys. The default without this option is three-key triple DES in CBC mode, -des-ede3-cbc. +des-ede3-cbc. The openssl -h -command provided with OpenSSL displays available ciphers. -

        -d --debug-level
        Increase debugging verbosity level. -This option displays the cryptographic data produced in eye-friendly billboards. -
        -D --set-debug-level= level
        Set the debugging verbosity to -level. -This option displays the cryptographic data produced in eye-friendly billboards. -
        -e --id-key
        Write the +command provided with OpenSSL displays available ciphers. +

        +
        -d --debug-level
        +

        Increase debugging verbosity level. +This option displays the cryptographic data produced in eye-friendly billboards. +

        +
        -D --set-debug-level= level
        +

        Set the debugging verbosity to +level. +This option displays the cryptographic data produced in eye-friendly billboards. +

        +
        -e --id-key
        +

        Write the IFF or GQ @@ -871,168 +975,197 @@ public parameters from the IFFkey or GQkey client keys file previously specified as unencrypted data to the standard output stream -stdout. -This is intended for automatic key distribution by email. -

        -G --gq-params
        Generate a new encrypted +stdout. +This is intended for automatic key distribution by email. +

        +
        -G --gq-params
        +

        Generate a new encrypted GQ -parameters and key file for the Guillou-Quisquater (GQ) identity scheme. +parameters and key file for the Guillou-Quisquater (GQ) identity scheme. This option is mutually exclusive with the -I and -V -options. -

        -H --host-key
        Generate a new encrypted +options. +

        +
        -H --host-key
        +

        Generate a new encrypted RSA -public/private host key file. -

        -I --iffkey
        Generate a new encrypted +public/private host key file. +

        +
        -I --iffkey
        +

        Generate a new encrypted IFF -key file for the Schnorr (IFF) identity scheme. +key file for the Schnorr (IFF) identity scheme. This option is mutually exclusive with the -G and Fl V -options. -

        -i --ident= group
        Set the optional Autokey group name to -group. +options. +

        +
        -i --ident= group
        +

        Set the optional Autokey group name to +group. This is used in the identity scheme parameter file names of IFF, GQ, and MV -client parameters files. -In that role, the default is the host name if no group is provided. +client parameters files. +In that role, the default is the host name if no group is provided. The group name, if specified using -i or -s following an -@ +‘@’ character, is also used in certificate subject and issuer names in the form host @ group and should match the group specified via crypto ident or server ident -in the ntpd configuration file. -

        -l --lifetime= days
        Set the lifetime for certificate expiration to -days. -The default lifetime is one year (365 days). -
        -m --modulus= bits
        Set the number of bits in the prime modulus for generating files to -bits. -The modulus defaults to 512, but can be set from 256 to 2048 (32 to 256 octets). +in the ntpd configuration file. +

        +
        -l --lifetime= days
        +

        Set the lifetime for certificate expiration to +days. +The default lifetime is one year (365 days). +

        +
        -m --modulus= bits
        +

        Set the number of bits in the prime modulus for generating files to +bits. +The modulus defaults to 512, but can be set from 256 to 2048 (32 to 256 octets). Use the larger moduli with caution, as this can consume considerable computing -resources and increases the size of authenticated packets. -

        -M --md5key
        Generate a new symmetric keys file containing 10 +resources and increases the size of authenticated packets. +

        +
        -M --md5key
        +

        Generate a new symmetric keys file containing 10 MD5 keys, and if OpenSSL is available, 10 SHA -keys. +keys. An MD5 key is a string of 20 random printable ASCII characters, while a SHA -key is a string of 40 random hex digits. -The file can be edited using a text editor to change the key type or key content. -This option is mutually exclusive with all other options. -

        -p --password= passwd
        Set the password for reading and writing encrypted files to -passwd. -These include the host, sign and identify key files. +key is a string of 40 random hex digits. +The file can be edited using a text editor to change the key type or key content. +This option is mutually exclusive with all other options. +

        +
        -p --password= passwd
        +

        Set the password for reading and writing encrypted files to +passwd. +These include the host, sign and identify key files. By default, the password is the string returned by the Unix hostname -command. -

        -P --pvt-cert
        Generate a new private certificate used by the +command. +

        +
        -P --pvt-cert
        +

        Generate a new private certificate used by the PC -identity scheme. -By default, the program generates public certificates. -Note: the PC identity scheme is not recommended for new installations. -

        -q --export-passwd= passwd
        Set the password for writing encrypted +identity scheme. +By default, the program generates public certificates. +Note: the PC identity scheme is not recommended for new installations. +

        +
        -q --export-passwd= passwd
        +

        Set the password for writing encrypted IFF, GQ and MV identity files redirected to -stdout +stdout to -passwd. +passwd. In effect, these files are decrypted with the -p password, then encrypted with the -q -password. +password. By default, the password is the string returned by the Unix hostname -command. -

        -s --subject-key= [host] [@ group]
        Specify the Autokey host name, where +command. +

        +
        -s --subject-key= [host] [@ group]
        +

        Specify the Autokey host name, where host is the optional host name and group -is the optional group name. +is the optional group name. The host name, and if provided, group name are used in host @ group -form as certificate subject and issuer. +form as certificate subject and issuer. Specifying -s -@ group is allowed, and results in leaving the host name unchanged, as with --i group. +-i group. The group name, or if no group is provided, the host name are also used in the file names of IFF, GQ, and MV -identity scheme client parameter files. +identity scheme client parameter files. If host is not specified, the default host name is the string returned by the Unix hostname -command. -

        -S --sign-key= [RSA | DSA]
        Generate a new encrypted public/private sign key file of the specified type. -By default, the sign key is the host key and has the same type. +command. +

        +
        -S --sign-key= [RSA | DSA]
        +

        Generate a new encrypted public/private sign key file of the specified type. +By default, the sign key is the host key and has the same type. If compatibility with FIPS 140-2 is required, the sign key type must be -DSA. -

        -T --trusted-cert
        Generate a trusted certificate. -By default, the program generates a non-trusted certificate. -
        -V --mv-params nkeys
        Generate +DSA. +

        +
        -T --trusted-cert
        +

        Generate a trusted certificate. +By default, the program generates a non-trusted certificate. +

        +
        -V --mv-params nkeys
        +

        Generate nkeys encrypted server keys and parameters for the Mu-Varadharajan (MV) -identity scheme. +identity scheme. This option is mutually exclusive with the -I and -G -options. -Note: support for this option should be considered a work in progress. +options. +Note: support for this option should be considered a work in progress. +

        -
        Random Seed File
        - + +

        1.2.1.4 Random Seed File

        All cryptographically sound key generation schemes must have means to randomize the entropy seed used to initialize the internal pseudo-random number generator used -by the library routines. -The OpenSSL library uses a designated random seed file for this purpose. +by the library routines. +The OpenSSL library uses a designated random seed file for this purpose. The file must be available when starting the NTP daemon and ntp-keygen -program. +program. If a site supports OpenSSL or its companion OpenSSH, it is very likely that means to do this are already available. - -

        It is important to understand that entropy must be evolved +

        +

        It is important to understand that entropy must be evolved for each generation, for otherwise the random number sequence -would be predictable. +would be predictable. Various means dependent on external events, such as keystroke intervals, -can be used to do this and some systems have built-in entropy sources. +can be used to do this and some systems have built-in entropy sources. Suitable means are described in the OpenSSL software documentation, but are outside the scope of this page. - -

        The entropy seed used by the OpenSSL library is contained in a file, +

        +

        The entropy seed used by the OpenSSL library is contained in a file, usually called -.rnd, +.rnd, which must be available when starting the NTP daemon or the ntp-keygen -program. +program. The NTP daemon will first look for the file using the path specified by the randfile subcommand of the crypto -configuration command. +configuration command. If not specified in this way, or when starting the ntp-keygen program, @@ -1040,77 +1173,76 @@ the OpenSSL library will look for the file using the path specified by the .Ev RANDFILE environment variable in the user home directory, -whether root or some other user. +whether root or some other user. If the .Ev RANDFILE environment variable is not present, the library will look for the -.rnd -file in the user home directory. +.rnd +file in the user home directory. Since both the ntp-keygen program and ntpd(1ntpdmdoc) daemon must run as root, the logical place to put this file is in -/.rnd +/.rnd or -/root/.rnd. +/root/.rnd. If the file is not available or cannot be written, the daemon exits with a message to the system log and the program exits with a suitable error message. - -

        Cryptographic Data Files
        - -

        All file formats begin with two nonencrypted lines. +

        + +

        1.2.1.5 Cryptographic Data Files

        +

        All file formats begin with two nonencrypted lines. The first line contains the file name, including the generated host name and filestamp, in the format -ntpkey_key _ name. filestamp, +ntpkey_key _ name. filestamp, where key is the key or parameter type, name is the host or group name and filestamp -is the filestamp (NTP seconds) when the file was created. +is the filestamp (NTP seconds) when the file was created. By convention, key names in generated file names include both upper and lower case characters, while key -names in generated link names include only lower case characters. -The filestamp is not used in generated link names. +names in generated link names include only lower case characters. +The filestamp is not used in generated link names. The second line contains the datestamp in conventional Unix -date -format. +date +format. Lines beginning with -# +‘#’ are considered comments and ignored by the ntp-keygen program and ntpd(1ntpdmdoc) daemon. - -

        The remainder of the file contains cryptographic data, encoded first using ASN.1 +

        +

        The remainder of the file contains cryptographic data, encoded first using ASN.1 rules, then encrypted if necessary, and finally written in PEM-encoded printable ASCII text, preceded and followed by MIME content identifier lines. - -

        The format of the symmetric keys file, ordinarily named -ntp.keys, -is somewhat different than the other files in the interest of backward compatibility. +

        +

        The format of the symmetric keys file, ordinarily named +ntp.keys, +is somewhat different than the other files in the interest of backward compatibility. Ordinarily, the file is generated by this program, but it can be constructed and edited using an ordinary text editor. -

        -# ntpkey_MD5key_bk.ntp.org.3595864945
        +

        # ntpkey_MD5key_bk.ntp.org.3595864945
         # Thu Dec 12 19:22:25 2013
         
        -1  MD5 L";Nw<\`.I<f4U0)247"i  # MD5 key
        -2  MD5 &>l0%XXK9O'51VwV<xq~  # MD5 key
        +1  MD5 L";Nw<\`.I<f4U0)247"i  # MD5 key
        +2  MD5 &>l0%XXK9O'51VwV<xq~  # MD5 key
         3  MD5 lb4zLW~d^!K:]RsD'qb6  # MD5 key
         4  MD5 Yue:tL[+vR)M\`n~bY,'?  # MD5 key
         5  MD5 B;fx'Kgr/&4ZTbL6=RxA  # MD5 key
         6  MD5 4eYwa\`o@}3i@@@@V@@..R9!l  # MD5 key
         7  MD5 \`A.([h+;wTQ|xfi%Sn_!  # MD5 key
        -8  MD5 45:V,r4]l6y^JH6"Sh?F  # MD5 key
        +8  MD5 45:V,r4]l6y^JH6"Sh?F  # MD5 key
         9  MD5 3-5vcn*6l29DS?Xdsg)*  # MD5 key
         10 MD5 2late4Me              # MD5 key
         11 SHA1 a27872d3030a9025b8446c751b4551a7629af65c  # SHA1 key
        @@ -1123,15 +1255,17 @@ and edited using an ordinary text editor.
         18 MDC2 a8d5e2315c025bf3a79174c87fbd10477de2eabc  # MDC2 key
         19 RIPEMD160 77ca332cafb30e3cafb174dcd5b80ded7ba9b3d2  # RIPEMD160 key
         20 AES128CMAC f92ff73eee86c1e7dc638d6489a04e4e555af878  # AES128CMAC key
        -
        -
             Figure 1. Typical Symmetric Key File
        -
        -

        Figure 1 shows a typical symmetric keys file used by the reference -implementation. +

        +
        Figure 1. Typical Symmetric Key File
        +
        + +

        Figure 1 shows a typical symmetric keys file used by the reference +implementation. Following the header the keys are entered one per line in the format -

             keyno type key
        -
        -

        where +

        +
        keyno type key
        +
        +

        where keyno is a positive integer in the range 1-65535; type @@ -1151,18 +1285,18 @@ is the key itself, which is a printable ASCII string 20 characters or less in length: each character is chosen from the 93 printable characters in the range 0x21 through 0x7e ( -! +‘’! through -~ +‘~’ ) excluding space and the -# +‘#’ character, and terminated by whitespace or a -# -character. +‘#’ +character. An OpenSSL key consists of a hex-encoded ASCII string of 40 characters, which is truncated as necessary. - -

        Note that the keys used by the +

        +

        Note that the keys used by the ntpq(1ntpqmdoc) and ntpdc(1ntpdcmdoc) @@ -1170,21 +1304,21 @@ programs are checked against passwords requested by the programs and entered by hand, so it is generally appropriate to specify these keys in human readable ASCII format. - -

        The +

        +

        The ntp-keygen program generates a symmetric keys file -ntpkey_MD5key_hostname. filestamp. +ntpkey_MD5key_hostname. filestamp. Since the file contains private shared keys, it should be visible only to root and distributed by secure means -to other subnet hosts. +to other subnet hosts. The NTP daemon loads the file -ntp.keys, +ntp.keys, so ntp-keygen -installs a soft link from this name to the generated file. +installs a soft link from this name to the generated file. Subsequently, similar soft links must be installed by manual -or automated means on the other subnet hosts. +or automated means on the other subnet hosts. While this file is not used with the Autokey Version 2 protocol, it is needed to authenticate some remote configuration commands used by the @@ -1192,60 +1326,86 @@ used by the and ntpdc(1ntpdcmdoc) utilities. - -

        This section was generated by AutoGen, -using the agtexi-cmd template and the option descriptions for the ntp-keygen program. +

        +

        This section was generated by AutoGen, +using the agtexi-cmd template and the option descriptions for the ntp-keygen program. This software is released under the NTP license, <http://ntp.org/license>. +

        + + + + + + + + + + + + + + + + + + + + + + + + + + + - - -
        -


        -Next: , -Up: ntp-keygen Invocation -
        +
        + + + +

        1.2.2 ntp-keygen help/usage (--help)

        + -

        ntp-keygen help/usage (--help)

        - -

        -This is the automatically generated usage text for ntp-keygen. - -

        The text printed is the same whether selected with the help option -(--help) or the more-help option (--more-help). more-help will print -the usage text by passing it through a pager program. +

        This is the automatically generated usage text for ntp-keygen. +

        +

        The text printed is the same whether selected with the help option +(--help) or the more-help option (--more-help). more-help will print +the usage text by passing it through a pager program. more-help is disabled on platforms without a working fork(2) function. The PAGER environment variable is -used to select the program, defaulting to more. Both will exit +used to select the program, defaulting to more. Both will exit with a status code of 0. - -

        ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.8p11
        +

        +
        +
        ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.8p12
         Usage:  ntp-keygen [ -<flag> [<val>] | --<name>[{=| }<val>] ]...
           Flg Arg Option-Name    Description
            -b Num imbits         identity modulus bits
        @@ -1293,680 +1453,679 @@ The following option preset mechanisms are supported:
          - examining environment variables named NTP_KEYGEN_*
         
         Please send bug reports to:  <http://bugs.ntp.org, bugs@ntp.org>
        -
        -
        + +
        + + + +

        1.2.3 imbits option (-b)

        + -

        imbits option (-b)

        +

        This is the “identity modulus bits” option. +This option takes a number argument imbits. +

        +

        This option has some usage constraints. It: +

          +
        • must be compiled in by defining AUTOKEY during the compilation. +
        -

        -This is the “identity modulus bits” option. -This option takes a number argument imbits. - -

        This option has some usage constraints. It: -

          -
        • must be compiled in by defining AUTOKEY during the compilation. -
        - -

        The number of bits in the identity modulus. The default is 256. -

        -


        -Next: , -Previous: ntp-keygen imbits, -Up: ntp-keygen Invocation -
        +

        The number of bits in the identity modulus. The default is 256. +


        + + + +

        1.2.4 certificate option (-c)

        + -

        certificate option (-c)

        +

        This is the “certificate scheme” option. +This option takes a string argument scheme. +

        +

        This option has some usage constraints. It: +

          +
        • must be compiled in by defining AUTOKEY during the compilation. +
        -

        -This is the “certificate scheme” option. -This option takes a string argument scheme. - -

        This option has some usage constraints. It: -

          -
        • must be compiled in by defining AUTOKEY during the compilation. -
        - -

        scheme is one of +

        scheme is one of RSA-MD2, RSA-MD5, RSA-MDC2, RSA-SHA, RSA-SHA1, RSA-RIPEMD160, DSA-SHA, or DSA-SHA1. - -

        Select the certificate signature encryption/message digest scheme. +

        +

        Select the certificate signature encryption/message digest scheme. Note that RSA schemes must be used with a RSA sign key and DSA schemes must be used with a DSA sign key. The default without -this option is RSA-MD5. -

        -


        -Next: , -Previous: ntp-keygen certificate, -Up: ntp-keygen Invocation -
        +this option is RSA-MD5. +


        + + + +

        1.2.5 cipher option (-C)

        + -

        cipher option (-C)

        +

        This is the “privatekey cipher” option. +This option takes a string argument cipher. +

        +

        This option has some usage constraints. It: +

          +
        • must be compiled in by defining AUTOKEY during the compilation. +
        -

        -This is the “privatekey cipher” option. -This option takes a string argument cipher. - -

        This option has some usage constraints. It: -

          -
        • must be compiled in by defining AUTOKEY during the compilation. -
        - -

        Select the cipher which is used to encrypt the files containing +

        Select the cipher which is used to encrypt the files containing private keys. The default is three-key triple DES in CBC mode, -equivalent to "-C des-ede3-cbc". The openssl tool lists ciphers -available in "openssl -h" output. -

        -


        -Next: , -Previous: ntp-keygen cipher, -Up: ntp-keygen Invocation -
        +equivalent to "-C des-ede3-cbc". The openssl tool lists ciphers +available in "openssl -h" output. +


        + + + +

        1.2.6 id-key option (-e)

        + -

        id-key option (-e)

        +

        This is the “write iff or gq identity keys” option. +

        +

        This option has some usage constraints. It: +

          +
        • must be compiled in by defining AUTOKEY during the compilation. +
        -

        -This is the “write iff or gq identity keys” option. - -

        This option has some usage constraints. It: -

          -
        • must be compiled in by defining AUTOKEY during the compilation. -
        - -

        Write the public parameters from the IFF or GQ client keys to -the standard output. -This is intended for automatic key distribution by email. -

        -


        -Next: , -Previous: ntp-keygen id-key, -Up: ntp-keygen Invocation -
        +

        Write the public parameters from the IFF or GQ client keys to +the standard output. +This is intended for automatic key distribution by email. +


        + + + +

        1.2.7 gq-params option (-G)

        + -

        gq-params option (-G)

        +

        This is the “generate gq parameters and keys” option. +

        +

        This option has some usage constraints. It: +

          +
        • must be compiled in by defining AUTOKEY during the compilation. +
        -

        -This is the “generate gq parameters and keys” option. - -

        This option has some usage constraints. It: -

          -
        • must be compiled in by defining AUTOKEY during the compilation. -
        - -

        Generate parameters and keys for the GQ identification scheme, -obsoleting any that may exist. -

        -


        -Next: , -Previous: ntp-keygen gq-params, -Up: ntp-keygen Invocation -
        +

        Generate parameters and keys for the GQ identification scheme, +obsoleting any that may exist. +


        + + + +

        1.2.8 host-key option (-H)

        + -

        host-key option (-H)

        +

        This is the “generate rsa host key” option. +

        +

        This option has some usage constraints. It: +

          +
        • must be compiled in by defining AUTOKEY during the compilation. +
        -

        -This is the “generate rsa host key” option. - -

        This option has some usage constraints. It: -

          -
        • must be compiled in by defining AUTOKEY during the compilation. -
        - -

        Generate new host keys, obsoleting any that may exist. -

        -


        -Next: , -Previous: ntp-keygen host-key, -Up: ntp-keygen Invocation -
        +

        Generate new host keys, obsoleting any that may exist. +


        + + + +

        1.2.9 iffkey option (-I)

        + -

        iffkey option (-I)

        +

        This is the “generate iff parameters” option. +

        +

        This option has some usage constraints. It: +

          +
        • must be compiled in by defining AUTOKEY during the compilation. +
        -

        -This is the “generate iff parameters” option. - -

        This option has some usage constraints. It: -

          -
        • must be compiled in by defining AUTOKEY during the compilation. -
        - -

        Generate parameters for the IFF identification scheme, obsoleting -any that may exist. -

        -


        -Next: , -Previous: ntp-keygen iffkey, -Up: ntp-keygen Invocation -
        +

        Generate parameters for the IFF identification scheme, obsoleting +any that may exist. +


        + + + +

        1.2.10 ident option (-i)

        + -

        ident option (-i)

        +

        This is the “set autokey group name” option. +This option takes a string argument group. +

        +

        This option has some usage constraints. It: +

          +
        • must be compiled in by defining AUTOKEY during the compilation. +
        -

        -This is the “set autokey group name” option. -This option takes a string argument group. - -

        This option has some usage constraints. It: -

          -
        • must be compiled in by defining AUTOKEY during the compilation. -
        - -

        Set the optional Autokey group name to name. This is used in +

        Set the optional Autokey group name to name. This is used in the file name of IFF, GQ, and MV client parameters files. In that role, the default is the host name if this option is not provided. The group name, if specified using -i/--ident or -using -s/--subject-name following an '@' character, +using -s/--subject-name following an ’@’ character, is also a part of the self-signed host certificate subject and issuer names in the form host@group and should match the -'crypto ident' or 'server ident' configuration in the -ntpd configuration file. -

        -


        -Next: , -Previous: ntp-keygen ident, -Up: ntp-keygen Invocation -
        +’crypto ident’ or ’server ident’ configuration in the +ntpd configuration file. +


        + + + +

        1.2.11 lifetime option (-l)

        + -

        lifetime option (-l)

        +

        This is the “set certificate lifetime” option. +This option takes a number argument lifetime. +

        +

        This option has some usage constraints. It: +

          +
        • must be compiled in by defining AUTOKEY during the compilation. +
        -

        -This is the “set certificate lifetime” option. -This option takes a number argument lifetime. - -

        This option has some usage constraints. It: -

          -
        • must be compiled in by defining AUTOKEY during the compilation. -
        - -

        Set the certificate expiration to lifetime days from now. -

        -


        -Next: , -Previous: ntp-keygen lifetime, -Up: ntp-keygen Invocation -
        +

        Set the certificate expiration to lifetime days from now. +


        + + + +

        1.2.12 modulus option (-m)

        + -

        modulus option (-m)

        +

        This is the “prime modulus” option. +This option takes a number argument modulus. +

        +

        This option has some usage constraints. It: +

          +
        • must be compiled in by defining AUTOKEY during the compilation. +
        -

        -This is the “prime modulus” option. -This option takes a number argument modulus. - -

        This option has some usage constraints. It: -

          -
        • must be compiled in by defining AUTOKEY during the compilation. -
        - -

        The number of bits in the prime modulus. The default is 512. -

        -


        -Next: , -Previous: ntp-keygen modulus, -Up: ntp-keygen Invocation -
        +

        The number of bits in the prime modulus. The default is 512. +


        + + + +

        1.2.13 md5key option (-M)

        + -

        md5key option (-M)

        - -

        -This is the “generate symmetric keys” option. -Generate symmetric keys, obsoleting any that may exist. -

        -


        -Next: , -Previous: ntp-keygen md5key, -Up: ntp-keygen Invocation -
        +

        This is the “generate symmetric keys” option. +Generate symmetric keys, obsoleting any that may exist. +


        + + + +

        1.2.14 pvt-cert option (-P)

        + -

        pvt-cert option (-P)

        +

        This is the “generate pc private certificate” option. +

        +

        This option has some usage constraints. It: +

          +
        • must be compiled in by defining AUTOKEY during the compilation. +
        -

        -This is the “generate pc private certificate” option. - -

        This option has some usage constraints. It: -

          -
        • must be compiled in by defining AUTOKEY during the compilation. -
        - -

        Generate a private certificate. By default, the program generates -public certificates. -

        -


        -Next: , -Previous: ntp-keygen pvt-cert, -Up: ntp-keygen Invocation -
        +

        Generate a private certificate. By default, the program generates +public certificates. +


        + + + +

        1.2.15 password option (-p)

        + -

        password option (-p)

        +

        This is the “local private password” option. +This option takes a string argument passwd. +

        +

        This option has some usage constraints. It: +

          +
        • must be compiled in by defining AUTOKEY during the compilation. +
        -

        -This is the “local private password” option. -This option takes a string argument passwd. - -

        This option has some usage constraints. It: -

          -
        • must be compiled in by defining AUTOKEY during the compilation. -
        - -

        Local files containing private data are encrypted with the +

        Local files containing private data are encrypted with the DES-CBC algorithm and the specified password. The same password -must be specified to the local ntpd via the "crypto pw password" +must be specified to the local ntpd via the "crypto pw password" configuration command. The default password is the local -hostname. -

        -


        -Next: , -Previous: ntp-keygen password, -Up: ntp-keygen Invocation -
        +hostname. +


        + + + +

        1.2.16 export-passwd option (-q)

        + -

        export-passwd option (-q)

        +

        This is the “export iff or gq group keys with password” option. +This option takes a string argument passwd. +

        +

        This option has some usage constraints. It: +

          +
        • must be compiled in by defining AUTOKEY during the compilation. +
        -

        -This is the “export iff or gq group keys with password” option. -This option takes a string argument passwd. - -

        This option has some usage constraints. It: -

          -
        • must be compiled in by defining AUTOKEY during the compilation. -
        - -

        Export IFF or GQ identity group keys to the standard output, -encrypted with the DES-CBC algorithm and the specified password. +

        Export IFF or GQ identity group keys to the standard output, +encrypted with the DES-CBC algorithm and the specified password. The same password must be specified to the remote ntpd via the -"crypto pw password" configuration command. See also the option -–id-key (-e) for unencrypted exports. -

        -


        -Next: , -Previous: ntp-keygen export-passwd, -Up: ntp-keygen Invocation -
        +"crypto pw password" configuration command. See also the option +–id-key (-e) for unencrypted exports. +


        + + + +

        1.2.17 subject-name option (-s)

        + -

        subject-name option (-s)

        +

        This is the “set host and optionally group name” option. +This option takes a string argument host@group. +

        +

        This option has some usage constraints. It: +

          +
        • must be compiled in by defining AUTOKEY during the compilation. +
        -

        -This is the “set host and optionally group name” option. -This option takes a string argument host@group. - -

        This option has some usage constraints. It: -

          -
        • must be compiled in by defining AUTOKEY during the compilation. -
        - -

        Set the Autokey host name, and optionally, group name specified -following an '@' character. The host name is used in the file +

        Set the Autokey host name, and optionally, group name specified +following an ’@’ character. The host name is used in the file name of generated host and signing certificates, without the group name. The host name, and if provided, group name are used in host@group form for the host certificate subject and issuer -fields. Specifying '-s @group' is allowed, and results in +fields. Specifying ’-s @group’ is allowed, and results in leaving the host name unchanged while appending @group to the subject and issuer fields, as with -i group. The group name, or if not provided, the host name are also used in the file names -of IFF, GQ, and MV client parameter files. -

        -


        -Next: , -Previous: ntp-keygen subject-name, -Up: ntp-keygen Invocation -
        +of IFF, GQ, and MV client parameter files. +


        + + + +

        1.2.18 sign-key option (-S)

        + -

        sign-key option (-S)

        +

        This is the “generate sign key (rsa or dsa)” option. +This option takes a string argument sign. +

        +

        This option has some usage constraints. It: +

          +
        • must be compiled in by defining AUTOKEY during the compilation. +
        -

        -This is the “generate sign key (rsa or dsa)” option. -This option takes a string argument sign. - -

        This option has some usage constraints. It: -

          -
        • must be compiled in by defining AUTOKEY during the compilation. -
        - -

        Generate a new sign key of the designated type, obsoleting any +

        Generate a new sign key of the designated type, obsoleting any that may exist. By default, the program uses the host key as the -sign key. -

        -


        -Next: , -Previous: ntp-keygen sign-key, -Up: ntp-keygen Invocation -
        +sign key. +


        + + + +

        1.2.19 trusted-cert option (-T)

        + -

        trusted-cert option (-T)

        +

        This is the “trusted certificate (tc scheme)” option. +

        +

        This option has some usage constraints. It: +

          +
        • must be compiled in by defining AUTOKEY during the compilation. +
        -

        -This is the “trusted certificate (tc scheme)” option. - -

        This option has some usage constraints. It: -

          -
        • must be compiled in by defining AUTOKEY during the compilation. -
        - -

        Generate a trusted certificate. By default, the program generates -a non-trusted certificate. -

        -


        -Next: , -Previous: ntp-keygen trusted-cert, -Up: ntp-keygen Invocation -
        +

        Generate a trusted certificate. By default, the program generates +a non-trusted certificate. +


        + + + +

        1.2.20 mv-params option (-V)

        + -

        mv-params option (-V)

        +

        This is the “generate <num> mv parameters” option. +This option takes a number argument num. +

        +

        This option has some usage constraints. It: +

          +
        • must be compiled in by defining AUTOKEY during the compilation. +
        -

        -This is the “generate <num> mv parameters” option. -This option takes a number argument num. - -

        This option has some usage constraints. It: -

          -
        • must be compiled in by defining AUTOKEY during the compilation. -
        - -

        Generate parameters and keys for the Mu-Varadharajan (MV) -identification scheme. -

        -


        -Next: , -Previous: ntp-keygen mv-params, -Up: ntp-keygen Invocation -
        +

        Generate parameters and keys for the Mu-Varadharajan (MV) +identification scheme. +


        + + + +

        1.2.21 mv-keys option (-v)

        + -

        mv-keys option (-v)

        +

        This is the “update <num> mv keys” option. +This option takes a number argument num. +

        +

        This option has some usage constraints. It: +

          +
        • must be compiled in by defining AUTOKEY during the compilation. +
        -

        -This is the “update <num> mv keys” option. -This option takes a number argument num. +

        This option has no ‘doc’ documentation. +

        -

        This option has some usage constraints. It: -

          -
        • must be compiled in by defining AUTOKEY during the compilation. -
        - -

        This option has no doc documentation. - -

        -


        -Next: , -Previous: ntp-keygen mv-keys, -Up: ntp-keygen Invocation -
        +
        + + - -

        presetting/configuring ntp-keygen

        + +

        1.2.22 presetting/configuring ntp-keygen

        Any option that is not marked as not presettable may be preset by -loading values from configuration ("rc" or "ini") files, and values from environment variables named NTP-KEYGEN and NTP-KEYGEN_<OPTION_NAME>. <OPTION_NAME> must be one of -the options listed above in upper case and segmented with underscores. +loading values from configuration ("rc" or "ini") files, and values from environment variables named NTP-KEYGEN and NTP-KEYGEN_<OPTION_NAME>. <OPTION_NAME> must be one of +the options listed above in upper case and segmented with underscores. The NTP-KEYGEN variable will be tokenized and parsed like the command line. The remaining variables are tested for existence and their values are treated like option arguments. +

        -

        libopts will search in 2 places for configuration files: -

          -
        • $HOME -
        • $PWD -
        - The environment variables HOME, and PWD -are expanded and replaced when ntp-keygen runs. -For any of these that are plain files, they are simply processed. -For any that are directories, then a file named .ntprc is searched for +

        libopts will search in 2 places for configuration files: +

          +
        • $HOME +
        • $PWD +
        +

        The environment variables HOME, and PWD +are expanded and replaced when ntp-keygen runs. +For any of these that are plain files, they are simply processed. +For any that are directories, then a file named .ntprc is searched for within that directory and processed. - -

        Configuration files may be in a wide variety of formats. +

        +

        Configuration files may be in a wide variety of formats. The basic format is an option name followed by a value (argument) on the same line. Values may be separated from the option name with a colon, equal sign or simply white space. Values may be continued across multiple lines by escaping the newline with a backslash. - -

        Multiple programs may also share the same initialization file. +

        +

        Multiple programs may also share the same initialization file. Common options are collected at the top, followed by program specific segments. The segments are separated by lines like: -

            [NTP-KEYGEN]
        -
        -

        or by -

            <?program ntp-keygen>
        -
        -

        Do not mix these styles within one configuration file. - -

        Compound values and carefully constructed string values may also be +

        +
        [NTP-KEYGEN]
        +
        +

        or by +

        +
        <?program ntp-keygen>
        +
        +

        Do not mix these styles within one configuration file. +

        +

        Compound values and carefully constructed string values may also be specified using XML syntax: -

            <option-name>
        -       <sub-opt>...&lt;...&gt;...</sub-opt>
        -    </option-name>
        -
        -

        yielding an option-name.sub-opt string value of -

            "...<...>..."
        -
        -

        AutoOpts does not track suboptions. You simply note that it is a +

        +
        <option-name>
        +   <sub-opt>...&lt;...&gt;...</sub-opt>
        +</option-name>
        +
        +

        yielding an option-name.sub-opt string value of +

        +
        "...<...>..."
        +
        +

        AutoOpts does not track suboptions. You simply note that it is a hierarchicly valued option. AutoOpts does provide a means for searching the associated name/value pair list (see: optionFindValue). - -

        The command line options relating to configuration and/or usage help are: - -

        version (-)
        +

        +

        The command line options relating to configuration and/or usage help are: +

        + +

        version (-)

        Print the program version to standard out, optionally with licensing information, then exit 0. The optional argument specifies how much licensing -detail to provide. The default is to print just the version. The licensing infomation may be selected with an option argument. +detail to provide. The default is to print just the version. The licensing infomation may be selected with an option argument. Only the first letter of the argument is examined: - -

        -
        version
        Only print the version. This is the default. -
        copyright
        Name the copyright usage licensing terms. -
        verbose
        Print the full copyright usage licensing terms. +

        +
        +
        version
        +

        Only print the version. This is the default. +

        +
        copyright
        +

        Name the copyright usage licensing terms. +

        +
        verbose
        +

        Print the full copyright usage licensing terms. +

        -
        -


        -Next: , -Previous: ntp-keygen config, -Up: ntp-keygen Invocation -
        +
        + + - -

        ntp-keygen exit status

        + +

        1.2.23 ntp-keygen exit status

        One of the following exit values will be returned: -

        -
        0 (EXIT_SUCCESS)
        Successful program execution. -
        1 (EXIT_FAILURE)
        The operation failed or the command syntax was not valid. -
        66 (EX_NOINPUT)
        A specified configuration file could not be loaded. -
        70 (EX_SOFTWARE)
        libopts had an internal operational error. Please report -it to autogen-users@lists.sourceforge.net. Thank you. +

        +
        0 (EXIT_SUCCESS)
        +

        Successful program execution. +

        +
        1 (EXIT_FAILURE)
        +

        The operation failed or the command syntax was not valid. +

        +
        66 (EX_NOINPUT)
        +

        A specified configuration file could not be loaded. +

        +
        70 (EX_SOFTWARE)
        +

        libopts had an internal operational error. Please report +it to autogen-users@lists.sourceforge.net. Thank you. +

        -
        -


        -Next: , -Previous: ntp-keygen exit status, -Up: ntp-keygen Invocation -
        +
        + + - -

        ntp-keygen Usage

        - -
        -


        -Next: , -Previous: ntp-keygen Usage, -Up: ntp-keygen Invocation -
        + +

        1.2.24 ntp-keygen Usage

        +
        + + - -

        ntp-keygen Notes

        - -
        -


        -Previous: ntp-keygen Notes, -Up: ntp-keygen Invocation -
        + +

        1.2.25 ntp-keygen Notes

        +
        + + + +

        1.2.26 ntp-keygen Bugs

        -

        ntp-keygen Bugs

        - -
        -


        -Next: , -Previous: Running the Program, -Up: Top -
        +
        + +
        +

        +Next: , Previous: , Up: Top  

        - - -

        Random Seed File

        + +

        1.3 Random Seed File

        All cryptographically sound key generation schemes must have means to randomize the entropy seed used to initialize the internal -pseudo-random number generator used by the OpenSSL library routines. +pseudo-random number generator used by the OpenSSL library routines. If a site supports ssh, it is very likely that means to do this are -already available. +already available. The entropy seed used by the OpenSSL library is contained in a file, usually called .rnd, which must be available when starting the ntp-keygen program or ntpd daemon. - -

        The OpenSSL library looks for the file using the path specified by the +

        +

        The OpenSSL library looks for the file using the path specified by the RANDFILE environment variable in the user home directory, whether root -or some other user. +or some other user. If the RANDFILE environment variable is not present, the library looks for the .rnd file in the user home -directory. +directory. Since both the ntp-keygen program and ntpd daemon must run as root, the logical place to put this file is in /.rnd or -/root/.rnd. +/root/.rnd. If the file is not available or cannot be written, the program exits with a message to the system log. - -

        -


        -Previous: Random Seed File, -Up: Top -
        +

        +
        + +
        +

        +Previous: , Up: Top  

        - - -

        Cryptographic Data Files

        + +

        1.4 Cryptographic Data Files

        File and link names are in the form ntpkey_key_name.fstamp, where key is the key or parameter type, name is the host or group name and -fstamp is the filestamp (NTP seconds) when the file was created). +fstamp is the filestamp (NTP seconds) when the file was created). By convention, key names in generated file names include both upper and lower case characters, while key names in generated link names include only lower case characters. The filestamp is not used in generated link names. - -

        The key name is a string defining the cryptographic key type. +

        +

        The key name is a string defining the cryptographic key type. Key types include public/private keys host and sign, certificate cert -and several challenge/response key types. +and several challenge/response key types. By convention, client files used for challenges have a par subtype, as in the IFF challenge IFFpar, while server files for responses have a key subtype, as in the GQ response GQkey. - -

        All files begin with two nonencrypted lines. The first line contains -the file name in the format ntpkey_key_host.fstamp. -The second line contains the datestamp in conventional Unix date format. +

        +

        All files begin with two nonencrypted lines. The first line contains +the file name in the format ntpkey_key_host.fstamp. +The second line contains the datestamp in conventional Unix date format. Lines beginning with # are ignored. - -

        The remainder of the file contains cryptographic data encoded first +

        +

        The remainder of the file contains cryptographic data encoded first using ASN.1 rules, then encrypted using the DES-CBC algorithm with given password and finally written in PEM-encoded printable ASCII text preceded and followed by MIME content identifier lines. - -

        The format of the symmetric keys file, ordinarily named ntp.keys, +

        +

        The format of the symmetric keys file, ordinarily named ntp.keys, is somewhat different than the other files in the interest of backward -compatibility. +compatibility. Ordinarily, the file is generated by this program, but it can be constructed and edited using an ordinary text editor. +

        +
        +
        # ntpkey_MD5key_hms.local.3564038757
        +# Sun Dec  9 02:45:57 2012
         
        -
            # ntpkey_MD5key_hms.local.3564038757
        -    # Sun Dec  9 02:45:57 2012
        -    
        -     1 MD5 "]!ghT%O;3)WJ,/Nc:>I  # MD5 key
        -     2 MD5 lu+H^tF46BKR-6~pV_5  # MD5 key
        -     3 MD5 :lnoVsE%Yz*avh%EtNC  # MD5 key
        -     4 MD5 |fdZrf0sF~^V  # MD5 key
        -     5 MD5 IyAG>O"y"LmCRS!*bHC  # MD5 key
        -     6 MD5 ">e\A  # MD5 key
        -     7 MD5 c9x=M'CfLxax9v)PV-si  # MD5 key
        -     8 MD5 E|=jvFVov?Bn|Ev=&aK\  # MD5 key
        -     9 MD5 T!c4UT&`(m$+m+B6,`Q0  # MD5 key
        -    10 MD5 JVF/1=)=IFbHbJQz..Cd  # MD5 key
        -    11 SHA1 6dea311109529e436c2b4fccae9bc753c16d1b48  # SHA1 key
        -    12 SHA1 7076f373d86c4848c59ff8046e49cb7d614ec394  # SHA1 key
        -    13 SHA1 5f48b1b60591eb01b7cf1d33b7774f08d20262d3  # SHA1 key
        -    14 SHA1 eed5ab9d9497319ec60cf3781d52607e76720178  # SHA1 key
        -    15 SHA1 f283562611a04c964da8126296f5f8e58c3f85de  # SHA1 key
        -    16 SHA1 1930da171297dd63549af50b29449de17dcf341f  # SHA1 key
        -    17 SHA1 fee892110358cd4382322b889869e750db8e8a8f  # SHA1 key
        -    18 SHA1 b5520c9fadd7ad3fd8bfa061c8821b65d029bb37  # SHA1 key
        -    19 SHA1 8c74fb440ec80f453ec6aaa62b9baed0ab723b92  # SHA1 key
        -    20 SHA1 6bc05f734306a189326000970c19b3910f403795  # SHA1 key
        -
        -

        Figure 1. Typical Symmetric Key File + 1 MD5 "]!ghT%O;3)WJ,/Nc:>I # MD5 key + 2 MD5 lu+H^tF46BKR-6~pV_5 # MD5 key + 3 MD5 :lnoVsE%Yz*avh%EtNC # MD5 key + 4 MD5 |fdZrf0sF~;w-i^V # MD5 key + 5 MD5 IyAG>O"y"LmCRS!*bHC # MD5 key + 6 MD5 ">e\A>hT/661ri52,,H # MD5 key + 7 MD5 c9x=M'CfLxax9v)PV-si # MD5 key + 8 MD5 E|=jvFVov?Bn|Ev=&aK\ # MD5 key + 9 MD5 T!c4UT&`(m$+m+B6,`Q0 # MD5 key +10 MD5 JVF/1=)=IFbHbJQz..Cd # MD5 key +11 SHA1 6dea311109529e436c2b4fccae9bc753c16d1b48 # SHA1 key +12 SHA1 7076f373d86c4848c59ff8046e49cb7d614ec394 # SHA1 key +13 SHA1 5f48b1b60591eb01b7cf1d33b7774f08d20262d3 # SHA1 key +14 SHA1 eed5ab9d9497319ec60cf3781d52607e76720178 # SHA1 key +15 SHA1 f283562611a04c964da8126296f5f8e58c3f85de # SHA1 key +16 SHA1 1930da171297dd63549af50b29449de17dcf341f # SHA1 key +17 SHA1 fee892110358cd4382322b889869e750db8e8a8f # SHA1 key +18 SHA1 b5520c9fadd7ad3fd8bfa061c8821b65d029bb37 # SHA1 key +19 SHA1 8c74fb440ec80f453ec6aaa62b9baed0ab723b92 # SHA1 key +20 SHA1 6bc05f734306a189326000970c19b3910f403795 # SHA1 key +

        -

        Figure 1 shows a typical symmetric keys file used by the reference -implementation. +

        Figure 1. Typical Symmetric Key File +

        +

        Figure 1 shows a typical symmetric keys file used by the reference +implementation. Each line of the file contains three fields, first an integer between 1 and 65535, inclusive, representing the key identifier -used in the server and peer configuration commands. +used in the server and peer configuration commands. Next is the key type for the message digest algorithm, which in the absence of the OpenSSL library must be MD5 to designate the MD5 message digest -algorithm. +algorithm. If the OpenSSL library is installed, the key type can be any -message digest algorithm supported by that library. +message digest algorithm supported by that library. However, if compatibility with FIPS 140-2 is required, the key type must be either -SHA or SHA1. +SHA or SHA1. The key type can be changed using an ASCII text editor. - -

        An MD5 key consists of a printable ASCII string less than or equal to -16 characters and terminated by whitespace or a # character. +

        +

        An MD5 key consists of a printable ASCII string less than or equal to +16 characters and terminated by whitespace or a # character. An OpenSSL key consists of a hex-encoded ASCII string of 40 characters, which is truncated as necessary. - -

        Note that the keys used by the ntpq and ntpdc programs are +

        +

        Note that the keys used by the ntpq and ntpdc programs are checked against passwords requested by the programs and entered by hand, so it is generally appropriate to specify these keys in human readable ASCII format. - -

        The ntp-keygen program generates a MD5 symmetric keys file -ntpkey_MD5key_hostname.filestamp. +

        +

        The ntp-keygen program generates a MD5 symmetric keys file +ntpkey_MD5key_hostname.filestamp. Since the file contains private shared keys, it should be visible only to root and distributed by -secure means to other subnet hosts. +secure means to other subnet hosts. The NTP daemon loads the file ntp.keys, so ntp-keygen -installs a soft link from this name to the generated file. +installs a soft link from this name to the generated file. Subsequently, similar soft links must be installed by -manual or automated means on the other subnet hosts. +manual or automated means on the other subnet hosts. While this file is not used with the Autokey Version 2 protocol, it is needed to authenticate some remote configuration commands used by the ntpq and ntpdc utilities. +


        - + + + diff --git a/contrib/ntp/util/ntp-keygen.man.in b/contrib/ntp/util/ntp-keygen.man.in index f4eee2f26c54..13c71eac4079 100644 --- a/contrib/ntp/util/ntp-keygen.man.in +++ b/contrib/ntp/util/ntp-keygen.man.in @@ -10,11 +10,11 @@ .ds B-Font B .ds I-Font I .ds R-Font R -.TH ntp-keygen @NTP_KEYGEN_MS@ "14 Aug 2018" "ntp (4.2.8p12)" "User Commands" +.TH ntp-keygen @NTP_KEYGEN_MS@ "20 Feb 2019" "ntp (4.2.8p13)" "User Commands" .\" -.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-VYaG.G/ag-7Yay9G) +.\" EDIT THIS FILE WITH CAUTION (in-mem file) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:30:31 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:57:14 AM by AutoGen 5.18.5 .\" From the definitions ntp-keygen-opts.def .\" and the template file agman-cmd.tpl .SH NAME diff --git a/contrib/ntp/util/ntp-keygen.mdoc.in b/contrib/ntp/util/ntp-keygen.mdoc.in index 5c0d952d33de..a2fcedffb862 100644 --- a/contrib/ntp/util/ntp-keygen.mdoc.in +++ b/contrib/ntp/util/ntp-keygen.mdoc.in @@ -1,9 +1,9 @@ -.Dd August 14 2018 +.Dd February 20 2019 .Dt NTP_KEYGEN @NTP_KEYGEN_MS@ User Commands .Os .\" EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.mdoc) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:30:38 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:57:11 AM by AutoGen 5.18.5 .\" From the definitions ntp-keygen-opts.def .\" and the template file agmdoc-cmd.tpl .Sh NAME diff --git a/contrib/ntp/util/ntptime.c b/contrib/ntp/util/ntptime.c index c47e356dd796..35896e90922e 100644 --- a/contrib/ntp/util/ntptime.c +++ b/contrib/ntp/util/ntptime.c @@ -349,10 +349,6 @@ main( printf(" status %s,\n", sprintb((u_int)ntx.status, TIMEX_STA_BITS)); ftemp = (double)ntx.tolerance / SCALE_FREQ; gtemp = (double)ntx.precision; -#ifdef STA_NANO - if (flash & STA_NANO) - gtemp /= 1000.0; -#endif printf( " time constant %lu, precision %.3f us, tolerance %.0f ppm,\n", (u_long)ntx.constant, gtemp, ftemp); diff --git a/usr.sbin/ntp/libntp/Makefile b/usr.sbin/ntp/libntp/Makefile index bd3b8b51d866..34805712381b 100644 --- a/usr.sbin/ntp/libntp/Makefile +++ b/usr.sbin/ntp/libntp/Makefile @@ -29,7 +29,7 @@ NTP_SRCS= systime.c a_md5encrypt.c adjtime.c atoint.c \ socktoa.c socktohost.c ssl_init.c statestr.c \ strdup.c strl_obsd.c syssignal.c timetoa.c \ timevalops.c uglydate.c vint64ops.c work_fork.c \ - work_thread.c ymd2yd.c + work_thread.c xsbprintf.c ymd2yd.c ISC_PTHREADS_SRCS= condition.c \ thread.c \