Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/ntp/dist ---



details:   https://anonhg.NetBSD.org/src/rev/52946aeb5b4b
branches:  trunk
changeset: 815130:52946aeb5b4b
user:      christos <christos%NetBSD.org@localhost>
date:      Sun May 01 15:57:23 2016 +0000

description:
---
(4.2.8p7) 2016/04/26 Released by Harlan Stenn <stenn%ntp.org@localhost>

* [Sec 2901] KoD packets must have non-zero transmit timestamps.  HStenn.
* [Sec 2936] Skeleton Key: Any system knowing the trusted key can serve
  time. Include passive servers in this check. HStenn.
* [Sec 2945] Additional KoD packet checks.  HStenn.
* [Sec 2978] Interleave can be partially triggered.  HStenn.
* [Sec 3007] Validate crypto-NAKs.  Danny Mayer.
* [Sec 3008] Always check the return value of ctl_getitem().
  - initial work by HStenn
  - Additional cleanup of ctl_getitem by perlinger%ntp.org@localhost
* [Sec 3009] Crafted addpeer with hmode > 7 causes OOB error. perlinger%ntp.org@localhost
   - added more stringent checks on packet content
* [Sec 3010] remote configuration trustedkey/requestkey values
  are not properly validated. perlinger%ntp.org@localhost
  - sidekick: Ignore keys that have an unsupported MAC algorithm
    but are otherwise well-formed
* [Sec 3011] Duplicate IPs on unconfig directives will cause an assertion botch
  - graciously accept the same IP multiple times. perlinger%ntp.org@localhost
* [Sec 3020] Refclock impersonation.  HStenn.
* [Bug 2831]  Segmentation Fault in DNS lookup during startup. perlinger%ntp.org@localhost
  - fixed yet another race condition in the threaded resolver code.
* [Bug 2858] bool support.  Use stdbool.h when available.  HStenn.
* [Bug 2879] Improve NTP security against timing attacks. perlinger%ntp.org@localhost
  - integrated patches by Loganaden Velvidron <logan%ntp.org@localhost>
    with some modifications & unit tests
* [Bug 2952] Symmetric active/passive mode is broken.  HStenn.
* [Bug 2960] async name resolution fixes for chroot() environments.
  Reinhard Max.
* [Bug 2994] Systems with HAVE_SIGNALED_IO fail to compile. perlinger%ntp.org@localhost
* [Bug 2995] Fixes to compile on Windows
* [Bug 2999] out-of-bounds access in 'is_safe_filename()'. perlinger%ntp.org@localhost
* [Bug 3013] Fix for ssl_init.c SHA1 test. perlinger%ntp.org@localhost
  - Patch provided by Ch. Weisgerber
* [Bug 3015] ntpq: config-from-file: "request contains an unprintable character"
  - A change related to [Bug 2853] forbids trailing white space in
    remote config commands. perlinger%ntp.org@localhost
* [Bug 3019] NTPD stops processing packets after ERROR_HOST_UNREACHABLE
  - report and patch from Aleksandr Kostikov.
  - Overhaul of Windows IO completion port handling. perlinger%ntp.org@localhost
* [Bug 3022] authkeys.c should be refactored. perlinger%ntp.org@localhost
  - fixed memory leak in access list (auth[read]keys.c)
  - refactored handling of key access lists (auth[read]keys.c)
  - reduced number of error branches (authreadkeys.c)
* [Bug 3023] ntpdate cannot correct dates in the future. perlinger%ntp.org@localhost
* [Bug 3030] ntpq needs a general way to specify refid output format.  HStenn.
* [Bug 3031] ntp broadcastclient unable to synchronize to an server
             when the time of server changed. perlinger%ntp.org@localhost
  - Check the initial delay calculation and reject/unpeer the broadcast
    server if the delay exceeds 50ms. Retry again after the next
    broadcast packet.
* [Bug 3036] autokey trips an INSIST in authistrustedip().  Harlan Stenn.
* Document ntp.key's optional IP list in authenetic.html.  Harlan Stenn.
* Update html/xleave.html documentation.  Harlan Stenn.
* Update ntp.conf documentation.  Harlan Stenn.
* Fix some Credit: attributions in the NEWS file.  Harlan Stenn.
* Fix typo in html/monopt.html.  Harlan Stenn.
* Add README.pullrequests.  Harlan Stenn.
* Cleanup to include/ntp.h.  Harlan Stenn.

---
(4.2.8p6) 2016/01/20 Released by Harlan Stenn <stenn%ntp.org@localhost>

* [Sec 2935] Deja Vu: Replay attack on authenticated broadcast mode. HStenn.
* [Sec 2936] Skeleton Key: Any trusted key system can serve time. HStenn.
* [Sec 2937] ntpq: nextvar() missing length check. perlinger%ntp.org@localhost
* [Sec 2938] ntpq saveconfig command allows dangerous characters
  in filenames. perlinger%ntp.org@localhost
* [Sec 2939] reslist NULL pointer dereference.  perlinger%ntp.org@localhost
* [Sec 2940] Stack exhaustion in recursive traversal of restriction
  list. perlinger%ntp.org@localhost
* [Sec 2942]: Off-path DoS attack on auth broadcast mode.  HStenn.
* [Sec 2945] Zero Origin Timestamp Bypass. perlinger%ntp.org@localhost
* [Sec 2948] Potential Infinite Loop in ntpq ( and ntpdc) perlinger%ntp.org@localhost
* [Bug 2772] adj_systime overflows tv_usec. perlinger%ntp.org@localhost
* [Bug 2814] msyslog deadlock when signaled. perlinger%ntp.org@localhost
  - applied patch by shenpeng11%huawei.com@localhost with minor adjustments
