1
2001-08-01 Harlan Stenn <stenn@whimsy.udel.edu>
5
2001-07-27 Harlan Stenn <stenn@whimsy.udel.edu>
7
* ntpd/refclock_oncore.c (oncore_start): Set pps_enable=1, just
8
like the atom driver does.
11
* ntpd/refclock_nmea.c (nmea_ppsapi): Set pps_enable=1, just like
13
From: Scott Allendorf <sca@newton.physics.uiowa.edu>
15
* ntpd/ntp_config.c (getconfig): CONF_CLOCK_PANIC was using the
17
From: <justin_forrester@hp.com>
19
2001-07-10 Harlan Stenn <stenn@whimsy.udel.edu>
21
* configure.in: 4.0.99m-rc3
23
2001-07-06 Harlan Stenn <stenn@whimsy.udel.edu>
25
* ntp_update: COPYRIGHT needs a touch.
26
From: Mike Stump <mrs@kithrup.com>
28
2001-07-04 Harlan Stenn <stenn@whimsy.udel.edu>
30
* html/config.htm: Major cleanup.
31
From: Martin Janzen <janzen@pixelmetrix.com>
33
* configure.in (rt library check): Don't look for -lrt under
34
Linux. Under glibc-2.1.2 and -2.2.2 (at least), the POSIX-
35
compatibility real-time library does strange things with threads
36
as other processes and we're getting lots of complaints about it.
37
Reported by: Juha Sarlin <juha@c3l.com>
39
2001-06-30 Harlan Stenn <stenn@whimsy.udel.edu>
41
* html/driver35.htm: Update email address.
43
2001-06-25 Harlan Stenn <stenn@whimsy.udel.edu>
45
* ntpd/refclock_oncore.c (oncore_msg_BaEaHa): Fix wrong offset for
47
From: Reynir Siik <reynir@royal.net>
49
2001-06-12 Harlan Stenn <stenn@whimsy.udel.edu>
51
* configure.in: 4.0.99m-rc2
53
2001-06-10 Harlan Stenn <stenn@whimsy.udel.edu>
56
* include/ntp_config.h: includefile config keyword support
57
From: Dean Gibson <timekeeper@tcp-udp.net>
59
2001-06-08 Harlan Stenn <stenn@whimsy.udel.edu>
61
* configure.in: 4.0.99m-rc1b
63
* ntpd/refclock_true.c (true_debug): Bump some buffer sizes to
64
reduce/eliminate chance of buffer overflow. Use snprintf()
65
instead of sprintf(). Do a better job of opening the debug file.
66
* ntpd/ntp_control.c (ctl_getitem): Count overflow packets as bad
68
* ntpd/ntp_config.c (save_resolve): call fdopen() with the correct
70
From: Bela Lubkin <belal@sco.com>
72
2001-06-03 Harlan Stenn <stenn@whimsy.udel.edu>
74
* include/ntp.h (RES_ALLFLAGS): Add RES_DEMOBILIZE.
75
From: Dean Gibson <timekeeper@tcp-udp.net>
77
* configure.in: 4.0.99m-rc1a
79
2001-06-02 Harlan Stenn <stenn@whimsy.udel.edu>
81
* ntpd/ntp_refclock.c (refclock_open): Add O_NOCTTY to the open()
82
flags when opening a serial port.
83
Reported by: joseph lang <tcnojl1@earthlink.net>
85
2001-05-31 Harlan Stenn <stenn@whimsy.udel.edu>
87
* html/notes.htm: Typo fix.
88
From: John Stone <johns@ks.uiuc.edu>
90
* configure.in: 4.0.99m-rc1
92
* html/monopt.htm: Typo fix.
93
* html/confopt.htm: Cruft removal.
94
From: John Stone <johns@ks.uiuc.edu>
96
2001-05-30 Harlan Stenn <stenn@whimsy.udel.edu>
98
* README.cvs: More updates and cleanup.
100
* ntpd/ntp_loopfilter.c (loop_config):
101
Check against STA_NANO instead of (NTP_API > 3) to catch kernels
102
that were rolled while the spec was evolving.
103
From: John.Hay@icomtek.csir.co.za
105
* README.cvs: Note that we want to check out NTP into a clean
107
Reported by jrd@cc.usu.edu (Joe Doupnik)
109
2001-05-27 Harlan Stenn <stenn@whimsy.udel.edu>
111
* configure.in: 4.0.99k40
113
* include/ntp_refclock.h: Median Filter (SAMPLE - macro) - change
114
to use most recent MAXSTAGE entries when the filter overflows (ie
115
driver poking say once per second with poll > MAXSTAGE) rather
116
than blocking after MAXSTAGE entries (turf oldest rather than turf
118
From: John Woolner <vk1et@tpg.com.au>
120
* ntpd/refclock_true.c:
121
a. Don't cream pp->a_lastcode when we get a <cr><lf> pair
122
b. Fix up pp->leap handling to work correctly
123
c. clear CEVNT_BADTIME etc warnings when we get good clock
125
From: John Woolner <vk1et@tpg.com.au>
127
* kernel/sys/pcl720.h:
128
Add support for the XL clock to refclock_true.c
129
From: Paul A Vixie <vixie@mfnx.net>
131
* ntpd/ntp_loopfilter.c (local_clock): One more attempt at
132
"improving" the panic message.
134
2001-05-26 Harlan Stenn <stenn@whimsy.udel.edu>
136
* configure.in (ac_cv_func_ctty_for_f_setown): BSDI3 needs a ctty
138
From: Paul A Vixie <vixie@mfnx.net>
140
2001-05-24 Harlan Stenn <stenn@whimsy.udel.edu>
142
* html/ntpd.htm: Typo.
143
From: John Stone <johns@ks.uiuc.edu>
145
2001-05-23 Harlan Stenn <stenn@whimsy.udel.edu>
147
* configure.in: 4.0.99k39
149
* ntpd/ntp_loopfilter.c (local_clock): huffpuff cleanup/improvements.
150
(huffpuff): Cleanup/improvements.
151
(loop_config): huffpuff initialization cleanup/improvements.
152
From: Dave Mills, Terje, Mark, and John?
154
2001-05-22 Harlan Stenn <stenn@whimsy.udel.edu>
159
From: Dave Mills: Updates.
161
2001-05-21 Harlan Stenn <stenn@whimsy.udel.edu>
163
* configure.in: 4.0.99k38
165
* ntpd/ntp_proto.c (clock_filter): Huff-n-Puff and Popcorn
167
* ntpd/ntp_loopfilter.c (local_clock): Debug cleanup
170
* include/ntp_syscall.h (ntp_gettime): Updated patch from Ulrich.
171
My original attempt was not backwards compatible.
173
2001-05-17 Harlan Stenn <stenn@whimsy.udel.edu>
175
* include/ntp_syscall.h (ntp_gettime): Fill in the tai member.
176
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
178
* configure.in: 4.0.99k37
180
* ntpd/ntp_proto.c (clock_filter): Lose "off", xtemp and ytemp,
181
and some obsoleted calculations. Set the peer->offset and
182
peer->delay from the filter stages.
184
* ntpd/ntp_loopfilter.c: Comment/document improvements.
185
(local_clock): correct the offset by one-half the difference
186
between the sample delay and minimum delay. Lose "mu" from the
190
2001-05-15 Harlan Stenn <stenn@whimsy.udel.edu>
192
* configure.in: 4.0.99k36
194
* ntpd/ntp_loopfilter.c: Huff-n-puff cleanup
197
2001-05-14 Harlan Stenn <stenn@whimsy.udel.edu>
199
* configure.in: 4.0.99k35
201
* ntpd/refclock_atom.c (atom_ppsapi): set pps_enable=1 if
203
* ntpd/ntp_timer.c: huffpuff support.
204
(init_timer): huffpuff support.
205
(timer): huffpuff support.
206
* ntpd/ntp_proto.c (init_proto): Initialize pps_enable to 0, not 1.
207
* ntpd/ntp_loopfilter.c (CLOCK_HUFFPUFF): Added.
208
Add huff-n-puff filter variables.
209
(local_clock): Lose "pps sync enabled" log noise.
211
(loop_config): LOOP_MINPOLL and LOOP_ALLAN were missing the
212
trailing break; add LOOP_HUFFPUFF.
213
* ntpd/ntp_config.c: tinker huffpuff added.
214
(getconfig): CONF_CLOCK_HUFFPUFF support.
215
* include/ntpd.h: huffpuff() declaration.
216
* include/ntp_config.h (CONF_CLOCK_HUFFPUFF): Added.
217
* include/ntp.h (HUFFPUFF): Added.
218
(LOOP_HUFFPUFF): Added.
221
2001-05-11 Harlan Stenn <stenn@whimsy.udel.edu>
223
* html/driver20.htm: Reality check.
224
* ntpd/refclock_nmea.c: Comment cleanup
225
From: John Woolner <vk1et@tpg.com.au>
227
* html/release.htm: Cleanup (at least).
228
* html/refclock.htm: Cleanup (at least).
229
* html/kern.htm: Cleanup (at least).
230
* html/index.htm: Cleanup (at least).
231
* html/extern.htm: Cleanup (at least).
232
* html/driver1.htm: Cleanup (at least).
233
* html/debug.htm: Cleanp (at least).
234
* html/accopt.htm: KoD documentation update.
237
* configure.in: 4.0.99k34
239
* ntpd/ntp_util.c (record_loop_stats): values are now passed in.
240
* ntpd/ntp_loopfilter.c (local_clock): pass the values to
242
* include/ntpd.h: Pass the parameters in to record_loop_stats().
243
With the discipline loop opened (disable ntp) the local clock
244
updates were not being sent to loopstats. That now is.
247
2001-05-10 Harlan Stenn <stenn@whimsy.udel.edu>
249
* configure.in: 4.0.99k33
251
* ntpd/ntp_proto.c (receive): Validate the source port. Lose
253
* ntpd/ntp_loopfilter.c (local_clock): Sanity check sys_poll
254
earlier instead of later.
257
* ntpd/refclock_oncore.c (oncore_msg_any): We don't always have
260
2001-05-09 Harlan Stenn <stenn@whimsy.udel.edu>
262
* ntpd/refclock_shm.c (shm_poll): Apply JAN_1970 correction after
263
calling TVTOTS(), just like everybody else does.
264
From: David Malone <dwmalone@maths.tcd.ie>
266
* ntpd/refclock_ulink.c: fixed 33x quality flag, added more
267
debugging stuff, updated 33x time code explanation.
268
From: s.l.smith (via j.c.lang).
270
2001-05-08 Harlan Stenn <stenn@whimsy.udel.edu>
272
* configure.in: 4.0.99k32
274
* ntpd/ntp_loopfilter.c: rstclock now takes a 3rd argument, the
276
(init_loopfilter): Use it.
277
(local_clock): Use it. Clean up the code.
278
(loop_config): Use it.
279
(rstclock): Implement it. Clean up the code.
282
2001-05-06 Harlan Stenn <stenn@whimsy.udel.edu>
284
* configure.in: 4.0.99k31
286
* ntpdc/ntpdc_ops.c (sysstats): That's 'bad packet format'
287
(instead of '... length'), and 'packets rejected' (instead of
288
'limitation rejects'.
289
* ntpd/ntp_proto.c (receive): PUBKEY fixes. Move KoD stuff to
291
(process_packet): Move KoD stuff here...
292
(peer_clear): Unspec the stratum, too.
293
(clock_filter): Don't update peer->epoch here. Fix the filter
294
test when checking the epoch.
295
(fast_xmit): Send back STRATUM_UNSPEC on a KoD packet.
296
(init_proto): Initialize sys_jitter.
298
* ntpd/ntp_loopfilter.c: rstclock() takes 2 parameters now.
299
(init_loopfilter): Use it...
300
(local_clock): Ditto, and change the "mu" calculation. Improve
301
the jitter test in S_SYNC. Use peer->epoch (not current_time) to
302
update the last_time. Update debug info.
303
(rstclock): 2nd arg - the epoch to use. Use it.
304
(loop_config): update call to rstclock.
307
2001-05-01 Harlan Stenn <stenn@whimsy.udel.edu>
309
* ports/winnt/ntpd/ntpd.dsp: Add cmd_args.c
310
From: Wink Saville <wink@saville.com>
312
2001-04-29 Harlan Stenn <stenn@whimsy.udel.edu>
314
* ntpq/ntpq.c (tstflags): 11 now.
315
From: John Cochran <jdc@fiawol.org>
317
* ntpd/ntp_proto.c (receive): KoD updates. Improve the comments.
318
Lose the AM_PROCPKT restrictions test.
319
(peer_xmit): Check/report on no encryption key in packet.
320
(fast_xmit): Use peer_xmit's new packet length check code.
323
2001-04-28 Harlan Stenn <stenn@whimsy.udel.edu>
325
* configure.in: 4.0.99k30
327
2001-04-27 Harlan Stenn <stenn@whimsy.udel.edu>
329
* ntpdc/ntpdc_ops.c: Added "kod", lost "demobilize".
330
* ntpd/ntp_config.c: Added "kod" keyword. Lose "demobilize" keyword.
331
* html/release.htm: Updated.
332
* html/accopt.htm: Updated.
335
* ntpq/ntpq.c: Reorder and add some TEST flag bits.
336
* ntpd/ntp_proto.c (transmit): Also bail if access denied.
337
(receive): Lose RES_DEMOBILIZE and (some?) RES_DONTSERVE and
338
RES_LIMITIED stuff. Update Kiss-Of-Death (KoD) docs.
339
Call fast_xmit with new 3rd parameter (restrict_mask).
340
Before checking for an authentic packet, check the restrict_mask
341
for RES_{DONTSERVE,LIMITED,NOPEER}.
342
Check restrictions in AM_PROCPKT case.
343
(peer_clear): Don't lose the stratum if the peer->flags don't
344
indicate FLAG_REFCLOCK.
345
(fast_xmit): Take restrict mask as a new argument, and handle
346
KoD. Reorder some code.
349
2001-04-26 Harlan Stenn <stenn@whimsy.udel.edu>
351
* ntpdc/ntpdc_ops.c: restrict/unrestrict support for version and
352
demobilize. Implement demobilze.
353
* ntpd/ntp_proto.c (receive): Improve version testing, including
354
RES_DEMOBILIZE support.
355
(fast_xmit): Patches to kiss-of-death packet.
356
* ntpd/ntp_loopfilter.c (local_clock): S_SYNC case now also checks
357
abs(clock_offset) against CLOCK_PGATE*sys_jitter.
358
* ntpd/ntp_config.c: CONF_RES_DEMOBILIZE/demobilize support.
359
* include/ntp_config.h (CONF_RES_DEMOBILIZE): Added.
360
* include/ntp.h (RES_DEMOBILIZE): Added.
363
2001-04-25 Harlan Stenn <stenn@whimsy.udel.edu>
365
* html/accopt.htm: Document the "version" parameter
368
* ntpd/ntp_proto.c (fast_xmit): Implement DENY mode.
371
* ntpd/ntp_config.c: Add the "allan" tinker variable.
372
From: Juha Sarlin <juha@c3l.tyreso.se>
374
* ntpd/refclock_hopfpci.c (hopfpci_start): Lose the "correct_any"
375
stuff - it's both obsolete and wrong.
377
* ntpd/ntp_proto.c (receive): Keep track of packet versions.
378
Implement RES_LIMITED.
379
* include/ntp_config.h (CONF_RES_LIMITED):
380
* include/ntp.h (RES_LIMITED): Leave the bits in the original
387
* ntpd/refclock_nmea.c:
394
Lint cleanup from: Marc Brett <mbrett@rgs0.london.waii.com>
396
* ntpd/ntp_config.c: Add "version" support.
397
(getconfig): version support.
398
* include/ntp_config.h (CONF_RES_VERSION): Added.
399
* include/ntp.h (RES_VERSION): Added.
402
* include/ntp_machine.h (ifreq): WinNT cleanup
404
2001-04-23 Harlan Stenn <stenn@whimsy.udel.edu>
406
* configure.in: 4.0.99k29
408
* html/miscopt.htm: Document the "allan" tinker variable.
409
* ntpd/ntp_proto.c (clock_filter): Update comments. Lose etemp;
410
we now use allan_xpt for this.
411
* ntpd/ntp_loopfilter.c: Added allan_xpt as a tinker variable.
412
Reorganize variables and improve comments.
413
(local_clock): Improve comments, use (new) allan_xpt instead of
414
CLOCK_ALLAN. Fix test in S_SYNC state. Update debug info.
415
(rstclock): No longer force allan_xpt to CVLOCK_ALLAN in S_FREQ,
416
S_SYNC, or default case.
417
(loop_config): Document dangerous tinker variables, and add
418
LOOP_ALLAN to the list.
419
* include/ntp_config.h (CONF_CLOCK_ALLAN): Added.
420
* include/ntp.h (LOOP_ALLAN): Added.
421
Allan intercept fixes from Dave Mills.
423
* scripts/mkver.in: Use the C locale so the dates come out in a
425
From: ASANO Naoyuki <n_asano@imjp.co.jp>
427
* build: Run "config.status" before the "make" because it probably
428
saves time and trouble. Probably...
430
* flock-build: Try building sequentially.
432
2001-04-22 Harlan Stenn <stenn@whimsy.udel.edu>
434
* configure.in (ac_cv_make_tickadj): Fix it right...
436
* util/ntp-genkeys.c: extern config_netinfo, too.
439
* ntptrace/ntptrace.c:
442
* ntpdate/ntptimeset.c:
444
* ntpd/refclock_parse.c:
445
* ntpd/refclock_msfees.c:
446
* ntpd/refclock_jupiter.c:
447
* ntpd/ntp_refclock.c:
449
* libparse/clk_wharton.c:
450
* libparse/clk_varitext.c:
451
* libparse/clk_trimtaip.c:
452
* libparse/clk_schmid.c:
453
* libparse/clk_rcc8000.c:
454
* libparse/clk_rawdcf.c:
455
* libparse/clk_meinberg.c:
456
* libparse/clk_hopf6021.c:
457
* libparse/clk_dcf7000.c:
458
* libparse/clk_computime.c:
459
Lint. From: Simon Burge <simonb@wasabisystems.com>
461
2001-04-21 Harlan Stenn <stenn@whimsy.udel.edu>
463
* ntpd/refclock_nmea.c (nmea_receive): Fixes.
464
From: John Woolner <vk1et@tpg.com.au>
466
* util/ntp-genkeys.c: Declare check_netinfo, don't define it.
467
From: Jack Bryans <jbryans@csulb.edu>
469
* configure.in (RSASRCS): rsaref2 needs digit.h (I thought I fixed
472
* configure.in (CFLAGS): Disable -Wconversion, enable
473
-Wmissing-prototypes, and allow for -Werror.
474
From: Simon Burge <simonb@wasabisystems.com>
476
* util/ntp-genkeys.c (main): Reset the standard mask so the
477
symlinks are created with the standard mask.
479
* configure.in: 4.0.99k28
481
* ntpd/ntpd.c (ntpdmain): Use mode_t for umask value.
483
* util/ntp-genkeys.c: Create files with the right umask.
485
* util/ntp-genkeys.c: config_file should be declared, not defined.
486
* ntpd/refclock_mx4200.c (mx4200_pps): debug cleanup.
487
* ntpd/refclock_hopfser.c: If we're not using it, provide the _bs.
488
* ntpd/refclock_heath.c (heath_receive): Add missing "break"
490
* ntpd/ntp_proto.c: Lose extra definition of mode_ntpdate.
491
* librsaref/Makefile.am (nodist_librsaref_a_SOURCES): Put RSASRCS
492
on the same line as rsaref.h to improve portability.
493
* libntp/msyslog.c: Lint cleanup.
494
From: Marc.Brett@westerngeco.com
496
* util/ntp-genkeys.c:
498
* ntpd/ntp_config.c: Netinfo header reorder.
499
From: Jack Bryans <jbryans@csulb.edu>
501
* configure.in: timespec can be found by looking in goofy places
504
2001-04-20 Harlan Stenn <stenn@whimsy.udel.edu>
506
* ntpd/refclock_nmea.c: PPSAPI cleanup, default to RMC sentences,
507
handle milliseconds, multiple sentences, other good stuff.
508
From: John Woolner <vk1et@tpg.com.au>, Marc.Brett@westerngeco.com,
509
John.Hay@icomtek.csir.co.za
511
* ntpd/ntp_proto.c (receive): In the AM_NEWBCL case, return in all
513
* ntpd/ntp_peer.c (newpeer): Check cast_flags against MDF_BCLNT,
514
not against MDF_BCAST.
515
* ntpd/ntp_loopfilter.c (local_clock): Lose debug info.
516
* ntpd/ntp_crypto.c (crypto_recv): Bugfix.
519
* configure.in: 4.0.99k27
521
* ntpd/ntp_loopfilter.c (local_clock): Check clock_panic > 0.
523
* html/ntpd.htm: Cleanup.
524
* html/miscopt.htm: Cleanup.
525
* html/confopt.htm: Cleanup minpoll documentation.
528
2001-04-19 Harlan Stenn <stenn@whimsy.udel.edu>
530
* ntpd/cmd_args.c (getstartup): check_netinfo needs an extern
532
Reported by: Jack Bryans <jbryans@csulb.edu>
534
* configure.in (ac_cv_make_timetrim): Added.
535
* util/Makefile.am (bin_PROGRAMS): MAKE_TIMETRIM
536
Requested by: Jack Bryans <jbryans@csulb.edu>
538
* configure.in: 4.0.99k26
540
* util/ntp-genkeys.c:
541
* ntpd/refclock_oncore.c:
546
From: Simon Burge <simonb@wasabisystems.com>
548
* ntpd/ntp_loopfilter.c (local_clock): debug message improvements
551
* libntp/emalloc.c (emalloc): Tell people we are exiting if we log
552
an out-of-memory condition.
554
* util/ntp-genkeys.c (main): Don't allow '#' in a generated MD5
555
key. Reported by: Dave Tyson <Dave.Tyson@liverpool.ac.uk>
557
2001-04-18 Harlan Stenn <stenn@whimsy.udel.edu>
559
* ntpd/ntp_proto.c (clock_update): minpoll cleanup.
560
(clock_select): minpoll cleanup.
561
(clock_filter): Bugfixes from Mark Martinec <Mark.Martinec@ijs.si>
562
* ntpd/ntp_loopfilter.c (rstclock): minpoll cleanup. Debug cleanup.
563
* ntpd/ntp_config.c (getconfig): Initialize/bounds check minpoll
564
using NTP_MINDPOLL insted of sys_minpoll.
567
2001-04-17 Harlan Stenn <stenn@whimsy.udel.edu>
570
* ElectricFence/page.c (stringErrorReport): Follow Rainer's lead
573
* ntpd/refclock_shm.c (shm_start): Always use strerror.
574
* libntp/msyslog.c (msyslog): Use strerror if present.
575
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.
577
* ntpd/ntp_config.c (getconfig): Read stratum fudge value into
579
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
581
* libparse/parsesolaris.c (rdchar): Cast ~0 to unsigned long.
582
* libntp/buftvtots.c (buftvtots): Allow for 8-byte tv_sec, tv_usec
584
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
586
2001-04-16 Harlan Stenn <stenn@whimsy.udel.edu>
588
* ntpd/ntp_config.c (getconfig): move "tinker" so it's generally
591
2001-04-15 Harlan Stenn <stenn@whimsy.udel.edu>
593
* configure.in: Look for getclock().
595
* ntpd/ntp_config.c (getconfig): Squawk if provided minpoll or
596
maxpoll values are out of range.
598
* ntpd/ntp_proto.c (poll_update): Some operations can only be done
599
if we're compiling with some REFCLOCKs.
602
* configure.in (RSASRCS): Added.
603
* librsaref/Makefile.am (nodist_librsaref_a_SOURCES): Use RSASRCS.
605
* configure.in: Limit the DECL_HSTRERROR_0 to aix4.3.*. RSN, we
606
could also limit it to xlc...
608
* configure.in: 4.0.99k25
610
* html/leap.htm: Added.
611
* html/index.htm: Update.
612
* html/driver7.htm: Update.
613
* html/driver6.htm: Update.
614
* html/driver36.htm: Update.
615
* html/audio.htm: Update.
616
* html/y2k.htm: Removed.
619
2001-04-14 Harlan Stenn <stenn@whimsy.udel.edu>
621
* acconfig.h: Lose extra declarations of PACKAGE and VERSION.
625
* include/l_stdlib.h: DECL_HSTRERROR_0 needed for xlc under AIX 4.3.2.
626
Reported by: Harald Barth <haba@pdc.kth.se>
628
* ntpd/ntp_proto.c (proto_config): cal_enable (PROTO_CAL) is
629
invalid if no refclocks are present.
630
From: Frodo Looijaard <frodol@dds.nl>
632
* README.cvs: On some systems, the -C option fails.
634
* ntpd/refclock_nmea.c:
635
* ntpd/ntp_refclock.c:
637
PPSAPI patches for NMEA driver.
638
From: John.Hay@icomtek.csir.co.za
640
* README.rsa: Describe RSAEuro support, provide alternate rsa.c
642
* configure.in: Check for rsaeuro1, RSAOBJS, RSADIR respectively.
643
* html/build.htm: Hint at rsaeuro1 directory.
644
* include/global.h (BYTE): Define.
645
* librsaref/Makefile.am (nodist_librsaref_a_SOURCES): Removed rsaref2
647
(librsaref_a_LIBADD): Add appropriate objects.
648
(librsaref_a_DEPENDENCIES): Work around automake limitation.
649
(stamp-rsaref): Use RSADIR.
650
* scripts/README: Document ntp-close.
651
* scripts/Makefile.am (EXTRA_DIST): Distribute it.
652
* Makefile.am (DISTCLEANFILES): Remove .warning.
653
* librsaref/Makefile.am (DISTCLEANFILES): Remove copied/touched
654
librsaref sources, stamp-rsaref.
655
* ntpdate/Makefile.am (DISTCLEANFILES): Remove version.c.
656
* ntpq/Makefile.am (DISTCLEANFILES): Likewise.
657
* parseutil/Makefile.am (DISTCLEANFILES): Remove $(EXTRA_PROGRAMS).
658
Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
660
* ntpd/ntp_control.c: Header cleanup
662
2001-04-13 Harlan Stenn <stenn@whimsy.udel.edu>
664
* configure.in: Properly align --help output.
665
Explain ElectricFence.
666
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
668
* ntpd/ntp_loopfilter.c (local_clock): Lose debugging statements.
669
* ntpd/ntp_proto.c (clock_filter): Rewrite.
672
* ntpd/ntp_control.c (ctl_getitem): msyslog() possible buffer
675
* configure.in: 4.0.99k24
677
* html/pic/radio2.jpg:
685
Updated documentation from Dave Mills.
687
* util/ntp-genkeys.c: sys_minpoll.
688
* ntpd/refclock_atom.c: Comment additions.
689
* ntpd/ntp_proto.c: mode_ntpdate and peer_ntpdate added.
690
(transmit): We want 3, not 2, consecutive polls. hpoll logic
691
cleanup. mode_ntpdate changes.
692
(receive): When setting up a newpeer, use our sys_minpoll, not the
694
(clock_update): sys_minpoll changes. Reorder some case 1 code.
695
Don't exit in case 2.
696
(poll_update): hpoll cleanup.
697
(peer_clear): u_rand. Use u_rand to randomize the initial poll.
698
* ntpd/ntp_peer.c (newpeer): Bump peer_ntpdate if we're in
700
* ntpd/ntp_loopfilter.c: Initialize sys_poll and sys_minpoll to
702
(local_clock): Clean up some debug/info messages.
703
(rstclock): Use sys_minpoll.
704
(loop_config): KERNEL_PLL sanity checks. LOOP_MINPOLL support.
705
* ntpd/ntp_crypto.c (crypto_recv): Turn off FLAG_AUTOKEY when we
707
* ntpd/ntp_control.c (ctl_getitem): Buffer overflow check. Clean
709
* ntpd/ntp_config.c: Added "tinker" and "minpoll". Use
710
sys_minpoll now, instead of old manifest constant.
711
(save_resolve): Print keyid using decimal, not hex. From Lars-Owe
712
Ivarsson <larsowe@paradisaea.its.uu.se>
713
* include/ntpd.h: Added peer_ntpdate and sys_minpoll.
714
* include/ntp_config.h (CONF_CLOCK_MINPOLL): Added.
715
* include/ntp.h: keyid cleanup. LOOP_* cleanup.
718
2001-04-03 Harlan Stenn <stenn@whimsy.udel.edu>
720
* ntpd/ntp_proto.c (clock_filter): Swell stuff.
721
From: Mark Martinec <Mark.Martinec@ijs.si>
723
* ports/winnt/ntpd/ntpd.dsp:
724
* ports/winnt/ntpd/hopf_PCI_io.c:
725
* ports/winnt/include/hopf_PCI_io.h:
726
* ports/winnt/include/config.h:
727
* ntpd/refclock_hopfser.c:
728
* ntpd/refclock_hopfpci.c:
729
* ntpd/refclock_conf.c:
730
* ntpd/ntp_control.c:
732
* libntp/clocktypes.c:
734
* include/hopf6039.h:
735
* include/Makefile.in:
736
* include/Makefile.am:
737
* html/pic/fg6039.jpg:
741
* html/copyright.htm:
742
Updated Oncore dudes.
745
HOPF drivers and documentation.
746
From: Bernd Altmeier <altmeier@atlsoft.de> (with some light
747
hacking from Harlan to clean up indentation and lose the // comments)
749
* ntpd/refclock_oncore.c:
750
* ntpd/refclock_conf.c: Make it go.
751
From: Reg Clemens <reg@dwf.com>
753
* configure.in (openssl): Publish and default to RSAREF; hide
754
openssl, and only use it if explicitly requested (at least until
757
2001-04-02 Harlan Stenn <stenn@whimsy.udel.edu>
777
* html/copyright.htm:
782
Updates from Dave Mills.
784
2001-04-01 Harlan Stenn <stenn@whimsy.udel.edu>
786
* configure.in (OPENSSL): Just use -lcrypto.
787
Reported by Dave Mills.
789
2001-03-31 Harlan Stenn <stenn@whimsy.udel.edu>
791
* configure.in: 4.0.99k20
793
* ntpd/refclock_heath.c: Add support for GC-1000 II.
796
* ntpd/ntp_proto.c (transmit): Check peer->unreach.
797
(peer_clear): peer->outdate is a f(BURST_INTERVAL1), not
799
* ntpd/ntp_loopfilter.c (local_clock): mode_ntpdate stuff.
800
* ntpd/ntp_crypto.c: OpenSSL/RSAREF support.
801
* ntpd/cmd_args.c: Use -q, not -z, for mode_ntpdate.
802
(getstartup): nofork on mode_ntpdate. Usage update.
803
* include/ntp_crypto.h: OpenSSL/RSAREF support.
806
* configure.in (rsaref): Buglet.
808
2001-03-30 Harlan Stenn <stenn@whimsy.udel.edu>
810
* ntpd/ntp_proto.c (clock_update): mode_ntpdate support.
811
* ntpd/ntp_loopfilter.c (local_clock): mode_ntpdate support.
812
* ntpd/cmd_args.c: Added -z (mode_ntpdate).
813
* include/ntpd.h: mode_ntpdate added.
814
* include/ntp_crypto.h: RSAREF/OPENSSL cleanup.
817
2001-03-29 Harlan Stenn <stenn@whimsy.udel.edu>
821
* configure.in: Prepare for OpenSSL support
823
2001-03-28 Harlan Stenn <stenn@whimsy.udel.edu>
825
* README.rsa: Note that RSAEURO will not work.
826
Reported by: pieter.delacourt@banksys.be
828
2001-03-25 Harlan Stenn <stenn@whimsy.udel.edu>
831
* include/ntp_machine.h:
832
* include/ntp_unixtime.h:
833
* libntp/humandate.c:
836
* libntp/prettydate.c:
841
* libparse/clk_computime.c:
842
* libparse/clk_dcf7000.c:
843
* libparse/clk_hopf6021.c:
844
* libparse/clk_meinberg.c:
845
* libparse/clk_rawdcf.c:
846
* libparse/clk_rcc8000.c:
847
* libparse/clk_schmid.c:
848
* libparse/clk_trimtaip.c:
849
* libparse/clk_trimtsip.c:
850
* libparse/clk_varitext.c:
852
* libparse/parse_conf.c:
855
* ntpd/ntp_control.c:
858
* ntpd/ntp_loopfilter.c:
859
* ntpd/ntp_monitor.c:
861
* ntpd/ntp_refclock.c:
862
* ntpd/ntp_request.c:
863
* ntpd/ntp_resolver.c:
867
* ntpd/refclock_acts.c:
868
* ntpd/refclock_arbiter.c:
869
* ntpd/refclock_arc.c:
870
* ntpd/refclock_as2201.c:
871
* ntpd/refclock_atom.c:
872
* ntpd/refclock_bancomm.c:
873
* ntpd/refclock_chronolog.c:
874
* ntpd/refclock_chu.c:
875
* ntpd/refclock_datum.c:
876
* ntpd/refclock_dumbclock.c:
877
* ntpd/refclock_fg.c:
878
* ntpd/refclock_gpsvme.c:
879
* ntpd/refclock_heath.c:
880
* ntpd/refclock_hpgps.c:
881
* ntpd/refclock_irig.c:
882
* ntpd/refclock_jupiter.c:
883
* ntpd/refclock_leitch.c:
884
* ntpd/refclock_local.c:
885
* ntpd/refclock_msfees.c:
886
* ntpd/refclock_mx4200.c:
887
* ntpd/refclock_nmea.c:
888
* ntpd/refclock_oncore.c:
889
* ntpd/refclock_pcf.c:
890
* ntpd/refclock_pst.c:
891
* ntpd/refclock_shm.c:
892
* ntpd/refclock_tpro.c:
893
* ntpd/refclock_trak.c:
894
* ntpd/refclock_true.c:
895
* ntpd/refclock_ulink.c:
896
* ntpd/refclock_usno.c:
897
* ntpd/refclock_wwv.c:
898
* ntpd/refclock_wwvb.c:
900
* ntpdate/ntptime_config.c:
901
* ntpdate/ntptimeset.c:
906
* ntptrace/ntptrace.c:
907
* parseutil/testdcf.c:
909
* util/ntp-genkeys.c:
913
time.h and sys/time.h cleanup.
915
2001-03-24 Harlan Stenn <stenn@whimsy.udel.edu>
917
* configure.in: '99k19
919
* ntpd/refclock_atom.c (atom_ppsapi): PPS API RFC alignment patches.
920
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
922
* util/ntptime.c: MNT options
923
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
925
* ntpd/ntp_refclock.c (refclock_newpeer): Lose "extra" free().
926
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
928
* configure.in: 4.0.99k18 and auto* upgrade
930
2001-03-14 Harlan Stenn <stenn@whimsy.udel.edu>
932
* ntpdc/ntpdc_ops.c (printpeer): No more "valid".
933
* ntpd/ntp_request.c (peer_info): No more "valid".
934
* ntpd/ntp_refclock.c (refclock_transmit): valid/hpoll cleanup.
935
* ntpd/ntp_proto.c (transmit): valid/hpoll and peer->ttl cleanup.
936
peer->valid/oreach cleanup.
937
(receive): Call newpeer() with the pkt->ppoll, not
938
NTP_MINDPOLL (in several places).
939
In AM_NEWPASS, if we have a NULL peer, return.
940
(poll_update): Added xpoll definition, fixed oldpoll definition.
941
Algorithmic improvements.
942
* ntpd/ntp_peer.c (newpeer): Better minpoll/maxpoll
944
(resetmanycast): That's a poll_update() on an MDF_ACAST, not a
946
* ntpd/ntp_crypto.c: include <fcntl.h>.
947
(crypto_recv): Leave the crypto_flags alone when wiggling the
949
(crypto_cert): Make room for daddy. Do a real open() on the cert
950
file. Read the cert. Initial hack and slash. Better debug info.
951
* ntpd/ntp_control.c: CP_VALID now does "unreach".
952
(ctl_putpeer): Ditto.
953
* include/ntp_request.h: info_peer gets a placeholder for "valid".
954
* include/ntp_crypto.h (CRYPTO_FLAG_CERT): Comment update.
955
* include/ntp.h: Lose "valid" from struct peer.
958
2001-03-05 Harlan Stenn <stenn@whimsy.udel.edu>
960
* ntpd/ntp_proto.c (transmit): hpoll calc logic cleanup.
961
(receive): New cert stuff.
962
(poll_update): Improvements.
963
(peer_clear): New cert stuff.
964
(peer_xmit): New cert stuff.
965
* ntpd/ntp_crypto.c: New cert stuff, documentation cleanup. Lose
966
extraneous poll_uopdate()s.
967
* ntpd/ntp_control.c: Deal with new cert stuff.
968
* ntpd/ntp_config.c (getconfig): Handle CONF_CRYPTO_CERT.
969
* include/ntp_crypto.h (CRYPTO_FLAG_CERT): Added.
970
(CRYPTO_CERT): Added.
971
(CRYPTO_CONF_CERT): Added.
972
Add declaration for struct value certif.
973
* include/ntp_control.h (CS_CERTIF): Added.
975
* include/ntp_config.h (CONF_CRYPTO_CERT): Added.
976
* include/ntp.h (TEST10,TEST11): New meaning. Add certif to
978
(FLAG_PROVEN): Added.
979
(MAX_EXT_LEN): Removed.
980
exten grew from 672/4 to 5000/4 for PUBKEY.
983
2001-03-03 Harlan Stenn <stenn@whimsy.udel.edu>
985
* ntpd/ntp_proto.c (transmit): Documentation cleanup.
986
(receive): Watch for NULL peer->pubkey.ptr (TEST11).
987
(poll_update): peer->nextdate, not ->outdate. More cleanup around
988
the disabled PUBKEY chunk.
989
* ntpd/ntp_crypto.c (make_keylist): ltemp might be smaller than
990
sys_automax - check peer->kpoll, too. Other ltemp cleanup.
991
(crypto_recv): fstamp is a PUBKEY-only variable.
992
* include/ntp.h (NTP_AUTOMAX): 13, not 12.
995
2001-03-01 Harlan Stenn <stenn@whimsy.udel.edu>
997
* ntpd/ntp_proto.c (transmit): hpoll cleanup. Call clock_select()
998
after calling poll_update, not before.
999
(receive): Call poll_update after crypto_recv if FLAG_SKEY.
1000
(process_packet): Set peer->ppoll Later.
1001
(poll_update): peer->hpoll sanity checking. Set peer->outdate,
1002
not ->nextate, when burst > 0. MDF_ACAST cleanup.
1003
(clock_select): Fix hpoll typo in call to poll_update().
1004
* ntpd/ntp_crypto.c (crypto_xmit): tstamp's value is a function of
1006
* include/ntp.h (clear_to_zero): #define value is a function of
1010
2001-02-28 Harlan Stenn <stenn@whimsy.udel.edu>
1012
* ntpd/ntp_proto.c (transmit): Documentation/code update.
1013
(poll_update): Sanity check peer->hpoll. Improve debug info.
1014
(peer_clear): Improve debug info. Turn off FLAG_ASSOC in addition
1016
(clock_select): peer->status is CTL_PST_SEL_DISTSYSPEER, and don't
1017
call poll_update(). Make each entry in the peer_list a
1018
CTL_PST_SEL_SELCAND sooner, too. Rework similar logic later on.
1019
Change debug level on some info.
1020
(peer_xmit): Check peer->flags using FLAG_ASSOC, not
1021
CRYPTO_FLAG_AUTO in a couple places. Don't call poll_update() if
1022
sendlen > LEN_PKT_NOMAC.
1023
* ntpd/ntp_loopfilter.c (local_clock): Improve debug info.
1024
Sanity-check sys_poll sooner.
1025
* ntpd/ntp_crypto.c: New artwork.
1026
(COOKIE_LEN,AUTOKEY_LEN,VALUE_LEN): New.
1027
(make_keylist): More debug info. Use FLAG_ASSOC, not
1029
(crypto_recv): More debug info. Clean up/improve sanity checks on
1030
CRYPTO_ASSOC and CRYPTO_RESP packets, and in other places.
1031
(crypto_xmit): Clean up/improve sanity checks on CRYPTO_ASSOC and
1032
CRYPTO_RESP packets. Use FLAG_ASSOC, not CRYPTO_FLAG_ASSOC. More
1034
* include/ntp.h (NTP_CANLOCK): Lose it.
1035
(clear_to_zero): is now "assoc".
1036
(FLAG_ASSOC): Added.
1039
2001-02-23 Harlan Stenn <stenn@whimsy.udel.edu>
1041
* ntpdate/ntpdate.h (NTP_MAXAGE): Added.
1042
* ntpd/ntp_refclock.c (refclock_receive): Cleanup.
1043
* ntpd/ntp_proto.c (transmit): Don't reset peer->ppoll in one case.
1044
Update peer->hpoll based on CTL_PST_SEL_CORRECT, not FLAG_SYSPEER.
1045
Don't update peer->ppoll based on MDF_[BM]CAST.
1046
(peer_clear): ppoll is initialized to maxpoll.
1047
(clock_select): call poll_update(peer->hpoll) earlier.
1048
(peer_xmit): Call poll_update later.
1049
* ntpd/ntp_peer.c (peer_config): Rework initial values of [hkp]poll.
1050
* ntpd/ntp_loopfilter.c (CLOCK_PHI): Added. Deal with other
1051
(allow_*) stuff. Treat Windows/NT the same as others regarding
1052
panic steps. Deal with tinker stuff.
1053
* ntpd/ntp_config.c: Tinker stuff.
1054
* ntpd/cmd_args.c (getCmdOpts): -g now wiggles "allow_panic"
1055
(renamed from "correct_any"). -x now wiggles "allow_step"
1056
(renamed from "allow_step_backward").
1057
* include/ntpd.h: Add tinker variables. Rename/rework variables
1058
associated with "permission to step" and "permission to make a
1060
* include/ntp_config.h (CONFIG_TINKER): Added.
1061
(CONF_CLOCK_MAX): Tinker keyword
1062
(CONF_CLOCK_PANIC): Tinker keyword
1063
(CONF_CLOCK_PHI): Tinker keyword
1064
(CONF_CLOCK_MINSTEP): Tinker keyword
1065
* include/ntp.h (NTP_MINCLOCK): Tinker and other cleanup.
1068
2001-02-19 Harlan Stenn <stenn@whimsy.udel.edu>
1070
* ntpd/ntp_proto.c (transmit): Don't peer_clear() and reset
1071
minpoll unconditionally; make sure the peer is configured.
1072
(poll_update): When updating peer->ppoll, check on BCAST and
1074
(peer_clear): PUBKEY cleanup. Zero out the peer structure
1075
earlier. Initialization cleanup/fixes.
1076
(peer_xmit): CRYPTO_FLAG_AUTO is in peer->flags now.
1077
(key_expire): Debug output.
1078
* ntpd/ntp_peer.c (unpeer): PUBKEY cleanup.
1079
(newpeer): peer variable setup cleanup.
1080
* ntpd/ntp_crypto.c (make_keylist): Keep CRYPTO_FLAG_AUTO in
1081
peer->flags, not crypto_flags.
1082
(crypto_xmit): Ditto.
1083
(crypto_recv): Fix up RV_TSP logic (several places).
1084
* include/ntp.h (clear_to_zero): Moved...
1087
2001-02-14 Harlan Stenn <stenn@whimsy.udel.edu>
1089
* ntpd/ntp_proto.c (peer_xmit): Crypto-related fixes
1092
* ntpd/ntp_crypto.c (crypto_recv): Allocate space for the trailing
1095
2001-01-28 Harlan Stenn <stenn@whimsy.udel.edu>
1097
* configure.in: 4.0.99k17
1099
* ntpd/refclock_local.c (STRATUM): 3 -> 5
1100
* ntpd/ntp_proto.c: sys_maxd -> sys_selerr, sys_epsil ->
1101
sys_syserr. various cleanups and improvements.
1104
2001-01-19 Harlan Stenn <stenn@whimsy.udel.edu>
1106
* configure.in: 4.0.99k16
1108
* config.h.in: Regenerated - became empty somehow.
1109
Reported by John.Hay@icomtek.csir.co.za
1111
* ntpd/ntp_proto.c (clock_select): Fix sdisp calculation.
1114
* util/ntp-genkeys.c:
1115
* ntpd/refclock_chu.c:
1116
* ntpd/refclock_atom.c:
1118
* ntpd/ntp_loopfilter.c:
1122
* include/l_stdlib.h:
1123
* html/copyright.htm:
1124
Lint fixes (Thanks bunches!)
1125
From: Marc.Brett@westerngeco.com
1127
2001-01-18 Harlan Stenn <stenn@whimsy.udel.edu>
1129
* configure.in: 4.0.99k15
1131
* ntpd/ntp_proto.c (clock_select): Track error[] items sooner.
1132
Typo grabbing the dtemp value and in the sdisp calculation.
1135
2001-01-17 Harlan Stenn <stenn@whimsy.udel.edu>
1137
* configure.in: 4.0.99k14
1139
* ntpd/ntp_proto.c: Change description of sys_rootdelay and
1141
(process_packet): Fix p_del test (bad distance).
1142
(process_packet): Fix bad synch distance test.
1143
(process_packet): Fix call to clock_filter (p_disp)
1144
(clock_update): Fix sys_rootdelay calculation.
1145
(clock_filter): Initialize jit to f(sys_precision)
1146
(clock_filter): Update jit using distance[i] instead of
1147
SQUARE(). peer->jitter uses dtemp instead of SQUARE().
1148
(clock_filter): Updated CLOCK_SGATE checks. When printing debug
1149
info, show jitter along with popcorn spike.
1150
(clock_select): New sdisp calc.
1151
(root_distance): New return value calc.
1152
(peer_xmit): xpkt.rootdispersion value change.
1153
* include/ntp.h (CLOCK_SGATE): Popcorn spike gate (Whoa, Molly!)
1156
2001-01-13 Harlan Stenn <stenn@whimsy.udel.edu>
1158
* config.sub (Repository): Updated.
1159
* config.guess (Repository): Updated.
1161
* ntpd/ntp_loopfilter.c (local_clock): Just use sys_jitter in the
1162
calculation for rootdispersion.
1165
2001-01-02 Harlan Stenn <stenn@whimsy.udel.edu>
1167
* ntpd/ntp_proto.c (transmit): Fix documentation. Set
1168
peer->outdate and call poll_update in a new place. Sanity checks
1169
in the MODE_BROADCAST case.
1170
(clock_select): Track the old peer. Use the old peer in
1171
subsequent checks, where appropriate. Clean up unpeer() logic.
1174
2001-01-01 Harlan Stenn <stenn@whimsy.udel.edu>
1176
* ntpd/refclock_chu.c: Start using HAVE_AUDIO.
1177
* ntpd/ntp_proto.c (clock_select): If about to discard an
1178
ephemeral association, do it only if not the system peer.
1181
* html/pic/wingdorothy.gif:
1182
* html/pic/bustardfly.gif:
1183
* html/pic/boom3a.gif:
1184
* html/pic/tonea.gif:
1185
* html/pic/stack1a.jpg:
1186
* html/pic/pogoa.gif:
1187
* html/pic/pogo8.gif:
1188
* html/pic/pogo6.gif:
1189
* html/pic/pogo5.gif:
1190
* html/pic/pogo4.gif:
1191
* html/pic/pogo3.gif:
1192
* html/pic/pogo1.gif:
1194
* html/pic/flatheads.gif:
1195
* html/pic/boom4.gif:
1196
* html/pic/boom3.gif:
1197
* html/pic/appletree.gif:
1198
* html/pic/alice51.gif:
1199
* html/pic/alice44.gif:
1200
* html/pic/alice35.gif:
1201
* html/pic/alice31.gif:
1202
* html/pic/alice15b.gif:
1203
* html/pic/alice13.gif:
1204
* html/pic/alice11.gif:
1209
* html/ntptrace.htm:
1218
* html/copyright.htm:
1224
Cleanup from Dave Mills.
1226
2000-12-30 Harlan Stenn <stenn@whimsy.udel.edu>
1228
* configure.in: 4.0.99k13
1230
* ntpd/refclock_wwv.c (wwv_start): Call audio_init with DEVICE_AUDIO.
1231
* ntpd/refclock_irig.c (irig_start): Call audio_init with DEVICE_AUDIO.
1232
* ntpd/refclock_chu.c: Documentation cleanup.
1233
(DEVICE_AUDIO): Added.
1235
(chu_start): Separate audio from serial device.
1236
(chu_receive): Rewrite - get data from serial or audio device as
1238
(chu_audio_receive): Renamed (from chu_receive) to allow both
1239
audio and serial capability.
1240
(chu_serial_receive): Ditto.
1241
(chu_decode): Do the Right Thing based on audio/serial data.
1242
* ntpd/ntp_refclock.c (refclock_open): Check for failure using <0
1244
* libntp/audio.c: Header cleanup, and remove
1245
HAVE_STRUCT_AUDIO_INFO_* related fields.
1246
(audio_init): Func arg is device to attempt to open.
1247
* include/audio.h (audio_init): Now takes a char * argument.
1250
* configure.in (ntp_refclock): HAVE_AUDIO added. Remove
1251
HAVE_STRUCT_AUDIO_INFO_* stuff; Dave rewrote the audio stuff.
1253
2000-12-28 Harlan Stenn <stenn@whimsy.udel.edu>
1255
* configure.in: 4.0.99k12
1257
2000-12-27 Harlan Stenn <stenn@whimsy.udel.edu>
1263
* html/clockopt.htm:
1267
Updates from Dave Mills.
1269
* include/ntp_crypto.h: Make sure crypto_flags is visible.
1272
2000-12-14 Harlan Stenn <stenn@whimsy.udel.edu>
1274
* ntpd/ntp_proto.c (process_packet): pleap/pstratum.
1275
(peer_xmit): Use CRYPTO_FLAG_AUTO.
1276
* ntpd/ntp_crypto.c (make_keylist): Use CRYPTO_FLAG_AUTO. Only
1277
sign host name and timestamps if the clock is synched.
1278
* include/ntp_crypto.h (CRYPTO_FLAG_AUTO): Added.
1281
2000-12-11 Harlan Stenn <stenn@whimsy.udel.edu>
1283
* ntpd/ntp_proto.c (transmit): Call clock_select in a few new
1284
places. BURST/IBURST cleanup. Don't turn off FLAG_BURST at the
1286
(receive): Set peer->unreach = 0 before we call process_packet().
1287
(process_packet): ditto, before calling poll_update(). Lose some
1288
debugging, MODE_BCLIENT/CLIENT cleanup.
1289
(poll_update): Bump nextupdate on FLAG_REFCLOCK, not _REFCLOCK or
1291
(peer_clear): Don't set IBURST on MDF_BCLNT.
1294
* ntpdate/ntpdate.c (alarming): Appease ansi2knr.
1296
2000-12-10 Harlan Stenn <stenn@whimsy.udel.edu>
1298
* ntpd/ntp_control.c (ctl_putpeer): CP_TTL and CP_TTLMAX
1299
MDF_ACAST and MDF_MCAST cleanup.
1301
* ntpd/refclock_wwv.c (wwv_start): ttlmax/ttl cleanup.
1302
* ntpd/refclock_usno.c (usno_timeout): ttlmax/ttl cleanup.
1303
* ntpd/refclock_parse.c (CLK_REALTYPE): ttlmax/ttl cleanup.
1304
* ntpd/refclock_chu.c (chu_start): ttlmax/ttl cleanup.
1305
* ntpd/refclock_acts.c (acts_timeout): ttlmax/ttl cleanup.
1306
* ntpd/ntp_refclock.c (refclock_newpeer): Don't do the
1307
any_interface -> loopback_interface trick.
1308
* ntpd/ntp_proto.c (transmit): Broadcast/manycast cleanup.
1309
* ntpd/ntp_peer.c: Cleanup.
1310
* ntpd/ntp_io.c: Cleanup.
1311
* ntpd/ntp_crypto.c (crypto_recv): AUTOKEY based on BCLNT, not MCAST2.
1312
* include/ntpd.h: Declare findbcastinter().
1313
* include/ntp.h: struct peer's ttlmax is now max ttl/refclock
1314
mode. ttl is now ttl for manycast mode.
1315
(FLAG_MCAST): Reworked several FLAG_ bits.
1318
2000-12-05 Harlan Stenn <stenn@whimsy.udel.edu>
1320
* ntpq/ntpq.c: CP_TTLMAX support.
1321
* ntpd/ntp_proto.c (transmit): MDF_ACAST ttl fixes.
1322
* ntpd/ntp_peer.c (resetmanycast): Reset ttl if MDF_ACAST.
1323
(peer_config): Save max ttl in ttlmax.
1324
* ntpd/ntp_control.c: ttlmax support.
1325
* include/ntp_control.h (CP_TTLMAX): Added.
1326
* include/ntp.h: Added ttlmax to struct peer.
1329
2000-12-03 Harlan Stenn <stenn@whimsy.udel.edu>
1331
* ntpd/ntp_proto.c (receive): That any_interface is now an
1333
Various other doc and code cleanup.
1334
* ntpd/ntp_peer.c (findmanycastpeer): Fixes
1337
2000-12-02 Harlan Stenn <stenn@whimsy.udel.edu>
1339
* ntpd/ntp_request.c (do_conf): call peer_config with
1340
any_interface, not 0.
1341
* ntpd/ntp_proto.c (transmit): Manycast cleanup
1342
* ntpd/ntp_peer.c (findmanycastpeer): manycast cleanup
1343
* ntpd/ntp_io.c (sendpkt): Only check ttl if we have a ttl
1344
(findinterface): Cleanup
1345
* ntpd/ntp_control.c: cleanup
1346
* include/ntpd.h: Added resetmanycast.
1347
* include/ntp_control.h (CP_TTL): disp -> ttl
1348
* ntpq/ntpq.c: disp -> ttl
1351
2000-11-26 Harlan Stenn <stenn@whimsy.udel.edu>
1353
* configure.in: 4.0.99k11
1355
* ntpd/ntp_proto.c (transmit):
1358
* ntpd/ntp_control.c (ctl_putpeer):
1359
* ntpd/ntp_config.c (getconfig):
1360
* include/ntpd.h: mcast/ucast interface cleanup.
1363
* include/ntp_request.h: Put data[] as MAXFILENAME+16. This will
1364
fix the conf_peer requests again, but re-break compatibility with
1365
old versions of the daemon. Sigh.
1367
* util/ntp-genkeys.c (cleanlinks): Don't do it if nosymlinks.
1369
2000-11-19 Harlan Stenn <stenn@whimsy.udel.edu>
1371
* ntpd/refclock_parse.c (rawdcf_init_1): make Linux happier with
1372
some modem control stuff.
1373
From: Wolfram Pienkoss <wp@bszh.de> (via Frank Kardel)
1375
* ntpd/refclock_pcf.c (pcf_poll): isdst fix
1376
From: Andreas Voegele <andreas.voegele@gmx.de>
1378
2000-10-28 Harlan Stenn <stenn@whimsy.udel.edu>
1380
* configure.in: 4.0.99k10
1382
* ntpd/refclock_wwvb.c (wwvb_start): Cosmetic reorder.
1383
* ntpd/refclock_atom.c (RANGEGATE): Cleanup. Add ASTAGE.
1384
Add ppsparams to struct ppsunit.
1385
(atom_start): Init peer->burst to ASTAGE.
1386
(atom_shutdown): Multi-handle
1387
(atom_pps): Multi-handle
1388
(atom_pps): RANGEGATE cleanup
1389
(atom_poll): Poll count cleanup. Error check cleanup. Burst cleanup.
1390
* ntpd/ntp_refclock.c (refclock_transmit): Lose the pre-burst
1391
check poll_update().
1392
(refclock_sample): Fix the jitter calc.
1393
(refclock_receive): Pass the jitter to the clock_filter().
1395
* ntpd/ntp_proto.c (clock_update): If we lose sync, reset the poll
1397
(poll_update): Poll wiggles. Make sure peer->nextdate is timely.
1398
(clock_select): If we lose sync, reset the poll to NTP_MINDPOLL.
1399
* ntpd/ntp_loopfilter.c (local_clock): Show the asocid in debug
1400
output. popcorn debug message changes. Clamp the poll interval
1401
if the system peer has changed. PPS wiggle changes.
1404
2000-10-16 Harlan Stenn <stenn@whimsy.udel.edu>
1406
* ntpd/refclock_pcf.c (pcf_start):
1407
* html/driver35.htm:
1408
The radio clock transmits 69 bits with a period of 2.5
1409
milliseconds per bit. Thus the driver now sets the default
1410
calibration offset to 0.1725 (69 * 2.5 = 172.5).
1411
Its now possible to disable the check of the radio clock's
1412
synchronisation status bit. Several users requested this option.
1413
From: Andreas Voegele <andreas.voegele@gmx.de>
1415
* html/refclock.htm:
1425
* html/driver22.htm:
1426
* html/clockopt.htm:
1427
Updates from Dave Mills
1429
* ntpd/ntp_intres.c (request): Sanity check the size of the response
1431
2000-10-15 Harlan Stenn <stenn@whimsy.udel.edu>
1433
* ntpq/ntpq_ops.c (dopeers): Dave didn't like the patch to show
1434
the units on the times...
1435
* ntpdc/ntpdc_ops.c (doset): SYS_FLAG_PPS cleanup
1436
* ntpd/refclock_wwv.c (wwv_newchan): Update the peer refid if
1437
we're talking to a stratum 0 source
1438
* ntpd/refclock_trak.c: Needs PPS
1439
* ntpd/refclock_oncore.c: Disable for now
1440
* ntpd/refclock_mx4200.c: Needs PPSAPI, not PPS
1441
Header cleanup. PPS interface cleanup.
1442
Process sentences with a switch
1443
Cleanup and sanity checks
1444
* ntpd/refclock_datum.c: header cleanup, light body cleanup
1445
* ntpd/refclock_conf.c: CLOCK_TRAK needs PPS
1446
MX4200 needs PPSAPI, not PPS
1447
Disable ONCORE for now
1448
* ntpd/refclock_bancomm.c: Surgery
1449
* ntpd/refclock_atom.c: Cleanup
1450
(atom_control): added
1451
(atom_ppsapi): added
1452
* ntpd/ntp_request.c (setclr_flags): SYS_FLAG_PPS cleanup
1453
* ntpd/ntp_refclock.c: stropts.h back in in TTYCLK and
1455
Get ntp_syscall if KERNEL_PLL
1457
(refclock_receive): Cleanup
1458
(refclock_control): sanity check procptr
1459
* ntpd/ntp_proto.c (init_proto): pps_enable
1460
(proto_config): Turn on/off PPS discipline
1461
* ntpd/ntp_loopfilter.c: pps_enable
1462
(local_clock): record_loop_stats() if !ntp_enable
1463
(local_clock): Turn off PPS if it's not enabled
1465
* ntpd/ntp_config.c: pps and calibrate keywords. Initialize
1466
pps_assert to 0, not 1 (swap assert/clear?)
1467
* include/ntpd.h: We have pll_status if KERNEL_PLL
1468
Added pps_enable and cal_enable
1469
* include/ntp_request.h (SYS_FLAG_PPS): Renamed from
1470
SYS_FLAG_AUTHENTICATE
1471
* include/ntp.h (PROTO_PPS): Added
1475
2000-09-23 Harlan Stenn <stenn@whimsy.udel.edu>
1477
* include/ntp_refclock.h (stropts.h, sys/clkdefs.h): Harmful and
1478
useless file include's turned off.
1479
* libntp/iosignal.c (netinet/in.h, sys/sockio.h): Duplicate file
1480
include's turned off.
1481
* ntpd/ntp_refclock.c (ntp_tty.h): File included.
1482
(refclock_open, refclock_ioctl): Use `TTY' from ntp_tty.h.
1483
* ntpd/refclock_atom.c: Grab a few headers regardless; if we don't
1484
CLOCK_ATOM we provide a stub pps_sample() routine so the WHARTON
1485
can be compiled/used.
1486
* ntpq/ntpq_ops.c (dopeers, doopeers): Print the units for
1488
Tue Sep 12 16:25:51 2000 Philippe De Muyter <phdm@macqel.be>
1490
* ntpd/refclock_atom.c (atom_start): Lose "temp", because we now
1491
initially either CAPTUREASSERT or CAPTURECLEAR.
1492
(atom_pps): pps_info_t is our friend. Update comments to reflect
1493
reality. DTRT with pps_info. Do some overflow checks.
1496
2000-09-21 Harlan Stenn <stenn@whimsy.udel.edu>
1498
* configure.in: Much improved Solaris patch-level check for the
1500
From: Marc.Brett@westgeo.com
1502
2000-09-19 Harlan Stenn <stenn@whimsy.udel.edu>
1504
* include/Makefile.am (noinst_HEADERS): Added ntp_tty.h
1505
Reported by Dave Mills
1507
2000-09-16 Harlan Stenn <stenn@whimsy.udel.edu>
1509
* ntptrace/ntptrace.c:
1510
* ntpdate/ntptimeset.c (receive):
1511
* ntpdate/ntpdate.c (receive):
1513
* ntpd/refclock_atom.c (atom_poll): Autostratum. Lose the leap.
1514
* ntpd/ntp_proto.c: sys_prefer
1515
(process_packet): stratum cleanup
1516
(clock_select): Autostratum the ATOM
1517
* ntpd/ntp_loopfilter.c: pps_update/pps_stratum wiggle.
1518
* include/ntpd.h: Lose pps_update, gain sys_prefer
1519
* include/ntp.h: STRATUM variable cleanup
1522
2000-09-13 Harlan Stenn <stenn@whimsy.udel.edu>
1524
* ntpd/refclock_oncore.c (oncore_get_timestamp): Print debug
1525
messages being aware of HAVE_STRUCT_TIMESPEC.
1527
* ntpd/refclock_atom.c: Have pps_params tag along in the ppsunit
1528
structure, where it really belongs.
1529
(atom_pps): Use PPS_CAPTURE{ASSERT,CLEAR}
1532
2000-09-12 Harlan Stenn <stenn@whimsy.udel.edu>
1534
* configure.in (ac_cv_var_atom_ok): Cleanup ATOM/PPSAPI stuff...
1536
* scripts/ntp-close: Find "close" ntp servers.
1537
From: Neal McBurnett <neal@bcn.boulder.co.us>
1539
* ntpd/refclock_conf.c:
1540
* ntpd/refclock_oncore.c: Re-enabled oncore driver for HAVE_PPSAPI
1543
2000-09-12 Philippe De Muyter <phdm@macqel.be>
1545
* ntpd/refclock_parse.c (we400a_pollinfo): Useless variable removed.
1546
[WHARTON slot]: Set NO_POLL, NO_INIT and NO_DATA; fix `fixed format'
1547
and `offset' fields.
1549
* include/ntp_tty.h: New file
1550
* libntp/icom.c: Use it.
1552
* ntp_update (UPDATE_OPTIONS): Use -d, too. Fix Pass 1 comment.
1554
2000-09-12 Harlan Stenn <stenn@whimsy.udel.edu>
1556
* ntpd/refclock_oncore.c: shmem_fname added. oncore_init_shmem()
1558
(oncore_start): Comment cleanup
1559
(oncore_read_config): Move call to oncore_shmem_init()
1560
(oncore_init_shmem): Prototype change
1561
(oncore_init_shmem): Don't exit on errors
1562
(oncore_msg_any): timespec/timeval cleanup
1563
(oncore_msg_Cj_id): shmem_fname changes
1564
(oncore_msg_BaEaHa): saw_At bugfix
1565
(oncore_get_timestamp): Added current_mode/current_params. Commented.
1566
Added time_pps_getcap() calls.
1567
From: Reg Clemens <reg@dwf.com>
1569
* ntpd/ntp_io.c (input_handler): Better recvfrom() error message
1570
From: Dean Gibson <timekeeper@tcp-udp.net>
1572
* ntpdc/ntpdc.c (passwd): Get them working again.
1573
From: Benjamin Greenwald <beng@lcs.mit.edu>
1575
2000-09-11 Harlan Stenn <stenn@whimsy.udel.edu>
1577
* ntpd/refclock_atom.c:
1579
* ntpd/ntp_refclock.c: Comment cleanup. PPS/PPSAPI cleanup
1580
(refclock_open): PPS/PPSAPI cleanup
1583
* ntpd/refclock_oncore.c:
1584
* ntpd/refclock_mx4200.c:
1585
HAVE_TIMESPEC -> HAVE_STRUCT_TIMESPEC
1587
* configure.in: ATOM requires struct timespec, not PPSAPI. Clean
1588
up dependencies accordingly.
1590
2000-09-09 Harlan Stenn <stenn@whimsy.udel.edu>
1592
* configure.in (ac_cv_var_atom_ok): Improve ATOM configure message
1593
PARSE requires ATOM.
1595
* ntpd/ntpd.c (set_process_priority): Clean up debug messages.
1597
2000-09-07 Harlan Stenn <stenn@whimsy.udel.edu>
1599
* configure.in: ac_cv_atom_ok, depends on HAVE_PPSAPI.
1600
I notice the PARSE clocks require ATOM. Could be interesting...
1602
2000-09-06 Harlan Stenn <stenn@whimsy.udel.edu>
1604
* Makefile.in (distdir): Seems to be a bug in an automake library
1607
2000-09-05 Harlan Stenn <stenn@whimsy.udel.edu>
1609
* ntpd/ntp_loopfilter.c (loop_config): V3 API needs MOD_BITS when
1610
initializing ntv.modes. Initialize ntv.{maxerror,esterror,status}
1611
earlier. Clean up KERNEL_PLL code.
1613
2000-09-04 Harlan Stenn <stenn@whimsy.udel.edu>
1615
* ntpq/ntpq.c: report offset as "offset", not "phase". Lose
1617
* ntpd/refclock_local.c (local_poll): variance -> jitter
1618
* ntpd/refclock_chu.c (chu_major): Lose variance.
1619
* ntpd/ntp_util.c (hourly_stats): sys_error -> sys_jitter
1620
(record_loop_stats): ditto
1621
* ntpd/ntp_request.c (peer_info): variance -> jitter
1622
* ntpd/ntp_refclock.c (refclock_sample): variance -> jitter
1623
(refclock_receive): variance -> jitter
1624
* ntpd/ntp_proto.c (process_packet): variance -> jitter
1625
(clock_filter): variance -> jitter
1626
(clock_select): variance -> jitter
1627
(root_distance): variance -> jitter
1628
* ntpd/ntp_peer.c (newpeer): variance -> jitter
1629
* ntpd/ntp_loopfilter.c: Cleanup pll_nano selection bogon.
1630
Centralize the kernel API data.
1631
(local_clock): Lose sys_error.
1632
(loop_config): Code cleanup.
1633
* ntpd/ntp_control.c: Call offset "offset" and not "phase". Lose
1634
CS_COMPLIANCE. Deal with variance/jitter rename.
1635
* include/ntp_refclock.h: Rename variance to jitter in struct
1637
* include/ntp_control.h (CS_COMPLIANCE): Lose it.
1638
* include/ntp.h: Rename variance to jitter in struct peer.
1641
2000-09-01 Harlan Stenn <stenn@whimsy.udel.edu>
1643
* ntpd/refclock_atom.c: Use the new ppsunit. Cleanup and improve
1645
* ntpd/ntp_refclock.c (refclock_sample): Don't accumulate
1649
2000-08-31 Harlan Stenn <stenn@whimsy.udel.edu>
1651
* html/driver22.htm: Update the docs.
1652
* ntpd/refclock_atom.c (atom_start): Open the device if it hasn't
1653
been opened already.
1654
(pps_sample): Make it more visible.
1657
* configure.in: 4.0.99k8
1659
Revert to the older automake.
1661
* configure.in: The PPSAPI headers use "inline", so require a STDC
1664
* ntpd/refclock_atom.c (atom_shutdown): Typo
1667
* configure.in: Convert to autoconf-2.49
1669
* ntpd/refclock_atom.c: Header cleanup Comment cleanup. Lose the
1670
TTYCLK stuff. Convert to PPSAPI.
1671
* ntpd/ntp_refclock.c (refclock_newpeer): Move refclock_unpeer().
1674
2000-08-29 Harlan Stenn <stenn@whimsy.udel.edu>
1676
* configure: Fix the autoconf problem...
1678
2000-08-20 Harlan Stenn <stenn@whimsy.udel.edu>
1680
* configure.in: 99k7
1682
* util/ntptime.c (main): Report TAI stuff
1683
* ntpq/ntpq.c: CS_COMPLIANCE/CS_JITTER cleanup
1684
* ntpd/ntp_loopfilter.c (local_clock): sys_error/sys_jitter cleanup.
1686
* ntpd/ntp_crypto.c: Check NTP_API if we're doing KERNEL_PLL so we
1687
can get the TAI stuff.
1688
* ntpd/ntp_control.c: CS_COMPLIANCE now reports "error" instead of
1689
"jitter". CS_JITTER now reports jitter.
1690
* include/ntpd.h: Added sys_jitter
1691
* include/ntp_control.h (CS_JITTER): Added
1694
* ntpd/cmd_args.c (getCmdOpts): Crack -N at pre-scan, as we do the
1695
priority wiggle before the final scan.
1696
From: Tom Smith <smith@cag.lkg.dec.com>
1697
We might do better to move the priority wiggle to after the final
1698
scan. Especially if we want to permit command-line options to
1699
have decent control over the priority. When we rewrite the config
1700
file stuff we might go to a multi-scan to solve some of these
1703
2000-08-19 Harlan Stenn <stenn@whimsy.udel.edu>
1705
* configure.in: '99k6, and manually fix configure.
1707
* include/ntp_request.h (NTP_MAXHOSTNAME): 144 -> 32
1709
2000-08-18 Harlan Stenn <stenn@whimsy.udel.edu>
1711
* util/ntp-genkeys.c (main): Don't call fclose if stream is NULL.
1713
2000-08-17 Harlan Stenn <stenn@whimsy.udel.edu>
1715
* html/driver35.htm:
1716
* ntpd/refclock_pcf.c: Updates and improvements
1717
From: Andreas Voegele <andreas.voegele@gmx.de>
1719
* configure.in (ac_cv_struct_ntptimeval): Lose the TAI check - we
1720
don't need it since we can check NTP_API. Re-hack the generated
1723
* configure: Manual hack to the ntptimeval.time.tv_nsec stuff
1724
because we're running an old autoconf.
1726
2000-08-16 Harlan Stenn <stenn@whimsy.udel.edu>
1728
* util/ntptime.c: Use: HAVE_STRUCT_NTPTIMEVAL_TIME_TV_NSEC, it's
1731
* configure.in: Look for struct ntptimeval.tai in sys/timex.h
1732
Cleanup struct tptimeval member tests.
1734
* util/ntp-genkeys.c: New command-line arguments
1736
2000-08-14 Harlan Stenn <stenn@whimsy.udel.edu>
1738
* util/ntp-genkeys.c (main): More small steps...
1740
2000-08-13 Harlan Stenn <stenn@whimsy.udel.edu>
1742
* ntpd/ntp_crypto.c (crypto_rsa): Now that we're using
1743
NTP_KEYSDIR, make sure there is a '/ between the dir and the file.
1745
* util/ntp-genkeys.c (main): More small steps...
1747
2000-08-12 Harlan Stenn <stenn@whimsy.udel.edu>
1749
* util/ntp-genkeys.c (main): Another small step...
1751
* configure.in: 99k5
1753
* include/ntp_request.h: Make data[] member of req_pkt 32 again.
1754
Bump the version number...
1756
* ntpd/ntp_loopfilter.c (local_clock): Change 0. to 0 in a couple
1760
2000-08-11 Harlan Stenn <stenn@whimsy.udel.edu>
1762
* util/ntp-genkeys.c (main): Minimal progress...
1764
2000-08-06 Harlan Stenn <stenn@whimsy.udel.edu>
1766
* ntpd/check_y2k.c: Make debug definition match ntpd.h's declaration
1768
* ntpd/Makefile.am (check-local): Use test in favor of [
1770
2000-08-05 Harlan Stenn <stenn@whimsy.udel.edu>
1772
* configure.in (NTP_KEYSDIR): Typo
1774
2000-08-04 Harlan Stenn <stenn@whimsy.udel.edu>
1776
* ElectricFence/Makefile.am (check-local): use test instead of [
1778
* configure.in: AC_REPLACE_FUNCS(strdup)
1779
* libntp/strdup.c (strdup): Added.
1780
* libntp/Makefile.am (EXTRA_libntp_a_SOURCES): Added strdup.c
1782
* util/Makefile.am (ntp_genkeys_DEPENDENCIES): Use $U on .o files
1783
(ntp_genkeys_LDADD): ditto.
1785
* ntpd/ntp_crypto.c: Use NTP_KEYSDIR
1787
* util/ntp-genkeys.c (snifflink): Ignore ENOENT, too.
1789
* ntpd/ntp_proto.c (peer_xmit): Crypto cleanup
1790
* ntpd/ntp_crypto.c: Cleanup
1791
* ntpd/ntp_control.c: Join the club
1792
* ntpd/ntp_config.c: Call crypto_config() instead; we got rid of
1794
* include/ntp_crypto.h (CRYPTO_FLAG_ENAB): New crypto flags, rework
1795
* include/ntp_control.h (CS_FLAGS): Wiggle in.
1796
* include/ntp.h: Added crypto peer status to struct peer
1799
2000-08-03 Harlan Stenn <stenn@whimsy.udel.edu>
1801
* util/ntp-genkeys.c: Initialize path_keysdir to NTP_KEYSDIR.
1803
* configure.in (NTP_KEYSDIR): Added
1804
* acinclude.m4: Added AC_DEFINE_DIR macro
1806
* util/ntp-genkeys.c (main): Sanity checks on the file paths.
1808
2000-08-02 Harlan Stenn <stenn@whimsy.udel.edu>
1810
* util/ntp-genkeys.c (crypto_config): Only #ifdef PUBKEY
1811
(PATH_MAX): Try harder...
1813
2000-08-01 Harlan Stenn <stenn@whimsy.udel.edu>
1815
* util/ntp-genkeys.c (main): Use snifflink()
1816
(snifflink): Implement...
1818
* configure.in: Check for readlink()
1820
2000-07-31 Harlan Stenn <stenn@whimsy.udel.edu>
1822
* util/ntp-genkeys.c (main): Use strdup on the tokens returned
1824
(crypto_config): Fix a typo...
1825
(crypto_config): Even more...
1826
(usage): Flesh it out.
1828
* include/ntp_config.h:
1829
* ntpd/ntp_config.c: Move a whack of #defines to ntp_config.h so
1830
ntp-genkeys.c can see them, too.
1832
* util/ntp-genkeys.c: Add stubs to work with ../ntpd/ntp_config.o,
1833
start hooking things up.
1835
(crypto_config): better implementation
1838
* ntpd/ntp_config.c (getconfig):
1839
* ntpd/ntpd.c: Initialize "debug" here, not in ntp_config.c
1841
* util/Makefile.am (ntp_genkeys_LDADD): Added ../ntpd/ntp_config.o
1842
* util/Makefile.am (ntp_genkeys_DEPENDENCIES): Added.
1844
2000-07-30 Harlan Stenn <stenn@whimsy.udel.edu>
1846
* configure.in: 4.0.99k4
1847
* util/ntp-genkeys.c: Start hacking for new functionality.
1848
* include/Makefile.am (noinst_HEADERS): Added ntp_cmdargs.h and
1850
* ntpd/ntp_config.c: Grab ntp_cmdargs.h. Make some new globals
1851
(ugh), move ntpd-specific variables and code to cmd_args.c .
1852
* ntpd/cmd_args.c: Move command argument processing functions from
1853
ntp_config.c to this file.
1854
* ntpd/Makefile.am (ntpd_SOURCES): Added cmd_args.c
1855
* include/ntpd.h: Move getstartup() to ntp_cmdargs.h
1856
* include/ntp_cmdargs.h: New file
1857
Begin the hacking fest to make it easier for ntp-genkeys to use
1858
ntpd's config processing code. I really hope this is the lesser
1861
2000-07-28 Harlan Stenn <stenn@whimsy.udel.edu>
1863
* util/ntp-genkeys.c (usage): Added.
1865
* ntpd/ntp_crypto.c: Cleanup
1866
* ntpd/ntp_proto.c (transmit): Add some parens.
1867
(peer_xmit): Add ntohl when grabbing sndauto.seq for broadcast.
1868
* ntpd/ntp_peer.c (findpeer): Cleanup
1869
* ntpd/ntp_loopfilter.c (local_clock): Typo
1872
* include/ntp_config.h: Created
1874
* util/ntp-genkeys.c: Always build, but realize we may not have
1875
RSAREF. Compile parts appropriately.
1877
* util/Makefile.am (bin_PROGRAMS): Always make ntp-genkeys
1878
(ntp-genkeys_LDADD): Use $LIBRSAREF instead of the "real path"
1879
* configure.in: Lose MAKE_NTP_GENKEYS
1882
* util/ntp-genkeys.c:
1884
Renamed ntp_genkeys to ntp-genkeys.
1886
2000-07-27 Harlan Stenn <stenn@whimsy.udel.edu>
1888
* ntpdate/ntpdate.c (ntpdatemain): Cleanup error message.
1890
* ntpdate/ntpdate.c (ntpdatemain): Add missing authtrust() call
1891
From: Jason Heiss <jheiss@cruzeiro.ugcs.caltech.edu>
1893
* ntpd/refclock_ulink.c (ulink_receive):
1894
* ntpd/ntp_crypto.c:
1895
* libntp/authparity.c:
1897
From: Marc Brett <mbrett@rgs0.london.waii.com>
1899
* ntpd/ntp_proto.c: Specifically track manycastserver and
1903
2000-07-26 Sven Dietrich <sven_dietrich@trimble.com>
1905
* ntpd/ntpd.c: remove WINNT priority adjustment to the ports/winnt area
1906
where it does not clutter up the main distribution.
1908
2000-07-24 Harlan Stenn <stenn@whimsy.udel.edu>
1910
* ntpd/ntp_proto.c (receive): dstadr_sin needs higher visibility
1913
* flock-build: Added baldwin
1915
* ntpd/ntp_request.c:
1919
* ntpd/ntp_intres.c:
1920
* ntpd/ntp_crypto.c (make_keylist):
1921
* ntpd/ntp_control.c:
1922
* ntpd/ntp_config.c (CONF_MOD_IBURST, save_resolve):
1923
* include/ntpd.h (findpeerbyassoc, newpeer, peer_config, *_interface):
1924
* include/ntp_request.h (CONF_FLAG_IBURST):
1925
* include/ntp_crypto.h (crypto_xmit, make_keylist):
1926
* include/ntp.h (FLAG_IBURST):
1930
Add iburst option, fix broadcast/multicast and some types.
1933
2000-07-20 Harlan Stenn <stenn@whimsy.udel.edu>
1935
* scripts/Makefile.am (bin_SCRIPTS): Install ntp-wait
1937
* configure.in: 4.0.99k
1939
2000-07-19 Harlan Stenn <stenn@whimsy.udel.edu>
1941
* ntpd/ntp_proto.c (peer_xmit): PUBKEY cleanup
1943
2000-07-18 Harlan Stenn <stenn@whimsy.udel.edu>
1945
* configure.in: 4.0.99j5
1947
* html/ntpd.htm (HREF): Document other missing command-line options
1949
* html/ntpd.htm (HREF): Document
1950
* html/confopt.htm (href): Undocument
1951
* ntpd/ntp_config.c (getconfig): -N high for high-priority.
1952
Lose the ntp.conf way of setting priority.
1954
* ntpd/ntp_crypto.c: PUBKEY/AUTOKEY cleanup
1957
2000-07-17 Harlan Stenn <stenn@whimsy.udel.edu>
1959
* html/confopt.htm (href): Document it.
1960
* ntpd/ntp_config.c (getconfig): CONFIG_PRIORITY support
1961
* ntpd/ntpd.c (set_process_priority): Use it.
1963
* ntpd/ntp_crypto.c: Crypto key stuff
1964
* ntpd/ntp_proto.c: pubkey -> pubkey.ptr
1965
* ntpd/ntp_control.c (ctl_putpeer): fstamp -> pubkey.fstamp
1968
* include/ntp_types.h:
1969
* include/ntp_request.h:
1970
* include/ntp_crypto.h:
1971
* include/ntp_control.h:
1972
* include/ntp.h: Type cleanup
1975
2000-07-14 Harlan Stenn <stenn@whimsy.udel.edu>
1977
* ElectricFence/Makefile.am (check-local): Don't run the tests if
1978
we didn't build the programs...
1979
(check-local): Same, but watch the return codes...
1981
* ElectricFence/page.c: #include config.h if it's there.
1982
Properly handle the sys_errlist declaration.
1991
2000-07-13 Harlan Stenn <stenn@whimsy.udel.edu>
1993
* Makefile.am (SUBDIRS): Added ElectricFence
1994
* configure.in (AC_CONFIG_FILES): Added ElectricFence support
1995
* ElectricFence: Imporpted.
1997
2000-07-12 Harlan Stenn <stenn@whimsy.udel.edu>
1999
* util/ntp_genkeys.c (main): Cleanup
2000
* ntpd/refclock_wwv.c (wwv_qrz): sqrt -> SQRT
2001
* ntpd/refclock_chu.c (chu_rf): sqrt -> SQRT
2002
* ntpd/ntpd.c (set_process_priority): Disable high-priority for now.
2004
* ntpd/ntp_timer.c: sys_revoketime cleanup.
2005
* ntpd/ntp_proto.c (receive): PUBKEY cleanup. Comment and code
2007
(process_packet): Comment and code (PUBKEY) cleanup.
2008
(peer_xmit): Comment and code cleanup.
2009
(fast_xmit): Comment and code cleanup.
2010
* ntpd/ntp_peer.c (expire_all): revoketime cleanup. PUBKEY cleanup.
2011
* ntpd/ntp_crypto.c: Comment reorg. DH parameters are now
2012
file-static instead of local to subroutines.
2013
(make_keylist): peer->pcookie.key cleanup/fix
2014
(crypto_recv): Subroutine documentation cleanup, other cleanup
2015
(crypto_xmit): Cleanup/document.
2016
(crypto_setup): Cleanup/document.
2017
(crypto_agree): Cleanup/document.
2018
(crypto_rsa): now static
2019
(crypto_dh): now static. Comment cleanup. Code cleanup.
2020
(crypto_tai): now static. Code and comment cleanup.
2021
(crypto_config): Deal with CRYPTO_CONF_LEAP.
2022
* ntpd/ntp_control.c (CS_DHPARAMS): Rename corresponding token to
2023
"params". Remove CS_TAI from def_sys_var[].
2024
(ctl_putsys): CS_HOST, CS_DHPARAMSm CS_REVTIME, and CS_LEAPTIME
2025
bugfix. CS_TAI cleanup.
2026
* ntpd/ntp_config.c (CONF_CRYPTO_LEAP): Added
2027
(getconfig): Added CONF_CRYPTO_LEAP support.
2028
* include/ntp_syslog.h: Lose GIZMO stuff.
2029
* include/ntp_crypto.h (CRYPTO_CONF_LEAP): Added
2030
* include/ntp.h: struct autokey, cookie,value, and pkt changes for
2031
signature field. Update the inline docs on pkt's exten field.
2035
2000-07-08 Harlan Stenn <stenn@whimsy.udel.edu>
2037
* ntpd/ntp_util.c (stats_config): If we read a bogus old_drift,
2038
use 0 instead of failing.
2040
2000-07-03 Harlan Stenn <stenn@whimsy.udel.edu>
2042
* README.cvs: Cleanup.
2044
* ntpd/refclock_datum.c (datum_pts_poll): index -> unit_index
2045
* ntpd/ntp_resolver.c (findhostaddr): const cleanup
2046
* libntp/recvbuff.c:
2049
* libntp/authreadkeys.c:
2051
From: Simon Burge <simonb@netbsd.org>
2053
* ntpd/ntp_util.c (stats_config): Use HAVE_FINITE and HAVE_ISFINITE
2054
* configure.in (ac_cv_struct_ntptimeval_timespec): isfinite()
2056
From: Albert Chin-A-Young <china@thewrittenword.com>
2058
2000-07-02 Harlan Stenn <stenn@whimsy.udel.edu>
2060
* flock-build (LIST): Lose malarky, update some machine/OS descriptions
2062
* configure.in: 4.0.99j4
2064
* ntpq/ntpq.c: Lose PUBKEY stuff - older ntpq's will complain when
2065
they see the info in a packet.
2066
* ntpd/ntp_proto.c (peer_xmit): TAI changes.
2067
* ntpd/ntp_crypto.c: Fix host/network byteorder stuff. Follow
2068
global->struct changes. TAI changes. Bugfixes.
2069
* ntpd/ntp_control.c: Follow field reorder/rename.
2070
* include/ntp_crypto.h: Move crypto stuff from separate globals
2072
* include/ntp_control.h (CS_HOST): Reorder/rename some fields
2075
2000-06-30 Harlan Stenn <stenn@whimsy.udel.edu>
2077
* ntpd/ntp_peer.c (unpeer): Moved keystr cleanup inside ifdef PUBKEY
2079
* configure.in: 4.0.99j3
2084
Updates from Dave Mills
2086
* ntpd/ntp_request.c (dns_a): Don't call crypto_public for now...
2087
* ntpd/ntp_proto.c (receive): Follow the TEST wiggles
2088
(peer_xmit): TAI support
2089
* ntpd/ntp_crypto.c: TAI support
2090
* ntpd/ntp_control.c: CS_VERSION and CS_TAI support
2091
* include/ntp_crypto.h (CRYPTO_FLAG_TAI): Added.
2092
* include/ntp_control.h (CS_VERSION): Added.
2093
* include/ntp.h (TEST4,TEST5,TEST8,TEST9): Wiggle.
2096
* ntpd/Makefile.am (ntpd_SOURCES): Lose refclock_ulink331.c
2097
because the new refclock_ulink.c handles it.
2099
2000-06-28 Harlan Stenn <stenn@whimsy.udel.edu>
2101
* ntpd/ntp_config.c (getconfig): Sanity check the right variable
2104
2000-06-25 Harlan Stenn <stenn@whimsy.udel.edu>
2106
* configure.in: 4.0.99j2
2110
* ntpd/ntp_crypto.c:
2111
* include/ntp_crypto.h:
2113
AUTOKEY/PUBKEY/DH/crypto changes
2116
2000-06-23 Harlan Stenn <stenn@whimsy.udel.edu>
2118
* html/driver34.htm:
2119
* ntpd/refclock_ulink.c:
2120
* ntpd/refclock_ulink331.c: (removed)
2121
Updated for 320/330 series refclocks
2122
From: joseph lang <tcnojl1@earthlink.net>
2124
* ntpd/refclock_oncore.c: Patches/improvements
2125
* html/driver30.htm: New release
2126
From: Reg Clemens <reg@orion.dwf.com>
2128
2000-06-17 Harlan Stenn <stenn@whimsy.udel.edu>
2130
* configure.in: 4.0.99j1
2132
* ntpdc/ntpdc.c (getcmds):
2135
From: Aaron Sherman <ajs@narn.ajs.com>
2137
* ntpd/refclock_ulink331.c: Added.
2138
Sent in by Doug Grosso <dgrosso@mint.net>
2139
* ntpd/Makefile.am (ntpd_SOURCES): Added refclock_ulink331.c
2141
* libntp/snprintf.c: Added stdio.h
2142
From: Marc Brett <mbrett@rgs0.london.waii.com>
2144
* include/ntp.h: struct autokey's siglen is u_int32. So is the
2145
siglen in struct cookie. So is siglen and value length in struct
2146
value. Add fstamp to struct peer. Resize the exten AUTOKEY field
2148
* include/ntp_crypto.h: crypto_enable -> crypto_flags and a
2149
variety of other cleanups.
2150
* ntpd/ntp_config.c: crypto_enable -> crypto_flags, and some
2152
* ntpd/ntp_control.c: Much cleanup.
2153
* ntpd/ntp_crypto.c: Many changes that Harlan is too tired to
2155
* ntpd/ntp_peer.c: crypto_enable -> crypto_flags
2156
(peer_config): Hold off on crypto_public() until some resolver
2158
* ntpd/ntp_proto.c (receive): Disable the reverse DNS lookup for now.
2159
(process_packet): Don't record_raw_stats() for now.
2160
crypto_enable was renamed to crypto_flags.
2161
(peer_xmit): In MODE_ACTIVE or MODE_PASSIVE, only call
2162
crypto_xmit() if the peer->cmmd is not CRYPTO_AUTO. Reset
2163
peer->cmmd to 0 when we're thru.
2164
Don't reset peer->cmmd to 0 until the end of MODE_CLIENT.
2165
* ntpd/ntpd.c: Lose the call to crypto_init(). Instead, call
2166
crypto_setup() later on if we have crypto_flags.
2167
* util/ntp_genkeys.c: Lose GENLEN; use PRIMELEN/2 .
2170
* ntpd/ntp_crypto.c (crypto_rsa):
2172
Do some debug logging if readlink() fails with something other
2173
than EINVAL (file isn't a symlink).
2175
2000-06-04 James R. Van Zandt <jrv@vanzandt.mv.com>
2177
* html/miscopt.htm (trap): punctuation
2179
* html/ntpd.htm (-g): typo
2181
* html/miscopt.htm (logconfig): List the "clock" event class.
2182
"allprefix" should be two words.
2184
2000-05-31 Harlan Stenn <stenn@whimsy.udel.edu>
2186
* ntpd/ntp_timer.c: Protect <unistd.h>
2188
2000-05-30 Harlan Stenn <stenn@whimsy.udel.edu>
2190
* ntpd/Makefile.am: Document what we expect from -lm
2192
2000-05-29 Harlan Stenn <stenn@whimsy.udel.edu>
2194
* configure.in: 4.0.99j
2196
2000-05-22 Harlan Stenn <stenn@whimsy.udel.edu>
2198
* html/ntptime.htm: More fixes
2199
From: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2201
2000-05-16 Harlan Stenn <stenn@whimsy.udel.edu>
2205
* configure.in: Lose the "md5" options from the --with-crypto
2206
check; Dave hates it.
2208
* ntpd/ntp_util.c (stats_config):
2209
* ntpd/ntp_loopfilter.c (loop_config):
2210
* libntp/systime.c (adj_systime):
2211
* include/ntp_proto.h (NTP_MAXFREQ):
2212
Renamed MAX_FREQ to NTP_MAXFREQ
2214
* ntpd/ntpd.c (ntpdmain):
2215
* ntpd/ntp_proto.c (receive):
2217
* ntpd/ntp_intres.c (addentry):
2218
* ntpd/ntp_config.c (getconfig):
2220
From: Marc Brett <mbrett@rgs0.london.waii.com>
2222
* include/ntp_stdlib.h:
2223
* libntp/systime.c (adj_systime):
2224
* ntpd/ntp_loopfilter.c (loop_config):
2225
* ntpd/ntp_util.c (stats_config):
2226
* ports/winnt/ntpd/nt_clockstuff.c (adj_systime):
2228
* include/ntp_proto.h: Define MAX_FREQ
2230
2000-05-15 Harlan Stenn <stenn@whimsy.udel.edu>
2232
* include/ntp_stdlib.h:
2233
* libntp/systime.c (adj_systime):
2234
* ntpd/ntp_loopfilter.c (loop_config):
2235
* ntpd/ntp_util.c (stats_config):
2236
* ports/winnt/ntpd/nt_clockstuff.c (adj_systime):
2237
sys_maxfreq -> MAXFREQ
2240
2000-05-14 Harlan Stenn <stenn@whimsy.udel.edu>
2242
* acinclude.m4: Typo...
2244
2000-05-13 Harlan Stenn <stenn@whimsy.udel.edu>
2246
* libntp/gpstolfp.c (GPSORIGIN): Try new ULONG_CONST macro
2248
* ntpdate/ntptimeset.c:
2249
* ntpdate/ntpdate.h:
2250
* ntpd/refclock_oncore.c (oncore_msg_En):
2251
* ntpd/ntp_util.c (stats_config):
2252
* ntpd/ntp_request.c:
2253
* ntpd/ntp_intres.c (findhostaddr):
2254
* ntpd/ntp_config.c (getconfig):
2255
* libntp/systime.c (adj_systime):
2256
* libntp/lib_strbuf.c:
2257
* libntp/authparity.c:
2260
From/reported by: Simon Burge <simonb@netbsd.org>
2262
* ntpd/ntp_resolver.c (findhostaddr): Compiler noise cleanup
2264
* ntpd/ntp_intres.c: Compiler noise cleanup
2266
* html/ntptime.htm: Document reality check
2267
From: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2269
2000-05-12 Harlan Stenn <stenn@whimsy.udel.edu>
2271
* ntpd/ntp_intres.c (ntp_intres): Quiet some debug messages
2272
Reported by: Brian Bergstrand <brianb@mac.com>
2274
2000-05-11 Harlan Stenn <stenn@whimsy.udel.edu>
2276
* scripts/mkver.in (ConfStr): Use -r if we're using RSAREF,
2277
otherwise use -a if we're using autokey, otherwise use no extra
2280
2000-05-11 Sven Dietrich <sven_dietrich@trimble.com>
2282
* ports/winnt/include/config.h: New defines to support AUTOKEY
2283
* ports/winnt/include/unistd.h: Added another dummy placeholder.h
2284
* ports/winnt/ntpd/ntpd.dsp: Added ntp_crypt.c to makefile
2285
* ports/winnt/ntpd/ntpd.c: service_main needs a local hostname[]
2286
* html/hints/winnt.htm: Add remark about 4.0.99i not compiling.
2287
These changes got WINNT running again. No idea if the keys stuff
2290
2000-05-10 Harlan Stenn <stenn@whimsy.udel.edu>
2292
* configure.in: 4.0.99i9
2294
* ntpd/ntp_crypto.c: tstamp and autokey cleanup
2297
* ntpd/ntp_proto.c (clock_update): Only call expire_all() if
2299
From many folks, including Reg Clemens <reg@dwf.com>
2301
2000-05-07 Harlan Stenn <stenn@whimsy.udel.edu>
2303
* configure.in: 4.0.99i8
2305
* flock-build: Use new --with-crypto choices
2306
* build (KEYSUF): Deal with new --with-crypto
2307
* configure.in: --with-crypto={md5,autokey,rsaref};
2308
lose --enable-autokey
2310
2000-05-06 Harlan Stenn <stenn@whimsy.udel.edu>
2312
* build (KEYSUF): Catch --disable-autokey first.
2314
2000-05-05 Harlan Stenn <stenn@whimsy.udel.edu>
2316
* flock-build: If we don't use autokey, don't use rsaref either.
2318
* configure.in: 4.0.99i7
2322
It's --disable-autokey now
2324
* configure.in: MD5 is not optional (but AUTOKEY is)
2325
* include/ntp_stdlib.h:
2326
* libntp/a_md5encrypt.c:
2327
* libntp/authkeys.c:
2333
* libntp/authreadkeys.c:
2335
* ntpd/ntp_proto.c (init_proto):
2336
* libntp/authusekey.c:
2339
2000-05-04 Harlan Stenn <stenn@whimsy.udel.edu>
2341
* configure.in: 4.0.99i6
2343
* ntpd/ntp_proto.c (transmit): Fix up the UNREACH code.
2344
(receive): Lose some debug code.
2345
(clock_update): expire_all() if LEAP_NOTINSYNC
2346
crypto_xmit() a CRYPTO_AUTO if !FLAG_AUTOKEY instead of recauto.tstamp
2347
crypto_xmit() a CRYPTO_PRIV (not CRYPTO_AUTO) based on pcookie.tstamp
2348
crypto_xmit() a CRYPTO_AUTO (not CRYPTO_PRIV) based on FLAG_MCAST2
2350
* ntpd/ntp_crypto.c (crypto_recv): Clean up debug output.
2351
Don't AUTOKEY if FLAG_MCAST2
2354
* flock-build: Also make obe withouyt md5 (no AUTOKEY)
2355
* build (BDIR): Handle -noautokey build directory suffix
2356
* configure.in: Prepare for AUTOKEY in mkver.in
2357
* scripts/mkver.in (ConfStr): Indicate in the version string if
2358
we're not using AUTOKEY.
2360
2000-05-03 Harlan Stenn <stenn@whimsy.udel.edu>
2362
* scripts/ntp-wait.in: Fun things with backspaces
2364
* configure.in: 4.0.99i5
2366
* ntptrace/ntptrace.c: Protect sys/ioctl.h; grab config.h
2368
* ntpd/ntp_proto.c (transmit): AUTOKEY and tstamp fixes.
2369
(clock_update): Check oleap against LEAP_NOTINSYNC
2370
(peer_clear): Free pubkey when we're done
2371
Check peer's keynumber against the seq in MODE_BROADCAST.
2372
Reorder tstamp changes.
2373
* ntpd/ntp_crypto.c (crypto_recv): Check the packet if we get a
2374
CRYPTO_RESP and reorder the update of tstamp.
2375
(crypto_recv): Don't expire the peer until we're thru with it.
2376
* include/ntp.h: AUTOKEY and pkeyid changes
2379
* ntpdate/ntpdate.c: Protect sys/ioctl.h
2381
2000-05-01 Harlan Stenn <stenn@whimsy.udel.edu>
2383
* configure.in: 4.0.99i4
2386
* include/ntp_crypto.h:
2388
* ntpd/ntp_crypto.c:
2391
* util/ntp_genkeys.c:
2392
Dave Mills closed some potential vulnerabilities in the key protocol.
2394
2000-04-28 Harlan Stenn <stenn@whimsy.udel.edu>
2396
* configure.in: 4.0.99i3
2398
* ntpd/ntp_proto.c: Just check tstamp, forget about sndauto.seq
2399
* ntpd/ntp_crypto.c (crypto_recv): Lose inappropriate ntohl()
2400
conversion on tstamp.
2401
AUTOKEY if tstamp>0, not !=
2402
Stash tstamp before we check pcookie.key (several places)
2403
* ntpd/ntp_control.c (ctl_putpeer): In CP_INITSEQ, check
2404
recauto.key, not keylist.
2407
2000-04-27 Harlan Stenn <stenn@whimsy.udel.edu>
2409
* configure.in: 4.0.99i2
2411
* ntpq/ntpq.c: PUBKEY stuff
2412
* ntpd/ntp_proto.c (clock_select): nreach, and better survivor pick.
2413
* ntpd/ntp_peer.c (newpeer): Better nextdate choice.
2414
* ntpd/ntp_control.c (ctl_putsys): Buglet in CS_HOSTNAM code.
2417
2000-04-24 Harlan Stenn <stenn@whimsy.udel.edu>
2419
* build (IAM): Show hostname if we trip a buildkey check.
2421
2000-04-23 Harlan Stenn <stenn@whimsy.udel.edu>
2423
* build: deal with optional 1st argument (SIG), which must match
2424
the contents of .buildkey
2426
* flock-build: Generalize, implement SIG and .buildkey, and drive
2427
list from LIST, which the user can override.
2429
2000-04-21 Harlan Stenn <stenn@whimsy.udel.edu>
2431
* configure.in: 4.0.99i1
2432
Dave updated some docs, implemented the kpoll variable, and
2433
wiggled a host/network byte order thing in the crypto key code.
2435
2000-04-16 Harlan Stenn <stenn@whimsy.udel.edu>
2437
* ntpd/refclock_wwvb.c (wwvb_receive): Grab any character (instead
2438
of just a space) before the DSTchar.
2441
2000-04-11 Harlan Stenn <stenn@whimsy.udel.edu>
2443
* configure.in: 4.0.99i
2445
Dave made some documentation updates.
2447
2000-04-08 Harlan Stenn <stenn@whimsy.udel.edu>
2449
* flock-build: Add malarky. By default, --enable-parse-clocks.
2450
Start 2 builds, one with and the other without rsaref.
2452
* configure.in: 4.0.99h6
2453
Dave improved the crypto stuff some more.
2455
2000-04-05 Harlan Stenn <stenn@whimsy.udel.edu>
2457
* ntpd/refclock_acts.c (acts_receive): Do a better job with year
2458
conversions and leap-year checks. The PTB stuff caught this.
2459
Reported by: Daniel.Aeby@eam.admin.ch
2461
2000-04-02 Harlan Stenn <stenn@whimsy.udel.edu>
2463
* ntpd/refclock_atom.c (atom_pps): Bugfix
2464
From: Philippe Charnier <charnier@xp11.frmug.org>
2466
2000-03-30 Harlan Stenn <stenn@whimsy.udel.edu>
2468
* libparse/clk_wharton.c (cvt_wharton_400a): Do not return
2469
CVT_NONE when receiving the early warning bit set.
2470
From: Philippe De Muyter <phdm@macqel.be>
2472
* configure.in: 4.0.99h5
2473
Dave made more changes to the auth key stuff.
2475
2000-03-29 Harlan Stenn <stenn@whimsy.udel.edu>
2477
* configure.in: 4.0.99h4
2478
Dave made a bunch of changes/fixes to the auth key stuff.
2480
2000-03-22 Harlan Stenn <stenn@whimsy.udel.edu>
2482
* ntpd/ntp_resolver.c: Typos.
2484
2000-03-21 Harlan Stenn <stenn@whimsy.udel.edu>
2486
* configure.in: 4.0.99h3
2488
* ntpd/ntp_intres.c: Use LOG_INFO instead of LOG_DEBUG.
2489
* ntpd/ntp_resolver.c: Ditto.
2491
2000-03-20 Harlan Stenn <stenn@whimsy.udel.edu>
2493
* util/Makefile.am (ntp_genkeys_LDADD): Might need snprintf (-lntp)
2495
* librsaref/Makefile.am (stamp-rsaref): nodist_HEADERS are not
2496
supoprted yet. Hack around it.
2498
* ntpd/ntp_resolver.c (findhostaddr): hstrerror isn't always available.
2500
* configure.in: Look for hstrerror.
2502
* util/ntp_genkeys.c (main): Use snprintf, not sprintf.
2504
* ntpd/ntp_crypto.c: Use gethostname, not uname
2505
* util/ntp_genkeys.c: Ditto
2508
2000-03-19 Harlan Stenn <harlan@pfcs.com>
2510
* ntpd/ntp_proto.c (receive): Rename ntp_res_send() to
2511
ntp_res_name() and adjust the number of arguments.
2512
* ntpd/ntp_resolver.c (ntp_res_name): Ditto
2513
* include/ntpd.h: Ditto
2515
* ntpd/ntp_resolver.c: Add de_done to the dns_entry structure.
2517
2000-03-18 Harlan Stenn <stenn@whimsy.udel.edu>
2519
* configure.in: 4.0.99h2
2521
* libparse/Makefile.am (info_trimble.c): Use $(srcdir)/foo.sed
2522
instead of foo.sed .
2524
* librsaref/Makefile.am (stamp-rsaref): Copy each file to the build
2525
directory, not to the source directory. This sucks; it wastes
2526
space (but it's more portable).
2528
* configure.in (ac_busted_vpath_in_make): Add FreeBSD. I bet all
2529
systems that use pmake will need this.
2530
(ac_busted_vpath_in_make): Remove FreeBSD - I found a workaround.
2532
* Makefile.am: General cleanup
2534
* configure.in: 4.0.99h1
2536
* ntpd/ntp_resolver.c: Lose unneeded header.
2538
2000-03-17 Harlan Stenn <stenn@whimsy.udel.edu>
2540
* libntp/snprintf.c: #include <config.h>
2542
* libntp/Makefile.am (EXTRA_libntp_a_SOURCES): Use it correctly...
2544
2000-03-16 Harlan Stenn <stenn@whimsy.udel.edu>
2546
* libntp/Makefile.am (EXTRA_DIST): Added snprintf.c
2548
* configure.in: Look for (and provide if it's missing) snprintf()
2550
* ntpd/ntp_request.c (dns_a): Call crypto_public with the resolved
2551
name and the peer pointer.
2552
(dns_a): crypto_public() is only available if PUBKEY is #defined.
2554
* ntpd/ntp_crypto.c (crypto_public): sprintf is Evil. Use snprintf.
2555
(crypto_setup): Ditto
2556
(crypto_read): Ditto
2558
* ntpd/ntp_resolver.c (ntp_res_send): Lose some debugging noise.
2560
* ntpd/ntp_config.c (getconfig): Lose testing code.
2562
* ntpd/ntp_request.c (dns_a): Fix buglet in hostname length check.
2564
2000-03-16 Harlan Stenn <harlan@pfcs.com>
2566
* ntpd/ntp_request.c (dns_a): Start cracking the returned information.
2568
2000-03-15 Harlan Stenn <stenn@whimsy.udel.edu>
2570
* ntpd/ntp_resolver.c (ntp_res): Authenticate the keyid.
2572
* ntpd/ntp_crypto.c (crypto_line): Fix definition
2573
(crypto_read): Ditto.
2575
* ntpd/ntp_config.c (getconfig): Move req_keyid generation here.
2577
* librsaref/Makefile.am (BUILT_SOURCES): Cleanup more nodist_ stuff.
2579
2000-03-14 Harlan Stenn <stenn@whimsy.udel.edu>
2581
* build (RSASUF): If we have rsaref2/ and are building
2582
--without-rsaref, note it as a build-directory suffix.
2584
* configure.in: 4.0.99h
2587
* librsaref/Makefile.am (nodist_librsaref_a_SOURCES): Added nodist_
2589
2000-02-28 Harlan Stenn <stenn@whimsy.udel.edu>
2591
* configure.in: Lose the changequote calls and fix the quoting.
2592
Reported by: Akim Demaille <akim@epita.fr>
2594
* ntpd/ntp_request.c: Log various error conditions.
2596
2000-02-27 Harlan Stenn <stenn@whimsy.udel.edu>
2598
* configure.in: 4.0.99g
2600
* ntpd/ntpd.c: Only log EINTR if debug > 2.
2602
2000-02-25 Harlan Stenn <stenn@whimsy.udel.edu>
2604
* scripts/mkver.in (ConfStr): Use `-r' when configured with crypto.
2606
* ntpd/refclock_wwvb.c (wwvb_receive): Undo the previous chagne.
2608
2000-02-24 Harlan Stenn <stenn@whimsy.udel.edu>
2610
* ntpd/refclock_wwvb.c (wwvb_receive): LENWWVB0 can return 6 or 7
2612
From: Michael Sinatra <msinatra@uclink4.berkeley.edu>
2613
with a cleanup from Ulrich.
2615
* scripts/mkver.in (ConfStr): Make RSAREF appear as part of the
2618
2000-02-21 Sven Dietrich <sven_dietrich@trimble.com>
2620
* ports/winnt/include/config.h: Enable MD5 and RANDOM by default
2621
* ports/winnt/libntp/SetSystemTime.c: Fix warning and const declaration
2622
From: Carl Byington <carl@five-ten-sg.com>
2624
2000-02-21 Harlan Stenn <stenn@whimsy.udel.edu>
2626
* Makefile.am (SUBDIRS): Make librsaref right after includes so we
2627
can copy any needed header files over.
2629
* libntp/Makefile.am (INCLUDES): Also look in librsaref for des.h
2630
* ntpd/Makefile.am (INCLUDES): Ditto
2631
* util/Makefile.am (INCLUDES): Ditto
2633
* librsaref/Makefile.am (librsaref_a_SOURCES): Use the des.h from
2634
the rsaref2 distribution.
2636
* include/Makefile.am (noinst_HEADERS): No, we don't want des.h
2638
2000-02-20 Harlan Stenn <stenn@whimsy.udel.edu>
2640
* include/Makefile.am (noinst_HEADERS): Add des.h
2642
2000-02-19 Harlan Stenn <stenn@whimsy.udel.edu>
2644
* ntpd/ntp_config.c (do_resolve_internal): Try Real Hard to
2645
generate a full random key.
2646
From: Carl Byington <carl@five-ten-sg.com>
2648
* include/ntp.h: Now we know we have either mrand48() or random().
2649
* configure.in: If we have mrand48, use it. Otherwise, use (and
2650
provide if necessary) random().
2651
* libntp/Makefile.am (EXTRA_DIST): random.c
2652
* libntp/random.c: Added.
2654
2000-02-18 Harlan Stenn <stenn@whimsy.udel.edu>
2656
* librsaref/Makefile.am (stamp-rsaref): Typo
2658
* configure.in (ac_cv_func_ctty_for_f_setown): Yes for OpenBSD
2659
(ac_cv_var_ntp_syscalls): Fix quoting of description
2660
From: Jonathan Rozes <jrozes@vinton.com>
2662
* librsaref/Makefile.am: Fix stamp-rsaref dependency order.
2664
* configure.in: 4.0.99f
2666
2000-02-17 Harlan Stenn <stenn@whimsy.udel.edu>
2668
* ntpd/refclock_mx4200.c: Remove the DOP-weighted position
2669
averaging code and revert to a simple mean average. The weighted
2670
average consistently produced a *worse* result. Go figure.
2671
* html/mx4200data.htm: Cleanup, reflect current reality.
2672
* html/driver9.htm: Cleanup, reflect current reality.
2673
* html/copyright.htm: Cleanup, and credit where credit is due.
2674
From: Marc.Brett@westgeo.com
2676
* ntpd/refclock_oncore.c: Cleanup/fixes
2677
* html/driver30.htm: Cleanup
2678
* html/Oncore-SHMEM.htm: Cleanup
2679
From: Reg Clemens <reg@dwf.com>
2681
2000-02-16 Sven Dietrich <sven_dietrich@trimble.com>
2683
* winnt/scripts/mkver.bat: Frederick Czajka [w2k@austin.rr.com]
2684
winnt/ntpq/ntpq.dsp: modified mkver.bat to eliminate the
2685
winnt/ntpd/ntpd.dsp: need to have Perl installed and the
2686
winnt/ntpdc/ntpdc.dsp: PERL environment variable to be set.
2687
winnt/ntpdate/ntpdate.dsp:
2688
winnt/ntptrace/ntptrace.dsp: Thanks, Frederick!
2690
* ntpd/refclock_nmea.c: Correctly interpret the quality indicator.
2692
2000-02-15 Harlan Stenn <stenn@whimsy.udel.edu>
2694
* ntpd/refclock_nmea.c: Correctly interpret the quality indicator.
2695
Deal with the time supplied in centiseconds. GPGCA/GPGGA cleanup.
2696
From: Andrew Hood <ajhood@fl.net.au>
2698
* libparse/Makefile.am (K_CFLAGS): Use instead. Add NEED_NTP_BOPS.
2700
2000-02-10 Harlan Stenn <stenn@whimsy.udel.edu>
2702
* scripts/ntp-wait.in: Intensify, including some suggestions from
2705
* configure.in: 4.0.99e
2707
* scripts/ntp-wait.in: Lose cruft, sleep after each try.
2709
* scripts/ntp-restart: It's ntpd now. Also, call ntp-wait.
2711
* configure.in (AC_CONFIG_*): New scripts that use PATH_PERL
2713
* scripts/Makefile.am (noinst_SCRIPTS): Added ntp-wait
2714
(noinst_SCRIPTS): Added all of the scripts that now use PATH_PERL
2716
* configure.in: Get the path to perl
2717
(AC_CONFIG_*): Added scripts/ntp-wait
2719
* ntptrace/ntptrace.c (DoTrace): If the server's srcadr is 0.0.0.0
2720
then we haven't synced yet. Note and punt.
2721
Reported by: Bdale Garbee <bdale@gag.com>,http://bugs.debian.org/56551
2723
2000-02-09 Harlan Stenn <stenn@whimsy.udel.edu>
2725
* ports/winnt/include/config.h: Typo (CLOCK_PALISADE comment)
2726
From: Carl Byington <carl@five-ten-sg.com>
2728
* configure.in: Disable kernel_fll_bug for Generic_105181-17 under
2730
From: Juergen Georgi <georgi@belwue.de>
2732
2000-02-07 Harlan Stenn <stenn@whimsy.udel.edu>
2734
* configure.in: 4.0.99d
2736
* html/Oncore-SHMEM.htm: New document
2737
* html/driver30.htm: Cleanup and improvements
2738
From: Reg Clemens <reg@dwf.com>
2740
2000-01-30 Harlan Stenn <stenn@whimsy.udel.edu>
2742
* ntpd/refclock_oncore.c: Patches/improvements
2743
From: Reg Clemens <reg@dwf.com>
2745
2000-01-29 Harlan Stenn <stenn@whimsy.udel.edu>
2747
* configure.in: 4.0.99c
2749
2000-01-28 Harlan Stenn <stenn@whimsy.udel.edu>
2751
* configure.in: Autoconf update...
2753
* ntpdate/ntpdate.c (ntpdatemain): Typo
2754
From: Jack Bryans <jbryans@csulb.edu>
2756
* Makefile.am (EXTRA_DIST): Add flock-build. Probably UDel specific...
2758
2000-01-23 Harlan Stenn <stenn@whimsy.udel.edu>
2760
* ntpd/check_y2k.c (main): Reformat for ansi2knr
2762
* configure.in (AC_OUTPUT): Revert to obsolete form until automake
2765
2000-01-22 Harlan Stenn <stenn@whimsy.udel.edu>
2767
* configure.in: Use AC_CHECK_TYPES((s_char)) instead of
2769
(ac_cv_var_kernel_fll_bug): Generic_106541-08 is apparently OK, too.
2771
* scripts/Makefile.am (EXTRA_DIST): Need to explicitly distribute
2772
mkver.in and ntpver.in now, apparently.
2773
* configure.in: Search for the various audio_info members so the
2774
printing in audio_show is less of a circus. This required an
2775
autoconf upgrade. Major sigh.
2777
* libntp/audio.c (audio_show): Clean up (more) properly.
2779
2000-01-21 Sven Dietrich <sven_dietrich@trimble.com>
2781
* Add pointer to html/hints/winnt.htm to INSTALL file
2782
* Fix NT makefiles to accomodate at least one weird
2783
version of Visual C that can't handle the LFs without
2786
2000-01-20 Sven Dietrich <sven_dietrich@trimble.com>
2788
* Update Copyright in Palisade driver to 2000
2789
* Fix Palisade MIN & MAX POLL to optimal values
2791
2000-01-19 Harlan Stenn <stenn@whimsy.udel.edu>
2793
* html/driver7.htm: Patches from Dave Mills
2794
* html/driver36.htm: Patches from Dave Mills
2796
* html/copyright.htm: Added Kamal Mostafa
2798
2000-01-19 Harlan Stenn <stenn@whimsy.udel.edu>
2800
* configure.in: 4.0.99b
2802
2000-01-18 Harlan Stenn <stenn@whimsy.udel.edu>
2804
* ntpd/refclock_chu.c: NCHAN is used with generic ICOM.
2806
* ntpd/refclock_wwv.c: Use new audio stuff
2807
* ntpd/refclock_irig.c: Use new audio stuff
2808
* ntpd/refclock_chu.c: Use new audio stuff
2809
* ntpd/ntp_proto.c: Clean up
2810
* ntpd/ntp_loopfilter.c (local_clock): Clean up error message
2811
* include/icom.h: Number of arguments changed
2812
* libntp/Makefile.am (libntp_a_SOURCES): Added audio.c
2813
* libntp/audio.c: New file
2814
* include/Makefile.am (noinst_HEADERS): audio.h added
2815
* include/audio.h: New file
2816
From: Dave Mills <mills@udel.edu>
2818
* scripts/freq_adj: Added. FreeBSD frequency adjustment script.
2820
* configure.in: Do a better job on my oncore_ok check for SCO.
2822
2000-01-15 Harlan Stenn <stenn@whimsy.udel.edu>
2824
* configure.in: 4.0.99a
2826
* scripts/ntpsweep: New version
2827
* html/copyright.htm: Added Hans Lambermont
2828
From: Hans Lambermont <Hans.Lambermont@nl.origin-it.com>
2830
2000-01-14 Harlan Stenn <stenn@whimsy.udel.edu>
2832
* ntpd/refclock_oncore.c (oncore_start): Only dance with the
2833
pps_device if it's there.
2836
* configure.in: ONCORE is OK if ac_cv_hdr_def_tiocdcdtimestamp=yes
2838
* build: Just overwrite the log file each time; sometimes NFS goes
2841
* ntpd/refclock_fg.c: Syntax/punctuation cleanup
2843
2000-01-13 Harlan Stenn <stenn@whimsy.udel.edu>
2845
* scripts/ntpsweep: New version
2846
From: Hans Lambermont <Hans.Lambermont@nl.origin-it.com>
2848
* ntpd/refclock_fg.c: New version
2849
* html/driver37.htm: New version
2850
From: Dmitry Smirnov <das@online.nsk.su>
2852
2000-01-12 Harlan Stenn <stenn@whimsy.udel.edu>
2854
* README.des: Cleanup
2856
2000-01-12 Harlan Stenn <stenn@whimsy.udel.edu>
2858
* configure.in: 4.0.99
2860
* html/driver36.htm: Cleanup
2861
* html/monopt.htm: Ditto
2862
From: Dave Mills <mills@udel.edu>
2864
* ntpd/ntp_intres.c (ntp_intres): Put "NTP_INTRES running" at a
2867
2000-01-11 Harlan Stenn <stenn@whimsy.udel.edu>
2869
* ntpd/refclock_wwv.c: More improvements
2870
From: Dave Mills <mills@udel.edu>
2872
2000-01-10 Harlan Stenn <stenn@whimsy.udel.edu>
2874
* ntpd/refclock_wwv.c: Bugfixes/improvements
2875
From: Dave Mills <mills@udel.edu>
2877
* configure.in: Get the quoting right on the sys_errlist check.
2878
From documentation by: Akim Demaille <akim@epita.fr>
2880
2000-01-08 Harlan Stenn <stenn@whimsy.udel.edu>
2882
* configure.in: <netinet/ip.h> cannot be detected...
2883
* ntpd/ntp_io.h: ...but every OS has it
2884
* ntpd/refclock_oncore.c: Lint removal
2885
* ntpq/ntpq_ops.c: Lint removal
2886
* ntpq/refclock_chu.c: chu_major() is not an audio routine (?), lint
2887
* libntp/icom.c: AIX doesn't have <sys/termios.h>
2888
From: Marc.Brett@westgeo.com
2890
* ntpd/refclock_chu.c: NetBSD needs sys/ioctl.h
2891
(chu_debug): NetBSD-specific debug output.
2892
From: Frederick Bruckman <fb@enteract.com>
2894
2000-01-06 Harlan Stenn <stenn@whimsy.udel.edu>
2896
* configure.in: 4.0.98m
2897
I skipped `l' - it looks like a `1'.
2899
* html/driver7.htm: Doc update
2900
* html/driver36.htm: Ditto
2901
* html/audio.htm: Ditto
2903
* ntpd/refclock_wwv.c: Dvae snuck another fix/change in on me.
2905
* configure.in: 4.0.98k
2907
* ntpd/refclock_chu.c (chu_start): Call icom_init with the speed
2908
* ntpd/refclock_wwv.c (wwv_start): Ditto, plus other improvements.
2909
* libntp/icom.c (icom_init): Add speed parameter
2910
* include/icom.h: Update declaration
2911
From: Dave Mills <mills@udel.edu>
2913
* include/Makefile.am (noinst_HEADERS): Added icom.h
2914
From: Frederick Bruckman <fb@enteract.com>
2916
2000-01-05 Harlan Stenn <stenn@whimsy.udel.edu>
2918
* configure.in: 4.0.98j
2920
* ntpd/refclock_wwv.c (timecode): Make definition == declaration
2921
(wwv_newchan): Ditto
2922
(wwv_corr4): Dave fixed the declaration.
2924
* flock-build: Add rackety to the flock - it runs SunOS 4.1.3/cc
2926
* ntpd/refclock_wwv.c: Undo that declaration cleanup for now...
2928
* ntpd/ntp_io.c (open_socket): TOS support
2929
From: Marc.Brett@westgeo.com
2931
2000-01-04 Harlan Stenn <stenn@whimsy.udel.edu>
2933
* ntpd/refclock_wwv.c: Declaration cleanup
2934
* ntpd/refclock_fg.c (fg_receive): Not all sprintf's are created
2936
From: Marc.Brett@westgeo.com
2938
* ntpd/refclock_wwv.c: Dave Cleaned and Improved things.
2939
* ntpd/ntp_loopfilter.c (local_clock): Dave fixed something.
2941
* ntpd/refclock_wwv.c: Rename max to p_max or s_max as appropriate
2942
to avoid native SunOS compiler collision.
2943
(wwv_epoch): Make declaration == definition
2945
(wwv_newchan): Ditto
2949
* ntpd/refclock_oncore.c (oncore_init_shmem): Use a cast to widen
2952
* ntpd/refclock_chu.c (chu_rf): Make declaration == definition.
2953
Rename min/max to es_min/es_max to avoid native SunOS compiler
2955
(chu_uart): Make declaration == definition.
2957
* libntp/icom.c (sndpkt): Make declaration and definition equivalent.
2958
(doublefreq): Ditto.
2960
* ntpd/refclock_oncore.c (MAP_FAILED): Some systems do not #define
2963
* ntpd/refclock_wwv.c:
2964
* ntpd/refclock_chu.c:
2966
* libntp/Makefile.am:
2969
* html/driver36.htm:
2970
Support for ICOM. The WWV/H driver, by the way, is getting truly
2971
awesome. The CHU autotune function works okay as it is. I'd like
2972
to find somebody else to test the audio drivers just to make sure
2973
I haven't done something stupid. There is a new define ICOM
2974
intended for the driver autotune function; however, I crafted the
2975
thing in much the same way as the refclock_atom.c thing - it tries
2976
to open /dev/icom and, if that fails, goes quietly to sleep.
2977
From: Dave Mills <mills@udel.edu>
2979
2000-01-03 Harlan Stenn <stenn@whimsy.udel.edu>
2981
* ntpd/refclock_oncore.c (oncore_read_config): Patches and cleanup
2982
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
2983
more isascii() stuff from HMS.
2985
* ntpd/refclock_fg.c (fg_receive): Cast.
2986
From: Tom Smith <smith@cag.lkg.dec.com>
2988
* ntpd/map_vme.c (map_vme): tx.access_result indicates failure on
2989
< 0, not <= 0. A fix that apparently did not get brought over
2991
From: Michael Barone <michael.barone@lmco.com>
2993
* configure.in: Move the ONCORE_SHMEM_STATUS check and definition
2996
* ntpd/refclock_oncore.c (oncore_init_shmem): Some systems do not
2997
have MAP_HASSEMAPHORE.
2999
* ntpd/refclock_oncore.c: Drive ONCORE_SHMEM_STATUS based on
3000
HAVE_SYS_MMAN_H . If this needs finer checks, do it in
3002
(oncore_read_config): Add the isascii() checks; older versions of
3003
Unix don't guarantee correct behavior of is*() without it.
3005
* ntpd/refclock_oncore.c: Add proof-of-concept support for
3006
delivering receiver data stream to other processes through
3007
a memory-mapped file.
3008
From: Poul-Henning Kamp <phk@FreeBSD.org>
3010
2000-01-02 Harlan Stenn <stenn@whimsy.udel.edu>
3012
* configure.in (ac_refclock_chu): Provide the CHU driver by
3013
default, and by default prefer the AUDIO version. We used to
3014
limit this to SunOS or Solaris; now we drive by the availability
3015
of the audioio header file.
3016
Select the IRIG and WWV audio drivers the same way.
3018
* flock-build: build ignores the -l flag; lose it.
3019
(BUILD_ARGS): added.
3020
* build: Remove unused -l stuff (LOG variable).
3022
* ntpd/ntp_refclock.c: HAVE_PPSAPI header cleanup
3023
From: Reg Clemens <reg@dwf.com>
3025
2000-01-01 Harlan Stenn <stenn@whimsy.udel.edu>
3027
* configure.in (CLOCK_WWV): Require <sys/audioio.h> or <sun/audioio.h>
3029
1999-12-29 Harlan Stenn <stenn@whimsy.udel.edu>
3031
* configure.in: 4.0.98i
3033
* ntpd/refclock_gpsvme.c: Fixes
3034
From: Michael Barone <michael.barone@lmco.com>
3035
Patch severely hacked by HMS to "make it conform". I hope I
3036
didn't break anything.
3038
* scripts/ntpsweep: Nifty utility
3039
From: Hans.Lambermont@nl.origin-it.com
3041
* ntpd/refclock_fg.c:
3042
* ntpd/refclock_conf.c:
3043
* ntpd/ntp_control.c:
3045
* libntp/clocktypes.c:
3047
* html/refclock.htm:
3048
* html/driver37.htm:
3051
Forum Graphic GPS clock support
3052
From: Dmitry Smirnov <das@online.nsk.su>
3054
* configure.in: Default to compile the IRIG, CHU and WWV/H
3055
drivers and compile the CHU driver for audio, not modem.
3056
Requested by Dave Mills.
3059
* html/driver36.htm:
3061
Dave wrote these to go along with the changes I checked in yesterday.
3063
1999-12-28 Harlan Stenn <stenn@whimsy.udel.edu>
3065
* ntpd/refclock_wwv.c:
3066
* ntpd/refclock_conf.c:
3067
* ntpd/refclock_chu.c:
3068
* ntpd/ntp_refclock.c:
3069
* ntpd/ntp_loopfilter.c:
3070
* html/refclock.htm:
3075
* html/copyright.htm:
3077
I indulged an old agenda to polish up some programs originally
3078
written for a DSP evaluation board. The result is a really hot
3079
audio driver for the NIST WWV/WWVH time/frequency station plus a
3080
makeover for the CHU audio driver. Currently, they and their IRIG
3081
audio driver buddy use the SunOS/Solaris audio interface, which is
3082
clean and simple. I hook the line in jack to a shortwave radio and
3083
these drivers (driver 7 for CHU and driver 36 for WWV) and the
3084
drivers do the rest. The WWV/H driver is really hot - I am
3085
currently watching the ionosphere move from the doppler that shows
3086
up on the tick modulation tracked by the program. During midday
3087
when the F2 layer settles down, the program closes in on a few
3088
tens of microseconds of spare jitter and wander. This watch on
3089
whichever 15/20 MHz signal sounds the best. At night on 5/10 MHz
3090
and even 2.5 HMz where the multipath, interference and noise are
3091
much worse, the driver bangs around somewhat more.
3093
The CHU driver makeover discovered a few broken bones after all
3094
these years, but its majority decoder is back in business. For
3095
various reasons to icky to reveal here, its 103-modem demodulator
3096
is not quite as good as the chip, but it comes close and hey,
3097
2025/2125 FSK is just not a good idea for HF radio. This driver is
3098
not nearly as sophisitcated as the WWV/H driver, but here a few
3099
hundred miles south of Ottawa, it does a passably good job.
3101
I tell you this in the hopes of getting somebody interested in
3102
porting the audio interface to other machines, in particular
3103
Linux, FreeBSD and anything else with a sound card. When the
3104
ionosphere stays cool, the WWV/H driver is as good as anything
3105
else around here and with much less jitter than a serial port. The
3106
only downside is all the audio drivers chew up a modest fraction
3107
of cycles for the DSP routines - a few percent on the newer
3108
silicon, up to half the cycles on an old Sparc IPC. Whattheheck,
3109
these old machines aren't doing anything else around here except
3110
serving time, and even when sucking cycles for DSP they still mind
3111
the PPS microseconds.
3113
The audio driver documentation had a makeover, too.
3114
From: Dave Mills <mills@udel.edu>
3116
1999-12-20 Harlan Stenn <stenn@whimsy.udel.edu>
3118
* configure.in: 4.0.98h
3120
1999-12-19 Harlan Stenn <stenn@whimsy.udel.edu>
3122
* libntp/syssignal.c: Small cleanup to Marc's patch.
3124
* ntpd/ntp_refclock.c:
3125
* ntpd/refclock_atom.c: Header cleanup
3126
* html/driver30.htm: Cleanup and improvements.
3127
From: Reg Clemens <reg@dwf.com>
3129
* ntpd/ntp_refclock.c:
3130
* ntpd/refclock_jupiter.c:
3131
* ntpd/refclock_msfees.c:
3132
* ntpd/refclock_mx4200.c:
3133
Portability (Solaris) patches
3134
* ntpd/refclock_mx4200.c:
3135
Self-survey improvements, cleanup for, PPS re-activation
3136
* libntp/syssignal.c:
3137
Fix for "interrupted system call" (EINTR) failure of the PPS
3138
ioctl(TIOCGPPSEV) call in Solaris. Not sure why it was
3139
interrupted, but this works around the failure. Not sure if
3140
the (now silent) interrupt affects the timing accuracy.
3141
THERE IS A CHANCE THIS PART OF THE PATCH MAY ADVERSELY
3142
AFFECT OTHER SYSTEMS!
3143
* scripts/ntp-status: Added.
3144
From: Marc.Brett@westgeo.com
3146
* ntpdate/ntpdate.c: Deal with multiple addresses.
3147
From: Jeffrey C Honig <jch@bsdi.com>
3149
* ntpd/refclock_conf.c: Replaced macro SHM with CLOCK_SHM.
3150
* ntpd/refclock_shm.c (shm_poll): Take clock time in UTC.
3151
pp->day starts at 1, t->tm_yday starts at 0.
3152
From: Jakob Stoklund Olesen <stoklund@taxidriver.dk>
3154
1999-12-16 Harlan Stenn <stenn@whimsy.udel.edu>
3156
* NEWS: Updated ONCORE instructions
3157
From: Kamal A Mostafa <kamal@whence.com>
3159
1999-12-13 Harlan Stenn <stenn@whimsy.udel.edu>
3161
* configure.in: 4.0.98g
3163
* ntpd/refclock_oncore.c: Cleanup and fixes
3164
From: Reg Clemens <reg@dwf.com> and Kamal A Mostafa <kamal@whence.com>
3166
1999-12-11 Harlan Stenn <stenn@whimsy.udel.edu>
3168
* ntpd/refclock_wwv.c: Cleanup/checkin of the current state of affairs.
3169
From: Dave Mills <mills@udel.edu>
3171
* ntpd/refclock_oncore.c: #elif conversion. I can only hope I did
3174
* ntpd/refclock_oncore.c: Various patches
3175
From: Reg Clemens <reg@dwf.com> and Kamal A Mostafa <kamal@whence.com>
3177
1999-12-09 Harlan Stenn <stenn@whimsy.udel.edu>
3179
* ntpd/ntp_proto.c (default_get_precision): Use the right arg type
3180
to pass "sizeof freq" to sysctlbyname().
3181
From: Ollivier Robert <roberto@eurocontrol.fr>
3183
* ntpd/refclock_wwv.c: Cleanup and fixes.
3184
From: Dave Mills <mills@udel.edu>
3186
1999-12-08 Harlan Stenn <stenn@whimsy.udel.edu>
3188
* ntpd/refclock_wwv.c: Cleanup and fixes
3189
* ntpd/refclock_conf.c: WWV declaration cleanup.
3190
From: Dave Mills <mills@udel.edu>
3192
1999-12-07 Harlan Stenn <stenn@whimsy.udel.edu>
3194
* libparse/clk_rawdcf.c (cvt_rawdcf): Buglet.
3195
From: Frank Kardel <kardel@acm.org>
3197
1999-12-06 Harlan Stenn <stenn@whimsy.udel.edu>
3199
* ntpd/Makefile.am (ntpd_SOURCES): Added refclock_wwv.c
3201
* ntpd/refclock_wwvb.c:
3202
* ntpd/refclock_wwv.c:
3203
* ntpd/refclock_conf.c:
3204
* ntpd/refclock_chu.c:
3205
* libntp/clocktypes.c:
3206
* include/ntp.h: Dave cleaned some things up
3207
Dave cleaned some things up (WWVB -> SPECTRACOM, CHU -> CHU_AUDIO,
3210
* acconfig.h: REFCLOCK_WWVB -> REFCLOCK_SPECTRACOM, added REFCLOCK_WWV
3211
* configure.in: Deal with it.
3213
1999-12-05 Harlan Stenn <stenn@whimsy.udel.edu>
3215
* ntpd/ntp_refclock.c (refclock_open): More PPS cleanup
3216
From: Dave Mills <mills@udel.edu>
3220
Make `ntpq -pn' independent of DNS, ad advertised.
3221
From: Kamal A Mostafa <kamal@whence.com>
3223
* ntpd/refclock_mx4200.c (mx4200_start): make missing 3rd
3226
1999-12-04 Harlan Stenn <stenn@whimsy.udel.edu>
3228
* ntpd/ntp_refclock.c (refclock_open): "flags" processing cleanup
3229
(refclock_open): PPS device initialization cleanup
3230
* include/ntp_refclock.h (LDISC_CHU):
3231
(LDISC_PPS): Clean up comments
3232
From: Dave Mills <mills@udel.edu>
3234
1999-12-03 Sven Dietrich <sven_dietrich@trimble.com>
3236
* libntp/mexit.c: Moved WINNT port specific file to ports/winnt/libntp
3237
* ports/winnt/libntp/libntp.dsp: Fix WinNT makefile for new source loc.
3239
1999-12-03 Harlan Stenn <stenn@whimsy.udel.edu>
3241
* libntp/Makefile.am (libntp_a_SOURCES): Lose mexit.c - Sven will
3242
move it to the winnt port area.
3244
1999-12-03 Sven Dietrich <sven_dietrich@trimble.com>
3246
* libntp/systime.c: Removed adjtime hack for WINNT
3247
* ports/winnt/ntpd/nt_clockstuff.c: Winnt double precision adjtime
3248
* ports/winnt/inlcude/clockstuff.h: Remove no longer needed externs
3250
1999-12-02 Harlan Stenn <stenn@whimsy.udel.edu>
3252
* libparse/Makefile.in: Manually hacked to remove the
3253
libparse_kernel.a.[co] cruft
3255
* libparse/Makefile.am (k*.o): Generate these form the Makefile,
3256
not from separate .c files
3260
* html/hints/solaris.html:
3261
Point to the new dosynctodr report.
3263
* html/hints/solaris.xtra.S99ntpd:
3264
Update. Should be rewritten to take advantage of the new -g
3265
switch and perhaps a loop to wait until ntpd hits a reasonable
3268
* html/hints/solaris-dosynctodr.html: New information
3269
From: "John W. Sopko Jr." <sopko@cs.unc.edu>
3271
1999-12-01 Harlan Stenn <stenn@whimsy.udel.edu>
3273
* libntp/authkeys.c (auth_moremem): Clear memory allocated for sk.
3274
From: Hugo Mildenberger <hugo.mildenberger@topmail.de>
3276
1999-12-01 Sven Dietrich <sven_dietrich@trimble.com>
3278
* libntp/recvbuff.c: Unused functions cleanup
3279
* ntpd/ntpd.c: ProcessorAffinity, IO cleanup
3280
* ports/winnt/instsrv/instsrv.c: Service name changed to NTP
3282
NT port shouldn;t hop between CPUs. Set affinity to first processor.
3283
Service name was NetworkTimeProtocol. Too long. Now NTP.
3285
1999-12-01 Harlan Stenn <stenn@whimsy.udel.edu>
3287
* scripts/plot_summary.pl: Improved option parsing. Fixed one
3288
minor Perl compatibility error.
3289
* scripts/summary.pl: Official revision for NTPv4: Parse new
3290
statistic file formats correctly, provide error checking for bad
3291
input files, and guard against negative arguments to sqrt()
3292
because of numeric effects. Use one pattern to select valid
3293
statistic files. Add selectable output directory
3294
(``--output-directory'') and improved option parsing. Directory
3295
with statistic files (now settable also with
3296
``--input-directory'') defaults to ``/var/log/ntp''.
3297
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
3300
* libparse/clk_computime.c:
3301
* libparse/clk_dcf7000.c:
3302
* libparse/clk_hopf6021.c:
3303
* libparse/clk_meinberg.c:
3304
* libparse/clk_rawdcf.c:
3305
* libparse/clk_rcc8000.c:
3306
* libparse/clk_schmid.c:
3307
* libparse/clk_trimtaip.c:
3308
* libparse/clk_trimtsip.c:
3309
* libparse/data_mbg.c:
3310
* libparse/kclk_computime.c:
3311
* libparse/kclk_dcf7000.c:
3312
* libparse/kclk_hopf6021.c:
3313
* libparse/kclk_meinberg.c:
3314
* libparse/kclk_rawdcf.c:
3315
* libparse/kclk_rcc8000.c:
3316
* libparse/kclk_schmid.c:
3317
* libparse/kclk_trimtaip.c:
3318
* libparse/kclk_trimtsip.c:
3319
* libparse/kparse.c:
3320
* libparse/kparse_conf.c:
3322
* libparse/parse_conf.c:
3323
* libparse/parsesolaris.c:
3324
* libparse/parsestreams.c:
3325
* ntpd/refclock_parse.c:
3327
From: Frank Kardel <kardel@acm.org>
3329
* acconfig.h: PCF refclock
3331
* html/driver35.htm:
3332
* html/refclock.htm:
3334
* libntp/clocktypes.c:
3336
* ntpd/ntp_control.c:
3337
* ntpd/refclock_conf.c:
3338
* ntpd/refclock_pcf.c:
3339
From: Andreas Voegele <andreas.voegele@gmx.de>
3341
* acconfig.h: DECL_STIME_1
3343
* configure.in (iCFLAGS): Use -std1 for alpha*-dec-osf* if we are
3345
Reported by: Tom Smith <smith@cag.lkg.dec.com>
3347
1999-11-30 Harlan Stenn <stenn@whimsy.udel.edu>
3349
* include/l_stdlib.h: DECL_SYSTIME_1 --- a long *
3350
* configure.in: Use it for DEC OSF[45]
3351
Reported by: Tom Smith <smith@cag.lkg.dec.com>
3353
* ntpd/refclock_parse.c: Add missing declarations
3354
* ntptrace/ntptrace.c: Ditto
3355
* ntpd/ntp_proto.c: Ditto
3356
* ntpd/refclock_palisade.c: Ditto
3357
From: Jonathan Stone <jonathan@dsg.stanford.edu>
3359
1999-11-18 Sven Dietrich <sven_dietrich@trimble.com>
3360
* Win NT port updates
3361
* ntpd.dsp: makefile only builds supported refclocks
3362
* config.h: cleanup, undefine unsupported clock_atom
3363
* win32_io, clock_NMEA: foundation for future refclock support
3364
* recvbuff, transmitbuff, IOcompletionport: streamline packet handler
3365
* html/hints/winnt.htm: Added up-to-date html docs for WINNT
3367
1999-11-17 Harlan Stenn <stenn@whimsy.udel.edu>
3369
* html/copyright.htm: Credit Jack for his work.
3371
* html/pic/*: Save a *ton* of space on the pictures.
3372
From: Jack Sasportas <jack@innovativeinternet.com>
3374
1999-11-16 Harlan Stenn <stenn@whimsy.udel.edu>
3376
* configure.in : changequote for osf[45] test.
3377
Reported by: Tom Smith <smith@cag.lkg.dec.com>
3379
* ntp_update: Ignore stuff in any A.* directory.
3381
1999-11-15 Harlan Stenn <stenn@whimsy.udel.edu>
3383
* configure.in: Clean up header checks for sys/syssgi.h and
3384
sys/select.h . Originally, we did not check for sys/select.h
3385
under some versions of SCO (see xntp3-5). Somewhere in ntp4 we
3386
dropped the SCO check and added the check for sys/syssgi.h,
3387
exclusive of checking for sys/select.h. Marc Brett can't think of
3388
a reason why we should not be checking for sys/select.h, so let's
3391
1999-11-13 Harlan Stenn <stenn@whimsy.udel.edu>
3393
* ntpdate/ntpdate.c: Add the ability for ntpdate to query a
3394
multicast address. We use the response to the multicast address
3395
to learn new servers which we then add to the peer list and query.
3396
In changing this I made the list of peers a linked list.
3398
To be complete I should detect a broadcast address and make it
3399
behave the same way. But that requires a scan of the interface
3400
list which is more complicated that I want to deal with...
3402
Fix a bug, allowing ntpdate to compile if SLEWALWAYS and STEP_SLEW
3405
From: Jeffrey C Honig <jch@bsdi.com>
3407
* ntpd/ntp_refclock.c: sys/sio.h and SCO5_CLOCK cleanup
3408
From: Kamal A Mostafa <kamal@whence.com>
3410
* ntpd/ntp_loopfilter.c: Let -g do a "correct any" for the first
3412
From: Dave Mills <mills@udel.edu>
3414
* configure.in: sys/sio.h needs to be checked independently.
3415
Reported by: Kamal A Mostafa <kamal@whence.com>
3417
1999-11-11 Harlan Stenn <stenn@whimsy.udel.edu>
3419
* configure.in: 4.0.98f
3421
* configure.in: DECL_PLOCK_0 and DECL_STIME_0 are for dec-osf5*, too
3422
* ntpd/ntpd.c: DEC OSF cleanup (editorial comments by HMS)
3423
From: Tom Smith <smith@cag.lkg.dec.com>
3425
* ntpd/ntp_refclock.c: MAXUNIT bugfix
3426
From: Marc.Brett@westgeo.com
3428
* ntpd/ntp_refclock.c:
3430
* ntpd/refclock_arc.c:
3431
* ntpd/refclock_as2201.c:
3432
* ntpd/refclock_atom.c:
3436
From: Marc.Brett@westgeo.com
3438
* include/ntp_stdlib.h:
3441
Replaced the 'sco5_oldclock' variable with 'systime_10ms_ticks'.
3442
Cleared libntp/systime.c and include/ntp_stdlib.h of references
3443
to SCO5_CLOCK and RELIANTUNIX_CLOCK (moved to ntpd/ntp_proto.c).
3444
From: Kamal A Mostafa <kamal@whence.com>
3446
* configure.in: alpha-dec-osf4* -> alpha*-dec-osf4*|alpha*-dec-osf5*
3447
From: Tom Smith <smith@cag.lkg.dec.com>
3449
* configure.in: Look for <sys/sio.h>. If TIOCDCDTIMESTAMP is
3450
there, we have TTYCLK.
3451
* acconfig.h: Lose old AIOCTIMESTAMP stuff
3452
Reported by: Kamal A Mostafa <kamal@whence.com>
3454
1999-11-10 Harlan Stenn <stenn@whimsy.udel.edu>
3456
* ntpd/ntpd.c (set_process_priority): Clean up nice() and setpriority()
3458
1999-11-09 Harlan Stenn <stenn@whimsy.udel.edu>
3460
* Makefile.am (EXTRA_DIST): Added README.cvs
3461
Reported by: Kamal A Mostafa <kamal@whence.com>
3463
1999-11-08 Harlan Stenn <stenn@whimsy.udel.edu>
3465
* configure.in: 4.0.98e
3467
1999-11-07 Harlan Stenn <stenn@whimsy.udel.edu>
3469
* configure.in: Lose AIOCTIMESTAMP tests
3471
* ntpd/ntpd.c: lose select() EINTR debug warning
3472
* ntpd/ntp_refclock.c: AIOCTIMESTAMP -> TIOCDCDTIMESTAMP. Watch
3474
* ntpd/refclock_atom.c: fdpps is only there for PPS or PPSAPI.
3475
AIOCTIMESTAMP is gone now.
3476
From: Kamal A Mostafa <kamal@whence.com>
3478
* configure.in (HAVE_MLOCKALL): Deal with dec-osf5 realities
3479
* ntpd/refclock_ulink.c (ulink_poll): Fix cast.
3480
* libntp/machines.c (ntp_set_tod): Use a long* for the argument to
3482
Reported by: Tom Smith <smith@cag.lkg.dec.com>
3484
* ntpd/ntpd.c (set_process_priority): Use whatever we have until
3487
* ntpd/ntp_loopfilter.c: Keep clock_frequency changes in a temp
3488
variable so we can record it to loopstats (near as HMS can tell).
3489
From: Dave Mills <mills@udel.edu>
3491
1999-11-06 Harlan Stenn <stenn@whimsy.udel.edu>
3493
* acconfig.h: RELIANTUNIX_CLOCK
3494
* configure.in (ac_cv_var_tickadj): RELIANTUNIX_CLOCK
3495
* libntp/systime.c (adj_systime): Reliant patches
3496
From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
3498
1999-11-05 Harlan Stenn <stenn@whimsy.udel.edu>
3500
* ntpd/refclock_parse.c (parse_start): ASYNC_PPS_CD_NEG cleanup
3501
* configure.in (ac_cv_make_ntptime): OK on Linux
3502
From: <Ulrich.Windl@rz.uni-regensburg.de>
3504
* configure.in: NetBSD has PPSAPI now
3505
F_SETOWN is needed for NetBSD
3506
From: Jonathan Stone <jonathan@dsg.stanford.edu>
3508
1999-11-02 Harlan Stenn <stenn@whimsy.udel.edu>
3510
* configure.in: 4.0.98d
3512
* ntpd/refclock_parse.c: Cleanup/fixes
3513
From: John Hay <jhay@mikom.csir.co.za>
3515
* ntpd/refclock_parse.c: Lose #include "ntp_select.h"
3516
* ntpd/ntpd.c: Lose #include "ntp_select.h"
3517
* ntpd/ntp_io.c: Lose #include "ntp_select.h"
3518
* ntpd/ntp_intres.c: Lose #include "ntp_select.h"
3519
* libntp/iosignal.c: Lose #include "ntp_select.h"
3520
* include/ntpd.h: #include "ntp_select.h" for declaration of activefds
3521
Reported by: Christian Krackowizer <kra1@technodat.co.at>
3523
1999-11-01 Harlan Stenn <stenn@whimsy.udel.edu>
3525
* configure.in: 4.0.98c
3527
* libntp/syssignal.c: Don't warn about SA_RESTART
3528
* libntp/recvbuff.c: Fix free buffer count
3529
From: Jeffrey C Honig <jch@bsdi.com>
3534
* html/clockopt.htm:
3537
From: Dave Mills <mills@udel.edu>
3539
* ntpd/refclock_wwvb.c: burst fixes
3540
* ntpd/refclock_ulink.c: burst fixes
3541
* ntpd/refclock_tpro.c: burst and NSTAGE fixes
3542
* ntpd/refclock_pst.c: burst fixes
3543
* ntpd/refclock_irig.c: SAMPLE -> SAMPLES
3544
* ntpd/refclock_heath.c: burst fixes
3545
* ntpd/refclock_dumbclock.c: burst fixes
3546
* ntpd/refclock_chronolog.c: burst fixes
3547
* ntpd/refclock_bancomm.c: burst fixes
3548
* ntpd/refclock_atom.c: burst fixes
3549
* ntpd/refclock_as2201.c: burst fixes
3550
* ntpd/ntp_refclock.c: PPSAPI, code, and comment cleanup/fixes
3551
* ntpd/ntp_proto.c: Broadcast/restrict cleanup
3552
* ntpd/ntp_loopfilter.c: Cleanup and fixes
3553
* libntp/gpstolfp.c: Lose the UL qualifiers - old compilers hate them
3554
From: Dave Mills <mills@udel.edu>
3556
1999-10-31 Harlan Stenn <stenn@whimsy.udel.edu>
3558
* configure.in: TIOCSPPS cleanup
3560
1999-10-20 Harlan Stenn <stenn@whimsy.udel.edu>
3562
* configure.in: 4.0.98b
3564
* ntpd/refclock_atom.c: AIOCTIMESTAMP patch
3565
* ntpd/ntpd.c: SCO clock patch
3566
* ntpd/ntp_request.c: noselect patch
3567
* ntpd/ntp_refclock.c: AIOCTIMESTAMP patch
3568
* ntpd/ntp_proto.c: noselect patch
3569
* ntpd/ntp_intres.c: noselect patch
3570
* ntpd/ntp_config.c: noselect patch
3571
* include/ntp_request.h: noselect patch
3572
* include/ntp.h: noselect patch
3573
From: Kamal A Mostafa <kamal@whence.com>
3576
* acconfig.h: TTYCLK_AIOCTIMESTAMP
3579
* ntpd/refclock_atom.c (atom_pps): make "result" initialization
3580
uglier, but more bulletproof.
3582
* configure.in (sys/timepps.h): Fixed.
3583
From: John Hay <jhay@mikom.csir.co.za>
3585
1999-10-19 Harlan Stenn <stenn@whimsy.udel.edu>
3587
* ntpd/refclock_oncore.c: Rename instance.state to instance.o_state
3589
* refclock_oncore.c:
3590
* refclock_mx4200.c:
3596
* include/ntp_refclock.h:
3597
Various cleanup and fixes
3598
From: Dave Mills <mills@udel.edu>
3600
1999-10-17 Harlan Stenn <stenn@whimsy.udel.edu>
3602
* ntpd/ntp_config.c (CONFIG_FILE): NT changes
3603
From: Sven Dietrich <Sven_Dietrich@trimble.com>
3605
1999-10-16 Harlan Stenn <stenn@whimsy.udel.edu>
3607
* configure.in: sys/timepps.h verification changes
3609
* ntpd/refclock_atom.c (atom_poll): PPS cleanup
3610
From: Dave Mills <mills@udel.edu>
3611
(atom_pps): Portability patch
3612
From: John Hay <jhay@mikom.csir.co.za>
3616
* libntp/gpstolfp.c:
3618
From: Jonathan Stone <jonathan@dsg.stanford.edu>
3620
* parseutil/dcfd.c: abs() -> l_abs(), time.h (AIX 4.3.2 patches)
3621
From: Dana Kaempen <decay@flash.net>
3623
* ntpd/refclock_oncore.c:
3624
* ntpd/refclock_atom.c:
3625
* ntpd/ntp_refclock.c:
3627
From: John.Hay@mikom.csir.co.za
3630
* ntpdate/ntptimeset.c:
3631
* ntpdate/ntpdate.c:
3632
* ntpd/refclock_trak.c:
3633
* ntpd/refclock_oncore.c:
3634
* ntpd/refclock_mx4200.c:
3635
* ntpd/refclock_msfees.c:
3636
* ntpd/refclock_atom.c:
3637
* ntpd/ntp_control.c:
3638
* ntpd/ntp_config.c:
3641
PPS, Solaris 7, cleanup patches
3642
From: Marc.Brett@westgeo.com
3644
* ports/winnt/ntptrace/ntptrace.dsp:
3645
* ports/winnt/ntpq/ntpq.dsp:
3646
* ports/winnt/ntpdc/ntpdc.dsp:
3647
* ports/winnt/ntpdate/ntpdate.dsp:
3648
* ports/winnt/ntpd/refclock_trimbledc.c:
3649
* ports/winnt/ntpd/ntpd.dsp:
3650
* ports/winnt/ntpd/ntp_iocompletionport.c:
3651
* ports/winnt/ntpd/nt_clockstuff.c:
3652
* ports/winnt/libntp/util_clockstuff.c:
3653
* ports/winnt/libntp/libntp.dsp:
3654
* ports/winnt/libntp/SetSystemTime.c:
3655
* ports/winnt/instsrv/instsrv.c:
3656
* ports/winnt/include/sys/ioctl.h:
3657
* ports/winnt/include/termios.h:
3658
* ports/winnt/include/config.h:
3659
* ports/winnt/include/clockstuff.h:
3660
* ports/winnt/ntp.dsw:
3661
* ntpd/refclock_shm.c:
3662
* ntpd/refclock_palisade.c:
3665
* ntpd/ntp_refclock.c:
3667
* libntp/machines.c:
3669
From: Sven Dietrich <Sven_Dietrich@trimble.com>
3671
1999-10-15 Harlan Stenn <stenn@whimsy.udel.edu>
3673
* ntpd/refclock_wwvb.c:
3674
* ntpd/refclock_usno.c:
3675
* ntpd/refclock_ulink.c:
3676
* ntpd/refclock_tpro.c:
3677
* ntpd/refclock_pst.c:
3678
* ntpd/refclock_parse.c:
3679
* ntpd/refclock_palisade.c:
3680
* ntpd/refclock_oncore.c:
3681
* ntpd/refclock_mx4200.c:
3682
* ntpd/refclock_msfees.c:
3683
* ntpd/refclock_jupiter.c:
3684
* ntpd/refclock_irig.c:
3685
* ntpd/refclock_heath.c:
3686
* ntpd/refclock_chu.c:
3687
* ntpd/refclock_atom.c:
3688
* ntpd/refclock_as2201.c:
3689
* ntpd/refclock_arc.c:
3690
* ntpd/refclock_arbiter.c:
3691
* ntpd/refclock_acts.c:
3692
* ntpd/ntp_refclock.c:
3693
* include/ntp_refclock.h:
3695
From: Dave Mills <mills@udel.edu>
3697
1999-10-10 Harlan Stenn <stenn@whimsy.udel.edu>
3699
* html/driver16.htm: New version
3700
* ntpd/refclock_bancomm.c: New version
3701
From: "Cliff, Gary" <gary.cliff@cdott.com>
3702
"Ramasivan, Ganesh" <ganesh.ramasivan@cdott.com>
3704
* ntpd/refclock_ulink.c (ulink_receive): Cleanup
3705
(ulink_poll): Cleanup
3706
* ntpd/refclock_atom.c (atom_pps): SunOS timespec/timeval cleanup
3707
From: Marc.Brett@westgeo.com
3709
* INSTALL: Point NT folks at ports/winnt
3710
Reported by: Stephen Gildea <gildea@intouchsys.com>
3712
* include/ntp_stdlib.h: Noise abatement
3713
* include/ntpd.h: Noise abatement
3714
Reported by: "W. David Higgins" <wdh@grouper.ccur.com>
3716
* configure.in: DECL_STDIO_0 with gcc under solaris.
3718
* include/l_stdlib.h: DECL_TOUPPER_0
3721
* configure.in: Fix a bunch of implicit declarations for SunOS
3723
* html/release.htm: cleanup - we still provide MD5.
3724
Reported by: Winslowe Lacesso <lacesso@cs.ubc.ca>
3726
1999-10-09 Harlan Stenn <stenn@whimsy.udel.edu>
3728
* ntpd/refclock_oncore.c:
3729
* ntpd/refclock_atom.c:
3730
* ntpd/ntp_refclock.c:
3731
PPS API code updated to the current spec
3734
* configure.in (ac_cv_make_tickadj): Don't make tickadj starting
3736
Requested by: Dave Mills
3738
1999-10-04 Harlan Stenn <stenn@whimsy.udel.edu>
3740
* configure.in: We might need -lsocket for the -lnsl check.
3742
1999-09-19 Harlan Stenn <stenn@whimsy.udel.edu>
3744
* ntpd/refclock_ulink.c: Typos in C++ comment
3745
Reported by: Thomas.Tornblom@Sun.SE
3747
* configure.in: 4.0.98a
3749
* ntpd/ntp_config.c (getconfig): Fix typo.
3750
From: "David E. Myers" <dem@skyline.rtp.nc.us>
3751
From: David Godfrey <dave@delta.demon.co.uk>
3752
From: Geoffrey Sisson <geoff@nominet.org.uk>
3754
1999-09-17 Harlan Stenn <stenn@whimsy.udel.edu>
3756
* configure.in: 4.0.98
3762
Add Mac OS (versions 10 and up).
3767
Check for NetInfo API; add HAVE_NETINFO macro and friends.
3772
Add support for reading configuration from NetInfo.
3775
Get rid of unnecessary eol variable in tokenizer.
3780
Document NetInfo functionality.
3783
Use HAVE_KVM_OPEN conditional around kvm.h include.
3785
From: Wilfredo Sanchez <wsanchez@apple.com>
3787
1999-09-15 Harlan Stenn <stenn@whimsy.udel.edu>
3792
* html/driver34.htm:
3793
* html/refclock.htm:
3795
* libntp/clocktypes.c:
3797
* ntpd/ntp_control.c:
3798
* ntpd/refclock_conf.c:
3799
* ntpd/refclock_ulink.c:
3801
From: Dave Strout <dstrout@linuxfoundary.com>
3803
1999-09-14 Harlan Stenn <stenn@whimsy.udel.edu>
3805
* configure.in: ReliantUNIX patches
3806
From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
3808
* ntpd/refclock_atom.c: PPS cleanup
3809
* ntpd/ntp_refclock.c (refclock_ioctl): PPS cleanup
3810
From: Dave Mills <mills@udel.edu>
3812
* ntptrace/ntptrace.c (ReceiveBuf): addserver() can return NIL.
3813
Reported by: "Alan J. Wylie" <alanw@cyrano.com>
3815
* libntp/ieee754io.c:
3817
* ntpd/ntp_refclock.c:
3819
From: Marc.Brett@westgeo.com
3821
1999-09-12 Harlan Stenn <stenn@whimsy.udel.edu>
3823
* ntpd/ntp_refclock.c (refclock_ioctl): Declaration cleanup.
3825
* ntpd/ntp_proto.c (init_proto): msyslog kern_enable at LOG_DEBUG.
3827
* ntpd/refclock_atom.c: Add missing declaration.
3829
1999-09-11 Harlan Stenn <stenn@whimsy.udel.edu>
3831
* configure.in (ac_cv_make_ntptime): Just look for struct
3832
ntptimeval, not timespec or nsec (Solaris 2.7 should get ntptime
3834
(ac_cv_var_oncore_ok): Reorder so it's a "normal" clock
3836
* configure.in: Solaris Kernel FLL bug fixed in 106541-07
3838
1999-09-02 Harlan Stenn <stenn@whimsy.udel.edu>
3840
* configure.in: 4.0.97f
3842
* ntptrace/ntptrace.c:
3843
* ntpdate/ntptimeset.c:
3844
* ntpdate/ntptime_config.c:
3845
* ntpdate/ntpdate.c:
3848
* libparse/parsestreams.c:
3849
* libparse/parse_conf.c:
3851
* libparse/clk_varitext.c:
3852
* libparse/clk_trimtsip.c:
3853
* libparse/clk_trimtaip.c:
3854
* libparse/clk_schmid.c:
3855
* libparse/clk_rcc8000.c:
3856
* libparse/clk_rawdcf.c:
3857
* libparse/clk_meinberg.c:
3858
* libparse/clk_hopf6021.c:
3859
* libparse/clk_dcf7000.c:
3860
* libparse/clk_computime.c:
3862
* libntp/iosignal.c:
3863
* libntp/syssignal.c:
3864
* adjtimed/adjtimed.c:
3865
* ntpd/refclock_shm.c:
3866
* ntpd/refclock_parse.c:
3867
* ntpd/refclock_palisade.c:
3868
* ntpd/refclock_mx4200.c:
3869
* ntpd/refclock_jupiter.c:
3870
* ntpd/refclock_datum.c:
3874
* ntpd/ntp_request.c:
3875
* ntpd/ntp_refclock.c:
3876
* ntpd/ntp_monitor.c:
3877
* ntpd/ntp_loopfilter.c:
3879
* ntpd/ntp_intres.c:
3880
* ntpd/ntp_filegen.c:
3881
* include/l_stdlib.h:
3882
<errno.h> and errno declaration cleanup.
3884
* ntpd/map_vme.c: cleanup some spacing.
3886
1999-09-01 Harlan Stenn <stenn@whimsy.udel.edu>
3888
* configure.in: 4.0.97e
3890
* configure.in (ac_cv_struct_sigaction_has_sa_sigaction):
3892
* parseutil/dcfd.c (main): Use it.
3893
From: HOSAKA Eiichi <HOSAKA.Eiichi@dd.anritsu.co.jp>
3895
1999-08-29 Harlan Stenn <stenn@whimsy.udel.edu>
3897
* configure.in: 4.0.97d
3899
* include/ntp_stdlib.h: Clean up previous NeXT patch.
3900
From: Jack Bryans <jbryans@csulb.edu>
3902
* ntpd/refclock_parse.c: Permit RTS to power a DCF77.
3903
From: Carsten Paeth <calle@calle.in-berlin.de>
3905
* ntpd/refclock_oncore.c (oncore_start): This makes the Oncore run
3906
on systems without hardpps().
3907
From: Poul-Henning Kamp <phk@freebsd.org>
3909
1999-08-28 Harlan Stenn <stenn@whimsy.udel.edu>
3911
* configure.in: 4.0.97c
3913
* configure.in (ac_cv_make_ntptime): Typo.
3914
From: Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
3916
1999-08-26 Harlan Stenn <stenn@whimsy.udel.edu>
3918
* configure.in: 4.0.97b
3920
* libntp/iosignal.c:
3922
* ntpd/refclock_nmea.c:
3923
* ntpdate/ntptime_config.c:
3924
* ntpdate/ntptimeset.c:
3925
AIX, Irix, and SunOS lint cleanup
3926
From: Marc.Brett@westgeo.com
3928
1999-08-24 Harlan Stenn <stenn@whimsy.udel.edu>
3930
* configure.in 4.0.97a
3932
* configure.in (AC_OUTPUT): added scripts/Makefile
3933
* Makefile.am (SUBDIRS): Added scripts
3934
* scripts/Makefile.am: Added
3936
1999-08-23 Harlan Stenn <stenn@whimsy.udel.edu>
3938
* ntpd/refclock_nmea.c: Patches for:
3939
Trimble OEM Ace-II receiver. Low cost PCB with single
3940
voltage input, external active antenna and two serial
3941
ports with either NMEA and ITAPs output. Programmable
3942
to be tuned for 'time' accuracy in fixed station config.
3943
From: Nick Hibma <nick.hibma@jrc.it>
3945
1999-08-21 Harlan Stenn <stenn@whimsy.udel.edu>
3947
* ntpd/ntp_config.c: Added listen_to_virtual_ips support (-L flag)
3948
* ntpd/ntp_io.c: Ditto
3950
1999-08-19 Harlan Stenn <stenn@whimsy.udel.edu>
3952
* ntpd/ntp_intres.c (request): Lint cleanup
3953
* ntpd/ntp_control.c (ctl_putclock): Ditto
3954
* libntp/recvbuff.c (getrecvbufs): Ditto
3955
(get_free_recv_buffer): Ditto
3956
* libntp/systime.c (adj_systime): Ditto
3958
1999-08-18 Harlan Stenn <stenn@whimsy.udel.edu>
3960
* configure.in: 4.0.97
3963
* ntpd/ntp_loopfilter.c:
3965
* ports/winnt/libntp/nt_clockstuff.c:
3966
From: Sven Dietrich <Sven_Dietrich@trimble.com>
3968
* README.cvs: Updated.
3971
* include/ntp_machine.h:
3973
* ntpd/ntp_config.c:
3975
* ntpd/ntp_restrict.c:
3976
* ntpd/refclock_arc.c:
3977
* ntpdate/ntpdate.c:
3978
Irix, SunOS, AIX, lint patches
3979
From: Marc.Brett@westgeo.com
3981
* util/ansi2knr.c: New release (fix for bug reported by Marc Brett)
3982
From: "L. Peter Deutsch" <ghost@aladdin.com>
3984
* include/ntp_stdlib.h: NeXT portability patch
3985
From: Jack Bryans <jbryans@csulb.edu>
3988
* dot.emacs: (cleanup)
3989
* ntpdate/Makefile.am:
3990
* ntpdate/ntpdate.h:
3991
* ntpdate/ntptime_config.c:
3992
* ntpdate/ntptimeset.c:
3994
From: Jeffrey Hutzelman <jhutz@cmu.edu>
3996
* ntpd/refclock_parse.c (local_input): ts.l_ui -> ts.fp.l_ui
3998
1999-08-11 Harlan Stenn <stenn@whimsy.udel.edu>
4000
* configure.in: 4.0.96p1
4002
* ntpd/ntpd.c (sys/resource.h): Include this file only #if
4003
HAVE_SYS_RESOURCE_H.
4004
(set_process_priority): Use TIOCNOTTY only if it is #define'd.
4005
* ntpd/refclock_parse.c (STREAM): STREAM does not imply HAVE_TERMIOS.
4006
(termios.h, termio.h, fcntl.h): Do not include those files here;
4007
they are already included by ntp_refclock.h or ntp_io.h.
4008
* ntpd/refclock_leitch.c (sgtty.h, termios.h, termio.h): Do not
4009
include those files here; they are already included by ntp_refclock.h.
4010
* ntpdate/ntpdate.c (sys/resource.h) : Include that file only #if
4012
From: Philippe De Muyter <phdm@macqel.be>
4014
* ntptrace/ntptrace.c (input_handler): Make it a "normal" function
4016
Reported by: GIANNI_CATANIA@hp-italy-om6.om.hp.com
4018
* configure.in: pc-cygwin32 -> pc-cygwin* because of a change in
4020
From: Stephen Gildea <gildea@intouchsys.com>
4022
1999-08-09 Harlan Stenn <stenn@whimsy.udel.edu>
4024
* configure.in: 4.0.96
4026
* parseutil/dcfd.c (main): Replace SA_ONSTACK and SV_ONSTACK with
4027
HAVE_SIGACTION and HAVE_SIGVEC, respectively. HP-UX provides both
4028
of the former but only one of the latter...
4030
1999-08-08 Harlan Stenn <stenn@whimsy.udel.edu>
4032
* configure.in: Better tests for -lnsl and -lsocket
4033
From: Albert Chin-A-Young <china@thewrittenword.com>
4035
Works for me - handle openlog() and -lgen the same way.
4037
* Makefile.am (EXTRA_DIST): Add in the y2k notes
4039
* parseutil/dcfd.c: Renamed drift_comp to accum_drift
4041
* configure.in: Added MAKE_CHECK_Y2K support; check_y2k needs libparse.
4042
* ntpd/Makefile.am (check_PROGRAMS): Use MAKE_CHECK_Y2K
4043
* ntpd/Makefile.am (check-local): Added.
4044
* parseutil/Makefile.am (check-local): Added.
4046
* include/ntp.h: Y2KFixes
4047
* libparse/parse.c: Ditto
4048
* ntpd/Makefile.am (check_PROGRAMS): Ditto
4049
* ntpd/refclock_acts.c: Ditto
4050
* ntpd/refclock_arc.c (arc_receive): Ditto
4051
* ntpd/refclock_heath.c: Ditto
4052
* ntpd/refclock_hpgps.c: Ditto
4053
* parseutil/Makefile.am (check-local): Ditto
4054
* parseutil/dcfd.c (check_y2k): Ditto
4055
* NOTES.y2kfixes: Ditto
4056
* readme.y2kfixes: Ditto
4057
* results.y2kfixes: Ditto
4058
* ntpd/check_y2k.c: Ditto
4059
From: y2k@y2k.labs.att.com
4061
1999-08-07 Harlan Stenn <stenn@whimsy.udel.edu>
4063
* configure.in: Look for sys/ppstime.h.
4065
1999-07-31 Harlan Stenn <stenn@whimsy.udel.edu>
4067
* ntpd/ntp_io.c (create_sockets): Typo.
4068
From: Doug Wells <dmw@contek.com>
4070
1999-07-29 Harlan Stenn <stenn@whimsy.udel.edu>
4072
* configure.in (ac_cv_struct_ntptimeval): Explicitly look for
4074
(ac_cv_var_kernel_pll): Require struct ntptimeval.
4076
Reported by: Ronald Kuetemeier <ronaldk@smginc.com>
4078
1999-07-27 Harlan Stenn <stenn@whimsy.udel.edu>
4080
* configure.in: 4.0.95
4082
* ports/winnt: New release
4083
From: Sven Dietrich <Sven_Dietrich@trimble.com>
4085
1999-07-26 Harlan Stenn <stenn@whimsy.udel.edu>
4087
* libntp/machines.c (ntp_set_tod): Bugfix
4088
From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
4090
1999-07-25 Harlan Stenn <stenn@whimsy.udel.edu>
4092
* configure.in: 4.0.94b
4096
* libparse/Makefile.am:
4097
* libparse/parse_conf.c:
4098
* libparse/clk_varitext.c:
4099
* libparse/kclk_varitext.c:
4100
* ntpd/refclock_parse.c: VARITEXT parse clock
4101
* ntpdate/ntpdate.c: bugfix
4102
From: Tony McConnell <tonym@datel-technology.co.uk>
4104
1999-07-24 Harlan Stenn <stenn@whimsy.udel.edu>
4106
* include/ntp_syscall.h (ntp_gettime): Make it static
4107
* configure.in: Added AC_C_INLINE
4108
Reported by: "Charles C. Fu" <ccwf@klab.caltech.edu>
4110
1999-07-23 Harlan Stenn <stenn@whimsy.udel.edu>
4113
* libntp/machines.c:
4115
* ntpd/ntp_config.c:
4116
* ntpd/ntp_filegen.c:
4120
* ntpdate/ntpdate.c: Windows NT port cleanup
4121
From: Sven Dietrich <Sven_Dietrich@trimble.com>
4123
1999-07-22 Harlan Stenn <stenn@whimsy.udel.edu>
4125
* libntp/authkeys.c:
4126
* libntp/ieee754io.c:
4127
* libntp/iosignal.c:
4128
* libntp/machines.c:
4130
* libntp/recvbuff.c:
4131
* ntpd/ntp_filegen.c:
4132
* ntpd/ntp_loopfilter.c:
4133
* ntpd/ntp_request.c:
4135
* ntpd/ntpd.c: Compile/lint cleanup
4136
From: Allen Smith <easmith@beatrice.rutgers.edu>
4138
1999-07-21 Harlan Stenn <stenn@whimsy.udel.edu>
4140
* configure.in: 4.0.94a
4142
* configure.in (ac_cv_make_ntptime): Add tv_nsec check.
4144
* include/Makefile.am (noinst_HEADERS): Forgot ntp_syscall.h
4145
From: John.Hay@mikom.csir.co.za
4147
* configure.in: 4.0.94
4149
* Makefile.am (SUBDIRS): librsaref
4150
(dist-hook): Lose CVS subdirs in the distribution tarball
4152
* include/Makefile.am (noinst_HEADERS): Added iosignal.h, recvbuff.h
4154
* Makefile.am (dist-hook): Don't call dos2unix anymore
4156
1999-07-20 Harlan Stenn <stenn@whimsy.udel.edu>
4159
* util/ntptime.c: FreeBSD nano patches
4160
From: Per Hedeland <per@erix.ericsson.se> and
4161
Allen Smith <easmith@beatrice.rutgers.edu>
4166
include/ntp_machine.h:
4167
include/ntp_refclock.h:
4168
include/ntp_stdlib.h:
4179
libparse/parse_conf.c:
4184
ntpd/ntp_refclock.c:
4189
ntpd/refclock_nmea.c:
4190
ntpd/refclock_palisade.c:
4191
ntpd/refclock_palisade.h:
4192
ntpd/refclock_shm.c:
4194
ntptrace/ntptrace.c: Cleanup
4195
* libntp/recvbuff.c:
4198
include/recvbuff.h: Added
4199
From: Sven_Dietrich@Trimble.COM
4201
* README: Add README.cvs
4203
* configure.in (ac_cv_var_struct_ntptime_val_timespec): Typo.
4204
From: John Hay <jhay@mikom.csir.co.za>
4206
1999-07-19 Harlan Stenn <stenn@whimsy.udel.edu>
4208
* Makefile.am (EXTRA_DIST): Lose ntpmak; "build" does a better job.
4210
* ntpq/Makefile.am (version.o): Use mkver
4211
* ntptrace/Makefile.am (version.o): Ditto
4212
* ntpdate/Makefile.am (version.o): Ditto
4213
* ntpd/Makefile.am (version.o): Ditto
4214
* ntpdc/Makefile.am (version.o): Ditto
4216
* configure.in (AC_OUTPUT): scripts/mkver
4218
* scripts/mkver.in: Created. Note RSAREF in the version string
4220
1999-07-18 Harlan Stenn <stenn@whimsy.udel.edu>
4222
* README.des: Updated.
4224
* ntpq/Makefile.am (LDADD): Add LIBRSAREF
4226
* ntpdc/Makefile.am (LDADD): Add LIBRSAREF
4228
* ntpdate/Makefile.am (LDADD): Add LIBRSAREF
4230
* ntpd/Makefile.am (LDADD): Add LIBRSAREF
4232
* configure.in (AC_OUTPUT): Added librsaref/Makefile
4233
Added tests for making/using librsaref.a
4234
Lose old DES stuff; AC_DEFINE(DES) if we find the rsaref stuff.
4236
1999-07-11 Harlan Stenn <stenn@whimsy.udel.edu>
4238
* ntpd/refclock_trak.c (trak_receive): disambiguate expression.
4239
At least now it is unambiguous. It may even still be correct.
4240
Reported by: Tom Smith <smith@cag.lkg.dec.com>
4242
* ntp_update (UPDATE_OPTIONS): Typo.
4244
1999-07-07 Harlan Stenn <stenn@whimsy.udel.edu>
4246
* ntp_update: Check out copyright.htm before COPYRIGHT
4248
* ntpd/ntp_config.c: Support for PPS assert/clear/hardpps
4249
* ntpd/ntp_refclock.c (refclock_ioctl): Ditto
4250
(refclock_gtlin): Ditto
4251
* html/clockopt.htm: Document.
4252
From: John Hay <jhay@mikom.csir.co.za>
4254
* html/monopt.htm: We have four types of files now
4255
* ntpd/refclock_oncore.c: If debug is on, tell when
4256
we are waiting for a valid almanac
4257
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
4259
* include/ntp_machine.h (HAVE_TERMIOS): STREAMS does not imply
4261
* include/parse.h (timercmp): Macro defined if needed.
4262
* ntpd/ntp_config.c (SIGCHLD): Macro defined as SIGCLD if needed.
4263
(sys/wait.h): File included only if HAVE_SYS_WAIT_H.
4264
* configure.in (sys/wait.h): File added to AC_CHECK_HEADERS list.
4265
From: Philippe De Muyter <phdm@macqel.be>
4267
1999-06-23 Harlan Stenn <stenn@whimsy.udel.edu>
4269
* ntpd/refclock_irig.c (irig_debug): NetBSD patches
4270
From: Frederick Bruckman <fb@enteract.com>
4272
* util/ntptime.c (main): ntx.freq bugfix (-f option)
4273
From: Frederick Bruckman <fb@enteract.com>
4275
1999-06-22 Harlan Stenn <stenn@whimsy.udel.edu>
4277
* configure.in: Fix typo with DECL_H_ERRNO test
4279
* ntpd/ntp_loopfilter.c: Lose syscall decl, it's handled in
4281
* ntpd/ntp_request.c: Ditto
4282
* util/ntptime.c: Ditto
4284
Mon May 31 18:49:49 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4286
* ntpd/ntp_proto.c (proto_config): Don't set sys_bclient on
4287
PROTO_MULTICAST_ADD, only caller can decide; remove wrong set on
4288
PROTO_MULTICAST_DEL.
4290
Mon May 31 18:49:49 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4292
* ntpd/refclock_parse.c (stream_receive): Cast size_t to int to
4294
(local_receive): Likewise.
4295
(trimbletaip_event): Likewise.
4296
(stream_receive): Cast struct timeval members to long to match
4298
(local_receive): Likewise.
4300
* ntpd/ntp_util.c (stats_config): Cast size_t to int to match
4303
* libparse/clk_rawdcf.c (cvt_rawdcf): Cast ptr difference to int
4305
* ntpd/refclock_parse.c (gps16x_poll): Likewise.
4307
* ntpd/ntp_filegen.c (filegen_open): Use long format, cast arg to
4310
* ntpd/refclock_parse.c (list_err): Use long format to match arg.
4311
(parse_statistics): Likewise.
4312
(gps16x_message): Likewise.
4313
(cvt_ts): Use long format, cast args to match.
4314
(parse_start): Add missing arg.
4315
(gps16x_message): Swap args to match format.
4317
* ntpd/ntpd.c (ntpdmain): Cast uid to long, adapt format.
4319
* ntpd/ntp_intres.c (readconf): Use long format to match arg.
4320
* ntpd/ntp_io.c (getrecvbufs): Likewise.
4321
* ntpd/ntp_proto.c (default_get_precision): Likewise.
4323
* ntpd/ntp_loopfilter.c (local_clock): Cast clock_panic to int to
4326
* ntpd/ntp_io.c (io_multicast_add): Print s_addr member, not
4327
struct in_addr, to match format.
4329
* include/ntp_stdlib.h: Declare msyslog() as printf-like for gcc
4332
Fri May 28 16:39:35 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4334
* ntpdc/ntpdc_ops.c (iostats): Align timereset line.
4336
* ntpq/ntpq_ops.c (doopeers): Properly align header.
4338
* ntpdc/ntpdc_ops.c (debug): Removed declaration, already in
4340
* ntpq/ntpq_ops.c: Likewise.
4342
* ntpdate/ntpdate.c (debug): Declare volatile to match
4344
* ntpdc/ntpdc.c, ntpq/ntpq.c, ntptrace/ntptrace.c, util/tickadj.c,
4345
util/ntptime.c: Likewise.
4347
* include/parse.h (debug): Don't declare to avoid clash with
4350
* include/Makefile.am (noinst_HEADERS): Add new ntp_syscall.h.
4352
* configure.in: Also check for -lrt for POSIX.1c functions.
4354
Wed May 26 21:03:30 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4356
* configure.in: Removed -Wwrite-strings from CFLAGS.
4358
* ntpdc/ntpdc.c (help): Remove superfluous cast.
4359
* ntpq/ntpq.c (help): Likewise.
4361
Tue May 25 18:00:49 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4363
* ntpq/ntpq_ops.c (struct varlist): name cannot be const char *
4364
since it may be malloc'ed.
4366
* ntpdc/ntpdc.c (sendrequest): Declare pass as const char *, don't
4368
* ntpq/ntpq.c (sendrequest): Likewise.
4370
* ntpd/ntp_control.c (ctl_getitem): Remove superfluous cast.
4371
* include/ntpd.h (struct ctl_var): text cannot be const char *
4372
since it's malloc'ed.
4374
1999-06-22 Harlan Stenn <stenn@whimsy.udel.edu>
4376
* include/l_stdlib.h: Don't include <netinet/in.h>, add forward
4377
declaration of struct in_addr instead.
4378
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4382
* include/l_stdlib.h: Fixed syscall() declaration.
4383
* configure.in: Updated test to match.
4385
* configure.in: Check if we need to declare errno and h_errno.
4386
Check for <resolv.h> which may provide a h_errno declaration and
4387
<arpa/nameserv.h> which the latter needs.
4388
* acconfig.h: Provide the necessary templates.
4390
* include/ntp_syscall.h: New file, hides various implementations
4391
of ntp_adjtime() and ntp_gettime() syscalls.
4392
* ntpd/ntp_loopfilter.c: Use it.
4393
* ntpd/ntp_request.c: Likewise.
4394
* ntpd/refclock_local.c: Likewise.
4395
* util/ntptime.c: Likewise.
4397
* include/l_stdlib.h: Include <netinet/in.h>, declare inet_ntoa if
4399
Moved syscall() declaration here.
4401
* kernel/sys/parsestreams.h: Include <sys/termios.h> for it's
4402
definition of struct ppsclockev.
4403
Include <sys/ppsclock.h> unconditionally for definition of
4404
CIOGETEV via TIOCGPPSEV.
4405
* kernel/sys/ppsclock.h: Protect struct ppsclockev from
4408
* include/ntp_refclock.h: Protect it from multiple inclusion.
4409
* include/ntp_fp.h: Likewise.
4410
* include/ntp.h: Likewise.
4412
* include/ntpd.h: Include ntp_refclock.h for MAXDIAL declaration.
4413
* libntp/authkeys.c: Include ntpd.h for current_time declaration.
4415
* include/ntpd.h (getauthkeys, auth_agekeys, rereadkeys): Moved
4416
prototypes to ntp_stdlib.h
4418
* include/ntp_stdlib.h: Declare variables exported by libntp.
4419
* include/ntpd.h: Likewise for ntpd.
4421
* libntp/authkeys.c (key_hash, authnokey, authfreekeys,
4422
cache_flags): Made static.
4423
* libntp/systime.c (tvu_maxslew, tsf_maxslew, sys_clock_offset,
4424
sys_residual): Likewise.
4425
* ntpd/ntp_intres.c (confentries): Likewise.
4426
* ntpd/ntp_loopfilter.c (clock_offset, clock_panic): Likewise.
4427
(pll_nano): Likewise. Removed duplicate definition.
4428
* ntpd/ntp_peer.c (peer_free, current_association_ID,
4429
assocpeer_calls, init_peer_starttime): Likewise.
4430
* ntpd/ntp_proto.c (sys_offset, sys_authdly): Likewise.
4431
* ntpd/ntp_request.c (numrequests, numresppkts, errorcounter):
4433
* ntpd/ntp_restrict.c (res_calls, res_found, res_not_found,
4434
res_timereset, res_limited_refcnt): Likewise.
4435
* ntpd/ntpd.c (was_alarmed, worker_thread): Likewise.
4437
* ntpq/ntpq_ops.c: Moved declaration of external variable from
4438
ntpq.c to file scope.
4440
* adjtimed/adjtimed.c: Moved declarations of external variables to
4441
ntpd.h and ntp_stdlib.h.
4442
* clockstuff/propdelay.c: Likewise.
4443
* libntp/a_md5encrypt.c, libntp/authencrypt.c, libntp/authkeys.c,
4444
libntp/mfp_mul.c, libntp/msyslog.c, libntp/systime.c: Likewise.
4445
* ntpd/ntp_config.c, ntpd/ntp_control.c, ntpd/ntp_filegen.c,
4446
ntpd/ntp_intres.c, ntpd/ntp_io.c, ntpd/ntp_loopfilter.c,
4447
ntpd/ntp_monitor.c, ntpd/ntp_peer.c, ntpd/ntp_proto.c,
4448
ntpd/ntp_refclock.c, ntpd/ntp_request.c, ntpd/ntp_restrict.c,
4449
ntpd/ntp_timer.c, ntpd/ntp_util.c, ntpd/ntpd.c,
4450
ntpd/refclock_acts.c, ntpd/refclock_arbiter.c, ntpd/refclock_arc.c,
4451
ntpd/refclock_as2201.c, ntpd/refclock_atom.c,
4452
ntpd/refclock_bancomm.c, ntpd/refclock_chronolog.c,
4453
ntpd/refclock_chu.c, ntpd/refclock_datum.c,
4454
ntpd/refclock_dumbclock.c, ntpd/refclock_gpsvme.c,
4455
ntpd/refclock_heath.c, ntpd/refclock_hpgps.c, ntpd/refclock_irig.c,
4456
ntpd/refclock_jupiter.c, ntpd/refclock_leitch.c,
4457
ntpd/refclock_local.c, ntpd/refclock_msfees.c,
4458
ntpd/refclock_mx4200.c, ntpd/refclock_nmea.c,
4459
ntpd/refclock_oncore.c, ntpd/refclock_palisade.h,
4460
ntpd/refclock_parse.c, ntpd/refclock_pst.c, ntpd/refclock_shm.c,
4461
ntpd/refclock_tpro.c, ntpd/refclock_trak.c, ntpd/refclock_true.c,
4462
ntpd/refclock_usno.c, ntpd/refclock_wwvb.c: Likewise.
4463
* ntpdate/ntpdate.c: Likewise.
4464
* ntpdc/ntpdc.c, ntpdc/ntpdc_ops.c: Likewise.
4465
* ntpq/ntpq.c: Likewise.
4466
* ntptrace/ntptrace.c: Likewise.
4467
* util/ntptime.c, til/tickadj.c: Likewise.
4468
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4470
* include/ntp_machine.h: Removed superfluous yy/mm/dd comments.
4471
* include/ntpd.h: Likewise.
4472
* libntp/authencrypt.c: Likewise.
4473
* libntp/a_md5encrypt.c: Likewise.
4474
* libntp/caljulian.c: Likewise.
4475
* libntp/ymd2yd.c: Likewise.
4476
* libntp/syssignal.c: Likewise.
4477
* libntp/ymd2yd.c: Likewise.
4478
* ntpd/ntp_control.c: Likewise.
4479
* ntpd/ntp_io.c: Likewise.
4480
* ntpd/ntp_timer.c: Likewise.
4481
* ntpdate/ntpdate.c: Likewise.
4482
* ntpq/ntpq_ops.c: Likewise.
4483
* ntpd/ntp_peer.c (findpeer): Wrap debug output in DEBUG/debug.
4484
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4486
* dot.emacs: Removed wrong indentation of substatements.
4488
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4490
* ntpd/refclock_palisade.c: Patches from Marc Brett
4491
* ntpd/refclock_palisade.h: Ditto.
4492
* util/hist.c: Ditto.
4494
Tue Jun 1 00:40:04 1999 Harlan Stenn <stenn@pogo.udel.edu>
4496
* build: mips-dec-ultrix4.4 hates "set -e"
4498
* flock-build: Created
4500
* build: added -l option
4502
Mon May 31 20:28:40 1999 Harlan Stenn <stenn@pogo.udel.edu>
4504
* README: Removed auto{make,conf}.patch files
4506
Tue May 25 01:20:53 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4508
* Makefile.am ($(srcdir)/COPYRIGHT): Added
4509
(EXTRA_DIST): Remove auto*.patches
4511
Thu May 20 01:03:00 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4513
* Makefile.am (dist-hook): Call dos2unix on the .htm files
4515
* ntpd/refclock_palisade.h: Clean up declarations.
4517
* configure.in (ac_cv_struct_ntptimeval_timespec): Added.
4518
(ac_cv_make_ntptime): Only if ntptimeval does not use timespec.
4520
* util/tickadj.c: Linux Patches
4521
From: Reg Clemens <reg@dwf.com>
4523
Wed May 19 01:18:24 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4525
* configure.in: 4.0.93a
4527
* ntpd/refclock_palisade.h: Restore some lost patches
4528
From: Kamal A Mostafa <kamal@whence.com>
4530
Sun May 16 13:18:32 1999 Philippe De Muyter <phdm@macqel.be>
4532
* libparse/clk_wharton.c (cvt_wharton_400a, inp_wharton_400a): Expect
4533
serial output format number 1, not 5.
4534
(clock_wharton_400a) : Likewise.
4535
* ntpd/refclock_parse.c (parse_clockinfo): For Wharton 400a clock,
4536
do not poll, but expect a message every second.
4537
* html/parsedata.htm : Entry added for Wharton 400a clock.
4538
* html/driver8.htm : Entry fixed for Wharton 400a clock.
4540
Sun May 16 02:59:46 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4542
* configure.in: 4.0.93
4544
Sat May 15 18:53:47 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4546
* configure.in (ntp_refclock): ONCORE requires PPSAPI, CIOGETEV,
4548
Reported by: Reg Clemens <reg@dwf.com>
4550
Fri May 14 23:58:35 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4552
* configure.in: 4.0.92h2
4554
* configure.in (ac_cv_make_ntptime): Not under Linux. Yes, it
4555
works for some people. We're tired of the complaints from the
4558
Fri May 14 18:58:59 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4560
* libntp/authreadkeys.c (authreadkeys): Reject autokey keys.
4561
Include ntp.h for NTP_MAXKEY definition, ntp_fp.h for types used
4564
Wed May 12 23:02:22 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4566
* libntp/authkeys.c (auth_delkeys): Don't remove autokey keys,
4567
leave info on KEY_TRUSTED flag alone.
4568
Include ntp.h for NTP_MAXKEY definition.
4570
Thu May 13 02:19:02 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4572
* configure.in: 4.0.92h1
4574
* configure.in: patch for ReliantUNIX
4575
From: Andrej Borsenkow <borsenkow.msk@sni.de>
4577
* ntpd/refclock_oncore.c: Patches
4578
From: Reg Clemens <reg@dwf.com>
4580
Thu Apr 29 14:01:04 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4582
* html/*.htm: Remove unnecessary . Cleanup <pre></pre>
4585
* configure.in: Properly align configure --help output.
4586
* html/config.htm: Include this version, removing Netscape
4589
Wed Apr 28 15:08:55 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4591
* kernel/sys/parsestreams.h: Only include <sys/ppsclock.h> if
4592
struct ppsclockev is missing from system headers.
4594
* util/tickadj.c (getoffsets): Define kernels[] only if used.
4595
(openfile): Rename fd to avoid shadowing global fd.
4596
(writevar): Likewise.
4597
(readvar): Likewise.
4599
* parseutil/dcfd.c (read_drift): drift_file is const char *.
4600
(update_drift): Likewise.
4601
(adjust_clock): Likewise.
4604
* ntpd/refclock_parse.c (gps16x_poll): Adapt format to match
4605
parse->localstate type.
4607
* ntpd/ntp_refclock.c (refclock_gtlin): Only define gotit label
4610
* include/l_stdlib.h (openlog, syslog): char * args are const.
4612
* configure.in (*-*-osf4*): Enable declaration of stime().
4614
* ntpd/refclock_oncore.c (oncore_msg_any): Cast args to long to
4616
(oncore_msg_En): Likewise.
4618
* include/ntp_refclock.h (struct refclockstat): Declare p_lastcode
4621
* ntpq/ntpq_ops.c (struct varlist): Define name as const.
4623
* ntpdc/ntpdc.c (tokenize): Define cp as const char *, remove
4626
* ntpd/ntp_util.c (record_clock_stats): Make text arg const.
4627
* include/ntpd.h (record_clock_stats): Adapt declaration.
4628
* ntpd/refclock_oncore.c (oncore_start): Removed superfluous casts.
4629
(oncore_msg_Cf): Likewise.
4630
(oncore_msg_Fa): Likewise.
4631
(oncore_msg_Cj): Likewise.
4632
(oncore_msg_Ea): Likewise.
4633
(oncore_msg_Bj): Likewise.
4635
* configure.in (*-*-solaris2.4): Enable declarations of
4636
gettimeofday(), settimeofday(); they are `protected' by
4637
__cplusplus in <sys/time.h>.
4639
Tue Apr 27 21:14:47 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4641
* scripts/summary.pl: Use . as default statsdir.
4642
(do_loop): Accept new loopstats format with additional sys_error
4643
and clock_stability fields.
4644
(do_peer): Accept new peerstats format with additional skew field.
4646
Mon Apr 26 01:50:38 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4648
* Upgraded automake (1.4a) and autoconf (2.14.1)
4650
* configure.in (ac_refclock_irig): We no longer need stropts.h.
4651
* ntpd/refclock_irig.c: Ditto
4653
Mon Apr 26 17:33:33 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4655
* configure.in (*-*-irix6*): Don't pass MIPSpro cc-only flag -n32
4658
Thu Apr 22 15:06:40 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4660
* ntpd/ntp_config.c (getconfig): IN_CLASSD() expects address in
4661
host byte order, but struct sockaddr_in.s_addr is in network byte
4663
* ntpd/ntp_io.c (io_multicast_del): Likewise.
4665
Sat Apr 24 01:00:53 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4667
* configure.in: 4.0.92h
4669
* ntptrace/ntptrace.c: -m maxhost patch
4670
From: "R. Gary Cutbill" <rgary@chrysalis.com>
4672
* util/ntptime.c: Patches.
4673
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
4675
* html/accopt.htm, html/assoc.htm, html/authopt.htm,
4676
html/biblio.htm, html/build.htm, html/clockopt.htm,
4677
html/confopt.htm, html/copyright.htm, html/debug.htm,
4678
html/exec.htm, html/extern.htm, html/hints.htm, html/index.htm,
4679
html/kern.htm, html/miscopt.htm, html/monopt.htm, html/notes.htm,
4680
html/ntpd.htm, html/ntpdate.htm, html/ntpdc.htm, html/ntpq.htm,
4681
html/ntptime.htm, html/ntptrace.htm, html/patches.htm,
4682
html/porting.htm, html/pps.htm, html/rdebug.htm,
4683
html/refclock.htm, html/release.htm, html/tickadj.htm,
4684
html/hints/solaris.html: Fixed many typos and problems.
4685
* acconfig.h (DECL_CFSETISPEED_0, DECL_MRAND48_0, DECL_NLIST_0,
4686
DECL_SRAND48_0, DECL_STIME_0): New templates.
4687
* include/l_stdlib.h: Include termios.h to get definition of
4689
(cfsetispeed, cfsetospeed, mrand48, nlist, srand48, stime): New
4691
(openlog): Declare 2- or 3-argument form.
4692
* configure.in: Enable declarations of functions missing from
4693
Ultrix V4.3 system headers.
4694
* ntpd/refclock_oncore.c: Include <sys/types.h>, Ultrix V4.3
4695
<sys/stat.h> needs it for dev_t.
4696
From: Rainer Orth <ro@techfak.uni-bielefeld.de>
4698
* ntpdc/ntpdc_ops.c: Reality checks.
4700
* configure.in: netbsd has stubs for the timer_* stuff and doesn't
4701
support PPSAPI. IRIG requires <stropts.h> .
4702
From: Frederick Bruckman <fb@enteract.com>
4704
* ntpdc/ntpdc_ops.c: (kerninfo) Report in seconds regardless of
4705
kernel precision. Report kernel flags as text.
4706
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
4708
Sun Apr 18 14:26:51 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4710
* configure.in: 4.0.92g
4712
* ntpd/ntp_refclock.c (refclock_ioctl): We don't want
4713
PPS_HARDPPSONASSERT by default.
4714
* ntpd/refclock_oncore.c: Prefer timepps.h over sys/timepps.h
4715
From: Poul-Henning Kamp <phk@freebsd.org>
4717
Tue Apr 13 17:32:35 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4719
* configure.in: 4.0.92f
4721
* ntpd/ntp_refclock.c (refclock_open): VMIN should be 1, not 0
4722
From: Reg Clemens <reg@dwf.com>
4724
Sun Apr 11 18:26:44 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4726
* ntpd/refclock_mx4200.c: Patches/improvements
4727
* ntpd/ntpd.c (set_process_priority): Lint
4728
From: Marc.Brett@westgeo.com
4730
* util/ntptime.c: Lint, bit definition cleanup
4731
From: Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
4733
Wed Apr 7 03:02:23 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4735
* ntpd/refclock_oncore.c: Use timepps.h or sys/timepps.h
4736
* configure.in: Look for either timepps.h or sys/timepps.h
4737
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
4739
* ntpd/ntp_io.c (create_sockets): Don't warn about ENXIO.
4741
From: Andrej Borsenkow <borsenkow.msk@sni.de>
4743
* libntp/mfp_mul.c (mfp_mul): Lint.
4744
Marc.Brett@westgeo.com
4746
Sun Apr 4 03:23:53 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4748
* configure.in: 4.0.92e
4749
Dave redesigned the clock state machine.
4751
1999-02-28 Frank Kardel <kardel@acm.org>
4753
* parseutil/dcfd.c: added DCF77 module powersetup
4755
* ntpd/refclock_parse.c (parse_control): using gmprettydate instead of prettydate()
4756
(mk_utcinfo): new function for formatting GPS derived UTC information
4757
(gps16x_message): changed to use mk_utcinfo()
4758
(trimbletsip_message): changed to use mk_utcinfo()
4759
ignoring position information in unsynchronized mode
4760
(parse_start): augument linux support for optional ASYNC_LOW_LATENCY
4762
* ntpd/ntp_control.c (ctl_putclock): cleanup of end of buffer handling
4764
* libparse/parse.c (timepacket): removed unnecessary code
4766
* libparse/clk_trimtsip.c (struct trimble): new member t_utcknown
4767
(cvt_trimtsip): fixed status monitoring, bad receiver states are
4770
* libntp/prettydate.c (gmprettydate): new function for format date
4771
and time with respect to UTC
4773
* libntp/gpstolfp.c (GPSWRAP): update GPS rollover to 990 weeks
4775
* include/trimble.h (CMD_RUTCPARAM): control variable name unification
4777
* include/ntp_fp.h: added prototype for gmprettydate()
4779
Sat Feb 27 00:03:16 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4781
* libntp/systime.c: definition
4782
* ntpd/ntp_proto.c: sco5_oldclock declaration
4783
* configure.in: SCO5_CLOCK for *-*-sco3.2v5*
4784
* util/tickadj.c (main): SCO5_OLDCLOCK -> SCO5_CLOCK
4785
From: Kees Hendrikse <kees@echelon.nl>
4787
* ntpd/ntp_config.c (getconfig): Indentation cleanup
4788
Deal with 'P' case better
4789
* ntpd/ntpd.c: Declare set_process_priority()
4790
* ntpd/refclock_dumbclock.c: Lint cleanup
4791
From: Marc.Brett@westgeo.com
4793
Wed Feb 24 10:22:51 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4795
* configure.in: 4.0.92d
4797
* configure.in: Dave says we can't enable PARSE clocks by default.
4798
Also, Solaris 2.7 still has its kernel bug - disable kernel FLL
4800
Reported by: Dave Mills <dlm@udel.edu>
4802
Tue Feb 23 23:37:44 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4804
* libparse/Makefile.am (parsesolaris.o): Devious hack to deal
4805
with bug in sys/systm.h .
4806
Suggested by: Chaim Frenkel <chaimf@pobox.com>
4808
Tue Feb 23 20:46:31 1999 Frank Kardel <kardel@acm.org>
4810
* ntpd/refclock_parse.c: fixed #endifs
4811
(stream_receive): fixed formats
4813
Mon Feb 22 00:35:06 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4815
* configure.in: 4.0.92c
4817
* ntpd/refclock_chronolog.c: Lint
4818
* ntpd/refclock_dumbclock.c: Ditto
4819
* ntpd/refclock_oncore.c: Ditto
4820
From: Marc.Brett@westgeo.com
4822
* ntpd/refclock_oncore.c (oncore_msg_any): Call GETTIMEOFDAY, not
4824
From: david.higgins@mail.ccur.com
4826
* configure.in (MCAST): Not in i386-sequent-sysv4
4827
Reported by: Joseph Geter <joe.geter@somills.com>
4829
* util/ntptime.c: Linux cleanup.
4830
From: Reg Clemens <reg@dwf.com>
4832
* configure.in: Rename SCO5_OLDCLOCK to SCO5_CLOCK
4835
* ntpd/ntp_proto.c: SCO5_CLOCK stuff
4836
(init_proto): Use the SCO5_CLOCK stuff
4837
* libntp/systime.c: SCO5_CLOCK stuff
4838
(get_systime): Use the SCO5_CLOCK stuff
4839
(adj_systime): Use the SCO5_CLOCK stuff
4840
From: Kees Hendrikse <kees@echelon.nl>
4842
* ntpd/ntp_config.c: Added -P option and associated baggage.
4843
(getstartup): Update help text
4844
(getconfig): Process -P option
4845
(getconfig): Update help text
4846
* ntpd/ntpd.c (set_process_priority): Created.
4847
(service_main): remove process priority stuff - we want to do at
4848
after we start up the resolver, so call set_process_priority()
4850
From: Kamal A Mostafa <kamal@whence.com>
4852
1999-02-21 Frank Kardel <kardel@acm.org>
4854
* ntpd/ntp_util.c (hourly_stats): removed unused variable
4856
* libntp/ieee754io.c: renamed index to fieldindex to avoid index() name clash
4858
* ntpd/refclock_parse.c (parse_start): add initialization for Linux PPSkit
4860
Sun Feb 21 17:53:33 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4862
* ntpd/ntp_io.c (create_sockets): Skip interfaces that are really
4864
From: "Erik R. Leo" <erikl@sover.net>
4866
* configure.in: 4.0.92b
4868
* ntpd/ntpd.c (service_main): Check for an error return from
4869
sched_get_priority_max().
4871
Wed Feb 17 03:48:47 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4873
* configure.in: 4.0.92a
4875
* configure.in: configure.in requires autoconf 2.13 or later.
4876
Reported by Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
4878
Wed Feb 17 00:12:11 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4880
* acconfig.h: TERMIOS_NEEDS__SVID3
4881
* configure.in: Ditto
4882
* ntpd/refclock_palisade.h: Ditto
4883
* include/ntp_refclock.h: Ditto
4884
* ntpd/ntpd.c (service_main): We want sched_get_priority_max().
4885
From: Kamal A Mostafa <kamal@whence.com>
4887
* ntpd/ntp_refclock.c (refclock_open): Zero the entire c_cc[] array.
4888
From: Reg Clemens <reg@dwf.com>
4890
Tue Feb 16 23:37:49 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4893
Reported by: Marc Brett
4895
Mon Feb 15 02:55:28 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4897
* configure.in: 4.0.92
4899
* ntpd/ntp_refclock.c: Added refclock_chronolog and
4901
From: Robert McMillin <rlm@syseca-us.com>
4903
Sun Feb 14 15:57:53 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4905
* dropped SCO3 support #defines.
4906
* changed SCO5_TICKADJ #define to SCO5_OLDCLOCK
4907
* Added code in libntp/systime.c to accumulate changes until a whole
4908
tick can be added or dropped. Adjusted gettimeofday() output
4909
to include the contents of the accumulator.
4910
* cleaned up util/tickadj.c; tickadj -As now does the right thing.
4911
From: Kees Hendrikse <kees@echelon.nl>
4913
* ntpq/ntpq.c: Rename delay() to auth_delay()
4914
Reported by: Andrej Borsenkow <borsenkow.msk@sni.de>
4916
* ntpd/refclock_palisade.h: Cleanup.
4917
From: Marc.Brett@westgeo.com
4919
* ntpd/ntp_refclock.c (refclock_ioctl): Typo.
4920
From: Reg Clemens <reg@dwf.com>
4922
* ntpd/ntp_io.c (create_sockets): Only bind a given network once.
4923
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
4925
Sat Jan 30 11:48:37 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4927
* configure.in: 4.0.91f
4929
Thu Jan 28 22:58:40 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4931
* ntpd/refclock_parse.c (CLK_REALTYPE): We really want ttl, not hmode.
4932
* ntpd/ntp_config.c (getconfig): "mode" really should update the
4933
ttl member, not the hmode member.
4935
* ntpd/refclock_local.c: More offset cleanup from Dave.
4937
Thu Jan 28 00:15:20 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4939
* configure.in: 4.0.91e
4941
* ntpd/refclock_local.c: Bugfix.
4944
* ntpd/refclock_palisade.c: Lint/IRIX portability cleanup
4945
* ntpd/refclock_palisade.h: Re-enable the declaration of float()
4946
* ntpd/ntp_io.c (create_sockets): Initialize size to 0
4947
From: Marc.Brett@westgeo.com
4949
* ntpd/refclock_parse.c (CLK_REALTYPE): Use hmode, not ttl.
4950
* configure.in (ac_cv_var_no_parenb_ignpar): Not under Linux.
4951
Reported by: Thomas Quinot <thomas@Cuivre.FR.EU.ORG>
4953
* ntpdc/ntpdc.c (my_delay): Renamed, from delay.
4954
Reported by: Andrej Borsenkow <borsenkow.msk@sni.de>
4956
Tue Jan 26 00:56:10 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4958
* configure.in: 4.0.91d
4960
* ntpq/ntpq.c: Y2K patches
4961
From: Marc.Brett@westgeo.com
4963
* html/driver29.htm: New version
4964
* ntpd/refclock_palisade.c: Ditto
4965
* ntpd/refclock_palisade.h: Ditto
4966
From: Sven_Dietrich@Trimble.COM
4968
* upgrade ansi2knr.c
4970
* Some stuff that Dave did.
4972
* configure.in: 4.0.91c
4974
* ntpd/refclock_oncore.c: Prototype cleanup. Enum cleanup.
4975
* ntpd/ntp_proto.c (clock_select): Fix memory leak.
4976
* configure.in (ac_cv_struct_ppsclockev): Might need sys/time.h to
4977
check for struct clockppsev. Return pce->serial, not 0;
4978
From: Marc.Brett@westgeo.com
4980
* ntpd/refclock_oncore.c (oncore_msg_En): Clean up.
4981
From: John.Hay@mikom.csir.co.za
4983
Mon Jan 25 11:50:29 1999 Philippe De Muyter <phdm@macqel.be>
4985
* libparse/parse_conf.c (clockformats): Entry added for
4987
* libparse/clk_wharton.c: New file.
4988
* libparse/Makefile.am (libparse_a_SOURCES): clk_wharton.c added;
4989
(libparse_kernel_a_SOURCES): kclk_wharton.c added.
4990
(kclk_wharton.o): New dependency rule.
4991
* ntpd/refclock_parse.c (parse_clockinfo): Entry added for the
4992
WHARTON clock (mode 15).
4993
* acconfig.h (CLOCK_WHARTON_400A): New configuration macro.
4994
* configure.in (CLOCK_WHARTON_400A): Macro defined like other
4997
Sun Jan 24 13:51:30 1999 Harlan Stenn <stenn@whimsy.udel.edu>
4999
* ntpd/ntp_config.c (do_resolve_internal): Missing #ifdef DEBUG
5000
From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
5002
* Makefile.am (SUBDIRS): Lose authstuff
5003
* configure.in: Ditto
5005
Sat Jan 23 15:28:03 1999 Harlan Stenn <stenn@whimsy.udel.edu>
5007
* configure.in: 4.0.91b
5009
Sat Jan 23 15:02:25 1999 Harlan Stenn <stenn@whimsy.udel.edu>
5011
* ntpd/refclock_oncore.c: use HAVE_STRUCT_PPSCLOCKEV
5012
* acconfig.h: HAVE_STRUCT_PPSCLOCKEV
5013
* configure.in (ac_cv_struct_ppsclockev): Added test
5015
Thu Jan 21 15:35:25 1999 Harlan Stenn <stenn@whimsy.udel.edu>
5017
* configure.in: 4.0.91a
5019
* ntpd/refclock_nmea.c (nmea_receive): Call refclock_process()
5020
every second (or each time a nmea string is received).
5021
From: John Hay <jhay@mikom.csir.co.za>
5023
* ntpd/ntp_refclock.c (refclock_ioctl): Use TIOCPPS if we have it.
5024
(refclock_ioctl): Use LDISC_CLKPPS, not LDISC_PPS when deciding
5026
* ntpd/ntp_loopfilter.c: Lose unused ntp_gettime() stuff.
5027
* ntpd/ntp_request.c: Ditto.
5028
* ntpd/refclock_local.c: Ditto.
5029
* ntpd/refclock_shm.c (shm_poll): Fix the refclock_process() call.
5030
* ntpd/refclock_oncore.c: patches and cleanup
5031
* configure.in: ioctl/PPS checks, ONCORE cleanup
5032
* acconfig.h: ONCORE cleanup
5033
From: Reg Clemens <reg@dwf.com>
5035
* configure.in (CFLAGS): cc on Sequent wants -Wc,+abi-socket.
5036
We also need to figure out why -lsocket isn't being detected;
5038
From: Dana Kaempen <decay@flash.net>
5040
* include/ntp_stdlib.h: AIX portability patches, header cleanup.
5041
* ntptrace/ntptrace.c: Ditto.
5042
* ntpdate/ntpdate.c: Ditto.
5043
* ntpd/refclock_true.c: Ditto.
5044
* ntpd/refclock_mx4200.c: Ditto.
5045
* ntpd/refclock_jupiter.c: Ditto.
5046
* libntp/msyslog.c: Ditto.
5047
From: Marc.Brett@waii.com
5049
Sun Jan 10 15:15:07 1999 Harlan Stenn <stenn@whimsy.udel.edu>
5051
* configure.in: 4.0.91
5053
Sat Jan 9 00:11:34 1999 Harlan Stenn <stenn@whimsy.udel.edu>
5055
* include/ntp_stdlib.h: msyslog() is declared differently if we're
5058
* include/ntp_types.h: It's HAVE_PROTOTYPES, not USE_PROTOTYPES.
5059
* include/ntp_machine.h: Ditto.
5061
Fri Jan 8 20:47:10 1999 Harlan Stenn <stenn@whimsy.udel.edu>
5063
* configure.in: Upgrade to autoconf-2.13
5064
Do the prototypes check much earlier, as it might alter CFLAGS and
5065
things which will affect other tests.
5067
* ntpd/ntp_request.c (do_conf): The problem was with a template
5068
for "version" on an IRIX C compiler...
5069
From: Marc.Brett@waii.com
5071
* libntp/authkeys.c: #include config.h first.
5072
Reported by: brian.bumpass@funb.com
5074
Thu Jan 7 00:24:35 1999 Harlan Stenn <stenn@whimsy.udel.edu>
5076
* util/tickadj.c (main): return() instead of exit().
5077
* ntpd/ntp_request.c (do_conf): Disambiguate ||.
5078
* ntpd/ntp_proto.c (clock_select): Initialize variables.
5079
From: Marc.Brett@waii.com
5081
* scripts/ntpver.in: Use PATH_SH
5083
* configure.in (PATH_SH): Added.
5085
Tue Jan 5 19:02:51 1999 Harlan Stenn <stenn@whimsy.udel.edu>
5087
* configure.in: 4.0.90h
5089
* html/driver30.htm: Updated.
5090
* html/refclock.htm: Refer to driver30
5091
* ntpd/refclock_oncore.c: Vastly improve and make less FreeBSD centric,
5092
From: Poul-Henning Kamp <phk@critter.freebsd.dk> and
5093
Reg.Clemens <reg@dwf.com>
5095
* include/ntp.h: Portability/lint patches
5096
* libntp/binio.c: Ditto.
5097
* libntp/caljulian.c: Ditto.
5098
* libntp/caltontp.c: Ditto.
5099
* libntp/ieee754io.c: Ditto.
5100
* libntp/md5c.c: Ditto.
5101
* libntp/mfp_mul.c: Ditto.
5102
* libntp/msyslog.c: Ditto.
5103
* libntp/statestr.c: Ditto.
5104
* libntp/systime.c: Ditto.
5105
* libparse/clk_trimtsip.c: Ditto.
5106
* libparse/data_mbg.c: Ditto.
5107
* libparse/parse.c: Ditto.
5108
* ntpd/ntp_control.c: Ditto.
5109
* ntpd/ntp_filegen.c: Ditto.
5110
* ntpd/ntp_intres.c: Ditto.
5111
* ntpd/ntp_io.c: Ditto.
5112
* ntpd/ntp_peer.c: Ditto.
5113
* ntpd/ntp_proto.c: Ditto.
5114
* ntpd/ntp_util.c: Ditto.
5115
* ntpd/ntpd.c: Ditto.
5116
* ntpd/refclock_arc.c: Ditto.
5117
* ntpd/refclock_chu.c: Ditto.
5118
* ntpd/refclock_datum.c: Ditto.
5119
* ntpd/refclock_leitch.c: Ditto.
5120
* ntpd/refclock_parse.c: Ditto.
5121
* ntpd/refclock_usno.c: Ditto.
5122
* ntpq/ntpq.c: Ditto.
5123
* util/tickadj.c: Ditto.
5124
From: Marc.Brett@waii.com
5126
Mon Jan 4 00:56:55 1999 Harlan Stenn <stenn@whimsy.udel.edu>
5128
* configure.in: 4.0.90g
5130
* ntpd/ntp_config.c (getconfig): MODE was setting ttl, not hmode.
5131
Reported by: Carsten Emde <ce@ceag.ch>
5133
Fri Dec 4 01:01:14 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5135
* configure.in: 4.0.90f
5137
* ntpd/refclock_mx4200.c: New version
5138
From: Marc.Brett@waii.com
5140
1998-12-02 Harlan Stenn <stenn@whimsy.udel.edu>
5142
* ntpd/ntp_config.c (do_resolve_internal): If fork fails, say why.
5143
Reported by: Jeff_Dennison@admin.tc.faa.gov
5145
* ntpd/ntpd.c (ntpdmain): fork() can return a -1. Someday we'll
5146
report this condition...
5148
1998-12-02 Harlan Stenn <stenn@whimsy.udel.edu>
5150
* configure.in: 4.0.90e
5152
* ntpd/refclock_palisade.c: Reformat code so ansi2knr will work
5153
* ntpd/refclock_palisade.h: Ditto
5154
From: Marc.Brett@waii.com
5156
Sun Nov 29 21:00:53 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5158
* configure.in: 4.0.90d
5160
* configure.in (CFLAGS): Use "-O2 -g3 -n32" by default for Irix6.2
5162
Reported by: Jack Bryans <jbryans@csulb.edu>
5164
1998-11-29 Harlan Stenn <stenn@whimsy.udel.edu>
5166
* configure.in: 4.0.90c
5168
* ntpd/refclock_oncore.c (oncore_msg_En): Convert to nano
5169
From: John Hay <jhay@mikom.csir.co.za>
5171
* include/ntp_request.h (RM_VN_MODE): Add version parameter, so
5172
xntpdc will work across v3 and v4.
5173
* ntpd/ntp_request.c: Track requested version
5174
(req_ack): Use requested version in RM_VN_MODE
5177
(process_private): Get requested version
5178
* ntpd/ntp_intres.c (request): Use default version
5179
* ntpdc/ntpdc.c (sendrequest): Ditto
5180
From: John Hay <jhay@mikom.csir.co.za>
5182
Fri Nov 27 14:27:21 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5184
* ntpd/refclock_palisade.c: Lint cleanup
5185
* ntpd/refclock_palisade.h: Ditto.
5186
From: Marc Brett <mbrett@rgs0.london.waii.com>
5188
Mon Nov 23 04:45:03 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5190
* configure.in: 4.0.90b
5192
* New code and cleanup for the NT stuff
5193
From: Carl Byington <carl@five-ten-sg.com>
5195
Sat Nov 21 21:21:45 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5197
* configure.in: 4.0.90a
5199
* libntp/systime.c (step_systime): net_set_tod calls clock_settime.
5200
* libntp/machines.c (ntp_set_tod): Take a 2nd arg for NT.
5201
* include/ntp_machine.h: ntp_set_tod() has 2 args always.
5202
* ports/winnt/bldrel.bat: Typo.
5203
From: Carl Byington <carl@five-ten-sg.com>
5205
* ntpd/ntp_intres.c (findhostaddr): h_errno is a #define under AIX.
5206
* configure.in: clock_settime is a stub in AIX4.
5207
From: Perry Ross <pross@platinum.com>
5209
* libntp/Makefile.am (EXTRA_DIST): Lose libntp.mak
5210
* ntpd/Makefile.am (EXTRA_DIST): Ditto.
5211
* ntpdate/Makefile.am (EXTRA_DIST): Ditto.
5212
* ntpdc/Makefile.am (EXTRA_DIST): Ditto.
5213
* ntpq/Makefile.am (EXTRA_DIST): Ditto.
5214
From: Greg Schueman <schueman@ix.netcom.com>
5216
Sat Nov 21 12:33:16 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5218
* configure.in: 4.0.90
5220
Nano changes from Dave Mills.
5222
Thu Nov 19 04:23:46 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5224
* include/ntp_machine.h: STREAM also needs HAVE_SYS_STREAM_H
5225
Reported by: Ronald Cole <ronald@forte-intl.com>
5227
Mon Nov 16 19:17:34 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5229
* configure.in: 4.0.73e14
5231
* util/ntptime.c (main): Protect STA_NANO
5233
* ntpd/refclock_oncore.c: General overhaul and simplifications.
5234
The new manual clarifies a lot of fine points, and the driver has
5235
been suitably simplified. Uses Site Survey if possible, otherwise
5236
does it by hand. Should also work with non-UT models, as long as
5237
they talk the Motorola Binary Protocol. The driver Doesn't (need
5238
to) know where the author lives anymore.
5239
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
5241
* ntpd/refclock_palisade.h: New version.
5242
* ntpd/refclock_palisade.c: New version.
5243
From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
5245
Sat Oct 24 01:19:21 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5247
* configure.in: 4.0.73e13
5249
* ntpdc/ntpdc_ops.c (clkbug): Patches
5250
* ntpd/ntp_refclock.c (refclock_buginfo): Patches
5251
From: Marc.Brett@waii.com
5253
Sat Oct 10 20:13:14 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5255
* configure.in: 4.0.73e12
5257
* ntpd/ntp_util.c (hourly_stats): Added prio_set stuff.
5259
* ntpd/ntpd.c (ntpdmain): HAVE_SETPGRP_0 typo.
5260
* parseutil/dcfd.c (detach): Ditto.
5261
* ntpd/ntp_control.c (ctl_putpeer): Sometimes, peer->dstadr is
5263
From: Perry Ross <pross@platinum.com>
5266
Some systems use sys/sched.h, not sched.h (Irix)
5267
* configure.in (CFLAGS): nextstep needs -posix.
5268
Reported by: Jack Bryans <jbryans@csulb.edu>
5270
Sat Oct 3 02:32:46 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5272
* configure.in: 4.0.73e11
5274
* configure.in (ac_refclock_palisade): Needs termios.
5276
* libntp/mktime.c: Some systems need sys/types.h
5278
* configure.in: Added AC_TYPE_SIZE_T and AC_CHECK_TYPE(time_t, long)
5279
The time_t stuff should only be needed on Older machines, so the
5280
fact that I'm using a long shouldn't be a problem (hollow laugh).
5282
* include/l_stdlib.h: Sometimes we need to #include <sys/types.h>
5284
* libntp/Makefile.am (../include/des.h): Typo.
5286
Fri Oct 2 20:52:47 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5288
* ntpd/ntp_intres.c (request): Accept responses back thru V2.
5290
Thu Oct 1 00:11:16 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5292
* configure.in: 4.0.73e9
5294
* ntpd/ntpd.c (catch_danger): Added.
5295
(ntpdmain): AIX SIGDANGER stuff
5296
From: Lars-Owe Ivarsson <larsowe@paradisaea.its.uu.se>
5299
* include/ntp_machine.h:
5300
* include/ntp_string.h:
5301
* libntp/machines.c:
5302
* libparse/clk_hopf6021.c:
5303
* libparse/clk_trimtsip.c:
5304
* ntpd/refclock_leitch.c:
5305
* ntpd/refclock_palisade.c:
5306
* ntpd/refclock_parse.c:
5307
Here are some patches to suppress warnings from various compilers
5308
(IRIX 5.3, MipsPro C 7.1 on IRIX 6.4, AIX 4.1) and loaders (IRIX
5309
5.3, IRIX 6.4). Shouldn't affect functionality at all.
5310
From: Marc Brett <mbrett@rgs0.london.waii.com>
5311
(I got similar patches for AIX from Lars-Owe Ivarsson
5312
<larsowe@paradisaea.its.uu.se>)
5314
Thu Sep 24 21:33:50 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5316
* configure.in: '73e8
5318
* configure.in: AIX4 stubs the POSIX timer_ stuff,
5319
sched_setscheduler, and mlockall.
5320
Reported by: Lars-Owe Ivarsson <larsowe@paradisaea.its.uu.se>
5322
* configure.in: OpenBSD stubs the POSIX timer_ stuff.
5323
Reported by: sidney august cammeresi iv <cammeres@uiuc.edu>
5324
(and several other folks whose names I can't find at the moment)
5326
Mon Sep 21 15:35:23 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5328
* configure.in: '73e7
5330
* ntpd/refclock_parse.c: Missing declaration
5331
From: Marc Brett <mbrett@rgs0.london.waii.com>
5333
* include/README: Remove old MCAST descriptions
5335
* include/Makefile.am (noinst_HEADERS): Lose sun-in.h .
5337
Mon Sep 21 14:50:12 1998 Harlan Stenn <stenn@grundoon.udel.edu>
5339
* ntpdate/ntpdate.c (timer): Properly format the definition.
5341
Sun Sep 20 23:02:50 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5343
* configure.in: '73e6
5345
* include/Makefile.am (noinst_HEADERS): Renamed in.h to sun-in.h
5347
Fri Sep 18 01:05:55 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5349
* configure.in: '73e5
5351
* ntpd/refclock_palisade.c: SCO patch
5352
From: Kamal A Mostafa <kamalm@sco.com>
5354
* libparse/clk_trimtsip.c (cvt_trimtsip): Fix rollover bug.
5355
From: "Michael J. Tubby B.Sc. G8TIC" <Mike.Tubby@thorcom.co.uk>
5357
* libntp/authencrypt.c:
5359
* ntpd/refclock_acts.c:
5360
* ntpd/refclock_arbiter.c:
5361
* ntpd/refclock_arc.c:
5362
* ntpd/refclock_as2201.c:
5363
* ntpd/refclock_atom.c:
5364
* ntpd/refclock_chu.c:
5365
* ntpd/refclock_conf.c:
5366
* ntpd/refclock_datum.c:
5367
* ntpd/refclock_heath.c:
5368
* ntpd/refclock_hpgps.c:
5369
* ntpd/refclock_irig.c:
5370
* ntpd/refclock_leitch.c:
5371
* ntpd/refclock_nmea.c:
5372
* ntpd/refclock_palisade.c:
5373
* ntpd/refclock_parse.c:
5374
* ntpd/refclock_pst.c:
5375
* ntpd/refclock_trak.c:
5376
* ntpd/refclock_true.c:
5377
* ntpd/refclock_usno.c:
5378
* ntpd/refclock_wwvb.c:
5379
Typos, cleanup, and bugfixes
5380
From: Marc Brett <mbrett@rgs0.london.waii.com>
5382
* ntpd/ntp_timer.c (timer): Typo.
5383
* include/ntp_refclock.h: in refclockstat, clockdesc should be const.
5384
* ntpd/ntp_io.c (create_sockets): Typo.
5385
* ntpd/ntp_control.c (free_varlist): Use the appropriate cast when
5387
(set_var): Use char *td for non-const char data.
5388
(ctl_getitem): Use char * for non-const data.
5389
(Many of these reported by Marc Brett)
5391
Sun Sep 13 19:19:09 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5393
* ntpd/ntpd.c: Added nofork declaration.
5394
(ntpdmain): Initialize it...
5395
* ntpd/ntp_config.c: added nofork.
5396
Updated ntp_options.
5397
(getstartup): Updated "usage" string. Deal with -n flag.
5399
From: Jeffrey Hutzelman <jhutz@cs.cmu.edu>
5401
* ntpd/ntp_io.c (open_socket): Use ntoa() to print out the address
5402
when bind() fails. (in 2 places)
5403
Reported by: "Markus W. Fehr" <mfehr@ch.ibm.com>
5404
Only soft-fail if an interface is unavailable.
5405
(create_sockets): Don't SO_REUSEADDR if the interface is unavailable.
5406
From: "Markus W. Fehr" <mfehr@ch.ibm.com>
5408
* configure.in: If we --disable-all-clocks, then don't enable
5409
parse clocks by default.
5410
Reported by: Marion Hakanson <hakanson@cse.ogi.edu>
5412
Sat Aug 22 23:58:14 1998 Frank Kardel <kardel@acm.org>
5414
* ntpd/refclock_parse.c (local_input): fixed IO handling for non-STREAM IO
5416
Sun Aug 16 20:13:32 1998 Frank Kardel <kardel@acm.org>
5418
* libntp/ieee754io.c: debug information only compile for LIBDEBUG case
5420
* ntpd/refclock_parse.c (gps16x_message): reduced UTC parameter information (dropped A0,A1)
5421
made uval a local variable (killed one of the last globals)
5422
(sendetx): added logging of messages when in debug mode
5423
(trimble_check): added periodic checks to facilitate re-initialization
5424
(trimbletsip_init): made use of EOL character if in non-kernel operation
5425
(trimbletsip_message): extended message interpretation
5426
(getdbl): fixed data conversion
5428
* libparse/parse_conf.c (clockformats): Trimble TSIP driver now also
5429
available for kernel operation
5431
* libparse/info_trimble.c: re-generated
5433
* libparse/clk_trimtsip.c (cvt_trimtsip): initial kernel capable version (no more floats)
5434
(clock_trimtsip =): new format name
5436
* libparse/clk_trimtaip.c (clock_trimtaip =): changed format name
5438
* include/trimble.h (CMD_RSTATTRACK): renamed mode 6 variable name
5440
* scripts/monitoring/ntploopwatch: moved emacs mode selector
5442
Mon Aug 10 15:32:48 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5444
* ntpd/refclock_acts.c: Patch cleanup
5445
* ntpd/ntp_refclock.c: Patch cleanup
5446
* ntpd/ntp_timer.c: Patch cleanup
5447
From: qli@huey.udel.edu
5449
Wed Jul 29 15:23:21 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5451
* libntp/machines.c: IRIX needs time.h
5452
Reported by: Judith E Bush <jbush@fi.edu>
5454
* ntpd/ntpd.c (service_main): Better AIX PROCLOCK fix.
5455
From: Matt Ladendorf <matt.ladendorf@anheuser-busch.com> and
5456
Grover Davidson <Grover.Davidson@anheuser-busch.com>
5458
Wed Jul 29 01:36:48 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5460
* include/ntpd.h (MAXINTERFACES): Moved here...
5461
* ntpd/ntp_io.c: From here...
5462
(create_sockets): Only deal with MAXINTERFACES.
5463
(create_sockets): Only deal with specified interfaces.
5465
* ntpd/ntp_config.c (CONFIG_LISTEN): Added
5466
Added ifnum and listenaddrs[]
5467
(getconfig): Added defn for "addr"
5468
(getconfig): Initialize ifnum.
5470
* ntpd/ntpd.c (service_main): call init_io after getconfig
5471
From: Vebjorn Ljosa <ljosa@initio.no>
5473
Wed Jul 29 00:42:28 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5475
* ntpd/refclock_palisade.c: Use NEED_HPUX9_TIOCM_STUFF
5477
* acconfig.h (NEED_HPUX9_TIOCM_STUFF): Added.
5479
* configure.in (REFCLOCK_PALISADE): Needs termio*.h
5480
(NEED_HPUX9_TIOCM_STUFF): Added.
5482
* ntpd/ntp_io.c (create_sockets): Use strchr instead of strstr.
5484
* libntp/mktime.c: #include <sys/types.h>
5486
* libntp/ieee754io.c: #include <sys/types.h>
5488
Wed Jul 29 00:24:22 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5490
* ntpd/refclock_acts.c (ACTS_MAXPOLL): 14 -> 18.
5491
Import current_nextdate
5492
(acts_receive): Update peer->nextdate with current_nextdate
5493
(acts_poll): Call acts_timeout() (debugging)
5495
* ntpd/ntp_refclock.c: Export current_nextdate.
5496
(refclock_transmit): Check peer->valid >= NTP_SHIFT - 2, not >.
5497
(refclock_transmit): hpoll wiggles, update current_nextdate
5499
* ntpd/ntp_timer.c: #include "ntp_refclock.h"
5500
(MODE_MANUAL): Added.
5501
(timer): MODE_MANUAL stuff
5503
From: qli@huey.udel.edu
5505
Tue Jul 28 23:23:15 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5507
* configure.in: Check for inet_ntoa in -lbind .
5509
* ntpd/ntpd.c: #undef PROCLOCK for AIX.
5511
Mon Jul 20 01:06:24 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5513
* configure.in (AC_TYPE_SIZE_T): Added.
5515
Sat Jul 11 09:38:30 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5517
* configure.in: 4.0.73e
5519
* ports/winnt/: Replaced with new code (no SHM or PALISADE)
5520
From: Greg Schueman <schueman@ix.netcom.com>
5522
Fri Jul 10 12:12:59 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5524
* configure.in: 4.0.73d
5526
* include/ntp_machine.h (HAVE_SRANDOM): VxWorks patches
5527
(HAVE_RANDOM): Ditto.
5529
From: Casey Crellin <ccrellin@mweb.com>
5531
* ntpd/refclock_parse.c (local_input): Typo.
5532
Reported by: Tony Li <tony1@home.net>
5534
Wed Jul 8 01:49:01 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5536
* configure.in: 4.0.73c
5538
* PARSE patches from Frank Kardel
5540
* libntp/machines.c (ntp_set_tod): Get it right.
5542
Sun Jul 5 22:15:34 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5544
* configure.in: 4.0.73a
5546
* kernel/sys/timex.h (MOD_CANSCALE): Add rest of patch to handle
5548
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
5550
Wed Jun 10 21:16:01 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5552
* configure.in: 4.0.73
5554
* ntpd/ntp_loopfilter.c (local_clock): MOD_CANSCALE patches, and
5555
be careful with the integration if we're nearly perfect.
5556
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
5558
* util/tickadj.c (main): Typo fix...
5559
From: Marion Hakanson <hakanson@cse.ogi.edu>
5561
* ntpd/ntp_io.c (create_sockets): Attempt to ignore alias
5563
From: Kenneth Maupin <maupin@easystreet.com>
5565
* ntpd/ntp_refclock.c: PPS fixes
5566
* ntpd/refclock_msfees.c (msfees_start): Portability fixes and
5567
PPS/STREAM enhancements
5568
From: John Hay <jhay@mikom.csir.co.za>
5570
* ntpd/ntp_refclock.c (refclock_gtlin): Patch...
5571
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
5573
Sun Jun 28 18:43:30 1998 Frank Kardel <kardel@acm.org>
5575
* libntp/buftvtots.c (buftvtots): using WORD_BIGENDIAN instead of XNTP_BIG_ENDIAN
5577
* libparse/clk_trimtsip.c (getflt): fixed ENDIAN issue
5578
(getdbl): fixed ENDIAN issue
5579
(getint): use get_msb_short()
5580
(cvt_trimtsip): use gpstolfp() for conversion
5582
* libntp/Makefile.am (libntp_a_SOURCES): added gpstolfp.c source
5584
* libntp/binio.c: added {get,put}_msb_{short,long}() functions
5586
* include/ntp_fp.h: added gpstolfp() prototype
5588
* include/binio.h: added binio MSB prototypes
5590
Sat Jun 13 13:48:17 1998 Frank Kardel <kardel@acm.org>
5592
* parseutil/testdcf.c: signed/unsigned
5593
SYSV clock name clash fixed
5595
* parseutil/dcfd.c: signed/unsigned
5596
SYSV clock name clash fixed
5597
year wrapping at 1998
5598
ctype macros take ints as args
5600
* ntptrace/ntptrace.c (decodeipaddr): ctype macros take ints as args
5602
* ntpq/ntpq_ops.c (doprintpeers): signed/unsigned
5604
* ntpq/ntpq.c: ctype macros take ints as args
5607
* ntpdc/ntpdc.c: signed/unsigned
5609
* ntpd/refclock_usno.c: signed/unsigned
5611
* ntpd/refclock_true.c (true_send): signed/unsigned, name clashes
5613
* ntpd/refclock_parse.c: signed/unsigned, name clashes
5615
* ntpd/refclock_nmea.c (nmea_receive): ctype macros take ints as args
5617
* ntpd/refclock_heath.c (heath_receive): prototypes (signed/unsigned issues)
5619
* ntpd/refclock_arc.c: prototypes (signed/unsigned issues)
5621
* ntpd/refclock_acts.c: prototypes (signed/unsigned issues)
5623
* ntpd/ntpd.c: prototypes (signed/unsigned issues)
5625
* ntpd/ntp_util.c (getauthkeys): prototypes (signed/unsigned issues)
5626
fix SYSV clock name clash
5628
* ntpd/ntp_request.c: prototypes (signed/unsigned issues)
5629
fix SYSV clock name clash
5631
* ntpd/ntp_io.c (input_handler): variable naming, signed/unsigned
5633
* ntpd/ntp_intres.c (readconf): signed/unsigned issues
5635
* ntpd/ntp_control.c: prototypes (signed/unsigned issues)
5636
fix SYSV clock name clash
5638
* ntpd/ntp_config.c: fix SYSV clock name clash
5639
ctype macros take ints as args
5641
* libparse/parsestreams.c: dirt (debug) removed
5643
* libparse/parsesolaris.c: more prototypes
5647
* libparse/parse.c: bcopy/memcpy cleanup
5648
fix SYSV clock name clash
5650
* libparse/clk_trimtsip.c (cvt_trimtsip): fix SYSV clock name clash
5652
* libparse/clk_trimtaip.c (cvt_trimtaip): fix SYSV clock name clash
5654
* libparse/clk_schmid.c (cvt_schmid): fix SYSV clock name clash
5656
* libparse/clk_rcc8000.c (cvt_rcc8000): fix SYSV clock name clash
5658
* libparse/clk_rawdcf.c (cvt_rawdcf): fix SYSV clock name clash
5660
* libparse/clk_hopf6021.c (cvt_hopf6021): fix SYSV clock name clash
5662
* libparse/clk_dcf7000.c (cvt_dcf7000): fix SYSV clock name clash
5664
* libparse/clk_computime.c: fix SYSV clock name clash
5666
* libntp/octtoint.c (octtoint): ctype macros take ints as args
5668
* libntp/mstolfp.c (mstolfp): ctype macros take ints as args
5670
* libntp/hextolfp.c (hextolfp): ctype macros take ints as args
5672
* libntp/hextoint.c (hextoint): ctype macros take ints as args
5674
* libntp/decodenetnum.c (decodenetnum): ctype macros take ints as args
5676
* libntp/atouint.c (atouint): ctype macros take ints as args
5678
* libntp/atolfp.c (atolfp): ctype macros take ints as args
5680
* libntp/atoint.c (atoint): ctype macros take ints as args
5682
* kernel/sys/parsestreams.h: STREAM macro gone in favor of HAVE_SYS_STREAM_H
5684
* include/parse.h: STREAM macro gone in favor of HAVE_SYS_STREAM_H
5686
Fri Jun 12 11:08:53 1998 Frank Kardel <kardel@acm.org>
5688
* ntpd/ntp_timer.c: prototype fixes (ansi2knr/knr compiler)
5690
* ntpd/ntp_proto.c (make_keylist): type cast for e(!!!)malloc()
5692
* libparse/Makefile.am: adjust for ansi2knr
5694
* libntp/ieee754io.c: ansi2knr compatibility
5696
* include/ntp_refclock.h: added pps_sample() extern declaration
5697
added refclock_process_offset() extern declaration
5699
* include/ntp.h: fixed function * prototypes
5701
* ntpd/refclock_parse.c (bind): added input routine
5702
(local_input): added input routine
5704
* ntpd/ntp_io.c (input_handler): direct input processing for
5705
refclocks to save input recv buffers
5707
* include/ntp_refclock.h: added int io_input(struct recvbuf *)
5708
pointer to allow direct processing of read refclock data in
5709
order to save many bug recv buffers on single character input
5710
(problem with "fast" machines)
5712
* parse_conf.c: conditional compile macros fixed
5714
* parse.c: conditional compile macros fixed
5717
* clk_trimtaip.c: conditional compile macros fixed
5720
* clk_schmid.c: conditional compile macros fixed
5723
* clk_rcc8000.c: conditional compile macros fixed
5726
* clk_hopf6021.c: conditional compile macros fixed
5729
* clk_dcf7000.c: conditional compile macros fixed
5732
* clk_computime.c: conditional compile macros fixed
5735
Sat Jun 6 07:41:54 1998 Frank Kardel <kardel@acm.org>
5737
* ntpd/refclock_palisade.c: fixed termio.h / termios.h inclusion
5739
* include/ntp_refclock.h: made refclockproc/clockdesc const
5741
* ntpd/ntp_control.c (ctl_putpeer): avoided ambigous 'else' (gcc)
5743
* ntpd/refclock_parse.c (parse_start): added BURST mode initialisation
5745
* scripts/stats/summary.sh (CLOCK): allow for Y2K log files
5747
* libparse/clk_rawdcf.c: simplified condidional compile expression
5749
Wed May 27 08:10:43 1998 Frank Kardel <kardel@acm.org>
5751
* include/Makefile.am (noinst_HEADERS): added new header files
5752
mbg_gps166.h binio.h ascii.h ieee754io.h
5754
* ntpdc/ntpdc.c (sendrequest): fixed info_auth_keyid setting it
5755
got accidentally trashed every other round
5757
Mon May 25 22:55:07 1998 Frank Kardel <kardel@acm.org>
5759
* configure.in: PARSE clocks are enabled by default whenever
5760
possible (termio.h or termios.h present)
5761
removed RAWDCF_SETDTR feature
5763
* acconfig.h: removed RAWDCF_SETDTR option (now implicit by
5764
compilation and run time configuration)
5766
* ntpd/refclock_parse.c (rawdcf_init): offer a RAWDCF clock (type 14)
5767
that attempts to set the DTR modem line for receiver power
5769
* libparse/clk_meinberg.c (cvt_meinberg): support current standard
5770
Meinberg data formats
5772
Sun May 24 09:43:19 1998 Frank Kardel <kardel@acm.org>
5774
* libparse/clk_rawdcf.c (pps_rawdcf): trigger pps on zero going
5775
edge - that is simpler wiring (Rx->DCD).
5777
* parseutil/testdcf.c (wday): const keyword
5779
* parseutil/dcfd.c (cvt_rawdcf): sign issues and calling interfaces
5781
* ntpq/ntpq.c (MAXVARLEN): adjusted internal buffer length for
5784
* ntpd/refclock_parse.c: adjust to new io handling (fixed formats
5786
(mkreadable): don't include >"< in readable ASCII output (-> ntpq
5788
output debug messages to stdout instead of msyslog()
5789
fixed version information string
5791
* ntpd/refclock_atom.c (pps_sample): new auxiliary pps interface
5793
* libparse/parsestreams.c (parserput): get event status consistent
5795
(zs_xsisr): simulate CARRIER status to avoid unnecessary M_xHANGUP
5798
* libparse/parsesolaris.c (parserput): get event status consistent
5800
(zs_xsisr): simulate CARRIER status to avoid unnecessary M_xHANGUP
5803
* libparse/parse.c: removed old input cruft
5804
(parse_restart): new generic input help function
5805
(parse_addchar): ditto
5807
(pps_one): new generic pps help function
5810
* libparse/clk_trimtsip.c (clock_trimtsip =): new input handling
5812
* libparse/clk_trimtaip.c (clock_trimtaip =): new input handling
5813
(inp_trimtaip): new input handler
5815
* libparse/clk_schmid.c (clock_schmid =): new input handling
5816
(inp_schmid): new input handler
5818
* libparse/clk_rcc8000.c (clock_rcc8000 =): new input handling
5819
(inp_rcc8000): new input handler
5821
* libparse/clk_rawdcf.c (clock_rawdcf =): new input handling
5822
(snt_rawdcf): adjusted to new input handling
5823
(inp_rawdcf): new input handler
5825
* libparse/clk_meinberg.c (clock_meinberg): new input handling
5826
(gps_input): new input handler
5827
(mbg_input): new input handler
5829
* libparse/clk_hopf6021.c (clock_hopf6021 =): new input handling
5830
(inp_hopf6021): new input handler
5832
* libparse/clk_dcf7000.c (clock_dcf7000 =): new input handling
5833
(inp_dcf7000): new input handler
5835
* libparse/clk_computime.c (clock_computime =): new input handling
5836
(inp_computime): new input handler
5838
* libparse/Makefile.am: link kernel module with libntp.a
5840
* include/parse.h (struct parse): removed old data structure cruft
5841
(new input model) new PARSE_INP* macros for input handling
5842
removed old SYNC_* macros from old input model
5843
(struct clockformat): removed old parse functions in favor of the
5847
* include/ntp_refclock.h: prototype for refclock_atom pps_sample()
5850
* acconfig.h: added PPS_SAMPLE define
5851
* configure.in (LIBPARSE): added PPS_SAMPLE configuration
5852
<refclock_atom aux interface>
5854
* libntp/systime.c (adj_systime): debug output (> level 6) for
5857
* libntp/mfp_mul.c (mfp_mul): controlled debug output
5859
* libntp/ieee754io.c (get_byte): controlled debug output
5860
(fetch_ieee754): ditto
5861
(put_ieee754): ditto
5863
Tue May 5 20:09:51 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5865
* configure.in: document DES is not usually present.
5867
Wed Apr 29 22:00:22 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5869
* configure.in: 4.0.72h
5871
* authstuff/Makefile.am (check-local-rsn): check-local doesn't
5873
Reported by: "Auteria Wally Winzer Jr." <wally.winzer@champusa.com>
5875
* libntp/machines.c: the settime() choices were ordered badly.
5876
Reported by: Michael Joosten <joost@c-lab.de>
5878
Sat Apr 25 00:35:53 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5880
* configure.in (ac_cv_var_no_parenb_ignpar): Undo the kernel PLL
5881
block I just installed - Dave wants to control this via
5884
Fri Apr 24 20:35:57 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5886
* libntp/Makefile.am (libntp_a_DEPENDENCIES): Set per libntp_a_LIBADD
5888
* configure.in: Do a better job of blocking kernel PLL under
5891
Fri Apr 24 00:41:12 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5893
* configure.in: 4.0.72f
5894
(ac_cv_struct_nlist_n_un): Don't look for ntp_adjtime or
5895
ntp_gettime under solaris2.6.
5897
* ntpd/ntp_proto.c (process_packet): Give verbose error messages
5899
* include/global.h (PROTOTYPES): Drive via HAVE_PROTOTYPES.
5901
Wed Apr 22 16:55:55 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5903
* configure.in (ac_cv_var_use_des): Added. 4.0.72e.
5904
* libntp/Makefile.am (libntp_a_LIBADD): Added DESOBJS
5906
Tue Apr 21 02:08:06 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5908
* ntpd/refclock_arc.c (arc_receive): Typo...
5909
From: Sam Steingold <sds@usa.net>
5911
Fri Apr 10 03:05:35 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5913
* configure.in (ac_refclock_chu): AUDIO_CHU support. Disabled by
5914
default, and currently only supported on SunOS and Solaris.
5915
* acconfig.h: AUDIO_CHU
5917
Wed Apr 8 19:53:53 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5919
* libntp/Makefile.am (EXTRA_DIST): Added mktime.c
5921
* configure.in: AC_REPLACE_FUNCS(mktime).
5922
(--enable-dst-minutes=60): Added, for (missing) mktime().
5924
* ntpd/refclock_heath.c (heath_receive): Use mktime() instead of
5927
Tue Apr 7 21:15:14 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5929
* configure.in (LIBOBJS): Hack it before AC_OUTPUT to deal with
5930
ANSI2KNR-filtering rules.
5931
From: Jim Meyering <meyering@ascend.com>
5933
Mon Apr 6 01:40:45 1998 Harlan Stenn <stenn@grundoon.udel.edu>
5935
* libntp/strerror.c: ANSIfy strerror's definition.
5937
Thu Mar 12 20:24:45 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5939
* libntp/statestr.c: Only #include <config.h> if HAVE_CONFIG_H is
5941
From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
5943
Wed Mar 11 00:27:32 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5945
* configure.in: Cygwin needs to check for the advapi32 library.
5946
NT doesn't support a root user, so don't bother with getuid().
5947
Also, don't bother with umask().
5949
* ntpd/ntp_io.c: cygwin32 patches
5950
* ntpd/ntp_proto.c: Ditto.
5951
* ntpd/ntpd.c: Ditto.
5952
* ntpd/ntp_timer.c: Ditto.
5953
* ntpdate/ntpdate.c: Ditto.
5954
* libntp/machines.c: Ditto.
5955
* libntp/systime.c: Ditto.
5956
* include/ntp_machine.h: Ditto.
5957
* include/ntp_unixtime.h: Ditto.
5958
From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
5960
Tue Mar 10 22:26:14 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5962
* configure.in (ac_cv_make_tickadj): Added.
5963
Now that tickadj is the only(?) utility that cares about tick and
5964
tickadj, we don't need to have NOKMEM and no PRESET_* be fatal.
5966
Sat Mar 7 02:57:17 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5968
* ntpd/ntp_loopfilter.c (local_clock): Patch STA_FLL check
5969
From: Poul-Henning Kamp <phk@freebsd.org>
5971
* various: Renamed ACTS to CLOCK_ACTS, ARBITER to CLOCK_ARBITER,
5972
ARCRON_MSF to CLOCK_ARCRON_MSF, AS2201 to CLOCK_AS2201, BANC to
5973
CLOCK_BANC, DATUM to CLOCK_DATUM, GPSVME to CLOCK_GPSVME, HEATH to
5974
CLOCK_HEATH, HPGPS to CLOCK_HPGPS, IRIG to CLOCK_IRIG, JUPITER to
5975
CLOCK_JUPITER, LEITCH to CLOCK_LEITCH, MSFEES to CLOCK_MSFEES,
5976
MX4200 to CLOCK_MX4200, NMEA to CLOCK_NMEA, PALISADE to
5977
CLOCK_PALISADE, PARSE to CLOCK_PARSE, PPS720 to CLOCK_PPS720, PST
5978
to CLOCK_PST, PTBACTS to CLOCK_PTBACTS, SHM_CLOCK to CLOCK_SHM,
5979
ONCORE to CLOCK_ONCORE, TPRO to CLOCK_TPRO, TRAK to CLOCK_TRAK,
5980
TRUETIME to CLOCK_TRUETIME, USNO to CLOCK_USNO, WWVB to CLOCK_WWVB
5982
* Makefile.am (ETAGS_ARGS): Added acconfig.h
5984
* various: Renamed LOCAL_CLOCK to CLOCK_LOCAL.
5986
* configure.in: First cut at *-pc-cygwin32 support
5987
Requested by: Sven Dietrich <Sven_Dietrich@Trimble.COM>
5989
* configure.in: gdt-surveying code is gone. Sigh.
5990
Reported by: Poul-Henning Kamp <phk@critter.freebsd.dk>
5992
Wed Mar 4 21:41:06 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5994
* many places: Renamed ATOM to CLOCK_ATOM
5996
Tue Mar 3 03:18:13 1998 Harlan Stenn <stenn@whimsy.udel.edu>
5998
* ntpd/ntp_timer.c (timer): Only call refclock_transmit if
5999
REFCLOCK is #define'd.
6000
Reported by a bunch of folks.
6002
Mon Mar 2 03:46:07 1998 Harlan Stenn <stenn@whimsy.udel.edu>
6004
* configure.in (ntp_refclock): Use CLOCK_CHU, which no longer
6005
needs any special headers.
6006
* ntpd/refclock_chu.c: Call it CLOCK_CHU
6007
(chu_receive): Define it correctly.
6009
* include/winnt/sys/time.h (gettimeofday): Prototypes are OK.
6010
(settimeofday): Prototypes are OK.
6011
From: JJEVNISEK@qgraph.com
6013
* ntpq/ntpq_ops.c: varlist name and value aren't const.
6014
* ntpdc/ntpdc_ops.c (fudge): The flags are u_val, not val.
6015
* ntpdc/ntpdc.c: const cleanup, exit cleanup.
6016
* ntpd/refclock_wwvb.c (wwvb_receive): Move the definition of tz
6017
somewhere more normal.
6018
* ntpd/ntp_request.c (do_trustkey): kp gets u_long data, not
6019
u_int32 (but Harlan thinks this patch may be wrong).
6020
* ntpd/ntp_refclock.c (refclock_process): clocktime needs
6021
offset.l_ui, not offset.l_i .
6022
* ntpd/ntp_control.c (set_var): t isn't const.
6023
* libntp/a_md5encrypt.c (session_key): Cast 2nd arg to MD5auth_setkey.
6024
* include/ntpd.h: ctl_var's text field isn't const.
6025
* include/ntp_refclock.h: clockdesc isn't const.
6026
From: Marc Brett <Marc.Brett@waii.com>
6028
* ntpd/ntp_loopfilter.c (local_clock): Limit ntv.constant to
6029
MAXTC, and log error returns from ntp_adjtime.
6030
From: Juha Sarlin <juha@c3l.tyreso.se>
6032
Mon Mar 2 03:05:23 1998 Harlan Stenn <stenn@whimsy.udel.edu>
6034
* configure.in (ac_cv_var_kernel_fll_bug): KERNEL_FLL_BUG
6035
* acconfig.h: KERNEL_FLL_BUG: added.
6036
* ntpd/ntp_loopfilter.c (local_clock): Only avoid STA_FLL if
6037
KERNEL_FLL_BUG is #define'd (Solaris2.6)
6039
Sat Feb 21 00:45:10 1998 Harlan Stenn <stenn@whimsy.udel.edu>
6041
* automake-1.2d.patches: Added ansi2knr.o rules.
6043
* ntpd/refclock_tpro.c: P() stuff
6045
Fri Feb 20 20:10:20 1998 Harlan Stenn <stenn@whimsy.udel.edu>
6047
* configure.in: Improve the ${CC} -pipe test (cygwin-32's gcc -pipe
6048
silently does nothing).
6049
Reported by: Sven Dietrich <Sven_Dietrich@Trimble.COM>
6051
Wed Feb 18 00:51:08 1998 Harlan Stenn <stenn@whimsy.udel.edu>
6053
* configure.in: 4.0.72 released.
6055
* configure.in:AC_REPLACE_FUNCS(strerror), check for poll.h, and deal
6056
with the --enable-JUPITER stuff.
6057
* libntp/Makefile.am (libntp_a_LIBADD): Added (for strerror support).
6058
* libntp/clocktypes.c: Added REFCLK_GPS_JUPITER.
6059
* ntpdate/ntpdate.c: poll() support
6060
* ntpd/Makefile.am: Add refclock_jupiter.c
6061
* ntpd/refclock_conf.c: Added refclock_jupiter
6062
* ntpd/refclock_mx4200.c (mx4200_pps): Bugfixes.
6063
* include/ntp.h (REFCLK_GPS_JUPITER): Added, and bumped REFCLK_MAX.
6064
From: Craig Leres <leres@ee.lbl.gov>
6066
Mon Feb 16 21:02:42 1998 Harlan Stenn <stenn@grundoon.udel.edu>
6068
* ntpd/ntp_proto.c: P()
6070
Mon Feb 16 12:43:11 1998 Harlan Stenn <stenn@whimsy.udel.edu>
6072
* include/ntp_types.h: Added P() prototyping hack back in.
6073
* include/parse.h: Ditto.
6074
* include/ntpd.h: Ditto.
6075
* include/ntp_unixtime.h: Ditto.
6076
* include/ntp_stdlib.h: Ditto.
6077
* include/ntp_select.h: Ditto.
6078
* include/ntp_refclock.h: Ditto.
6079
* include/ntp_fp.h: Ditto.
6080
* include/md5.h: Ditto.
6081
* include/ntp_filegen.h: Ditto.
6082
* include/ntp_calendar.h: Ditto.
6083
* include/l_stdlib.h: Ditto.
6085
* configure.in (ACTS): Sometimes, TIOCMBIS is in sys/ioctl.h
6086
Reported by Kenneth Jaldehag <kenneth.jaldehag@sp.se>
6087
* configure.in (HEATH): Ditto.
6088
* configure.in (PTBACTS): Ditto.
6089
* configure.in (USNO): Ditto.
6091
Sat Feb 14 00:02:14 1998 Harlan Stenn <stenn@whimsy.udel.edu>
6093
* ntpd/refclock_irig.c (irig_rf): Rename sincos[] to sin_cos[].
6095
Fri Feb 13 22:22:08 1998 Harlan Stenn <stenn@whimsy.udel.edu>
6097
* include/ntp.h (RANDPOLL): Use random or mrand48.
6098
* ntpd/ntp_config.c (do_resolve_internal): Ditto.
6099
* ntpd/ntp_peer.c (unpeer): Ditto.
6100
* ntpd/ntp_proto.c (make_keylist): Ditto.
6102
* ntpd/ntpd.c (xntpdmain): Use srandom or srand48.
6104
* configure.in: Look for {s,}random() and [ms]rand48().
6106
Wed Feb 11 22:50:24 1998 Harlan Stenn <stenn@whimsy.udel.edu>
6108
* ntpd/ntp_restrict.c (hack_restrict): Renamed restrict()
6109
* include/ntpd.h: Ditto
6110
* ntpd/ntp_request.c (do_restrict): Ditto
6111
* ntpd/ntp_config.c (getconfig):
6112
* ntpd/ntp_io.c (create_sockets): Ditto.
6114
1998-01-23 Harlan Stenn <stenn@whimsy.udel.edu>
6116
* ntpd/refclock_irig.c: Allow either <sun/audioio.h> or
6117
<sys/audioio.h> . From Dave Mills.
6119
* configure.in: Under SunOS, it's sun/audioio.h .
6121
1998-01-22 Harlan Stenn <stenn@whimsy.udel.edu>
6123
* html/driver6.html: Updated header file info
6124
* html/irig.html: Ditto.
6125
* configure.in: sys/bsd_audioirig.h replaced with sys/audioio.h
6126
for new irig driver that Dave installed.
6128
1998-01-08 Harlan Stenn <stenn@whimsy.udel.edu>
6130
* Many places: Lose the P(()) prototype stuff
6132
* util/tickadj.c (writevar): Make offset an off_t
6134
(getoffsets): Make offsets off_t
6136
* adjtimed/adjtimed.c (GetClockRate): Fix lseek arg 2.
6137
(SetClockRate): Ditto
6139
* Many things in many places from many people.
6141
* configure.in: Added AC_TYPE_OFF_T
6143
1997-11-26 Harlan Stenn <stenn@whimsy.udel.edu>
6145
* ntpd/refclock_palisade.c: ANSIfied.
6147
Wed Sep 3 23:51:44 1997 Harlan Stenn <stenn@whimsy.udel.edu>
6149
* configure.in (AM_C_PROTOTYPES): Added.
6151
* Makefile.am (AUTOMAKE_OPTIONS): Added ansi2knr.