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/353bd9bc822c
branches:  trunk
changeset: 433718:353bd9bc822c
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Sep 29 17:28:34 2018 +0000

description:
---
(4.2.8p12) 2018/08/14 Released by Harlan Stenn <stenn%ntp.org@localhost>

* [Sec 3505] CVE-2018-12327 - Arbitrary Code Execution Vulnerability
  - fixed stack buffer overflow in the openhost() command-line call
    of NTPQ/NTPDC <perlinger%ntp.org@localhost>
* [Sec 3012] noepeer tweaks.  <stenn%ntp.org@localhost>
* [Bug 3521] Fix a logic bug in the INVALIDNAK checks.  <stenn%ntp.org@localhost>
* [Bug 3509] Add support for running as non-root on FreeBSD, Darwin,
             other TrustedBSD platforms
  - applied patch by Ian Lepore <perlinger%ntp.org@localhost>
* [Bug 3506] Service Control Manager interacts poorly with NTPD <perlinger%ntp.org@localhost>
  - changed interaction with SCM to signal pending startup
* [Bug 3486] Buffer overflow in ntpq/ntpq.c:tstflags() <perlinger%ntp.org@localhost>
  - applied patch by Gerry Garvey
* [Bug 3485] Undefined sockaddr used in error messages in ntp_config.c <perlinger%ntp.org@localhost>
  - applied patch by Gerry Garvey
* [Bug 3484] ntpq response from ntpd is incorrect when REFID is null <perlinger%ntp.org@localhost>
  - rework of ntpq 'nextvar()' key/value parsing
* [Bug 3482] Fixes for compilation warnings (ntp_io.c & ntpq-subs.c) <perlinger%ntp.org@localhost>
  - applied patch by Gerry Garvey (with mods)
* [Bug 3480] Refclock sample filter not cleared on clock STEP <perlinger%ntp.org@localhost>
  - applied patch by Gerry Garvey
* [Bug 3479] ctl_putrefid() allows unsafe characters through to ntpq <perlinger%ntp.org@localhost>
  - applied patch by Gerry Garvey (with mods)
* [Bug 3476]ctl_putstr() sends empty unquoted string [...] <perlinger%ntp.org@localhost>
  - applied patch by Gerry Garvey (with mods); not sure if that's bug or feature, though
* [Bug 3475] modify prettydate() to suppress output of zero time <perlinger%ntp.org@localhost>
  - applied patch by Gerry Garvey
* [Bug 3474] Missing pmode in mode7 peer info response <perlinger%ntp.org@localhost>
  - applied patch by Gerry Garvey
* [Bug 3471] Check for openssl/[ch]mac.h.  HStenn.
  - add #define ENABLE_CMAC support in configure.  HStenn.
* [Bug 3470] ntpd4.2.8p11 fails to compile without OpenSSL <perlinger%ntp.org@localhost>
* [Bug 3469] Incomplete string compare [...] in is_refclk_addr <perlinger%ntp.org@localhost>
  - patch by Stephen Friedl
* [Bug 3467] Potential memory fault in ntpq [...] <perlinger%ntp.org@localhost>
  - fixed IO redirection and CTRL-C handling in ntq and ntpdc
* [Bug 3465] Default TTL values cannot be used <perlinger%ntp.org@localhost>
* [Bug 3461] refclock_shm.c: clear error status on clock recovery <perlinger%ntp.org@localhost>
  - initial patch by Hal Murray; also fixed refclock_report() trouble
* [Bug 3460] Fix typo in ntpq.texi, reported by Kenyon Ralph.  <stenn%ntp.org@localhost>
* [Bug 3456] Use uintptr_t rather than size_t to store an integer in a pointer
  - According to Brooks Davis, there was only one location <perlinger%ntp.org@localhost>
* [Bug 3449] ntpq - display "loop" instead of refid [...] <perlinger%ntp.org@localhost>
  - applied patch by Gerry Garvey
* [Bug 3445] Symmetric peer won't sync on startup <perlinger%ntp.org@localhost>
  - applied patch by Gerry Garvey
* [Bug 3442] Fixes for ntpdate as suggested by Gerry Garvey,
  with modifications
  New macro REFID_ISTEXT() which is also used in ntpd/ntp_control.c.
* [Bug 3434] ntpd clears STA_UNSYNC on start <perlinger%ntp.org@localhost>
  - applied patch by Miroslav Lichvar
* [Bug 3426] ntpdate.html -t default is 2 seconds.  Leonid Evdokimov.
* [Bug 3121] Drop root privileges for the forked DNS worker <perlinger%ntp.org@localhost>
  - integrated patch by  Reinhard Max
* [Bug 2821] minor build issues <perlinger%ntp.org@localhost>
  - applied patches by Christos Zoulas, including real bug fixes
* html/authopt.html: cleanup, from <stenn%ntp.org@localhost>
* ntpd/ntpd.c: DROPROOT cleanup.  <stenn%ntp.org@localhost>
* Symmetric key range is 1-65535.  Update docs.  <stenn%ntp.org@localhost>
* html/authentic.html: cleanup, from <stenn%ntp.org@localhost>