* [Bug 2882] Look at ntp_request.c:list_peers_sum(). perlinger%ntp.org@localhost
* [Bug 2891] Deadlock in deferred DNS lookup framework. perlinger%ntp.org@localhost
* [Bug 2892] Several test cases assume IPv6 capabilities even when
             IPv6 is disabled in the build. perlinger%ntp.org@localhost
  - Found this already fixed, but validation led to cleanup actions.
* [Bug 2905] DNS lookups broken. perlinger%ntp.org@localhost
  - added limits to stack consumption, fixed some return code handling
* [Bug 2971] ntpq bails on ^C: select fails: Interrupted system call
  - changed stacked/nested handling of CTRL-C. perlinger%ntp.org@localhost
  - make CTRL-C work for retrieval and printing od MRU list. perlinger%ntp.org@localhost
* [Bug 2980] reduce number of warnings. perlinger%ntp.org@localhost
  - integrated several patches from Havard Eidnes (he%uninett.no@localhost)
* [Bug 2985] bogus calculation in authkeys.c perlinger%ntp.org@localhost
  - implement 'auth_log2()' using integer bithack instead of float calculation
* Make leapsec_query debug messages less verbose.  Harlan Stenn.
* Disable incomplete t-ntp_signd.c test.  Harlan Stenn.

---

