]>
git.ipfire.org Git - thirdparty/ntp.git/log
Harlan Stenn [Sat, 29 Jul 2000 03:44:30 +0000 (03:44 -0000)]
configure:
Generated files
bk: 3982531ezKpIfSfKIZ4fY0ijVGYVgQ
Harlan Stenn [Sat, 29 Jul 2000 02:47:03 +0000 (02:47 -0000)]
ChangeLog, configure.in, ntp-genkeys.c:
* util/ntp-genkeys.c (usage): Added.
bk: 398245a7a5RYOWzIcgCpKd3x5AQjCg
Harlan Stenn [Sat, 29 Jul 2000 02:30:37 +0000 (02:30 -0000)]
ChangeLog, ntp_crypto.c:
* ntpd/ntp_crypto.c: Cleanup
From Dave Mills
bk: 398241cdpyJCvs6Dia_unb5PtCmAAg
Harlan Stenn [Sat, 29 Jul 2000 01:14:49 +0000 (01:14 -0000)]
Many files:
* include/ntp_config.h: Created
* util/ntp-genkeys.c: Always build, but realize we may not have
RSAREF. Compile parts appropriately.
* util/Makefile.am (bin_PROGRAMS): Always make ntp-genkeys
(ntp-genkeys_LDADD): Use $LIBRSAREF instead of the "real path"
* configure.in: Lose MAKE_NTP_GENKEYS
* configure.in:
* util/ntp-genkeys.c:
* util/Makefile.am:
Renamed ntp_genkeys to ntp-genkeys.
ChangeLog, ntp_loopfilter.c:
* ntpd/ntp_loopfilter.c (local_clock): Typo
From Dave Mills
ChangeLog, ntp_peer.c, ntp_proto.c:
* ntpd/ntp_proto.c (transmit): Add some parens.
(peer_xmit): Add ntohl when grabbing sndauto.seq for broadcast.
* ntpd/ntp_peer.c (findpeer): Cleanup
From Dave Mills
bk: 39823009dBQjO36zGase7NFzyOFpBg
Harlan Stenn [Thu, 27 Jul 2000 06:02:50 +0000 (06:02 -0000)]
configure, configure.in:
99k2
bk: 397fd08aS6pIsNhA0Hy2ueBVTaLe0w
Harlan Stenn [Thu, 27 Jul 2000 05:44:58 +0000 (05:44 -0000)]
ChangeLog, ntpdate.c:
* ntpdate/ntpdate.c (ntpdatemain): Cleanup error message.
* ntpdate/ntpdate.c (ntpdatemain): Add missing authtrust() call
From: Jason Heiss <jheiss@cruzeiro.ugcs.caltech.edu>
bk: 397fcc5aUVC2GNbgXIlceO2Vw_dFtw
Harlan Stenn [Thu, 27 Jul 2000 05:34:32 +0000 (05:34 -0000)]
ChangeLog, authparity.c, ntp_crypto.c, refclock_ulink.c:
* ntpd/refclock_ulink.c (ulink_receive):
* ntpd/ntp_crypto.c:
* libntp/authparity.c:
Lint/noise cleanup
From: Marc Brett <mbrett@rgs0.london.waii.com>
bk: 397fc9e8govaC30En-XH2cPknYgq6A
Harlan Stenn [Thu, 27 Jul 2000 05:24:09 +0000 (05:24 -0000)]
ChangeLog, ntp_proto.c:
* ntpd/ntp_proto.c: Specifically track manycastserver and
survivors
From: Dave Mills
bk: 397fc779LPhbCS4f6vuWPoIWlrSHQA
Sven Dietricht [Wed, 26 Jul 2000 23:46:01 +0000 (23:46 -0000)]
win32_io.c:
Add NT_set_process_priority function to unclutter ntpd/ntpd.c
bk: 397f7839Nmv_xbin_7xbq4UyunC6PQ
Sven Dietricht [Wed, 26 Jul 2000 22:27:02 +0000 (22:27 -0000)]
ntpd.c:
Clear out WINNT priority code; move to ports/winnt/ntpd/win32_io.c
ChangeLog:
Windows NT cleanup.
bk: 397f65b6I2XyIHi9k44K4E5_waCjHA
Harlan Stenn [Tue, 25 Jul 2000 03:19:26 +0000 (03:19 -0000)]
ChangeLog, ntp_proto.c:
* ntpd/ntp_proto.c (receive): dstadr_sin needs higher visibility
From: Dave Mills
bk: 397d073euuPGZ93btjz5n4DYiDsBhw
Harlan Stenn [Tue, 25 Jul 2000 01:38:01 +0000 (01:38 -0000)]
ChangeLog, flock-build:
* flock-build: Added baldwin
bk: 397cef79DkGiquVSs1bIQNIxzYntlw
Harlan Stenn [Tue, 25 Jul 2000 00:45:02 +0000 (00:45 -0000)]
Many files:
* ntpd/ntp_request.c:
* ntpd/ntp_proto.c:
* ntpd/ntp_peer.c:
* ntpd/ntp_io.c:
* ntpd/ntp_intres.c:
* ntpd/ntp_crypto.c (make_keylist):
* ntpd/ntp_control.c:
* ntpd/ntp_config.c (CONF_MOD_IBURST, save_resolve):
* include/ntpd.h (findpeerbyassoc, newpeer, peer_config, *_interface):
* include/ntp_request.h (CONF_FLAG_IBURST):
* include/ntp_crypto.h (crypto_xmit, make_keylist):
* include/ntp.h (FLAG_IBURST):
* html/release.htm:
* html/confopt.htm:
* html/assoc.htm:
Add iburst option, fix broadcast/multicast and some types.
From: Dave Mills
bk: 397ce30eCJ_VvQV1LJN2F5eu05rDHw
Harlan Stenn [Thu, 20 Jul 2000 05:22:40 +0000 (05:22 -0000)]
ChangeLog, Makefile.am, Makefile.in:
* scripts/Makefile.am (bin_SCRIPTS): Install ntp-wait
bk: 39768ca0fdj5576etUlmzk9HA0tGLw
Harlan Stenn [Thu, 20 Jul 2000 04:36:24 +0000 (04:36 -0000)]
ChangeLog, configure, configure.in:
* configure.in: 4.0.99k
bk: 397681c8kgZO_IwYRnWygcowcplvkA
Harlan Stenn [Wed, 19 Jul 2000 22:18:19 +0000 (22:18 -0000)]
ChangeLog, ntp_proto.c:
* ntpd/ntp_proto.c (peer_xmit): PUBKEY cleanup
bk: 3976292bT04AwjebJWmymqJheUhdhw
Harlan Stenn [Wed, 19 Jul 2000 02:01:58 +0000 (02:01 -0000)]
ChangeLog, configure, configure.in, confopt.htm, ntpd.htm, ntp_config.c:
* configure.in: 4.0.99j5
* html/ntpd.htm (HREF): Document other missing command-line options
* html/ntpd.htm (HREF): Document
* html/confopt.htm (href): Undocument
* ntpd/ntp_config.c (getconfig): -N high for high-priority.
Lose the ntp.conf way of setting priority.
bk: 39750c167WJpiNJwZ0f4Lu-JdCy09A
Harlan Stenn [Tue, 18 Jul 2000 18:22:41 +0000 (18:22 -0000)]
ChangeLog, ntp_crypto.c:
* ntpd/ntp_crypto.c: PUBKEY/AUTOKEY cleanup
From Dave Mills
bk: 3974a071XcuCbgtphHnmHuqABXKrnw
Harlan Stenn [Tue, 18 Jul 2000 03:42:10 +0000 (03:42 -0000)]
ChangeLog, confopt.htm:
* html/confopt.htm (href): Document the new "priority" keyword of ntp.conf
bk: 3973d21226vjhZNctgoLcNBART93YQ
Harlan Stenn [Tue, 18 Jul 2000 03:27:27 +0000 (03:27 -0000)]
ChangeLog, ntp_config.c, ntpd.c:
* ntpd/ntp_config.c (getconfig): CONFIG_PRIORITY support
* ntpd/ntpd.c (set_process_priority): Use it.
bk: 3973ce9fTVU-GDkNtiKvXShI4u-Uvg
Harlan Stenn [Tue, 18 Jul 2000 00:34:54 +0000 (00:34 -0000)]
Many files:
* ntpd/ntp_crypto.c: Crypto key stuff
* ntpd/ntp_proto.c: pubkey -> pubkey.ptr
* ntpd/ntp_control.c (ctl_putpeer): fstamp -> pubkey.fstamp
* ntpd/ntp_peer.c:
* include/ntpd.h:
* include/ntp_types.h:
* include/ntp_request.h:
* include/ntp_crypto.h:
* include/ntp_control.h:
* include/ntp.h: Type cleanup
From: Dave Mills
bk: 3973a62eRboQju3cakqbnL24KZ7ZCQ
Harlan Stenn [Sat, 15 Jul 2000 01:30:27 +0000 (01:30 -0000)]
ChangeLog, Makefile.am, Makefile.in:
* ElectricFence/Makefile.am (check-local): Same, but watch the return codes...
bk: 396fbeb3cAytuCZVN4aZd48l6jAsSg
Harlan Stenn [Sat, 15 Jul 2000 00:51:52 +0000 (00:51 -0000)]
Makefile.am, Makefile.in:
* ElectricFence/Makefile.am (check-local): Typo
bk: 396fb5a8g_4CR-hrM11HKcUmLAheYg
Harlan Stenn [Sat, 15 Jul 2000 00:28:03 +0000 (00:28 -0000)]
ChangeLog, Makefile.am, Makefile.in, ntp_crypto.c, ntp_proto.c:
* ElectricFence/Makefile.am (check-local): Don't run the tests if
we didn't build the programs...
bk: 396fb013fud-66_9WPW-098z308VFA
Harlan Stenn [Fri, 14 Jul 2000 23:44:22 +0000 (23:44 -0000)]
Makefile.in, configure, configure.in, Makefile.am:
ElectricFence cleanup
bk: 396fa5d685PIGNjfokBZa308l5leqQ
Harlan Stenn [Fri, 14 Jul 2000 20:09:11 +0000 (20:09 -0000)]
ChangeLog, page.c:
* ElectricFence/page.c: #include config.h if it's there.
Properly handle the sys_errlist declaration.
bk: 396f7367L-Mg06hnKHO3AF2PGl9u9w
Harlan Stenn [Fri, 14 Jul 2000 17:44:09 +0000 (17:44 -0000)]
authopt.htm, debug.htm, index.htm, ntpq.htm:
* html/ntpq.htm:
* html/index.htm:
* html/debug.htm:
* html/authopt.htm:
Reality check.
From Dave Mills
bk: 396f5169YKWhtCyziR1hQi8V28gJUg
Harlan Stenn [Thu, 13 Jul 2000 23:03:00 +0000 (23:03 -0000)]
ChangeLog, Makefile.am, Makefile.in, configure, configure.in:
ElectricFence cleanup
bk: 396e4aa438mIOg_u3Jf1J_HMFPXO9A
Harlan Stenn [Thu, 13 Jul 2000 21:57:59 +0000 (21:57 -0000)]
Many files:
* configure.in (AC_CONFIG_FILES): Added ElectricFence/Makefile
* ElectricFence: Imporpted.
bk: 396e3b67GkAAj1vXuk5j5HkiUAxfpA
Harlan Stenn [Wed, 12 Jul 2000 05:53:19 +0000 (05:53 -0000)]
Many files:
* util/ntp_genkeys.c (main): Cleanup
* ntpd/refclock_wwv.c (wwv_qrz): sqrt -> SQRT
* ntpd/refclock_chu.c (chu_rf): sqrt -> SQRT
* ntpd/ntpd.c (set_process_priority): Disable high-priority for now.
PUBKEY cleanup.
* ntpd/ntp_timer.c: sys_revoketime cleanup.
* ntpd/ntp_proto.c (receive): PUBKEY cleanup. Comment and code
cleanup.
(process_packet): Comment and code (PUBKEY) cleanup.
(peer_xmit): Comment and code cleanup.
(fast_xmit): Comment and code cleanup.
* ntpd/ntp_peer.c (expire_all): revoketime cleanup. PUBKEY cleanup.
* ntpd/ntp_crypto.c: Comment reorg. DH parameters are now
file-static instead of local to subroutines.
(make_keylist): peer->pcookie.key cleanup/fix
(crypto_recv): Subroutine documentation cleanup, other cleanup
(crypto_xmit): Cleanup/document.
(crypto_setup): Cleanup/document.
(crypto_agree): Cleanup/document.
(crypto_rsa): now static
(crypto_dh): now static. Comment cleanup. Code cleanup.
(crypto_tai): now static. Code and comment cleanup.
(crypto_config): Deal with CRYPTO_CONF_LEAP.
* ntpd/ntp_control.c (CS_DHPARAMS): Rename corresponding token to
"params". Remove CS_TAI from def_sys_var[].
(ctl_putsys): CS_HOST, CS_DHPARAMSm CS_REVTIME, and CS_LEAPTIME
bugfix. CS_TAI cleanup.
* ntpd/ntp_config.c (CONF_CRYPTO_LEAP): Added
(getconfig): Added CONF_CRYPTO_LEAP support.
* include/ntp_syslog.h: Lose GIZMO stuff.
* include/ntp_crypto.h (CRYPTO_CONF_LEAP): Added
* include/ntp.h: struct autokey, cookie,value, and pkt changes for
signature field. Update the inline docs on pkt's exten field.
From: Dave Mills
bk: 396c07cfYDyEBimjP3BiSnQ712aaVw
Harlan Stenn [Sun, 9 Jul 2000 02:45:28 +0000 (02:45 -0000)]
ChangeLog, ntp_util.c:
* ntpd/ntp_util.c (stats_config): If we read a bogus old_drift,
use 0 instead of failing.
bk: 3967e748sntezrF0gGmaOXGr02GguA
Harlan Stenn [Mon, 3 Jul 2000 21:42:32 +0000 (21:42 -0000)]
ChangeLog, README.cvs:
* README.cvs: Cleanup.
bk: 396108c8SzxSs8P-LjskUhcpYWBTWw
Harlan Stenn [Mon, 3 Jul 2000 05:19:00 +0000 (05:19 -0000)]
Many files:
* ntpd/refclock_datum.c (datum_pts_poll): index -> unit_index
* ntpd/ntp_resolver.c (findhostaddr): const cleanup
* libntp/recvbuff.c:
* libntp/msyslog.c:
* libntp/emalloc.c:
* libntp/authreadkeys.c:
Fix header order.
From: Simon Burge <simonb@netbsd.org>
* ntpd/ntp_util.c (stats_config): Use HAVE_FINITE and HAVE_ISFINITE
* configure.in (ac_cv_struct_ntptimeval_timespec): isfinite()
checks for HP-UX11.
From: Albert Chin-A-Young <china@thewrittenword.com>
bk: 39602244xqKf0BmK14kwvp9T4S8klw
Harlan Stenn [Sun, 2 Jul 2000 17:59:11 +0000 (17:59 -0000)]
ChangeLog, flock-build:
* flock-build (LIST): Lose malarky, update some machine/OS descriptions
bk: 395f82efGW4V50x7bDCQAJKfX55bbA
Harlan Stenn [Sun, 2 Jul 2000 06:01:15 +0000 (06:01 -0000)]
Many files:
* ntpq/ntpq.c: Lose PUBKEY stuff - older ntpq's will complain when
they see the info in a packet.
* ntpd/ntp_proto.c (peer_xmit): TAI changes.
* ntpd/ntp_crypto.c: Fix host/network byteorder stuff. Follow
global->struct changes. TAI changes. Bugfixes.
* ntpd/ntp_control.c: Follow field reorder/rename.
* include/ntp_crypto.h: Move crypto stuff from separate globals
into structs.
* include/ntp_control.h (CS_HOST): Reorder/rename some fields
From: Dave Mills
ChangeLog, configure, configure.in:
* configure.in: 4.0.99j4
bk: 395edaabPU1kb9j7CrInQ6UxK5QGgQ
Harlan Stenn [Fri, 30 Jun 2000 18:53:14 +0000 (18:53 -0000)]
ChangeLog, ntp_peer.c:
* ntpd/ntp_peer.c (unpeer): Moved keystr cleanup inside ifdef PUBKEY
bk: 395cec9av86UmNnkqUaXOG38goze0A
Harlan Stenn [Fri, 30 Jun 2000 08:14:20 +0000 (08:14 -0000)]
ChangeLog, authopt.htm, ntpq.htm, release.htm:
* html/release.htm:
* html/ntpq.htm:
* html/authopt.htm:
Updates from Dave Mills
bk: 395c56dcSXExEeYqA-SXH6s23HtC8w
Harlan Stenn [Fri, 30 Jun 2000 07:43:14 +0000 (07:43 -0000)]
Many files:
* ntpd/ntp_request.c (dns_a): Don't call crypto_public for now...
* ntpd/ntp_proto.c (receive): Follow the TEST wiggles
(peer_xmit): TAI support
* ntpd/ntp_crypto.c: TAI support
* ntpd/ntp_control.c: CS_VERSION and CS_TAI support
* include/ntp_crypto.h (CRYPTO_FLAG_TAI): Added.
* include/ntp_control.h (CS_VERSION): Added.
* include/ntp.h (TEST4,TEST5,TEST8,TEST9): Wiggle.
From: Dave Mills
* ntpd/Makefile.am (ntpd_SOURCES): Lose refclock_ulink331.c
because the new refclock_ulink.c handles it.
Makefile.in:
Rerun automake
ChangeLog, configure, configure.in:
* configure.in: 4.0.99j3
bk: 395c4f92WjHL5C9yYTMGABiO-tOANg
Harlan Stenn [Thu, 29 Jun 2000 02:24:34 +0000 (02:24 -0000)]
ChangeLog, ntp_config.c:
* ntpd/ntp_config.c (getconfig): Sanity check the right variable
From: Dave Mills.
bk: 395ab3627__mZ_Y3MQiQh9paA28hfA
Harlan Stenn [Sun, 25 Jun 2000 04:54:18 +0000 (04:54 -0000)]
ChangeLog, ntp.h, ntp_crypto.h, ntp_crypto.c, ntp_peer.c, ntp_proto.c:
* ntpd/ntp_proto.c:
* ntpd/ntp_peer.c:
* ntpd/ntp_crypto.c:
* include/ntp_crypto.h:
* include/ntp.h:
AUTOKEY/PUBKEY/DH/crypto changes
From: Dave Mills
ChangeLog, configure, configure.in:
* configure.in: 4.0.99j2
bk: 3955907ap6-hJ9BJO1X5-UsiRRo5xg
Harlan Stenn [Sat, 24 Jun 2000 00:54:49 +0000 (00:54 -0000)]
ChangeLog, driver30.htm, refclock_oncore.c:
* ntpd/refclock_oncore.c: Patches/improvements
* html/driver30.htm: New release
From: Reg Clemens <reg@orion.dwf.com>
ChangeLog, driver34.htm, refclock_ulink.c, .del-refclock_ulink331.c~
1b4550f3 :
* html/driver34.htm:
* ntpd/refclock_ulink.c: (removed refclock_ulink331.c)
Updated for 320/330 series refclocks
From: joseph lang <tcnojl1@earthlink.net>
bk: 395406d9Wpu7M5OGiDQczJ_60nIIew
Harlan Stenn [Sat, 17 Jun 2000 08:30:30 +0000 (08:30 -0000)]
ChangeLog, configure, configure.in, Makefile.in:
* configure.in: 4.0.99j1
bk: 394b3726zMpf-S96eP_NqIwgMQW1cA
Harlan Stenn [Sat, 17 Jun 2000 08:03:46 +0000 (08:03 -0000)]
NEWS:
readline for ntpdc
bk: 394b30e2IiHdyR3w6IJRIa-eG4mjCA
Harlan Stenn [Sat, 17 Jun 2000 07:08:24 +0000 (07:08 -0000)]
Many files:
* ntpdc/ntpdc.c (getcmds):
* configure.in:
Readline support.
From: Aaron Sherman <ajs@narn.ajs.com>
* ntpd/refclock_ulink331.c: Added.
Sent in by Doug Grosso <dgrosso@mint.net>
* ntpd/Makefile.am (ntpd_SOURCES): Added refclock_ulink331.c
bk: 394b23e8YCAwTxxQaXJQXtsHRcCTKA
Harlan Stenn [Sat, 17 Jun 2000 06:35:01 +0000 (06:35 -0000)]
ChangeLog, miscopt.htm, ntpd.htm, snprintf.c:
* libntp/snprintf.c: Added stdio.h
From: Marc Brett <mbrett@rgs0.london.waii.com>
HTML patches from James R. Van Zandt <jrv@vanzandt.mv.com>
bk: 394b1c15TCyOhuWItx1JBNj3_ybdbQ
Harlan Stenn [Sat, 17 Jun 2000 06:20:45 +0000 (06:20 -0000)]
Many files:
* include/ntp.h: struct autokey's siglen is u_int32. So is the
siglen in struct cookie. So is siglen and value length in struct
value. Add fstamp to struct peer. Resize the exten AUTOKEY field
in struct pkt.
* include/ntp_crypto.h: crypto_enable -> crypto_flags and a
variety of other cleanups.
* ntpd/ntp_config.c: crypto_enable -> crypto_flags, and some
key/fudge cleanup.
* ntpd/ntp_control.c: Much cleanup.
* ntpd/ntp_crypto.c: Many changes that Harlan is too tired to
properly document.
* ntpd/ntp_peer.c: crypto_enable -> crypto_flags
(peer_config): Hold off on crypto_public() until some resolver
issue is fixed.
* ntpd/ntp_proto.c (receive): Disable the reverse DNS lookup for now.
(process_packet): Don't record_raw_stats() for now.
crypto_enable was renamed to crypto_flags.
(peer_xmit): In MODE_ACTIVE or MODE_PASSIVE, only call
crypto_xmit() if the peer->cmmd is not CRYPTO_AUTO. Reset
peer->cmmd to 0 when we're thru.
Don't reset peer->cmmd to 0 until the end of MODE_CLIENT.
* ntpd/ntpd.c: Lose the call to crypto_init(). Instead, call
crypto_setup() later on if we have crypto_flags.
* util/ntp_genkeys.c: Lose GENLEN; use PRIMELEN/2 .
From Dave Mills.
* ntpd/ntp_crypto.c (crypto_rsa):
(crypto_dh):
Do some debug logging if readlink() fails with something other
than EINVAL (file isn't a symlink).
bk: 394b18bd46O5vsY74avnqh0N6hmAuw
Harlan Stenn [Wed, 31 May 2000 22:16:19 +0000 (22:16 -0000)]
ChangeLog, Makefile.am, Makefile.in, ntp_timer.c:
* ntpd/ntp_timer.c: Protect <unistd.h>
bk: 39358f33466tMf4QP6Zrk2WCPcy3hA
Sven Dietricht [Tue, 30 May 2000 16:22:00 +0000 (16:22 -0000)]
nt_clockstuff.c:
Using the appropriate global constant for MAX_FREQ
bk: 3933eaa8Slv2cMfjz04kUAr22VbFxg
Harlan Stenn [Tue, 30 May 2000 00:13:58 +0000 (00:13 -0000)]
ChangeLog, configure, configure.in:
* configure.in: 4.0.99j
bk: 393307c6ZJhUuCvP3vxXP-B0QK1KMA
Harlan Stenn [Tue, 23 May 2000 01:00:14 +0000 (01:00 -0000)]
ChangeLog, ntptime.htm:
* html/ntptime.htm: More fixes
From: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
bk: 3929d81eHH5qlTPBRaKt1q9G7OKQ7A
Harlan Stenn [Wed, 17 May 2000 03:17:42 +0000 (03:17 -0000)]
ChangeLog, build, configure, configure.in, flock-build:
* build (KEYSUF):
* flock-build:
* configure.in: Lose the "md5" options from the --with-crypto
check; Dave hates it.
bk: 39220f56gQnNraAmFjT3h77EawWHmg
Harlan Stenn [Wed, 17 May 2000 02:26:36 +0000 (02:26 -0000)]
Many files:
* ntpd/ntp_util.c (stats_config):
* ntpd/ntp_loopfilter.c (loop_config):
* libntp/systime.c (adj_systime):
* include/ntp_proto.h (NTP_MAXFREQ):
Renamed MAX_FREQ to NTP_MAXFREQ
* ntpd/ntpd.c (ntpdmain):
* ntpd/ntp_proto.c (receive):
(poll_update):
* ntpd/ntp_intres.c (addentry):
* ntpd/ntp_config.c (getconfig):
Lint cleanup
From: Marc Brett <mbrett@rgs0.london.waii.com>
bk:
3922035c -CQcHpmcMXiYjQkRmCCceQ
Harlan Stenn [Tue, 16 May 2000 04:55:34 +0000 (04:55 -0000)]
Many files:
* include/ntp_stdlib.h:
* libntp/systime.c (adj_systime):
* ntpd/ntp_loopfilter.c (loop_config):
* ntpd/ntp_util.c (stats_config):
* ports/winnt/ntpd/nt_clockstuff.c (adj_systime):
MAXFREQ -> MAX_FREQ
* include/ntp_proto.h: Define MAX_FREQ
bk: 3920d4c6Uu6DeMufuqYb8UVgJdeWrA
Harlan Stenn [Tue, 16 May 2000 03:38:28 +0000 (03:38 -0000)]
Many files:
* include/ntp_stdlib.h:
* libntp/systime.c (adj_systime):
* ntpd/ntp_loopfilter.c (loop_config):
* ntpd/ntp_util.c (stats_config):
* ports/winnt/ntpd/nt_clockstuff.c (adj_systime):
sys_maxfreq -> MAXFREQ
Per Dave Mills.
bk: 3920c2b4kLNGHNqv892ZGvewpZei5A
Harlan Stenn [Tue, 16 May 2000 00:54:26 +0000 (00:54 -0000)]
config.h.in, configure, configure.in:
Autoconf changes
bk: 39209c42aq63_rmI50kdfuQVCtJ-iw
Harlan Stenn [Sun, 14 May 2000 06:15:18 +0000 (06:15 -0000)]
ChangeLog, acinclude.m4, aclocal.m4, configure:
* acinclude.m4: Typo...
bk: 391e4476awzo10RAn0x8_XuzWn1b2Q
Harlan Stenn [Sun, 14 May 2000 05:30:48 +0000 (05:30 -0000)]
config.h.in, configure, configure.in:
Autoconf upgrade for ULONG_CONST checks
bk: 391e3a08u2v1o-E2wqMo4B4dO73jrA
Harlan Stenn [Sun, 14 May 2000 03:58:14 +0000 (03:58 -0000)]
Many files:
* libntp/gpstolfp.c (GPSORIGIN): Try new ULONG_CONST macro
bk: 391e2456E23ZB9DImzVhPR897E_2yw
Harlan Stenn [Sun, 14 May 2000 01:01:49 +0000 (01:01 -0000)]
Many files:
* ntpdate/ntptimeset.c:
* ntpdate/ntpdate.h:
* ntpd/refclock_oncore.c (oncore_msg_En):
* ntpd/ntp_util.c (stats_config):
* ntpd/ntp_request.c:
* ntpd/ntp_intres.c (findhostaddr):
* ntpd/ntp_config.c (getconfig):
* libntp/systime.c (adj_systime):
* libntp/lib_strbuf.c:
* libntp/authparity.c:
* libntp/audio.c:
Header/lint cleanup
From/reported by: Simon Burge <simonb@netbsd.org>
bk: 391dfafdUCxRhkJFZ9jsFi7SDBh6gA
Harlan Stenn [Sat, 13 May 2000 23:51:51 +0000 (23:51 -0000)]
ChangeLog, ntp_resolver.c:
* ntpd/ntp_resolver.c (findhostaddr): Compiler noise cleanup
bk: 391dea97VrBjnjcwi9G9631_v1Kjeg
Harlan Stenn [Sat, 13 May 2000 23:33:37 +0000 (23:33 -0000)]
ChangeLog, ntp_intres.c:
* ntpd/ntp_intres.c: Compiler noise cleanup
bk: 391de651eHPw5UyWNmQBIULeu9qQzA
Harlan Stenn [Sat, 13 May 2000 22:35:43 +0000 (22:35 -0000)]
ChangeLog, ntptime.htm:
* html/ntptime.htm: Document reality check
From: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
bk: 391dd8bfL2S-KW0NOEPTInw7hf7lSg
Harlan Stenn [Sat, 13 May 2000 17:06:26 +0000 (17:06 -0000)]
ChangeLog, authopt.htm, genkeys.htm, ntp_intres.c:
* ntpd/ntp_intres.c (ntp_intres): Quiet some debug messages
Reported by: Brian Bergstrand <brianb@mac.com>
Resync documentation.
bk: 391d8b92At76t0mbaSseJkN6sCemdg
Harlan Stenn [Thu, 11 May 2000 23:35:20 +0000 (23:35 -0000)]
ChangeLog, mkver.in:
* scripts/mkver.in (ConfStr): Use -r if we're using RSAREF,
otherwise use -a if we're using autokey, otherwise use no extra
suffix.
bk: 391b43b89CvmCq7C2aax-hu0fT5kNg
Sven Dietricht [Thu, 11 May 2000 22:58:43 +0000 (22:58 -0000)]
ntpd.c:
Move hostname buffer into service_main, so that it is local
in the WINNT build, where main blocks on service_main.
config.h, unistd.h:
Define AUTOKEY, MAXHOSTNAMELEN, and _finite to get compiling under WINNT
ntpd.dsp:
Add ntp_crypt.c to ntpd makefile.
ChangeLog:
Patch to get WINNT port running again.
winnt.htm:
Documentation about compile failure on 4.0.99i for WINNT.
bk: 391b3b23b7Mwightj8XZdd41h_avWg
Harlan Stenn [Thu, 11 May 2000 03:25:51 +0000 (03:25 -0000)]
README, ntp_proto.c:
Add bugs@ntp.org to README, Dave cleaned up ntp_proto.c AUTOKEY #endif.
bk: 391a283f999UIgw7zaZh23lLLlTsfQ
Harlan Stenn [Wed, 10 May 2000 23:19:30 +0000 (23:19 -0000)]
ChangeLog, configure, configure.in, ntp_crypto.c, ntp_proto.c:
* configure.in: 4.0.99i9
* ntpd/ntp_crypto.c: tstamp and autokey cleanup
From: Dave Mills
* ntpd/ntp_proto.c (clock_update): Only call expire_all() if
AUTOKEY
From many folks, including Reg Clemens <reg@dwf.com>
bk: 3919ee823auVgbbwZl-0i3mze9Btzg
Harlan Stenn [Mon, 8 May 2000 03:04:51 +0000 (03:04 -0000)]
configure, configure.in:
* configure.in: --with-crypto={md5,autokey,rsaref} cleanup
bk: 39162ed3DPqZ-ZLxqGJy8jSwEGy4eA
Harlan Stenn [Mon, 8 May 2000 02:20:28 +0000 (02:20 -0000)]
ChangeLog, aclocal.m4, build, configure, configure.in, flock-build:
* flock-build: Use new --with-crypto choices
* build (KEYSUF): Deal with new --with-crypto
* configure.in: --with-crypto={md5,autokey,rsaref};
lose --enable-autokey
bk: 3916246cYyr-1nhp1DZtOlFMVj8tSA
Harlan Stenn [Sat, 6 May 2000 04:46:15 +0000 (04:46 -0000)]
ChangeLog, build:
* build (KEYSUF): Catch --disable-autokey first.
bk: 3913a397W-v-ACU91lv8zyUfGyPprg
Harlan Stenn [Sat, 6 May 2000 02:37:42 +0000 (02:37 -0000)]
ChangeLog, flock-build:
* flock-build: If we don't use autokey, don't use rsaref either.
bk: 39138576W8fqfMcciwFsf7pK5K3XVw
Harlan Stenn [Fri, 5 May 2000 04:54:23 +0000 (04:54 -0000)]
Many files:
* configure.in: 4.0.99i7
* build (KEYSUF):
* flock-build:
It's --disable-autokey now
* configure.in: MD5 is not optional (but AUTOKEY is)
* include/ntp_stdlib.h:
* libntp/a_md5encrypt.c:
* libntp/authkeys.c:
(authhavekey):
(MD5auth_setkey):
(auth_delkeys):
(authencrypt):
(authdecrypt):
* libntp/authreadkeys.c:
(authreadkeys):
* ntpd/ntp_proto.c (init_proto):
* libntp/authusekey.c:
MD5 is required.
bk: 391253ffY2wSN_J4sJM4ectW12k3Zg
Harlan Stenn [Thu, 4 May 2000 06:07:04 +0000 (06:07 -0000)]
ChangeLog, configure, configure.in:
* configure.in: 4.0.99i6
bk: 39111388MR9Loj2LycmtfLjAO34g6Q
Harlan Stenn [Thu, 4 May 2000 05:54:33 +0000 (05:54 -0000)]
Many files:
* ntpd/ntp_proto.c (transmit): Fix up the UNREACH code.
(receive): Lose some debug code.
(clock_update): expire_all() if LEAP_NOTINSYNC
crypto_xmit() a CRYPTO_AUTO if !FLAG_AUTOKEY instead of recauto.tstamp
crypto_xmit() a CRYPTO_PRIV (not CRYPTO_AUTO) based on pcookie.tstamp
crypto_xmit() a CRYPTO_AUTO (not CRYPTO_PRIV) based on FLAG_MCAST2
and !FLAG_AUTOKEY
* ntpd/ntp_crypto.c (crypto_recv): Clean up debug output.
Don't AUTOKEY if FLAG_MCAST2
From: Dave Mills
* flock-build: Also make obe withouyt md5 (no AUTOKEY)
* build (BDIR): Handle -noautokey build directory suffix
* configure.in: Prepare for AUTOKEY in mkver.in
* scripts/mkver.in (ConfStr): Indicate in the version string if
we're not using AUTOKEY.
bk: 3911109947nLhWJgEBiNVf96tvn_wA
Harlan Stenn [Thu, 4 May 2000 00:44:55 +0000 (00:44 -0000)]
ChangeLog, ntp-wait.in:
* scripts/ntp-wait.in: Fun things with backspaces
bk: 3910c8075SWDf750e_JwBfHHcNZGUw
Harlan Stenn [Wed, 3 May 2000 06:23:33 +0000 (06:23 -0000)]
ChangeLog, configure, configure.in, ntptrace.c:
* configure.in: 4.0.99i5
* ntptrace/ntptrace.c: Protect sys/ioctl.h; grab config.h
bk: 390fc5e5EyURGwld-VkoFPfwnxnYBg
Harlan Stenn [Wed, 3 May 2000 06:05:17 +0000 (06:05 -0000)]
ChangeLog, ntp.h, ntp_crypto.c, ntp_proto.c:
* ntpd/ntp_proto.c (transmit): AUTOKEY and tstamp fixes.
(clock_update): Check oleap against LEAP_NOTINSYNC
(peer_clear): Free pubkey when we're done
Check peer's keynumber against the seq in MODE_BROADCAST.
Reorder tstamp changes.
* ntpd/ntp_crypto.c (crypto_recv): Check the packet if we get a
CRYPTO_RESP and reorder the update of tstamp.
(crypto_recv): Don't expire the peer until we're thru with it.
* include/ntp.h: AUTOKEY and pkeyid changes
From Dave Mills
bk: 390fc19drMPQsPPQ61PNHSGnakYLFA
Harlan Stenn [Wed, 3 May 2000 05:32:31 +0000 (05:32 -0000)]
ChangeLog, ntpdate.c:
* ntpdate/ntpdate.c: Protect sys/ioctl.h
bk: 390fb9efpWgGE635ANHzzofbTsHUkQ
Harlan Stenn [Mon, 1 May 2000 05:07:24 +0000 (05:07 -0000)]
ChangeLog, aclocal.m4, configure, configure.in:
* configure.in: 4.0.99i4
bk: 390d110c5GA2gerYwRwFiEadNy8zaA
Harlan Stenn [Mon, 1 May 2000 04:50:17 +0000 (04:50 -0000)]
Many files:
* include/ntp.h:
* include/ntp_crypto.h:
* include/ntpd.h:
* ntpd/ntp_crypto.c:
* ntpd/ntp_proto.c:
* ntpd/ntpd.c:
* util/ntp_genkeys.c:
Dave Mills closed some potential vulnerabilities in the key protocol.
bk: 390d0d09fIAXzWNLSbyspFUxihOhcQ
Harlan Stenn [Sat, 29 Apr 2000 02:42:18 +0000 (02:42 -0000)]
ChangeLog, configure, configure.in, ntp_control.c, ntp_crypto.c, ntp_proto.c:
* configure.in: 4.0.99i3
* ntpd/ntp_proto.c: Just check tstamp, forget about sndauto.seq
* ntpd/ntp_crypto.c (crypto_recv): Lose inappropriate ntohl()
conversion on tstamp.
AUTOKEY if tstamp>0, not !=
Stash tstamp before we check pcookie.key (several places)
* ntpd/ntp_control.c (ctl_putpeer): In CP_INITSEQ, check
recauto.key, not keylist.
From: Dave Mills
bk: 390a4c0axgA_dx0urcM_hOLAVjz9zw
Harlan Stenn [Fri, 28 Apr 2000 02:34:06 +0000 (02:34 -0000)]
ChangeLog, configure, configure.in:
* configure.in: 4.0.99i2
bk: 3908f89e9rXyuw62uITv0Yfwwuytww
Harlan Stenn [Fri, 28 Apr 2000 02:19:49 +0000 (02:19 -0000)]
ChangeLog, ntp_control.c, ntp_peer.c, ntp_proto.c, ntpq.c:
* ntpq/ntpq.c: PUBKEY stuff
* ntpd/ntp_proto.c (clock_select): nreach, and better survivor pick.
* ntpd/ntp_peer.c (newpeer): Better nextdate choice.
* ntpd/ntp_control.c (ctl_putsys): Buglet in CS_HOSTNAM code.
From Dave Mills.
bk: 3908f545UaXFEPUEGxP50RwkFJvAHw
Sven Dietricht [Wed, 26 Apr 2000 06:28:44 +0000 (06:28 -0000)]
winnt.htm:
Added note that port is broken and being repaired.
bk: 39068c9cRFDd6nCn6CSldlWlv_BHug
Harlan Stenn [Mon, 24 Apr 2000 07:00:02 +0000 (07:00 -0000)]
ChangeLog, build:
* build (IAM): Show hostname if we trip a buildkey check.
bk: 3903f0f26eRyDH3uhUlqp89qn5LxsA
Harlan Stenn [Mon, 24 Apr 2000 01:57:39 +0000 (01:57 -0000)]
ChangeLog, build, flock-build:
* build: deal with optional 1st argument (SIG), which must match
the contents of .buildkey
* flock-build: Generalize, implement SIG and .buildkey, and drive
list from LIST, which the user can override.
bk: 3903aa13sJUCPcubukrJY0W7e8RcZA
Harlan Stenn [Fri, 21 Apr 2000 19:50:21 +0000 (19:50 -0000)]
Many files:
* configure.in: 4.0.99i1
Dave updated some docs, implemented the kpoll variable, and
wiggled a host/network byte order thing in the crypto key code.
bk: 3900b0fdfWetD0PHT4pkTg06-cpmhw
Harlan Stenn [Sun, 16 Apr 2000 04:22:19 +0000 (04:22 -0000)]
ChangeLog, refclock_wwvb.c:
* ntpd/refclock_wwvb.c (wwvb_receive): Grab any character (instead
of just a space) before the DSTchar.
From: Dave Mills
bk: 38f93ffbGQvyNNCTBWDbBWt-mlYVOQ
Harlan Stenn [Tue, 11 Apr 2000 06:39:15 +0000 (06:39 -0000)]
ChangeLog, NEWS, configure, configure.in:
* configure.in: 4.0.99i
bk: 38f2c893lbgCu5FxufCKb2H9yra5_g
Harlan Stenn [Tue, 11 Apr 2000 02:39:39 +0000 (02:39 -0000)]
accopt.htm, authopt.htm, genkeys.htm, release.htm:
Dave's documentation update for the recent crypto changes
bk: 38f2906b2LPjCEzGssiVM4ySiEHC2Q
Harlan Stenn [Sun, 9 Apr 2000 04:01:23 +0000 (04:01 -0000)]
ChangeLog, flock-build, refclock_wwv.c:
* flock-build: Add malarky. By default, --enable-parse-clocks.
Start 2 builds, one with and the other without rsaref.
bk: 38f00093dc6PrC4ZYgbPJiej6Bi1hA
Harlan Stenn [Sat, 8 Apr 2000 04:37:44 +0000 (04:37 -0000)]
ChangeLog, configure, configure.in:
* configure.in: 4.0.99h6
Dave improved the crypto stuff some more.
bk: 38eeb798oWFt13tRzxhPQbQy6M8JsQ
Harlan Stenn [Sat, 8 Apr 2000 04:06:57 +0000 (04:06 -0000)]
Many files:
Dave improved the crypto stuff.
bk: 38eeb061Q05XHxfPGD5DD4ib41Evug
Harlan Stenn [Wed, 5 Apr 2000 05:44:37 +0000 (05:44 -0000)]
ChangeLog, refclock_acts.c:
* ntpd/refclock_acts.c (acts_receive): Do a better job with year
conversions and leap-year checks. The PTB stuff caught this.
Reported by: Daniel.Aeby@eam.admin.ch
bk: 38ead2c5UMTogbUynSRAhA8-4Otq6g
Harlan Stenn [Mon, 3 Apr 2000 06:23:25 +0000 (06:23 -0000)]
ChangeLog, refclock_atom.c:
* ntpd/refclock_atom.c (atom_pps): Bugfix
From: Philippe Charnier <charnier@xp11.frmug.org>
bk: 38e838ddqVkKGT8mgG6jbzXcq1ayFQ
Harlan Stenn [Fri, 31 Mar 2000 04:55:42 +0000 (04:55 -0000)]
ntp_crypto.h, ntp_crypto.c, ntp_proto.c:
More crypto cleanup from Dave.
bk: 38e42fce26wmT0TsRNbLbK2TkBCHHw
Harlan Stenn [Thu, 30 Mar 2000 22:51:46 +0000 (22:51 -0000)]
ChangeLog, clk_wharton.c:
* libparse/clk_wharton.c (cvt_wharton_400a): Do not return
CVT_NONE when receiving the early warning bit set.
From: Philippe De Muyter <phdm@macqel.be>
ntp_crypto.c, ntp_proto.c:
Dave fixed/improved more crypto stuff
bk: 38e3da82fmRW8-ZyM2aTp9qnAh4_WQ
Harlan Stenn [Thu, 30 Mar 2000 05:15:35 +0000 (05:15 -0000)]
ChangeLog, configure, configure.in:
* configure.in: 4.0.99h5
Dave made more changes to the auth key stuff.
bk: 38e2e2f7YQOLfq8aXrIidpFZ0oi3Jg
Harlan Stenn [Thu, 30 Mar 2000 04:49:50 +0000 (04:49 -0000)]
ntp.h, ntp_crypto.h, ntp_control.c, ntp_crypto.c, ntp_proto.c:
More improvements from Dave
bk: 38e2dceeOH-zBa8Pifl3UWE1ce0tPg
Harlan Stenn [Wed, 29 Mar 2000 07:39:55 +0000 (07:39 -0000)]
ChangeLog, configure, configure.in:
* configure.in: 4.0.99h4
Dave made a bunch of changes/fixes to the auth key stuff.
bk: 38e1b34by5GYsYnJqPlrn4vh_HGUhQ