diffstat:

 external/bsd/ntp/dist/ChangeLog                                                                |    72 +-
 external/bsd/ntp/dist/NEWS                                                                     |    75 +-
 external/bsd/ntp/dist/config.h.in                                                              |    23 +
 external/bsd/ntp/dist/configure                                                                |   112 +-
 external/bsd/ntp/dist/html/authentic.html                                                      |   306 +-
 external/bsd/ntp/dist/html/authopt.html                                                        |    49 +-
 external/bsd/ntp/dist/html/confopt.html                                                        |     4 +-
 external/bsd/ntp/dist/html/keygen.html                                                         |     4 +-
 external/bsd/ntp/dist/html/ntpdate.html                                                        |     4 +-
 external/bsd/ntp/dist/html/pic/9400n.jpg                                                       |   Bin 
 external/bsd/ntp/dist/html/pic/alice11.gif                                                     |   Bin 
 external/bsd/ntp/dist/html/pic/alice13.gif                                                     |   Bin 
 external/bsd/ntp/dist/html/pic/alice15.gif                                                     |   Bin 
 external/bsd/ntp/dist/html/pic/alice23.gif                                                     |   Bin 
 external/bsd/ntp/dist/html/pic/alice31.gif                                                     |   Bin 
 external/bsd/ntp/dist/html/pic/alice32.gif                                                     |   Bin 
 external/bsd/ntp/dist/html/pic/alice35.gif                                                     |   Bin 
 external/bsd/ntp/dist/html/pic/alice38.gif                                                     |   Bin 
 external/bsd/ntp/dist/html/pic/alice44.gif                                                     |   Bin 
 external/bsd/ntp/dist/html/pic/alice47.gif                                                     |   Bin 
 external/bsd/ntp/dist/html/pic/alice51.gif                                                     |   Bin 
 external/bsd/ntp/dist/html/pic/alice61.gif                                                     |   Bin 
 external/bsd/ntp/dist/html/pic/barnstable.gif                                                  |   Bin 
 external/bsd/ntp/dist/html/pic/beaver.gif                                                      |   Bin 
 external/bsd/ntp/dist/html/pic/boom3.gif                                                       |   Bin 
 external/bsd/ntp/dist/html/pic/boom3a.gif                                                      |   Bin 
 external/bsd/ntp/dist/html/pic/boom4.gif                                                       |   Bin 
 external/bsd/ntp/dist/html/pic/broad.gif                                                       |   Bin 
 external/bsd/ntp/dist/html/pic/bustardfly.gif                                                  |   Bin 
 external/bsd/ntp/dist/html/pic/c51.jpg                                                         |   Bin 
 external/bsd/ntp/dist/html/pic/description.jpg                                                 |   Bin 
 external/bsd/ntp/dist/html/pic/discipline.gif                                                  |   Bin 
 external/bsd/ntp/dist/html/pic/dogsnake.gif                                                    |   Bin 
 external/bsd/ntp/dist/html/pic/driver29.gif                                                    |   Bin 
 external/bsd/ntp/dist/html/pic/driver43_1.gif                                                  |   Bin 
 external/bsd/ntp/dist/html/pic/driver43_2.jpg                                                  |   Bin 
 external/bsd/ntp/dist/html/pic/fg6021.gif                                                      |   Bin 
 external/bsd/ntp/dist/html/pic/fg6039.jpg                                                      |   Bin 
 external/bsd/ntp/dist/html/pic/fig_3_1.gif                                                     |   Bin 
 external/bsd/ntp/dist/html/pic/flatheads.gif                                                   |   Bin 
 external/bsd/ntp/dist/html/pic/flt1.gif                                                        |   Bin 
 external/bsd/ntp/dist/html/pic/flt2.gif                                                        |   Bin 
 external/bsd/ntp/dist/html/pic/flt3.gif                                                        |   Bin 
 external/bsd/ntp/dist/html/pic/flt4.gif                                                        |   Bin 
 external/bsd/ntp/dist/html/pic/flt5.gif                                                        |   Bin 
 external/bsd/ntp/dist/html/pic/flt6.gif                                                        |   Bin 
 external/bsd/ntp/dist/html/pic/flt7.gif                                                        |   Bin 
 external/bsd/ntp/dist/html/pic/flt8.gif                                                        |   Bin 
 external/bsd/ntp/dist/html/pic/flt9.gif                                                        |   Bin 
 external/bsd/ntp/dist/html/pic/freq1211.gif                                                    |   Bin 
 external/bsd/ntp/dist/html/pic/gadget.jpg                                                      |   Bin 
 external/bsd/ntp/dist/html/pic/gps167.jpg                                                      |   Bin 
 external/bsd/ntp/dist/html/pic/group.gif                                                       |   Bin 
 external/bsd/ntp/dist/html/pic/hornraba.gif                                                    |   Bin 
 external/bsd/ntp/dist/html/pic/igclock.gif                                                     |   Bin 
 external/bsd/ntp/dist/html/pic/neoclock4x.gif                                                  |   Bin 
 external/bsd/ntp/dist/html/pic/offset1211.gif                                                  |   Bin 
 external/bsd/ntp/dist/html/pic/oncore_evalbig.gif                                              |   Bin 
 external/bsd/ntp/dist/html/pic/oncore_remoteant.jpg                                            |   Bin 
 external/bsd/ntp/dist/html/pic/oncore_utplusbig.gif                                            |   Bin 
 external/bsd/ntp/dist/html/pic/oz2.gif                                                         |   Bin 
 external/bsd/ntp/dist/html/pic/panda.gif                                                       |   Bin 
 external/bsd/ntp/dist/html/pic/pd_om006.gif                                                    |   Bin 
 external/bsd/ntp/dist/html/pic/pd_om011.gif                                                    |   Bin 
 external/bsd/ntp/dist/html/pic/peer.gif                                                        |   Bin 
 external/bsd/ntp/dist/html/pic/pogo.gif                                                        |   Bin 
 external/bsd/ntp/dist/html/pic/pogo1a.gif                                                      |   Bin 
 external/bsd/ntp/dist/html/pic/pogo3a.gif                                                      |   Bin 
 external/bsd/ntp/dist/html/pic/pogo4.gif                                                       |   Bin 
 external/bsd/ntp/dist/html/pic/pogo5.gif                                                       |   Bin 
 external/bsd/ntp/dist/html/pic/pogo6.gif                                                       |   Bin 
 external/bsd/ntp/dist/html/pic/pogo7.gif                                                       |   Bin 
 external/bsd/ntp/dist/html/pic/pogo8.gif                                                       |   Bin 
 external/bsd/ntp/dist/html/pic/pzf509.jpg                                                      |   Bin 
 external/bsd/ntp/dist/html/pic/pzf511.jpg                                                      |   Bin 
 external/bsd/ntp/dist/html/pic/rabbit.gif                                                      |   Bin 
 external/bsd/ntp/dist/html/pic/radio2.jpg                                                      |   Bin 
 external/bsd/ntp/dist/html/pic/sheepb.jpg                                                      |   Bin 
 external/bsd/ntp/dist/html/pic/stack1a.jpg                                                     |   Bin 
 external/bsd/ntp/dist/html/pic/stats.gif                                                       |   Bin 
 external/bsd/ntp/dist/html/pic/sx5.gif                                                         |   Bin 
 external/bsd/ntp/dist/html/pic/thunderbolt.jpg                                                 |   Bin 
 external/bsd/ntp/dist/html/pic/time1.gif                                                       |   Bin 
 external/bsd/ntp/dist/html/pic/tonea.gif                                                       |   Bin 
 external/bsd/ntp/dist/html/pic/tribeb.gif                                                      |   Bin 
 external/bsd/ntp/dist/html/pic/wingdorothy.gif                                                 |   Bin 
 external/bsd/ntp/dist/include/libssl_compat.h                                                  |     2 -
 external/bsd/ntp/dist/include/rc_cmdlength.h                                                   |     2 -
 external/bsd/ntp/dist/include/refidsmear.h                                                     |     2 -
 external/bsd/ntp/dist/include/safecast.h                                                       |     2 -
 external/bsd/ntp/dist/lib/isc/include/isc/platform.h.in                                        |     2 +-
 external/bsd/ntp/dist/lib/isc/tsmemcmp.c                                                       |     4 +-
 external/bsd/ntp/dist/libjsmn/example/jsondump.c                                               |     2 -
 external/bsd/ntp/dist/libjsmn/example/simple.c                                                 |     2 -
 external/bsd/ntp/dist/libntp/is_ip_address.c                                                   |     2 -
 external/bsd/ntp/dist/libntp/refidsmear.c                                                      |     2 -
 external/bsd/ntp/dist/ntpd/complete.conf.in                                                    |     2 +-
 external/bsd/ntp/dist/ntpd/invoke-ntp.conf.texi                                                |    12 +-
 external/bsd/ntp/dist/ntpd/invoke-ntp.keys.texi                                                |     6 +-
 external/bsd/ntp/dist/ntpd/invoke-ntpd.texi                                                    |     4 +-
 external/bsd/ntp/dist/ntpd/ntp.conf.5man                                                       |    16 +-
 external/bsd/ntp/dist/ntpd/ntp.conf.5mdoc                                                      |    14 +-
 external/bsd/ntp/dist/ntpd/ntp.conf.def                                                        |    10 +-
 external/bsd/ntp/dist/ntpd/ntp.conf.html                                                       |    12 +-
 external/bsd/ntp/dist/ntpd/ntp.conf.man.in                                                     |    16 +-
 external/bsd/ntp/dist/ntpd/ntp.conf.mdoc.in                                                    |    14 +-
 external/bsd/ntp/dist/ntpd/ntp.keys.5man                                                       |     8 +-
 external/bsd/ntp/dist/ntpd/ntp.keys.5mdoc                                                      |     8 +-
 external/bsd/ntp/dist/ntpd/ntp.keys.def                                                        |     4 +-
 external/bsd/ntp/dist/ntpd/ntp.keys.html                                                       |     6 +-
 external/bsd/ntp/dist/ntpd/ntp.keys.man.in                                                     |     8 +-
 external/bsd/ntp/dist/ntpd/ntp.keys.mdoc.in                                                    |     8 +-
 external/bsd/ntp/dist/ntpd/ntpd.1ntpdman                                                       |     6 +-
 external/bsd/ntp/dist/ntpd/ntpd.1ntpdmdoc                                                      |     4 +-
 external/bsd/ntp/dist/ntpd/ntpd.html                                                           |     4 +-
 external/bsd/ntp/dist/ntpd/ntpd.man.in                                                         |     6 +-
 external/bsd/ntp/dist/ntpd/ntpd.mdoc.in                                                        |     4 +-
 external/bsd/ntp/dist/ntpdc/invoke-ntpdc.texi                                                  |     4 +-
 external/bsd/ntp/dist/ntpdc/ntpdc.1ntpdcman                                                    |     6 +-
 external/bsd/ntp/dist/ntpdc/ntpdc.1ntpdcmdoc                                                   |     4 +-
 external/bsd/ntp/dist/ntpdc/ntpdc.html                                                         |     4 +-
 external/bsd/ntp/dist/ntpdc/ntpdc.man.in                                                       |     6 +-
 external/bsd/ntp/dist/ntpdc/ntpdc.mdoc.in                                                      |     4 +-
 external/bsd/ntp/dist/ntpq/invoke-ntpq.texi                                                    |     4 +-
 external/bsd/ntp/dist/ntpq/ntpq.1ntpqman                                                       |     6 +-
 external/bsd/ntp/dist/ntpq/ntpq.1ntpqmdoc                                                      |     4 +-
 external/bsd/ntp/dist/ntpq/ntpq.html                                                           |     6 +-
 external/bsd/ntp/dist/ntpq/ntpq.man.in                                                         |     6 +-
 external/bsd/ntp/dist/ntpq/ntpq.mdoc.in                                                        |     4 +-
 external/bsd/ntp/dist/ntpq/ntpq.texi                                                           |     2 +-
 external/bsd/ntp/dist/ntpsnmpd/invoke-ntpsnmpd.texi                                            |     2 +-
 external/bsd/ntp/dist/ntpsnmpd/ntpsnmpd.1ntpsnmpdman                                           |     6 +-
 external/bsd/ntp/dist/ntpsnmpd/ntpsnmpd.1ntpsnmpdmdoc                                          |     4 +-
 external/bsd/ntp/dist/ntpsnmpd/ntpsnmpd.html                                                   |     2 +-
 external/bsd/ntp/dist/ntpsnmpd/ntpsnmpd.man.in                                                 |     6 +-
 external/bsd/ntp/dist/ntpsnmpd/ntpsnmpd.mdoc.in                                                |     4 +-
 external/bsd/ntp/dist/packageinfo.sh                                                           |     2 +-
 external/bsd/ntp/dist/ports/winnt/include/arpa/inet.h                                          |     4 +
 external/bsd/ntp/dist/ports/winnt/include/clockstuff.h                                         |    44 +
 external/bsd/ntp/dist/ports/winnt/include/config.h                                             |   572 ++
 external/bsd/ntp/dist/ports/winnt/include/gaa_compat.h                                         |   771 ++++
 external/bsd/ntp/dist/ports/winnt/include/hopf_PCI_io.h                                        |    91 +
 external/bsd/ntp/dist/ports/winnt/include/msvc_ssl_autolib.h                                   |   108 +
 external/bsd/ntp/dist/ports/winnt/include/netdb.h                                              |     4 +
 external/bsd/ntp/dist/ports/winnt/include/ntp_iocompletionport.h                               |    34 +
 external/bsd/ntp/dist/ports/winnt/include/ntp_iocplmem.h                                       |    24 +
 external/bsd/ntp/dist/ports/winnt/include/ntp_iocpltypes.h                                     |   159 +
 external/bsd/ntp/dist/ports/winnt/include/ntp_timer.h                                          |     6 +
 external/bsd/ntp/dist/ports/winnt/include/ntservice.h                                          |    32 +
 external/bsd/ntp/dist/ports/winnt/include/stdint.h                                             |   244 +
 external/bsd/ntp/dist/ports/winnt/include/stdnoreturn.h                                        |    61 +
 external/bsd/ntp/dist/ports/winnt/include/sys/ioctl.h                                          |    11 +
 external/bsd/ntp/dist/ports/winnt/include/sys/param.h                                          |     4 +
 external/bsd/ntp/dist/ports/winnt/include/sys/resource.h                                       |    10 +
 external/bsd/ntp/dist/ports/winnt/include/sys/signal.h                                         |     4 +
 external/bsd/ntp/dist/ports/winnt/include/sys/time.h                                           |    27 +
 external/bsd/ntp/dist/ports/winnt/include/sys/wait.h                                           |     4 +
 external/bsd/ntp/dist/ports/winnt/include/syslog.h                                             |    82 +
 external/bsd/ntp/dist/ports/winnt/include/termios.h                                            |   217 +
 external/bsd/ntp/dist/ports/winnt/include/timepps.h                                            |   439 ++
 external/bsd/ntp/dist/ports/winnt/include/unistd.h                                             |     4 +
 external/bsd/ntp/dist/ports/winnt/include/win32_io.h                                           |     7 +
 external/bsd/ntp/dist/ports/winnt/instsrv/instsrv.c                                            |   493 ++
 external/bsd/ntp/dist/ports/winnt/libntp/MSG00001.bin                                          |   Bin 
 external/bsd/ntp/dist/ports/winnt/libntp/SetSystemTime.c                                       |    34 +
 external/bsd/ntp/dist/ports/winnt/libntp/arc4wrap.c                                            |    84 +
 external/bsd/ntp/dist/ports/winnt/libntp/getclock.c                                            |    65 +
 external/bsd/ntp/dist/ports/winnt/libntp/messages.h                                            |   199 +
 external/bsd/ntp/dist/ports/winnt/libntp/messages.mc                                           |   161 +
 external/bsd/ntp/dist/ports/winnt/libntp/messages.rc                                           |     2 +
 external/bsd/ntp/dist/ports/winnt/libntp/randfile.c                                            |   109 +
 external/bsd/ntp/dist/ports/winnt/libntp/setpriority.c                                         |    76 +
 external/bsd/ntp/dist/ports/winnt/libntp/syslog.c                                              |   219 +
 external/bsd/ntp/dist/ports/winnt/libntp/termios.c                                             |   863 ++++
 external/bsd/ntp/dist/ports/winnt/libntp/util_clockstuff.c                                     |    26 +
 external/bsd/ntp/dist/ports/winnt/libntp/win32_io.c                                            |    81 +
 external/bsd/ntp/dist/ports/winnt/ntpd/hopf_PCI_io.c                                           |   335 +
 external/bsd/ntp/dist/ports/winnt/ntpd/nt_clockstuff.c                                         |  1746 +++++++++
 external/bsd/ntp/dist/ports/winnt/ntpd/nt_ppsimpl.c                                            |   771 ++++
 external/bsd/ntp/dist/ports/winnt/ntpd/ntp_iocompletionport.c                                  |  1883 +++++++++
 external/bsd/ntp/dist/ports/winnt/ntpd/ntp_iocplmem.c                                          |   123 +
 external/bsd/ntp/dist/ports/winnt/ntpd/ntp_iocpltypes.c                                        |   302 +
 external/bsd/ntp/dist/ports/winnt/ntpd/ntservice.c                                             |   367 +
 external/bsd/ntp/dist/ports/winnt/ntptrace/ntptrace.dsp                                        |   153 +
 external/bsd/ntp/dist/ports/winnt/ppsapi/loopback/monolithic-serialpps-timepps.h               |   714 +++
 external/bsd/ntp/dist/ports/winnt/ppsapi/loopback/monolithic-serialpps-timepps.txt             |    52 +
 external/bsd/ntp/dist/ports/winnt/ppsapi/loopback/src/loopback-ppsapi.c                        |   465 ++
 external/bsd/ntp/dist/ports/winnt/ppsapi/loopback/src/loopback-ppsapi.def                      |    11 +
 external/bsd/ntp/dist/ports/winnt/ppsapi/loopback/src/loopback-ppsapi.h                        |    52 +
 external/bsd/ntp/dist/ports/winnt/ppsapi/loopback/src/sys/time.h                               |    20 +
 external/bsd/ntp/dist/ports/winnt/ppsapi/loopback/src/timepps.h                                |   811 ++++
 external/bsd/ntp/dist/ports/winnt/ppsapi/skelprov/skeleton-ppsapi-provider.c                   |   382 ++
 external/bsd/ntp/dist/ports/winnt/ppsapi/skelprov/skeleton-ppsapi-provider.def                 |     9 +
 external/bsd/ntp/dist/ports/winnt/ppsapi/skelprov/skeleton-ppsapi-provider.h                   |    22 +
 external/bsd/ntp/dist/ports/winnt/ppsapi/skelprov/skeleton-ppsapi-provider.sln                 |    19 +
 external/bsd/ntp/dist/ports/winnt/ppsapi/skelprov/skeleton-ppsapi-provider.vcproj              |   227 +
 external/bsd/ntp/dist/ports/winnt/ppsapi/skelprov/sys/time.h                                   |    18 +
 external/bsd/ntp/dist/ports/winnt/scripts/mkver.bat                                            |   449 ++
 external/bsd/ntp/dist/ports/winnt/vs2005/Instsrv.vcproj                                        |   244 +
 external/bsd/ntp/dist/ports/winnt/vs2005/libntp.vcproj                                         |   880 ++++
 external/bsd/ntp/dist/ports/winnt/vs2005/ntp.sln                                               |    70 +
 external/bsd/ntp/dist/ports/winnt/vs2005/ntpd.vcproj                                           |  1909 ++++++++++
 external/bsd/ntp/dist/ports/winnt/vs2005/ntpdate.vcproj                                        |   294 +
 external/bsd/ntp/dist/ports/winnt/vs2005/ntpdc.vcproj                                          |   338 +
 external/bsd/ntp/dist/ports/winnt/vs2005/ntpkeygen.vcproj                                      |   378 +
 external/bsd/ntp/dist/ports/winnt/vs2005/ntpq.vcproj                                           |   338 +
 external/bsd/ntp/dist/ports/winnt/vs2008/common.vsprops                                        |    53 +
 external/bsd/ntp/dist/ports/winnt/vs2008/debug-x64.vsprops                                     |    20 +
 external/bsd/ntp/dist/ports/winnt/vs2008/debug.vsprops                                         |    20 +
 external/bsd/ntp/dist/ports/winnt/vs2008/instsrv/instsrv.vcproj                                |   371 +
 external/bsd/ntp/dist/ports/winnt/vs2008/libntp/libntp.vcproj                                  |  1075 +++++
 external/bsd/ntp/dist/ports/winnt/vs2008/loopback-pps/loopback-ppsapi-provider.vcproj          |   386 ++
 external/bsd/ntp/dist/ports/winnt/vs2008/ntp-keygen/ntp-keygen.vcproj                          |   371 +
 external/bsd/ntp/dist/ports/winnt/vs2008/ntp.sln                                               |   128 +
 external/bsd/ntp/dist/ports/winnt/vs2008/ntpd-keyword-gen/ntpd-keyword-gen.vcproj              |   364 +
 external/bsd/ntp/dist/ports/winnt/vs2008/ntpd/gen-ntp_keyword.bat                              |    53 +
 external/bsd/ntp/dist/ports/winnt/vs2008/ntpd/ntpd.vcproj                                      |  1192 ++++++
 external/bsd/ntp/dist/ports/winnt/vs2008/ntpdate/ntpdate.vcproj                                |   424 ++
 external/bsd/ntp/dist/ports/winnt/vs2008/ntpdc/ntpdc.vcproj                                    |   388 ++
 external/bsd/ntp/dist/ports/winnt/vs2008/ntpq/ntpq.vcproj                                      |   384 ++
 external/bsd/ntp/dist/ports/winnt/vs2008/release-x64.vsprops                                   |    21 +
 external/bsd/ntp/dist/ports/winnt/vs2008/release.vsprops                                       |    21 +
 external/bsd/ntp/dist/ports/winnt/vs2013/common.props                                          |    60 +
 external/bsd/ntp/dist/ports/winnt/vs2013/debug-x64.props                                       |    24 +
 external/bsd/ntp/dist/ports/winnt/vs2013/debug.props                                           |    24 +
 external/bsd/ntp/dist/ports/winnt/vs2013/instsrv/instsrv.vcxproj                               |   269 +
 external/bsd/ntp/dist/ports/winnt/vs2013/instsrv/instsrv.vcxproj.filters                       |    28 +
 external/bsd/ntp/dist/ports/winnt/vs2013/libntp/libntp.vcxproj                                 |   435 ++
 external/bsd/ntp/dist/ports/winnt/vs2013/libntp/libntp.vcxproj.filters                         |   586 +++
 external/bsd/ntp/dist/ports/winnt/vs2013/loopback-pps/loopback-ppsapi-provider.vcxproj         |   252 +
 external/bsd/ntp/dist/ports/winnt/vs2013/loopback-pps/loopback-ppsapi-provider.vcxproj.filters |    39 +
 external/bsd/ntp/dist/ports/winnt/vs2013/ntp-keygen/ntp-keygen.vcxproj                         |   270 +
 external/bsd/ntp/dist/ports/winnt/vs2013/ntp-keygen/ntp-keygen.vcxproj.filters                 |    36 +
 external/bsd/ntp/dist/ports/winnt/vs2013/ntp.sln                                               |   166 +
 external/bsd/ntp/dist/ports/winnt/vs2013/ntpd-keyword-gen/ntpd-keyword-gen.vcxproj             |   227 +
 external/bsd/ntp/dist/ports/winnt/vs2013/ntpd-keyword-gen/ntpd-keyword-gen.vcxproj.filters     |    69 +
 external/bsd/ntp/dist/ports/winnt/vs2013/ntpd/gen-ntp_keyword.bat                              |    53 +
 external/bsd/ntp/dist/ports/winnt/vs2013/ntpd/ntpd.vcxproj                                     |   516 ++
 external/bsd/ntp/dist/ports/winnt/vs2013/ntpd/ntpd.vcxproj.filters                             |   559 ++
 external/bsd/ntp/dist/ports/winnt/vs2013/ntpdate/ntpdate.vcxproj                               |   287 +
 external/bsd/ntp/dist/ports/winnt/vs2013/ntpdate/ntpdate.vcxproj.filters                       |    72 +
 external/bsd/ntp/dist/ports/winnt/vs2013/ntpdc/ntpdc.vcxproj                                   |   278 +
 external/bsd/ntp/dist/ports/winnt/vs2013/ntpdc/ntpdc.vcxproj.filters                           |    45 +
 external/bsd/ntp/dist/ports/winnt/vs2013/ntpq/ntpq.vcxproj                                     |   277 +
 external/bsd/ntp/dist/ports/winnt/vs2013/ntpq/ntpq.vcxproj.filters                             |    42 +
 external/bsd/ntp/dist/ports/winnt/vs2013/release-x64.props                                     |    25 +
 external/bsd/ntp/dist/ports/winnt/vs2013/release.props                                         |    25 +
 external/bsd/ntp/dist/ports/winnt/vs2015/common.props                                          |    60 +
 external/bsd/ntp/dist/ports/winnt/vs2015/debug-x64.props                                       |    24 +
 external/bsd/ntp/dist/ports/winnt/vs2015/debug.props                                           |    24 +
 external/bsd/ntp/dist/ports/winnt/vs2015/instsrv/instsrv.vcxproj                               |   269 +
 external/bsd/ntp/dist/ports/winnt/vs2015/instsrv/instsrv.vcxproj.filters                       |    28 +
 external/bsd/ntp/dist/ports/winnt/vs2015/libntp/libntp.vcxproj                                 |   435 ++
 external/bsd/ntp/dist/ports/winnt/vs2015/libntp/libntp.vcxproj.filters                         |   586 +++
 external/bsd/ntp/dist/ports/winnt/vs2015/loopback-pps/loopback-ppsapi-provider.vcxproj         |   252 +
 external/bsd/ntp/dist/ports/winnt/vs2015/loopback-pps/loopback-ppsapi-provider.vcxproj.filters |    39 +
 external/bsd/ntp/dist/ports/winnt/vs2015/ntp-keygen/ntp-keygen.vcxproj                         |   270 +
 external/bsd/ntp/dist/ports/winnt/vs2015/ntp-keygen/ntp-keygen.vcxproj.filters                 |    36 +
 external/bsd/ntp/dist/ports/winnt/vs2015/ntp.sln                                               |   166 +
 external/bsd/ntp/dist/ports/winnt/vs2015/ntpd-keyword-gen/ntpd-keyword-gen.vcxproj             |   227 +
 external/bsd/ntp/dist/ports/winnt/vs2015/ntpd-keyword-gen/ntpd-keyword-gen.vcxproj.filters     |    69 +
 external/bsd/ntp/dist/ports/winnt/vs2015/ntpd/gen-ntp_keyword.bat                              |    53 +
 external/bsd/ntp/dist/ports/winnt/vs2015/ntpd/ntpd.vcxproj                                     |   516 ++
 external/bsd/ntp/dist/ports/winnt/vs2015/ntpd/ntpd.vcxproj.filters                             |   559 ++
 external/bsd/ntp/dist/ports/winnt/vs2015/ntpdate/ntpdate.vcxproj                               |   287 +
 external/bsd/ntp/dist/ports/winnt/vs2015/ntpdate/ntpdate.vcxproj.filters                       |    72 +
 external/bsd/ntp/dist/ports/winnt/vs2015/ntpdc/ntpdc.vcxproj                                   |   278 +
 external/bsd/ntp/dist/ports/winnt/vs2015/ntpdc/ntpdc.vcxproj.filters                           |    45 +
 external/bsd/ntp/dist/ports/winnt/vs2015/ntpq/ntpq.vcxproj                                     |   277 +
 external/bsd/ntp/dist/ports/winnt/vs2015/ntpq/ntpq.vcxproj.filters                             |    42 +
 external/bsd/ntp/dist/ports/winnt/vs2015/release-x64.props                                     |    25 +
 external/bsd/ntp/dist/ports/winnt/vs2015/release.props                                         |    25 +
 external/bsd/ntp/dist/scripts/build/genAuthors.in                                              |     4 +-
 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                                   |     2 +-
 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/monitoring/ntploopwatch                                          |    16 +-
 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                                           |     4 +-
 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/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                                           |     4 +-
 external/bsd/ntp/dist/scripts/ntpsweep/ntpsweep.in                                             |     2 +-
 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/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                                           |     4 +-
 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                                                |     4 +-
 external/bsd/ntp/dist/scripts/plot_summary.in                                                  |     2 +-
 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                                                     |     4 +-
 external/bsd/ntp/dist/scripts/summary.in                                                       |     2 +-
 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/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                                     |    76 +-
 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/config.h.in                                                         |    12 +
 external/bsd/ntp/dist/sntp/configure                                                           |    71 +-
 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                                                    |    50 +-
 external/bsd/ntp/dist/sntp/libpkgver/colcomp.c                                                 |     2 -
 external/bsd/ntp/dist/sntp/libpkgver/pkgver.h                                                  |     2 -
 external/bsd/ntp/dist/sntp/m4/ntp_libntp.m4                                                    |    23 +-
 external/bsd/ntp/dist/sntp/m4/ntp_openssl.m4                                                   |     1 +
 external/bsd/ntp/dist/sntp/m4/snprintf.m4                                                      |     2 +-
 external/bsd/ntp/dist/sntp/m4/version.m4                                                       |     2 +-
 external/bsd/ntp/dist/sntp/sntp.1sntpman                                                       |     6 +-
 external/bsd/ntp/dist/sntp/sntp.1sntpmdoc                                                      |     4 +-
 external/bsd/ntp/dist/sntp/sntp.html                                                           |    50 +-
 external/bsd/ntp/dist/sntp/sntp.man.in                                                         |     6 +-
 external/bsd/ntp/dist/sntp/sntp.mdoc.in                                                        |     4 +-
 external/bsd/ntp/dist/sntp/tests/fileHandlingTest.c                                            |     2 -
 external/bsd/ntp/dist/sntp/tests/kodDatabase.c                                                 |     2 -
 external/bsd/ntp/dist/sntp/tests/kodFile.c                                                     |     2 -
 external/bsd/ntp/dist/sntp/tests/networking.c                                                  |     2 -
 external/bsd/ntp/dist/sntp/tests/sntptest.c                                                    |     2 -
 external/bsd/ntp/dist/sntp/tests/t-log.c                                                       |     2 -
 external/bsd/ntp/dist/sntp/tests/utilities.c                                                   |     2 -
 external/bsd/ntp/dist/sntp/unity/auto/runner_maybe.c                                           |     2 -
 external/bsd/ntp/dist/sntp/unity/ulib_setup.c                                                  |     2 -
 external/bsd/ntp/dist/sntp/unity/ulib_teardown.c                                               |     2 -
 external/bsd/ntp/dist/sntp/unity/unity.c                                                       |     2 -
 external/bsd/ntp/dist/sntp/unity/unity.h                                                       |     2 -
 external/bsd/ntp/dist/sntp/unity/unity_config.h                                                |     2 -
 external/bsd/ntp/dist/sntp/unity/unity_fixture.c                                               |     2 -
 external/bsd/ntp/dist/sntp/unity/unity_fixture.h                                               |     2 -
 external/bsd/ntp/dist/sntp/unity/unity_fixture_internals.h                                     |     2 -
 external/bsd/ntp/dist/sntp/unity/unity_fixture_malloc_overrides.h                              |     2 -
 external/bsd/ntp/dist/sntp/unity/unity_internals.h                                             |     2 -
 external/bsd/ntp/dist/tests/bug-2803/bug-2803.c                                                |     2 -
 external/bsd/ntp/dist/tests/libntp/atoint.c                                                    |     2 -
 external/bsd/ntp/dist/tests/libntp/atouint.c                                                   |     2 -
 external/bsd/ntp/dist/tests/libntp/buftvtots.c                                                 |     2 -
 external/bsd/ntp/dist/tests/libntp/calendar.c                                                  |     2 -
 external/bsd/ntp/dist/tests/libntp/caljulian.c                                                 |     2 -
 external/bsd/ntp/dist/tests/libntp/caltontp.c                                                  |     2 -
 external/bsd/ntp/dist/tests/libntp/calyearstart.c                                              |     2 -
 external/bsd/ntp/dist/tests/libntp/clocktime.c                                                 |     2 -
 external/bsd/ntp/dist/tests/libntp/decodenetnum.c                                              |     2 -
 external/bsd/ntp/dist/tests/libntp/hextoint.c                                                  |     2 -
 external/bsd/ntp/dist/tests/libntp/hextolfp.c                                                  |     2 -
 external/bsd/ntp/dist/tests/libntp/humandate.c                                                 |     2 -
 external/bsd/ntp/dist/tests/libntp/lfpfunc.c                                                   |     2 -
 external/bsd/ntp/dist/tests/libntp/lfptest.c                                                   |     2 -
 external/bsd/ntp/dist/tests/libntp/lfptostr.c                                                  |     2 -
 external/bsd/ntp/dist/tests/libntp/modetoa.c                                                   |     2 -
 external/bsd/ntp/dist/tests/libntp/msyslog.c                                                   |     2 -
 external/bsd/ntp/dist/tests/libntp/netof.c                                                     |     2 -
 external/bsd/ntp/dist/tests/libntp/numtoa.c                                                    |     2 -
 external/bsd/ntp/dist/tests/libntp/numtohost.c                                                 |     2 -
 external/bsd/ntp/dist/tests/libntp/octtoint.c                                                  |     2 -
 external/bsd/ntp/dist/tests/libntp/prettydate.c                                                |     2 -
 external/bsd/ntp/dist/tests/libntp/recvbuff.c                                                  |     2 -
 external/bsd/ntp/dist/tests/libntp/refidsmear.c                                                |     2 -
 external/bsd/ntp/dist/tests/libntp/refnumtoa.c                                                 |     2 -
 external/bsd/ntp/dist/tests/libntp/sfptostr.c                                                  |     2 -
 external/bsd/ntp/dist/tests/libntp/sockaddrtest.c                                              |     2 -
 external/bsd/ntp/dist/tests/libntp/socktoa.c                                                   |     2 -
 external/bsd/ntp/dist/tests/libntp/statestr.c                                                  |     2 -
 external/bsd/ntp/dist/tests/libntp/strtolfp.c                                                  |     2 -
 external/bsd/ntp/dist/tests/libntp/test-libntp.c                                               |     2 -
 external/bsd/ntp/dist/tests/libntp/test-libntp.h                                               |     2 -
 external/bsd/ntp/dist/tests/libntp/tsafememcmp.c                                               |     2 -
 external/bsd/ntp/dist/tests/libntp/tstotv.c                                                    |     2 -
 external/bsd/ntp/dist/tests/libntp/tvtots.c                                                    |     2 -
 external/bsd/ntp/dist/tests/libntp/uglydate.c                                                  |     2 -
 external/bsd/ntp/dist/tests/libntp/vi64ops.c                                                   |     2 -
 external/bsd/ntp/dist/tests/libntp/ymd2yd.c                                                    |     2 -
 external/bsd/ntp/dist/tests/ntpd/t-ntp_signd.c                                                 |     2 -
 external/bsd/ntp/dist/tests/ntpq/t-ntpq.c                                                      |     2 -
 external/bsd/ntp/dist/tests/sandbox/bug-2803.c                                                 |     2 -
 external/bsd/ntp/dist/tests/sandbox/modetoa.c                                                  |     2 -
 external/bsd/ntp/dist/tests/sandbox/smeartest.c                                                |     2 -
 external/bsd/ntp/dist/tests/sandbox/uglydate.c                                                 |     2 -
 external/bsd/ntp/dist/tests/sandbox/ut-2803.c                                                  |     2 -
 external/bsd/ntp/dist/tests/sec-2853/sec-2853.c                                                |     2 -
 external/bsd/ntp/dist/util/invoke-ntp-keygen.texi                                              |    40 +-
 external/bsd/ntp/dist/util/ntp-keygen-opts.def                                                 |     2 +-
 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                                                     |     8 +-
 external/bsd/ntp/dist/util/ntp-keygen.man.in                                                   |     8 +-
 external/bsd/ntp/dist/util/ntp-keygen.mdoc.in                                                  |     6 +-
 external/bsd/ntp/dist/util/ntp-keygen.texi                                                     |     2 +-
 414 files changed, 34393 insertions(+), 657 deletions(-)