diffstat:

 external/bsd/ntp/dist/COPYRIGHT                                           |    51 +-
 external/bsd/ntp/dist/ChangeLog                                           |    99 +-
 external/bsd/ntp/dist/CommitLog                                           |  2877 ++++-
 external/bsd/ntp/dist/Makefile.am                                         |     1 +
 external/bsd/ntp/dist/Makefile.in                                         |    10 +-
 external/bsd/ntp/dist/NEWS                                                |   603 +-
 external/bsd/ntp/dist/README.pullrequests                                 |    90 +
 external/bsd/ntp/dist/aclocal.m4                                          |   119 +
 external/bsd/ntp/dist/adjtimed/Makefile.in                                |     1 -
 external/bsd/ntp/dist/clockstuff/Makefile.in                              |     1 -
 external/bsd/ntp/dist/config.h.in                                         |    64 +-
 external/bsd/ntp/dist/configure                                           |  3743 ++---
 external/bsd/ntp/dist/configure.ac                                        |    44 +-
 external/bsd/ntp/dist/html/authentic.html                                 |    32 +-
 external/bsd/ntp/dist/html/miscopt.html                                   |    14 +-
 external/bsd/ntp/dist/html/monopt.html                                    |     4 +-
 external/bsd/ntp/dist/html/xleave.html                                    |    12 +-
 external/bsd/ntp/dist/include/Makefile.am                                 |     1 +
 external/bsd/ntp/dist/include/Makefile.in                                 |     2 +-
 external/bsd/ntp/dist/include/isc/Makefile.in                             |     1 -
 external/bsd/ntp/dist/include/ntp_keyacc.h                                |    21 +
 external/bsd/ntp/dist/kernel/Makefile.in                                  |     1 -
 external/bsd/ntp/dist/kernel/sys/Makefile.in                              |     1 -
 external/bsd/ntp/dist/lib/isc/tsmemcmp.c                                  |    57 +
 external/bsd/ntp/dist/libntp/Makefile.am                                  |     2 +
 external/bsd/ntp/dist/libntp/Makefile.in                                  |    79 +-
 external/bsd/ntp/dist/libntp/is_ip_address.c                              |    91 +
 external/bsd/ntp/dist/libparse/Makefile.in                                |     1 -
 external/bsd/ntp/dist/ntpd/Makefile.in                                    |     1 -
 external/bsd/ntp/dist/ntpd/invoke-ntp.conf.texi                           |   168 +-
 external/bsd/ntp/dist/ntpd/invoke-ntp.keys.texi                           |    14 +-
 external/bsd/ntp/dist/ntpd/invoke-ntpd.texi                               |     8 +-
 external/bsd/ntp/dist/ntpd/keyword-gen-utd                                |     2 +-
 external/bsd/ntp/dist/ntpd/ntp.conf.5man                                  |   181 +-
 external/bsd/ntp/dist/ntpd/ntp.conf.5mdoc                                 |   176 +-
 external/bsd/ntp/dist/ntpd/ntp.conf.def                                   |   170 +-
 external/bsd/ntp/dist/ntpd/ntp.conf.html                                  |   227 +-
 external/bsd/ntp/dist/ntpd/ntp.conf.man.in                                |   181 +-
 external/bsd/ntp/dist/ntpd/ntp.conf.mdoc.in                               |   176 +-
 external/bsd/ntp/dist/ntpd/ntp.keys.5man                                  |    18 +-
 external/bsd/ntp/dist/ntpd/ntp.keys.5mdoc                                 |    20 +-
 external/bsd/ntp/dist/ntpd/ntp.keys.def                                   |    12 +-
 external/bsd/ntp/dist/ntpd/ntp.keys.html                                  |    56 +-
 external/bsd/ntp/dist/ntpd/ntp.keys.man.in                                |    18 +-
 external/bsd/ntp/dist/ntpd/ntp.keys.mdoc.in                               |    20 +-
 external/bsd/ntp/dist/ntpd/ntpd.1ntpdman                                  |     8 +-
 external/bsd/ntp/dist/ntpd/ntpd.1ntpdmdoc                                 |     6 +-
 external/bsd/ntp/dist/ntpd/ntpd.html                                      |   242 +-
 external/bsd/ntp/dist/ntpd/ntpd.man.in                                    |     8 +-
 external/bsd/ntp/dist/ntpd/ntpd.mdoc.in                                   |     6 +-
 external/bsd/ntp/dist/ntpdate/Makefile.in                                 |     1 -
 external/bsd/ntp/dist/ntpdc/Makefile.in                                   |     1 -
 external/bsd/ntp/dist/ntpdc/invoke-ntpdc.texi                             |     4 +-
 external/bsd/ntp/dist/ntpdc/ntpdc.1ntpdcman                               |     8 +-
 external/bsd/ntp/dist/ntpdc/ntpdc.1ntpdcmdoc                              |     6 +-
 external/bsd/ntp/dist/ntpdc/ntpdc.html                                    |   128 +-
 external/bsd/ntp/dist/ntpdc/ntpdc.man.in                                  |     8 +-
 external/bsd/ntp/dist/ntpdc/ntpdc.mdoc.in                                 |     6 +-
 external/bsd/ntp/dist/ntpq/Makefile.in                                    |     1 -
 external/bsd/ntp/dist/ntpq/invoke-ntpq.texi                               |    31 +-
 external/bsd/ntp/dist/ntpq/ntpq-opts.def                                  |    12 +
 external/bsd/ntp/dist/ntpq/ntpq.1ntpqman                                  |    29 +-
 external/bsd/ntp/dist/ntpq/ntpq.1ntpqmdoc                                 |    26 +-
 external/bsd/ntp/dist/ntpq/ntpq.html                                      |   177 +-
 external/bsd/ntp/dist/ntpq/ntpq.man.in                                    |    29 +-
 external/bsd/ntp/dist/ntpq/ntpq.mdoc.in                                   |    26 +-
 external/bsd/ntp/dist/ntpsnmpd/Makefile.in                                |     1 -
 external/bsd/ntp/dist/ntpsnmpd/invoke-ntpsnmpd.texi                       |     4 +-
 external/bsd/ntp/dist/ntpsnmpd/ntpsnmpd.1ntpsnmpdman                      |     8 +-
 external/bsd/ntp/dist/ntpsnmpd/ntpsnmpd.1ntpsnmpdmdoc                     |     6 +-
 external/bsd/ntp/dist/ntpsnmpd/ntpsnmpd.html                              |    24 +-
 external/bsd/ntp/dist/ntpsnmpd/ntpsnmpd.man.in                            |     8 +-
 external/bsd/ntp/dist/ntpsnmpd/ntpsnmpd.mdoc.in                           |     6 +-
 external/bsd/ntp/dist/packageinfo.sh                                      |     2 +-
 external/bsd/ntp/dist/parseutil/Makefile.in                               |     1 -
 external/bsd/ntp/dist/scripts/Makefile.in                                 |     1 -
 external/bsd/ntp/dist/scripts/build/Makefile.in                           |     1 -
 external/bsd/ntp/dist/scripts/calc_tickadj/Makefile.in                    |     1 -
 external/bsd/ntp/dist/scripts/calc_tickadj/calc_tickadj.1calc_tickadjman  |     6 +-
 external/bsd/ntp/dist/scripts/calc_tickadj/calc_tickadj.1calc_tickadjmdoc |     4 +-
 external/bsd/ntp/dist/scripts/calc_tickadj/calc_tickadj.html              |    56 +-
 external/bsd/ntp/dist/scripts/calc_tickadj/calc_tickadj.man.in            |     6 +-
 external/bsd/ntp/dist/scripts/calc_tickadj/calc_tickadj.mdoc.in           |     4 +-
 external/bsd/ntp/dist/scripts/calc_tickadj/invoke-calc_tickadj.texi       |     2 +-
 external/bsd/ntp/dist/scripts/invoke-plot_summary.texi                    |     4 +-
 external/bsd/ntp/dist/scripts/invoke-summary.texi                         |     4 +-
 external/bsd/ntp/dist/scripts/lib/Makefile.in                             |     1 -
 external/bsd/ntp/dist/scripts/ntp-wait/Makefile.in                        |     1 -
 external/bsd/ntp/dist/scripts/ntp-wait/invoke-ntp-wait.texi               |     4 +-
 external/bsd/ntp/dist/scripts/ntp-wait/ntp-wait-opts                      |     4 +-
 external/bsd/ntp/dist/scripts/ntp-wait/ntp-wait.1ntp-waitman              |     6 +-
 external/bsd/ntp/dist/scripts/ntp-wait/ntp-wait.1ntp-waitmdoc             |     4 +-
 external/bsd/ntp/dist/scripts/ntp-wait/ntp-wait.html                      |    78 +-
 external/bsd/ntp/dist/scripts/ntp-wait/ntp-wait.man.in                    |     6 +-
 external/bsd/ntp/dist/scripts/ntp-wait/ntp-wait.mdoc.in                   |     4 +-
 external/bsd/ntp/dist/scripts/ntpsweep/Makefile.in                        |     1 -
 external/bsd/ntp/dist/scripts/ntpsweep/invoke-ntpsweep.texi               |     4 +-
 external/bsd/ntp/dist/scripts/ntpsweep/ntpsweep-opts                      |     4 +-
 external/bsd/ntp/dist/scripts/ntpsweep/ntpsweep.1ntpsweepman              |     6 +-
 external/bsd/ntp/dist/scripts/ntpsweep/ntpsweep.1ntpsweepmdoc             |     4 +-
 external/bsd/ntp/dist/scripts/ntpsweep/ntpsweep.html                      |    75 +-
 external/bsd/ntp/dist/scripts/ntpsweep/ntpsweep.man.in                    |     6 +-
 external/bsd/ntp/dist/scripts/ntpsweep/ntpsweep.mdoc.in                   |     4 +-
 external/bsd/ntp/dist/scripts/ntptrace/Makefile.in                        |     1 -
 external/bsd/ntp/dist/scripts/ntptrace/invoke-ntptrace.texi               |     4 +-
 external/bsd/ntp/dist/scripts/ntptrace/ntptrace-opts                      |     4 +-
 external/bsd/ntp/dist/scripts/ntptrace/ntptrace.1ntptraceman              |     6 +-
 external/bsd/ntp/dist/scripts/ntptrace/ntptrace.1ntptracemdoc             |     4 +-
 external/bsd/ntp/dist/scripts/ntptrace/ntptrace.html                      |    63 +-
 external/bsd/ntp/dist/scripts/ntptrace/ntptrace.man.in                    |     6 +-
 external/bsd/ntp/dist/scripts/ntptrace/ntptrace.mdoc.in                   |     4 +-
 external/bsd/ntp/dist/scripts/plot_summary-opts                           |     4 +-
 external/bsd/ntp/dist/scripts/plot_summary.1plot_summaryman               |     6 +-
 external/bsd/ntp/dist/scripts/plot_summary.1plot_summarymdoc              |     4 +-
 external/bsd/ntp/dist/scripts/plot_summary.html                           |    76 +-
 external/bsd/ntp/dist/scripts/plot_summary.man.in                         |     6 +-
 external/bsd/ntp/dist/scripts/plot_summary.mdoc.in                        |     4 +-
 external/bsd/ntp/dist/scripts/summary-opts                                |     4 +-
 external/bsd/ntp/dist/scripts/summary.1summaryman                         |     6 +-
 external/bsd/ntp/dist/scripts/summary.1summarymdoc                        |     4 +-
 external/bsd/ntp/dist/scripts/summary.html                                |    66 +-
 external/bsd/ntp/dist/scripts/summary.man.in                              |     6 +-
 external/bsd/ntp/dist/scripts/summary.mdoc.in                             |     4 +-
 external/bsd/ntp/dist/scripts/update-leap/Makefile.in                     |     1 -
 external/bsd/ntp/dist/scripts/update-leap/invoke-update-leap.texi         |     2 +-
 external/bsd/ntp/dist/scripts/update-leap/update-leap-opts                |     4 +-
 external/bsd/ntp/dist/scripts/update-leap/update-leap.1update-leapman     |     6 +-
 external/bsd/ntp/dist/scripts/update-leap/update-leap.1update-leapmdoc    |     4 +-
 external/bsd/ntp/dist/scripts/update-leap/update-leap.html                |    92 +-
 external/bsd/ntp/dist/scripts/update-leap/update-leap.man.in              |     6 +-
 external/bsd/ntp/dist/scripts/update-leap/update-leap.mdoc.in             |     4 +-
 external/bsd/ntp/dist/sntp/COPYRIGHT                                      |    51 +-
 external/bsd/ntp/dist/sntp/Makefile.in                                    |    14 +-
 external/bsd/ntp/dist/sntp/aclocal.m4                                     |   119 +
 external/bsd/ntp/dist/sntp/config.h.in                                    |    53 +-
 external/bsd/ntp/dist/sntp/configure                                      |  3622 ++---
 external/bsd/ntp/dist/sntp/include/Makefile.in                            |     1 -
 external/bsd/ntp/dist/sntp/include/copyright.def                          |     2 +-
 external/bsd/ntp/dist/sntp/include/version.def                            |     2 +-
 external/bsd/ntp/dist/sntp/include/version.texi                           |     6 +-
 external/bsd/ntp/dist/sntp/invoke-sntp.texi                               |     4 +-
 external/bsd/ntp/dist/sntp/libevent/Makefile.in                           |     5 +-
 external/bsd/ntp/dist/sntp/libevent/aclocal.m4                            |   119 +
 external/bsd/ntp/dist/sntp/libevent/build-aux/compile                     |   232 +-
 external/bsd/ntp/dist/sntp/libevent/build-aux/config.guess                |   400 +-
 external/bsd/ntp/dist/sntp/libevent/build-aux/config.sub                  |   184 +-
 external/bsd/ntp/dist/sntp/libevent/build-aux/depcomp                     |   527 +-
 external/bsd/ntp/dist/sntp/libevent/build-aux/install-sh                  |   375 +-
 external/bsd/ntp/dist/sntp/libevent/build-aux/ltmain.sh                   |  5812 +++------
 external/bsd/ntp/dist/sntp/libevent/build-aux/missing                     |   443 +-
 external/bsd/ntp/dist/sntp/libevent/build-aux/ylwrap                      |   213 +-
 external/bsd/ntp/dist/sntp/libevent/config.h.in                           |    50 +-
 external/bsd/ntp/dist/sntp/libevent/configure                             |  2513 +--
 external/bsd/ntp/dist/sntp/libevent/m4/libtool.m4                         |  2820 +--
 external/bsd/ntp/dist/sntp/libevent/m4/ltoptions.m4                       |   140 +-
 external/bsd/ntp/dist/sntp/libevent/m4/ltsugar.m4                         |     7 +-
 external/bsd/ntp/dist/sntp/libevent/m4/ltversion.m4                       |    12 +-
 external/bsd/ntp/dist/sntp/libevent/m4/lt~obsolete.m4                     |     7 +-
 external/bsd/ntp/dist/sntp/libopts/Makefile.in                            |     1 -
 external/bsd/ntp/dist/sntp/m4/libtool.m4                                  |  2820 +--
 external/bsd/ntp/dist/sntp/m4/ltoptions.m4                                |   140 +-
 external/bsd/ntp/dist/sntp/m4/ltsugar.m4                                  |     7 +-
 external/bsd/ntp/dist/sntp/m4/ltversion.m4                                |    12 +-
 external/bsd/ntp/dist/sntp/m4/lt~obsolete.m4                              |     7 +-
 external/bsd/ntp/dist/sntp/m4/ntp_libntp.m4                               |     1 +
 external/bsd/ntp/dist/sntp/m4/version.m4                                  |     2 +-
 external/bsd/ntp/dist/sntp/scm-rev                                        |     2 +-
 external/bsd/ntp/dist/sntp/scripts/Makefile.in                            |     1 -
 external/bsd/ntp/dist/sntp/sntp.1sntpman                                  |     8 +-
 external/bsd/ntp/dist/sntp/sntp.1sntpmdoc                                 |     6 +-
 external/bsd/ntp/dist/sntp/sntp.html                                      |   188 +-
 external/bsd/ntp/dist/sntp/sntp.man.in                                    |     8 +-
 external/bsd/ntp/dist/sntp/sntp.mdoc.in                                   |     6 +-
 external/bsd/ntp/dist/sntp/tests/Makefile.in                              |     1 -
 external/bsd/ntp/dist/sntp/tests/crypto.c                                 |    70 +-
 external/bsd/ntp/dist/sntp/tests/fileHandlingTest.c                       |    67 +-
 external/bsd/ntp/dist/sntp/tests/fileHandlingTest.h.in                    |    21 +-
 external/bsd/ntp/dist/sntp/tests/keyFile.c                                |   114 +-
 external/bsd/ntp/dist/sntp/tests/packetHandling.c                         |   141 +-
 external/bsd/ntp/dist/sntp/tests/packetProcessing.c                       |   216 +-
 external/bsd/ntp/dist/sntp/tests/run-packetProcessing.c                   |    38 +-
 external/bsd/ntp/dist/sntp/unity/Makefile.in                              |     1 -
 external/bsd/ntp/dist/sntp/unity/unity_internals.h                        |     4 +-
 external/bsd/ntp/dist/sntp/version.c                                      |     4 +-
 external/bsd/ntp/dist/tests/Makefile.in                                   |     1 -
 external/bsd/ntp/dist/tests/bug-2803/Makefile.in                          |     1 -
 external/bsd/ntp/dist/tests/libntp/Makefile.am                            |    12 +
 external/bsd/ntp/dist/tests/libntp/Makefile.in                            |    62 +-
 external/bsd/ntp/dist/tests/libntp/authkeys.c                             |    42 +-
 external/bsd/ntp/dist/tests/libntp/decodenetnum.c                         |    58 +-
 external/bsd/ntp/dist/tests/libntp/lfpfunc.c                              |     5 +-
 external/bsd/ntp/dist/tests/libntp/run-authkeys.c                         |    17 +-
 external/bsd/ntp/dist/tests/libntp/run-decodenetnum.c                     |    10 +-
 external/bsd/ntp/dist/tests/libntp/run-lfpfunc.c                          |    20 +-
 external/bsd/ntp/dist/tests/libntp/run-socktoa.c                          |    12 +-
 external/bsd/ntp/dist/tests/libntp/run-timevalops.c                       |    58 +-
 external/bsd/ntp/dist/tests/libntp/run-tsafememcmp.c                      |    66 +
 external/bsd/ntp/dist/tests/libntp/socktoa.c                              |    42 +-
 external/bsd/ntp/dist/tests/libntp/ssl_init.c                             |     6 +-
 external/bsd/ntp/dist/tests/libntp/timespecops.c                          |     4 +-
 external/bsd/ntp/dist/tests/libntp/timevalops.c                           |     4 +-
 external/bsd/ntp/dist/tests/libntp/tsafememcmp.c                          |    87 +
 external/bsd/ntp/dist/tests/ntpd/Makefile.in                              |     1 -
 external/bsd/ntp/dist/tests/ntpd/t-ntp_signd.c                            |     6 +-
 external/bsd/ntp/dist/tests/ntpq/Makefile.am                              |     1 +
 external/bsd/ntp/dist/tests/ntpq/Makefile.in                              |     4 +-
 external/bsd/ntp/dist/tests/sandbox/Makefile.in                           |     1 -
 external/bsd/ntp/dist/tests/sec-2853/Makefile.in                          |     1 -
 external/bsd/ntp/dist/util/Makefile.in                                    |     1 -
 external/bsd/ntp/dist/util/invoke-ntp-keygen.texi                         |     4 +-
 external/bsd/ntp/dist/util/ntp-keygen.1ntp-keygenman                      |     8 +-
 external/bsd/ntp/dist/util/ntp-keygen.1ntp-keygenmdoc                     |     6 +-
 external/bsd/ntp/dist/util/ntp-keygen.html                                |   299 +-
 external/bsd/ntp/dist/util/ntp-keygen.man.in                              |     8 +-
 external/bsd/ntp/dist/util/ntp-keygen.mdoc.in                             |     6 +-
 215 files changed, 17196 insertions(+), 16271 deletions(-)

diffs (truncated from 63383 to 300 lines):

diff -r 08a055853e6f -r 52946aeb5b4b external/bsd/ntp/dist/COPYRIGHT
--- a/external/bsd/ntp/dist/COPYRIGHT   Sun May 01 10:49:59 2016 +0000
+++ b/external/bsd/ntp/dist/COPYRIGHT   Sun May 01 15:57:23 2016 +0000
@@ -1,15 +1,16 @@
 This file is automatically generated from html/copyright.html
-  Copyright Notice
 
+  Copyright Notice
+  
    jpg "Clone me," says Dolly sheepishly.
-
+   
    Last update: 17-Jan-2015 00:16 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                      *
@@ -61,13 +62,13 @@
 ***********************************************************************
 
    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 <takao_abe%xurb.jp@localhost> Clock driver for JJY receivers
     2. [2]Mark Andrews <mark_andrews%isc.org@localhost> Leitch atomic clock
        controller
-    3. [3]Bernd Altmeier <altmeier%atlsoft.de@localhost> hopf Elektronik serial line
-       and PCI-bus devices
+    3. [3]Bernd Altmeier <altmeier%atlsoft.de@localhost> hopf Elektronik serial
+       line and PCI-bus devices
     4. [4]Viraj Bais <vbais%mailman1.intel.com@localhost> and [5]Clayton Kirkwood
        <kirkwood%striderfm.intel.com@localhost> port to WindowsNT 3.5
     5. [6]Michael Barone <michael,barone%lmco.com@localhost> GPSVME fixes