diffs (truncated from 38641 to 300 lines):

diff -r 416b1a8ecb58 -r 353bd9bc822c external/bsd/ntp/dist/ChangeLog
--- a/external/bsd/ntp/dist/ChangeLog   Sat Sep 29 17:05:55 2018 +0000
+++ b/external/bsd/ntp/dist/ChangeLog   Sat Sep 29 17:28:34 2018 +0000
@@ -1,4 +1,68 @@
 ---
+(4.2.8p12) 2018/08/14 Released by Harlan Stenn <stenn%ntp.org@localhost>
+
+* [Sec 3505] CVE-2018-12327 - Arbitrary Code Execution Vulnerability
+  - fixed stack buffer overflow in the openhost() command-line call
+    of NTPQ/NTPDC <perlinger%ntp.org@localhost>
+* [Sec 3012] noepeer tweaks.  <stenn%ntp.org@localhost>
+* [Bug 3521] Fix a logic bug in the INVALIDNAK checks.  <stenn%ntp.org@localhost>
+* [Bug 3509] Add support for running as non-root on FreeBSD, Darwin,
+             other TrustedBSD platforms
+  - applied patch by Ian Lepore <perlinger%ntp.org@localhost>
+* [Bug 3506] Service Control Manager interacts poorly with NTPD <perlinger%ntp.org@localhost>
+  - changed interaction with SCM to signal pending startup
+* [Bug 3486] Buffer overflow in ntpq/ntpq.c:tstflags() <perlinger%ntp.org@localhost>
+  - applied patch by Gerry Garvey
+* [Bug 3485] Undefined sockaddr used in error messages in ntp_config.c <perlinger%ntp.org@localhost>
+  - applied patch by Gerry Garvey
+* [Bug 3484] ntpq response from ntpd is incorrect when REFID is null <perlinger%ntp.org@localhost>
+  - rework of ntpq 'nextvar()' key/value parsing
+* [Bug 3482] Fixes for compilation warnings (ntp_io.c & ntpq-subs.c) <perlinger%ntp.org@localhost>
+  - applied patch by Gerry Garvey (with mods)
+* [Bug 3480] Refclock sample filter not cleared on clock STEP <perlinger%ntp.org@localhost>
+  - applied patch by Gerry Garvey
+* [Bug 3479] ctl_putrefid() allows unsafe characters through to ntpq <perlinger%ntp.org@localhost>
+  - applied patch by Gerry Garvey (with mods)
+* [Bug 3476]ctl_putstr() sends empty unquoted string [...] <perlinger%ntp.org@localhost>
+  - applied patch by Gerry Garvey (with mods); not sure if that's bug or feature, though
+* [Bug 3475] modify prettydate() to suppress output of zero time <perlinger%ntp.org@localhost>
+  - applied patch by Gerry Garvey
+* [Bug 3474] Missing pmode in mode7 peer info response <perlinger%ntp.org@localhost>
+  - applied patch by Gerry Garvey
+* [Bug 3471] Check for openssl/[ch]mac.h.  HStenn.
+  - add #define ENABLE_CMAC support in configure.  HStenn.
+* [Bug 3470] ntpd4.2.8p11 fails to compile without OpenSSL <perlinger%ntp.org@localhost>
+* [Bug 3469] Incomplete string compare [...] in is_refclk_addr <perlinger%ntp.org@localhost>
+  - patch by Stephen Friedl
+* [Bug 3467] Potential memory fault in ntpq [...] <perlinger%ntp.org@localhost>
+  - fixed IO redirection and CTRL-C handling in ntq and ntpdc
+* [Bug 3465] Default TTL values cannot be used <perlinger%ntp.org@localhost>
+* [Bug 3461] refclock_shm.c: clear error status on clock recovery <perlinger%ntp.org@localhost>
+  - initial patch by Hal Murray; also fixed refclock_report() trouble
+* [Bug 3460] Fix typo in ntpq.texi, reported by Kenyon Ralph.  <stenn%ntp.org@localhost>
+* [Bug 3456] Use uintptr_t rather than size_t to store an integer in a pointer
+  - According to Brooks Davis, there was only one location <perlinger%ntp.org@localhost>
+* [Bug 3449] ntpq - display "loop" instead of refid [...] <perlinger%ntp.org@localhost>
+  - applied patch by Gerry Garvey
+* [Bug 3445] Symmetric peer won't sync on startup <perlinger%ntp.org@localhost>
+  - applied patch by Gerry Garvey
+* [Bug 3442] Fixes for ntpdate as suggested by Gerry Garvey,
+  with modifications
+  New macro REFID_ISTEXT() which is also used in ntpd/ntp_control.c.
+* [Bug 3434] ntpd clears STA_UNSYNC on start <perlinger%ntp.org@localhost>
+  - applied patch by Miroslav Lichvar
+* [Bug 3426] ntpdate.html -t default is 2 seconds.  Leonid Evdokimov.
+* [Bug 3121] Drop root privileges for the forked DNS worker <perlinger%ntp.org@localhost>
+  - integrated patch by  Reinhard Max
+* [Bug 2821] minor build issues <perlinger%ntp.org@localhost>
+  - applied patches by Christos Zoulas, including real bug fixes
+* html/authopt.html: cleanup, from <stenn%ntp.org@localhost>
+* ntpd/ntpd.c: DROPROOT cleanup.  <stenn%ntp.org@localhost>
+* Symmetric key range is 1-65535.  Update docs.  <stenn%ntp.org@localhost>
+* html/authentic.html: cleanup, from <stenn%ntp.org@localhost>
+
+---
+(4.2.8p11) 2018/02/27 Released by Harlan Stenn <stenn%ntp.org@localhost>
 
 * [Sec 3454] Unauthenticated packet can reset authenticated interleave
   associations.  HStenn.