@@ -83,12 +84,13 @@
        <Jean-Francois.Boudreault%viagenie.qc.ca@localhost> IPv6 support
    12. [13]Reg Clemens <reg%dwf.com@localhost> Oncore driver (Current maintainer)
    13. [14]Steve Clift <clift%ml.csiro.au@localhost> OMEGA clock driver
-   14. [15]Casey Crellin <casey%csc.co.za@localhost> vxWorks (Tornado) port and help
-       with target configuration
+   14. [15]Casey Crellin <casey%csc.co.za@localhost> vxWorks (Tornado) port and
+       help with target configuration
    15. [16]Sven Dietrich <sven_dietrich%trimble.com@localhost> Palisade reference
        clock driver, NT adj. residuals, integrated Greg's Winnt port.
    16. [17]John A. Dundas III <dundas%salt.jpl.nasa.gov@localhost> Apple A/UX port
-   17. [18]Torsten Duwe <duwe%immd4.informatik.uni-erlangen.de@localhost> Linux port
+   17. [18]Torsten Duwe <duwe%immd4.informatik.uni-erlangen.de@localhost> Linux
+       port
    18. [19]Dennis Ferguson <dennis%mrbill.canet.ca@localhost> foundation code for
        NTP Version 2 as specified in RFC-1119
    19. [20]John Hay <jhay%icomtek.csir.co.za@localhost> IPv6 support and testing