@@ -14,16 +78,16 @@
  - applied patch by Sean Haugh 
 * [Bug 3452] PARSE driver prints uninitialized memory. <perlinger%ntp.org@localhost>
 * [Bug 3450] Dubious error messages from plausibility checks in get_systime()
- - removed error log caused by rounding/slew, ensured postcondition <perlinger%ntp.org@localhost>
+  - removed error log caused by rounding/slew, ensured postcondition <perlinger%ntp.org@localhost>
 * [Bug 3447] AES-128-CMAC (fixes) <perlinger%ntp.org@localhost>
   - refactoring the MAC code, too
 * [Bug 3441] Validate the assumption that AF_UNSPEC is 0.  stenn%ntp.org@localhost
 * [Bug 3439] When running multiple commands / hosts in ntpq... <perlinger%ntp.org@localhost>
- - applied patch by ggarvey
+  - applied patch by ggarvey
 * [Bug 3438] Negative values and values > 999 days in... <perlinger%ntp.org@localhost>
- - applied patch by ggarvey (with minor mods)
+  - applied patch by ggarvey (with minor mods)
 * [Bug 3437] ntpd tries to open socket with AF_UNSPEC domain
- - applied patch (with mods) by Miroslav Lichvar <perlinger%ntp.org@localhost>
+  - applied patch (with mods) by Miroslav Lichvar <perlinger%ntp.org@localhost>
 * [Bug 3435] anchor NTP era alignment <perlinger%ntp.org@localhost>
 * [Bug 3433] sntp crashes when run with -a.  <stenn%ntp.org@localhost>
 * [Bug 3430] ntpq dumps core (SIGSEGV) for "keytype md2"
diff -r 416b1a8ecb58 -r 353bd9bc822c external/bsd/ntp/dist/NEWS
--- a/external/bsd/ntp/dist/NEWS        Sat Sep 29 17:05:55 2018 +0000
+++ b/external/bsd/ntp/dist/NEWS        Sat Sep 29 17:28:34 2018 +0000
@@ -1,8 +1,79 @@
+--
+NTP 4.2.8p12 (Harlan Stenn <stenn%ntp.org@localhost>, 2018/14/09)
+
+NOTE: this NEWS file will be undergoing more revisions.
+
+Focus: Security, Bug fixes, enhancements.
+
+Severity: MEDIUM
+
+This release fixes a "hole" in the noepeer capability introduced to ntpd
+in ntp-4.2.8p11, and a buffer overflow in the openhost() function used by
+ntpq and ntpdc.  It also provides 26 other bugfixes, and 4 other improvements:
+
+* [Sec 3505] Buffer overflow in the openhost() call of ntpq and ntpdc.
+
+* [Sec 3012] Fix a hole in the new "noepeer" processing.
+
+* Bug Fixes:
+ [Bug 3521] Fix a logic bug in the INVALIDNAK checks.  <stenn%ntp.org@localhost>
+ [Bug 3509] Add support for running as non-root on FreeBSD, Darwin,
+            other TrustedBSD platforms
+ - applied patch by Ian Lepore <perlinger%ntp.org@localhost>
+ [Bug 3506] Service Control Manager interacts poorly with NTPD <perlinger%ntp.org@localhost>
+ - changed interaction with SCM to signal pending startup
+ [Bug 3486] Buffer overflow in ntpq/ntpq.c:tstflags() <perlinger%ntp.org@localhost>
+ - applied patch by Gerry Garvey
+ [Bug 3485] Undefined sockaddr used in error messages in ntp_config.c <perlinger%ntp.org@localhost>
+ - applied patch by Gerry Garvey
+ [Bug 3484] ntpq response from ntpd is incorrect when REFID is null <perlinger%ntp.org@localhost>
+ - rework of ntpq 'nextvar()' key/value parsing
+ [Bug 3482] Fixes for compilation warnings (ntp_io.c & ntpq-subs.c) <perlinger%ntp.org@localhost>
+ - applied patch by Gerry Garvey (with mods)
+ [Bug 3480] Refclock sample filter not cleared on clock STEP <perlinger%ntp.org@localhost>
+ - applied patch by Gerry Garvey
+ [Bug 3479] ctl_putrefid() allows unsafe characters through to ntpq <perlinger%ntp.org@localhost>
+ - applied patch by Gerry Garvey (with mods)
+ [Bug 3476]ctl_putstr() sends empty unquoted string [...] <perlinger%ntp.org@localhost>
+ - applied patch by Gerry Garvey (with mods); not sure if that's bug or feature, though
+ [Bug 3475] modify prettydate() to suppress output of zero time <perlinger%ntp.org@localhost>
+ - applied patch by Gerry Garvey
+ [Bug 3474] Missing pmode in mode7 peer info response <perlinger%ntp.org@localhost>
+ - applied patch by Gerry Garvey
+ [Bug 3471] Check for openssl/[ch]mac.h.  HStenn.
+ - add #define ENABLE_CMAC support in configure.  HStenn.
+ [Bug 3470] ntpd4.2.8p11 fails to compile without OpenSSL <perlinger%ntp.org@localhost>
+ [Bug 3469] Incomplete string compare [...] in is_refclk_addr <perlinger%ntp.org@localhost>
+ - patch by Stephen Friedl
+ [Bug 3467] Potential memory fault in ntpq [...] <perlinger%ntp.org@localhost>
+ - fixed IO redirection and CTRL-C handling in ntq and ntpdc
+ [Bug 3465] Default TTL values cannot be used <perlinger%ntp.org@localhost>
+ [Bug 3461] refclock_shm.c: clear error status on clock recovery <perlinger%ntp.org@localhost>
+ - initial patch by Hal Murray; also fixed refclock_report() trouble
+ [Bug 3460] Fix typo in ntpq.texi, reported by Kenyon Ralph.  <stenn%ntp.org@localhost>
+ [Bug 3456] Use uintptr_t rather than size_t to store an integer in a pointer
+ - According to Brooks Davis, there was only one location <perlinger%ntp.org@localhost>
+ [Bug 3449] ntpq - display "loop" instead of refid [...] <perlinger%ntp.org@localhost>
+ - applied patch by Gerry Garvey
+ [Bug 3445] Symmetric peer won't sync on startup <perlinger%ntp.org@localhost>
+ - applied patch by Gerry Garvey
+ [Bug 3442] Fixes for ntpdate as suggested by Gerry Garvey,
+ with modifications
+ New macro REFID_ISTEXT() which is also used in ntpd/ntp_control.c.
+ [Bug 3434] ntpd clears STA_UNSYNC on start <perlinger%ntp.org@localhost>
+ - applied patch by Miroslav Lichvar
+ [Bug 3426] ntpdate.html -t default is 2 seconds.  Leonid Evdokimov.
+ [Bug 3121] Drop root privileges for the forked DNS worker <perlinger%ntp.org@localhost>
+ - integrated patch by  Reinhard Max
+ [Bug 2821] minor build issues <perlinger%ntp.org@localhost>
+ - applied patches by Christos Zoulas, including real bug fixes
+ html/authopt.html: cleanup, from <stenn%ntp.org@localhost>
+ ntpd/ntpd.c: DROPROOT cleanup.  <stenn%ntp.org@localhost>
+ Symmetric key range is 1-65535.  Update docs.   <stenn%ntp.org@localhost>
+
 --
 NTP 4.2.8p11 (Harlan Stenn <stenn%ntp.org@localhost>, 2018/02/27)
 