@@ -120,8 +122,9 @@
        code for Version 3 as specified in RFC-1305
    36. [39]Danny Mayer <mayer%ntp.org@localhost>Network I/O, Windows Port, Code
        Maintenance
-   37. [40]David L. Mills <mills%udel.edu@localhost> Version 4 foundation, precision
-       kernel; clock drivers: 1, 3, 4, 6, 7, 11, 13, 18, 19, 22, 36
+   37. [40]David L. Mills <mills%udel.edu@localhost> Version 4 foundation,
+       precision kernel; clock drivers: 1, 3, 4, 6, 7, 11, 13, 18, 19,
+       22, 36
    38. [41]Wolfgang Moeller <moeller%gwdgv1.dnet.gwdg.de@localhost> VMS port
    39. [42]Jeffrey Mogul <mogul%pa.dec.com@localhost> ntptrace utility
    40. [43]Tom Moore <tmoore%fievel.daytonoh.ncr.com@localhost> i386 svr4 port
@@ -133,18 +136,22 @@
    44. [48]Rainer Pruy <Rainer.Pruy%informatik.uni-erlangen.de@localhost>
        monitoring/trap scripts, statistics file handling
    45. [49]Dirce Richards <dirce%zk3.dec.com@localhost> Digital UNIX V4.0 port
-   46. [50]Wilfredo Sánchez <wsanchez%apple.com@localhost> added support for NetInfo
+   46. [50]Wilfredo Sánchez <wsanchez%apple.com@localhost> added support for
+       NetInfo
    47. [51]Nick Sayer <mrapple%quack.kfu.com@localhost> SunOS streams modules
    48. [52]Jack Sasportas <jack%innovativeinternet.com@localhost> Saved a Lot of
        space on the stuff in the html/pic/ subdirectory
    49. [53]Ray Schnitzler <schnitz%unipress.com@localhost> Unixware1 port
    50. [54]Michael Shields <shields%tembel.org@localhost> USNO clock driver
-   51. [55]Jeff Steinman <jss%pebbles.jpl.nasa.gov@localhost> Datum PTS clock driver
+   51. [55]Jeff Steinman <jss%pebbles.jpl.nasa.gov@localhost> Datum PTS clock
+       driver
    52. [56]Harlan Stenn <harlan%pfcs.com@localhost> GNU automake/autoconfigure
        makeover, various other bits (see the ChangeLog)
    53. [57]Kenneth Stone <ken%sdd.hp.com@localhost> HP-UX port
-   54. [58]Ajit Thyagarajan <ajit%ee.udel.edu@localhost>IP multicast/anycast support
-   55. [59]Tomoaki TSURUOKA <tsuruoka%nc.fukuoka-u.ac.jp@localhost>TRAK clock driver
+   54. [58]Ajit Thyagarajan <ajit%ee.udel.edu@localhost>IP multicast/anycast
+       support
+   55. [59]Tomoaki TSURUOKA <tsuruoka%nc.fukuoka-u.ac.jp@localhost>TRAK clock
+       driver
    56. [60]Brian Utterback <brian.utterback%oracle.com@localhost> General codebase,
        Solaris issues
    57. [61]Loganaden Velvindron <loganaden%gmail.com@localhost> Sandboxing
@@ -153,7 +160,7 @@
        TrueTime clock driver
    59. [63]Ulrich Windl <Ulrich.Windl%rz.uni-regensburg.de@localhost> corrected and
        validated HTML documents according to the HTML DTD
-     __________________________________________________________________
+     _________________________________________________________________
 
 References
 
diff -r 08a055853e6f -r 52946aeb5b4b external/bsd/ntp/dist/ChangeLog
--- a/external/bsd/ntp/dist/ChangeLog   Sun May 01 10:49:59 2016 +0000
+++ b/external/bsd/ntp/dist/ChangeLog   Sun May 01 15:57:23 2016 +0000
@@ -1,4 +1,100 @@
 ---
+(4.2.8p7) 2016/04/26 Released by Harlan Stenn <stenn%ntp.org@localhost>
+
+* [Sec 2901] KoD packets must have non-zero transmit timestamps.  HStenn.
+* [Sec 2936] Skeleton Key: Any system knowing the trusted key can serve
+  time. Include passive servers in this check. HStenn.
+* [Sec 2945] Additional KoD packet checks.  HStenn.
+* [Sec 2978] Interleave can be partially triggered.  HStenn.
+* [Sec 3007] Validate crypto-NAKs.  Danny Mayer.
+* [Sec 3008] Always check the return value of ctl_getitem().
+  - initial work by HStenn
+  - Additional cleanup of ctl_getitem by perlinger%ntp.org@localhost
+* [Sec 3009] Crafted addpeer with hmode > 7 causes OOB error. perlinger%ntp.org@localhost
+   - added more stringent checks on packet content
+* [Sec 3010] remote configuration trustedkey/requestkey values
+  are not properly validated. perlinger%ntp.org@localhost
+  - sidekick: Ignore keys that have an unsupported MAC algorithm
+    but are otherwise well-formed
+* [Sec 3011] Duplicate IPs on unconfig directives will cause an assertion botch
+  - graciously accept the same IP multiple times. perlinger%ntp.org@localhost
+* [Sec 3020] Refclock impersonation.  HStenn.
+* [Bug 2831]  Segmentation Fault in DNS lookup during startup. perlinger%ntp.org@localhost
+  - fixed yet another race condition in the threaded resolver code.
+* [Bug 2858] bool support.  Use stdbool.h when available.  HStenn.
+* [Bug 2879] Improve NTP security against timing attacks. perlinger%ntp.org@localhost
+  - integrated patches by Loganaden Velvidron <logan%ntp.org@localhost>
+    with some modifications & unit tests
+* [Bug 2952] Symmetric active/passive mode is broken.  HStenn.
+* [Bug 2960] async name resolution fixes for chroot() environments.
+  Reinhard Max.
+* [Bug 2994] Systems with HAVE_SIGNALED_IO fail to compile. perlinger%ntp.org@localhost
+* [Bug 2995] Fixes to compile on Windows
+* [Bug 2999] out-of-bounds access in 'is_safe_filename()'. perlinger%ntp.org@localhost
+* [Bug 3013] Fix for ssl_init.c SHA1 test. perlinger%ntp.org@localhost
+  - Patch provided by Ch. Weisgerber
+* [Bug 3015] ntpq: config-from-file: "request contains an unprintable character"
+  - A change related to [Bug 2853] forbids trailing white space in
+    remote config commands. perlinger%ntp.org@localhost
+* [Bug 3019] NTPD stops processing packets after ERROR_HOST_UNREACHABLE
+  - report and patch from Aleksandr Kostikov.
+  - Overhaul of Windows IO completion port handling. perlinger%ntp.org@localhost
+* [Bug 3022] authkeys.c should be refactored. perlinger%ntp.org@localhost
+  - fixed memory leak in access list (auth[read]keys.c)
+  - refactored handling of key access lists (auth[read]keys.c)
+  - reduced number of error branches (authreadkeys.c)
+* [Bug 3023] ntpdate cannot correct dates in the future. perlinger%ntp.org@localhost
+* [Bug 3030] ntpq needs a general way to specify refid output format.  HStenn.
+* [Bug 3031] ntp broadcastclient unable to synchronize to an server
+             when the time of server changed. perlinger%ntp.org@localhost
+  - Check the initial delay calculation and reject/unpeer the broadcast
+    server if the delay exceeds 50ms. Retry again after the next
+    broadcast packet.
+* [Bug 3036] autokey trips an INSIST in authistrustedip().  Harlan Stenn.
+* Document ntp.key's optional IP list in authenetic.html.  Harlan Stenn.
+* Update html/xleave.html documentation.  Harlan Stenn.
+* Update ntp.conf documentation.  Harlan Stenn.
+* Fix some Credit: attributions in the NEWS file.  Harlan Stenn.
+* Fix typo in html/monopt.html.  Harlan Stenn.
+* Add README.pullrequests.  Harlan Stenn.
+* Cleanup to include/ntp.h.  Harlan Stenn.
+
+---
+(4.2.8p6) 2016/01/20 Released by Harlan Stenn <stenn%ntp.org@localhost>
+
+* [Sec 2935] Deja Vu: Replay attack on authenticated broadcast mode. HStenn.
+* [Sec 2936] Skeleton Key: Any trusted key system can serve time. HStenn.
+* [Sec 2937] ntpq: nextvar() missing length check. perlinger%ntp.org@localhost
+* [Sec 2938] ntpq saveconfig command allows dangerous characters
+  in filenames. perlinger%ntp.org@localhost
+* [Sec 2939] reslist NULL pointer dereference.  perlinger%ntp.org@localhost
+* [Sec 2940] Stack exhaustion in recursive traversal of restriction
+  list. perlinger%ntp.org@localhost
+* [Sec 2942]: Off-path DoS attack on auth broadcast mode.  HStenn.
+* [Sec 2945] Zero Origin Timestamp Bypass. perlinger%ntp.org@localhost
+* [Sec 2948] Potential Infinite Loop in ntpq ( and ntpdc) perlinger%ntp.org@localhost
+* [Bug 2772] adj_systime overflows tv_usec. perlinger%ntp.org@localhost
+* [Bug 2814] msyslog deadlock when signaled. perlinger%ntp.org@localhost
+  - applied patch by shenpeng11%huawei.com@localhost with minor adjustments
+* [Bug 2882] Look at ntp_request.c:list_peers_sum(). perlinger%ntp.org@localhost
+* [Bug 2891] Deadlock in deferred DNS lookup framework. perlinger%ntp.org@localhost
+* [Bug 2892] Several test cases assume IPv6 capabilities even when
+             IPv6 is disabled in the build. perlinger%ntp.org@localhost
+  - Found this already fixed, but validation led to cleanup actions.
+* [Bug 2905] DNS lookups broken. perlinger%ntp.org@localhost
+  - added limits to stack consumption, fixed some return code handling
+* [Bug 2971] ntpq bails on ^C: select fails: Interrupted system call
+  - changed stacked/nested handling of CTRL-C. perlinger%ntp.org@localhost
+  - make CTRL-C work for retrieval and printing od MRU list. perlinger%ntp.org@localhost
+* [Bug 2980] reduce number of warnings. perlinger%ntp.org@localhost
+  - integrated several patches from Havard Eidnes (he%uninett.no@localhost)
+* [Bug 2985] bogus calculation in authkeys.c perlinger%ntp.org@localhost
+  - implement 'auth_log2()' using integer bithack instead of float calculation
+* Make leapsec_query debug messages less verbose.  Harlan Stenn.
+* Disable incomplete t-ntp_signd.c test.  Harlan Stenn.
+
+---
+(4.2.8p5) 2016/01/07 Released by Harlan Stenn <stenn%ntp.org@localhost>
 
 * [Sec 2956] small-step/big-step.  Close the panic gate earlier.  HStenn.
 * CID 1339955: Free allocated memory in caljulian test.  HStenn.