-NOTE: this NEWS file will be undergoing more revisions.
-
 Focus: Security, Bug fixes, enhancements.
 
 Severity: MEDIUM
diff -r 416b1a8ecb58 -r 353bd9bc822c external/bsd/ntp/dist/config.h.in
--- a/external/bsd/ntp/dist/config.h.in Sat Sep 29 17:05:55 2018 +0000
+++ b/external/bsd/ntp/dist/config.h.in Sat Sep 29 17:28:34 2018 +0000
@@ -311,6 +311,9 @@
 /* Provide the explicit 127.0.0.0/8 martian filter? */
 #undef ENABLE_BUG3020_FIX
 
+/* Enable CMAC support? */
+#undef ENABLE_CMAC
+
 /* nls support in libopts */
 #undef ENABLE_NLS
 
@@ -372,6 +375,14 @@
 /* Define to 1 if you have the `daemon' function. */
 #undef HAVE_DAEMON
 
+/* Define to 1 if you have the declaration of `siglongjmp', and to 0 if you
+   don't. */
+#undef HAVE_DECL_SIGLONGJMP
+
+/* Define to 1 if you have the declaration of `sigsetjmp', and to 0 if you
+   don't. */
+#undef HAVE_DECL_SIGSETJMP
+
 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
    don't. */
 #undef HAVE_DECL_STRERROR_R