@@ -46,6 +142,7 @@
               lots of clients. perlinger%ntp.org@localhost
 * [Bug 2971] ntpq bails on ^C: select fails: Interrupted system call
   - changed stacked/nested handling of CTRL-C. perlinger%ntp.org@localhost
+  - make CTRL-C work for retrieval and printing od MRU list. perlinger%ntp.org@localhost
 * Unity cleanup for FreeBSD-6.4.  Harlan Stenn.
 * Unity test cleanup.  Harlan Stenn.
 * Libevent autoconf pthread fixes for FreeBSD-10.  Harlan Stenn.
@@ -54,9 +151,9 @@
 * Quiet a warning from clang.  Harlan Stenn.
 * Update the NEWS file.  Harlan Stenn.
 * Update scripts/calc_tickadj/Makefile.am.  Harlan Stenn.
+
 ---
 (4.2.8p4) 2015/10/21 Released by Harlan Stenn <stenn%ntp.org@localhost>
-(4.2.8p4-RC1) 2015/10/06 Released by Harlan Stenn <stenn%ntp.org@localhost>
 
 * [Sec 2899] CVE-2014-9297  perlinger%ntp.org@localhost
 * [Sec 2901] Drop invalid packet before checking KoD. Check for all KoD's.
diff -r 08a055853e6f -r 52946aeb5b4b external/bsd/ntp/dist/CommitLog
--- a/external/bsd/ntp/dist/CommitLog   Sun May 01 10:49:59 2016 +0000
+++ b/external/bsd/ntp/dist/CommitLog   Sun May 01 15:57:23 2016 +0000
@@ -1,45 +1,2503 @@
-ChangeSet@1.3620, 2016-01-07 09:33:11+00:00, stenn%psp-at1.ntp.org@localhost
+ChangeSet@1.3669, 2016-04-26 20:30:51-04:00, stenn%deacon.udel.edu@localhost
+  NTP_4_2_8P7
+  TAG: NTP_4_2_8P7
+
+  ChangeLog@1.1820 +1 -0
+    NTP_4_2_8P7
+
+  ntpd/invoke-ntp.conf.texi@1.198 +38 -20
+    NTP_4_2_8P7
+
+  ntpd/invoke-ntp.keys.texi@1.189 +1 -1
+    NTP_4_2_8P7
+
+  ntpd/invoke-ntpd.texi@1.505 +2 -2
+    NTP_4_2_8P7
+
+  ntpd/ntp.conf.5man@1.232 +43 -24
+    NTP_4_2_8P7
+
+  ntpd/ntp.conf.5mdoc@1.232 +40 -18
+    NTP_4_2_8P7
+
+  ntpd/ntp.conf.html@1.184 +34 -10
+    NTP_4_2_8P7
+
+  ntpd/ntp.conf.man.in@1.232 +43 -24
+    NTP_4_2_8P7
+
+  ntpd/ntp.conf.mdoc.in@1.232 +40 -18
+    NTP_4_2_8P7
+
+  ntpd/ntp.keys.5man@1.223 +2 -2
+    NTP_4_2_8P7
+
+  ntpd/ntp.keys.5mdoc@1.223 +2 -2
+    NTP_4_2_8P7
+
+  ntpd/ntp.keys.html@1.185 +1 -1
+    NTP_4_2_8P7
+
+  ntpd/ntp.keys.man.in@1.223 +2 -2
+    NTP_4_2_8P7
+
+  ntpd/ntp.keys.mdoc.in@1.223 +2 -2
+    NTP_4_2_8P7
+
+  ntpd/ntpd-opts.c@1.527 +7 -7
+    NTP_4_2_8P7
+
+  ntpd/ntpd-opts.h@1.526 +3 -3
+    NTP_4_2_8P7
+
+  ntpd/ntpd.1ntpdman@1.334 +3 -3
+    NTP_4_2_8P7
+
+  ntpd/ntpd.1ntpdmdoc@1.334 +2 -2
+    NTP_4_2_8P7
+
+  ntpd/ntpd.html@1.178 +2 -2
+    NTP_4_2_8P7
+




Home | Main Index | Thread Index | Old Index