@@ -653,6 +664,12 @@
 /* if you have NT Threads */
 #undef HAVE_NT_THREADS
 
+/* Define to 1 if you have the <openssl/cmac.h> header file. */
+#undef HAVE_OPENSSL_CMAC_H
+
+/* Define to 1 if you have the <openssl/hmac.h> header file. */
+#undef HAVE_OPENSSL_HMAC_H
+
 /* Define to 1 if the system has the type `pid_t'. */
 #undef HAVE_PID_T
 
@@ -957,6 +974,9 @@
 /* Define to 1 if you have the <sys/lock.h> header file. */
 #undef HAVE_SYS_LOCK_H
 
+/* Define to 1 if you have the <sys/mac.h> header file. */
+#undef HAVE_SYS_MAC_H
+
 /* Define to 1 if you have the <sys/mman.h> header file. */
 #undef HAVE_SYS_MMAN_H
 
@@ -1117,6 +1137,9 @@
 /* Do we have the TIO serial stuff? */
 #undef HAVE_TIO_SERIAL_STUFF
 
+/* Are TrustedBSD MAC policy privileges available? */
+#undef HAVE_TRUSTEDBSD_MAC
+
 /* Define to 1 if the system has the type `uint16_t'. */
 #undef HAVE_UINT16_T
 
diff -r 416b1a8ecb58 -r 353bd9bc822c external/bsd/ntp/dist/configure
--- a/external/bsd/ntp/dist/configure   Sat Sep 29 17:05:55 2018 +0000
+++ b/external/bsd/ntp/dist/configure   Sat Sep 29 17:28:34 2018 +0000
@@ -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.8p11.
+# Generated by GNU Autoconf 2.69 for ntp 4.2.8p12.
 #
 # Report bugs to <http://bugs.ntp.org./>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='ntp'
 PACKAGE_TARNAME='ntp'
-PACKAGE_VERSION='4.2.8p11'
-PACKAGE_STRING='ntp 4.2.8p11'
+PACKAGE_VERSION='4.2.8p12'
+PACKAGE_STRING='ntp 4.2.8p12'
 PACKAGE_BUGREPORT='http://bugs.ntp.org./'
 PACKAGE_URL='http://www.ntp.org./'
 
@@ -968,6 +968,7 @@
 enable_clockctl
 enable_linuxcaps
 enable_solarisprivs
+enable_trustedbsd_mac
 with_arlib
 with_net_snmp_config
 enable_libseccomp
@@ -1614,7 +1615,7 @@
   # 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.8p11 to adapt to many kinds of systems.
+\`configure' configures ntp 4.2.8p12 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1684,7 +1685,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of ntp 4.2.8p11:";;
+     short | recursive ) echo "Configuration of ntp 4.2.8p12:";;
    esac
   cat <<\_ACEOF
 
@@ -1731,6 +1732,8 @@
   --enable-clockctl       s Use /dev/clockctl for non-root clock control
   --enable-linuxcaps      + Use Linux capabilities for non-root clock control
   --enable-solarisprivs   + Use Solaris privileges for non-root clock control
+  --enable-trustedbsd-mac s Use TrustedBSD MAC policy for non-root clock
+                          control
   --with-arlib            - deprecated, arlib not distributed
   --with-net-snmp-config  + =net-snmp-config
   --enable-libseccomp     EXPERIMENTAL: enable support for libseccomp
@@ -1923,7 +1926,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF



Home | Main Index | Thread Index | Old Index