source: trunk/third/xntp/ChangeLog-4.1.0 @ 17260

Revision 17260, 190.6 KB checked in by zacheiss, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r17259, which included commits to RCS files with non-trunk default branches.
Line 
12001-08-01  Harlan Stenn  <stenn@whimsy.udel.edu>
2
3        * configure.in: 4.1.0
4
52001-07-27  Harlan Stenn  <stenn@whimsy.udel.edu>
6
7        * ntpd/refclock_oncore.c (oncore_start): Set pps_enable=1, just
8        like the atom driver does.
9        From: reg@dwf.com
10
11        * ntpd/refclock_nmea.c (nmea_ppsapi): Set pps_enable=1, just like
12        the atom driver does.
13        From: Scott Allendorf <sca@newton.physics.uiowa.edu>
14
15        * ntpd/ntp_config.c (getconfig): CONF_CLOCK_PANIC was using the
16        wrong config flag.
17        From: <justin_forrester@hp.com>
18
192001-07-10  Harlan Stenn  <stenn@whimsy.udel.edu>
20
21        * configure.in: 4.0.99m-rc3
22
232001-07-06  Harlan Stenn  <stenn@whimsy.udel.edu>
24
25        * ntp_update: COPYRIGHT needs a touch.
26        From: Mike Stump <mrs@kithrup.com>
27
282001-07-04  Harlan Stenn  <stenn@whimsy.udel.edu>
29
30        * html/config.htm: Major cleanup.
31        From: Martin Janzen <janzen@pixelmetrix.com>   
32
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>
38       
392001-06-30  Harlan Stenn  <stenn@whimsy.udel.edu>
40
41        * html/driver35.htm: Update email address.
42
432001-06-25  Harlan Stenn  <stenn@whimsy.udel.edu>
44
45        * ntpd/refclock_oncore.c (oncore_msg_BaEaHa): Fix wrong offset for
46        rsm.bad_almanac
47        From: Reynir Siik <reynir@royal.net>
48
492001-06-12  Harlan Stenn  <stenn@whimsy.udel.edu>
50
51        * configure.in: 4.0.99m-rc2
52
532001-06-10  Harlan Stenn  <stenn@whimsy.udel.edu>
54
55        * ntpd/ntp_config.c:
56        * include/ntp_config.h: includefile config keyword support
57        From: Dean Gibson <timekeeper@tcp-udp.net>
58
592001-06-08  Harlan Stenn  <stenn@whimsy.udel.edu>
60
61        * configure.in: 4.0.99m-rc1b
62
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
67        and return a BADFMT.
68        * ntpd/ntp_config.c (save_resolve): call fdopen() with the correct
69        mode.
70        From: Bela Lubkin <belal@sco.com>
71
722001-06-03  Harlan Stenn  <stenn@whimsy.udel.edu>
73
74        * include/ntp.h (RES_ALLFLAGS): Add RES_DEMOBILIZE.
75        From: Dean Gibson <timekeeper@tcp-udp.net>
76
77        * configure.in: 4.0.99m-rc1a
78
792001-06-02  Harlan Stenn  <stenn@whimsy.udel.edu>
80
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>
84
852001-05-31  Harlan Stenn  <stenn@whimsy.udel.edu>
86
87        * html/notes.htm: Typo fix.
88        From: John Stone <johns@ks.uiuc.edu>
89
90        * configure.in: 4.0.99m-rc1
91
92        * html/monopt.htm: Typo fix.
93        * html/confopt.htm: Cruft removal.
94        From: John Stone <johns@ks.uiuc.edu>
95
962001-05-30  Harlan Stenn  <stenn@whimsy.udel.edu>
97
98        * README.cvs: More updates and cleanup.
99
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
104
105        * README.cvs: Note that we want to check out NTP into a clean
106        subdir.
107        Reported by jrd@cc.usu.edu (Joe Doupnik)
108
1092001-05-27  Harlan Stenn  <stenn@whimsy.udel.edu>
110
111        * configure.in: 4.0.99k40
112
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
117        most recent).
118        From: John Woolner <vk1et@tpg.com.au>
119
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
124        CEVNT_NOMINAL.
125        From: John Woolner <vk1et@tpg.com.au>
126
127        * kernel/sys/pcl720.h:
128        Add support for the XL clock to refclock_true.c
129        From: Paul A Vixie <vixie@mfnx.net>
130
131        * ntpd/ntp_loopfilter.c (local_clock): One more attempt at
132        "improving" the panic message.
133
1342001-05-26  Harlan Stenn  <stenn@whimsy.udel.edu>
135
136        * configure.in (ac_cv_func_ctty_for_f_setown): BSDI3 needs a ctty
137        for F_SETOWN, too.
138        From: Paul A Vixie <vixie@mfnx.net>
139
1402001-05-24  Harlan Stenn  <stenn@whimsy.udel.edu>
141
142        * html/ntpd.htm: Typo.
143        From: John Stone <johns@ks.uiuc.edu>
144
1452001-05-23  Harlan Stenn  <stenn@whimsy.udel.edu>
146
147        * configure.in: 4.0.99k39
148
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?
153
1542001-05-22  Harlan Stenn  <stenn@whimsy.udel.edu>
155
156        * html/release.htm:
157        * html/ntpd.htm:
158        * html/miscopt.htm:
159        From: Dave Mills: Updates.
160
1612001-05-21  Harlan Stenn  <stenn@whimsy.udel.edu>
162
163        * configure.in: 4.0.99k38
164
165        * ntpd/ntp_proto.c (clock_filter): Huff-n-Puff and Popcorn
166        improvements.
167        * ntpd/ntp_loopfilter.c (local_clock): Debug cleanup
168        From: Dave Mills.
169
170        * include/ntp_syscall.h (ntp_gettime): Updated patch from Ulrich.
171        My original attempt was not backwards compatible.
172
1732001-05-17  Harlan Stenn  <stenn@whimsy.udel.edu>
174
175        * include/ntp_syscall.h (ntp_gettime): Fill in the tai member.
176        From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
177
178        * configure.in: 4.0.99k37
179
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.
183
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
187        debug message.
188        From: Dave Mills.
189
1902001-05-15  Harlan Stenn  <stenn@whimsy.udel.edu>
191
192        * configure.in: 4.0.99k36
193
194        * ntpd/ntp_loopfilter.c: Huff-n-puff cleanup
195        From: Dave Mills.
196
1972001-05-14  Harlan Stenn  <stenn@whimsy.udel.edu>
198
199        * configure.in: 4.0.99k35
200
201        * ntpd/refclock_atom.c (atom_ppsapi): set pps_enable=1 if
202        enb_hardpps.
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.
210        (huffpuff): Added.
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.
219        From: Dave Mills.
220
2212001-05-11  Harlan Stenn  <stenn@whimsy.udel.edu>
222
223        * html/driver20.htm: Reality check.
224        * ntpd/refclock_nmea.c: Comment cleanup
225        From: John Woolner <vk1et@tpg.com.au>
226
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.
235        From: Dave Mills.
236
237        * configure.in: 4.0.99k34
238
239        * ntpd/ntp_util.c (record_loop_stats): values are now passed in.
240        * ntpd/ntp_loopfilter.c (local_clock): pass the values to
241        record_loop_stats().
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.
245        From: Dave Mills.       
246
2472001-05-10  Harlan Stenn  <stenn@whimsy.udel.edu>
248
249        * configure.in: 4.0.99k33
250
251        * ntpd/ntp_proto.c (receive): Validate the source port.  Lose
252        NTPv1 support.
253        * ntpd/ntp_loopfilter.c (local_clock): Sanity check sys_poll
254        earlier instead of later.
255        From: Dave Mills.
256
257        * ntpd/refclock_oncore.c (oncore_msg_any): We don't always have
258        GETTIMEOFDAY().
259
2602001-05-09  Harlan Stenn  <stenn@whimsy.udel.edu>
261
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>
265
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).
269
2702001-05-08  Harlan Stenn  <stenn@whimsy.udel.edu>
271
272        * configure.in: 4.0.99k32
273
274        * ntpd/ntp_loopfilter.c: rstclock now takes a 3rd argument, the
275        last offset.
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.
280        From Dave Mills.
281
2822001-05-06  Harlan Stenn  <stenn@whimsy.udel.edu>
283
284        * configure.in: 4.0.99k31
285
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
290        process_packet().
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.
297
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.
305        From: Dave Mills.
306
3072001-05-01  Harlan Stenn  <stenn@whimsy.udel.edu>
308
309        * ports/winnt/ntpd/ntpd.dsp: Add cmd_args.c
310        From: Wink Saville <wink@saville.com>
311
3122001-04-29  Harlan Stenn  <stenn@whimsy.udel.edu>
313
314        * ntpq/ntpq.c (tstflags): 11 now.
315        From: John Cochran <jdc@fiawol.org>
316
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.
321        From  Dave Mills.
322
3232001-04-28  Harlan Stenn  <stenn@whimsy.udel.edu>
324
325        * configure.in: 4.0.99k30
326
3272001-04-27  Harlan Stenn  <stenn@whimsy.udel.edu>
328
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.
333        From: Dave Mills.
334
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.
347        From: Dave Mills.
348
3492001-04-26  Harlan Stenn  <stenn@whimsy.udel.edu>
350
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.
361        From Dave Mills.
362
3632001-04-25  Harlan Stenn  <stenn@whimsy.udel.edu>
364
365        * html/accopt.htm: Document the "version" parameter
366        From Dave Mills.
367
368        * ntpd/ntp_proto.c (fast_xmit): Implement DENY mode.
369        From Dave Mills.
370
371        * ntpd/ntp_config.c: Add the "allan" tinker variable.
372        From: Juha Sarlin <juha@c3l.tyreso.se>
373
374        * ntpd/refclock_hopfpci.c (hopfpci_start): Lose the "correct_any"
375        stuff - it's both obsolete and wrong.
376
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
381        order.
382        From Dave Mills.
383
384        * util/timetrim.c:
385        * util/Makefile.am:
386        * ntpdc/ntpdc_ops.c:
387        * ntpd/refclock_nmea.c:
388        * libntp/snprintf.c:
389        * configure.in:
390        * configure:
391        * config.h.in:
392        * aclocal.m4:
393        * acconfig.h:
394        Lint cleanup from: Marc Brett <mbrett@rgs0.london.waii.com>
395
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.
400        From: Dave Mills.
401
402        * include/ntp_machine.h (ifreq): WinNT cleanup
403
4042001-04-23  Harlan Stenn  <stenn@whimsy.udel.edu>
405
406        * configure.in: 4.0.99k29
407
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.
422
423        * scripts/mkver.in: Use the C locale so  the dates come out in a
424        consistent format.
425        From: ASANO Naoyuki <n_asano@imjp.co.jp>
426
427        * build: Run "config.status" before the "make" because it probably
428        saves time and trouble.  Probably...
429
430        * flock-build: Try building sequentially.
431
4322001-04-22  Harlan Stenn  <stenn@whimsy.udel.edu>
433
434        * configure.in (ac_cv_make_tickadj): Fix it right...
435
436        * util/ntp-genkeys.c: extern config_netinfo, too.
437
438        * util/hist.c:
439        * ntptrace/ntptrace.c:
440        * ntpq/ntpq.c:
441        * ntpdc/ntpdc.c:
442        * ntpdate/ntptimeset.c:
443        * ntpdate/ntpdate.c:
444        * ntpd/refclock_parse.c:
445        * ntpd/refclock_msfees.c:
446        * ntpd/refclock_jupiter.c:
447        * ntpd/ntp_refclock.c:
448        * ntpd/ntp_io.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>
460
4612001-04-21  Harlan Stenn  <stenn@whimsy.udel.edu>
462
463        * ntpd/refclock_nmea.c (nmea_receive): Fixes.
464        From: John Woolner <vk1et@tpg.com.au>
465
466        * util/ntp-genkeys.c: Declare check_netinfo, don't define it.
467        From: Jack Bryans <jbryans@csulb.edu>
468
469        * configure.in (RSASRCS): rsaref2 needs digit.h (I thought I fixed
470        this already).
471       
472        * configure.in (CFLAGS): Disable -Wconversion, enable
473        -Wmissing-prototypes, and allow for -Werror.
474        From: Simon Burge <simonb@wasabisystems.com>
475
476        * util/ntp-genkeys.c (main): Reset the standard mask so the
477        symlinks are created with the standard mask.
478
479        * configure.in: 4.0.99k28
480
481        * ntpd/ntpd.c (ntpdmain): Use mode_t for umask value.
482
483        * util/ntp-genkeys.c: Create files with the right umask.
484
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"
489        statements.
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
495
496        * util/ntp-genkeys.c:
497        * ntpdate/ntpdate.c:
498        * ntpd/ntp_config.c: Netinfo header reorder.
499        From: Jack Bryans <jbryans@csulb.edu>
500
501        * configure.in: timespec can be found by looking in goofy places
502        under SunOS.
503
5042001-04-20  Harlan Stenn  <stenn@whimsy.udel.edu>
505
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
510
511        * ntpd/ntp_proto.c (receive): In the AM_NEWBCL case, return in all
512        cases at the end.
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.
517        From: Dave Mills.
518
519        * configure.in: 4.0.99k27
520
521        * ntpd/ntp_loopfilter.c (local_clock): Check clock_panic > 0.
522        Check clock_max > 0.
523        * html/ntpd.htm: Cleanup.
524        * html/miscopt.htm: Cleanup.
525        * html/confopt.htm: Cleanup minpoll documentation.
526        From: Dave Mills.
527
5282001-04-19  Harlan Stenn  <stenn@whimsy.udel.edu>
529
530        * ntpd/cmd_args.c (getstartup): check_netinfo needs an extern
531        declaration.
532        Reported by: Jack Bryans <jbryans@csulb.edu>
533
534        * configure.in (ac_cv_make_timetrim): Added.
535        * util/Makefile.am (bin_PROGRAMS): MAKE_TIMETRIM
536        Requested by: Jack Bryans <jbryans@csulb.edu>
537
538        * configure.in: 4.0.99k26
539
540        * util/ntp-genkeys.c:
541        * ntpd/refclock_oncore.c:
542        * ntpd/ntp_peer.c:
543        * libntp/msyslog.c:
544        * libntp/audio.c:
545        Lint cleanup.
546        From: Simon Burge <simonb@wasabisystems.com>
547
548        * ntpd/ntp_loopfilter.c (local_clock): debug message improvements
549        from Dave Mills.
550
551        * libntp/emalloc.c (emalloc): Tell people we are exiting if we log
552        an out-of-memory condition.
553
554        * util/ntp-genkeys.c (main): Don't allow '#' in a generated MD5
555        key.  Reported by: Dave Tyson <Dave.Tyson@liverpool.ac.uk>
556
5572001-04-18  Harlan Stenn  <stenn@whimsy.udel.edu>
558
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.
565        From: Dave Mills.
566
5672001-04-17  Harlan Stenn  <stenn@whimsy.udel.edu>
568
569        * libntp/msyslog.c:
570        * ElectricFence/page.c (stringErrorReport): Follow Rainer's lead
571        and use strerror().
572
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.
576       
577        * ntpd/ntp_config.c (getconfig): Read stratum fudge value into
578        long variable.
579        From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
580
581        * libparse/parsesolaris.c (rdchar): Cast ~0 to unsigned long.
582        * libntp/buftvtots.c (buftvtots): Allow for 8-byte tv_sec, tv_usec
583        in struct timeval.
584        From: Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
585
5862001-04-16  Harlan Stenn  <stenn@whimsy.udel.edu>
587
588        * ntpd/ntp_config.c (getconfig): move "tinker" so it's generally
589        available.
590
5912001-04-15  Harlan Stenn  <stenn@whimsy.udel.edu>
592
593        * configure.in: Look for getclock().
594
595        * ntpd/ntp_config.c (getconfig): Squawk if provided minpoll or
596        maxpoll values are out of range.
597
598        * ntpd/ntp_proto.c (poll_update): Some operations can only be done
599        if we're compiling with some REFCLOCKs.
600        From Dave Mills.
601
602        * configure.in (RSASRCS): Added.
603        * librsaref/Makefile.am (nodist_librsaref_a_SOURCES): Use RSASRCS.
604
605        * configure.in: Limit the DECL_HSTRERROR_0 to aix4.3.*.  RSN, we
606        could also limit it to xlc...
607
608        * configure.in: 4.0.99k25
609
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.
617        From Dave Mills.
618
6192001-04-14  Harlan Stenn  <stenn@whimsy.udel.edu>
620
621        * acconfig.h: Lose extra declarations of PACKAGE and VERSION.
622
623        * acconfig.h:
624        * configure.in:
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>
627
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>
631
632        * README.cvs: On some systems, the -C option fails.
633
634        * ntpd/refclock_nmea.c:
635        * ntpd/ntp_refclock.c:
636        * html/driver20.htm:
637        PPSAPI patches for NMEA driver.
638        From: John.Hay@icomtek.csir.co.za
639
640        * README.rsa: Describe RSAEuro support, provide alternate rsa.c
641        patch.
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
646        specific sources.
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>
659
660        * ntpd/ntp_control.c: Header cleanup
661
6622001-04-13  Harlan Stenn  <stenn@whimsy.udel.edu>
663
664        * configure.in: Properly align --help output.
665        Explain ElectricFence.
666        From: Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
667
668        * ntpd/ntp_loopfilter.c (local_clock): Lose debugging statements.
669        * ntpd/ntp_proto.c (clock_filter): Rewrite.
670        From: Dave Mills
671
672        * ntpd/ntp_control.c (ctl_getitem): msyslog() possible buffer
673        overflow exploit.
674
675        * configure.in: 4.0.99k24
676
677        * html/pic/radio2.jpg:
678        * html/release.htm:
679        * html/refclock.htm:
680        * html/pps.htm:
681        * html/ntpd.htm:
682        * html/miscopt.htm:
683        * html/driver22.htm:
684        * html/confopt.htm:
685        Updated documentation from Dave Mills.
686
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
693        peer->ppoll.
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
699        mode_ntpdate.
700        * ntpd/ntp_loopfilter.c: Initialize sys_poll and sys_minpoll to
701        NTP_MINDPOLL.
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
706        turn off TEST10.
707        * ntpd/ntp_control.c (ctl_getitem): Buffer overflow check.  Clean
708        up some loop logic.
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.
716        From Dave Mills.
717
7182001-04-03  Harlan Stenn  <stenn@whimsy.udel.edu>
719
720        * ntpd/ntp_proto.c (clock_filter): Swell stuff.
721        From: Mark Martinec <Mark.Martinec@ijs.si>
722
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:
731        * ntpd/Makefile.am:
732        * libntp/clocktypes.c:
733        * include/ntp.h:
734        * include/hopf6039.h:
735        * include/Makefile.in:
736        * include/Makefile.am:
737        * html/pic/fg6039.jpg:
738        * html/refclock.htm:
739        * html/driver39.htm:
740        * html/driver38.htm:
741        * html/copyright.htm:
742        Updated Oncore dudes.
743
744        * configure.in:
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)
748
749        * ntpd/refclock_oncore.c:
750        * ntpd/refclock_conf.c: Make it go.
751        From: Reg Clemens <reg@dwf.com>
752
753        * configure.in (openssl): Publish and default to RSAREF; hide
754        openssl, and only use it if explicitly requested (at least until
755        we work with it).
756
7572001-04-02  Harlan Stenn  <stenn@whimsy.udel.edu>
758
759        * html/y2k.htm:
760        * html/tickadj.htm:
761        * html/release.htm:
762        * html/refclock.htm:
763        * html/quick.htm:
764        * html/pps.htm:
765        * html/ntptrace.htm:
766        * html/ntptime.htm:
767        * html/ntpq.htm:
768        * html/ntpdc.htm:
769        * html/ntpdate.htm:
770        * html/ntpd.htm:
771        * html/miscopt.htm:
772        * html/index.htm:
773        * html/genkeys.htm:
774        * html/exec.htm:
775        * html/driver7.htm:
776        * html/driver22.htm:
777        * html/copyright.htm:
778        * html/confopt.htm:
779        * html/build.htm:
780        * html/authopt.htm:
781        * html/assoc.htm:
782        Updates from Dave Mills.
783
7842001-04-01  Harlan Stenn  <stenn@whimsy.udel.edu>
785
786        * configure.in (OPENSSL): Just use -lcrypto.
787        Reported by Dave Mills.
788
7892001-03-31  Harlan Stenn  <stenn@whimsy.udel.edu>
790
791        * configure.in: 4.0.99k20
792
793        * ntpd/refclock_heath.c: Add support for GC-1000 II.
794        From Dave Mills.
795
796        * ntpd/ntp_proto.c (transmit): Check peer->unreach.
797        (peer_clear): peer->outdate is a f(BURST_INTERVAL1), not
798        NTP_MINPOLL.
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.
804        From: Dave Mills.
805
806        * configure.in (rsaref): Buglet.
807
8082001-03-30  Harlan Stenn  <stenn@whimsy.udel.edu>
809
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.
815        From: Dave Mills.
816
8172001-03-29  Harlan Stenn  <stenn@whimsy.udel.edu>
818
819        * config.h.in:
820        * aclocal.m4:
821        * configure.in: Prepare for OpenSSL support
822
8232001-03-28  Harlan Stenn  <stenn@whimsy.udel.edu>
824
825        * README.rsa: Note that RSAEURO will not work.
826        Reported by: pieter.delacourt@banksys.be
827
8282001-03-25  Harlan Stenn  <stenn@whimsy.udel.edu>
829
830        * include/ntp_if.h:
831        * include/ntp_machine.h:
832        * include/ntp_unixtime.h:
833        * libntp/humandate.c:
834        * libntp/iosignal.c:
835        * libntp/mktime.c:
836        * libntp/prettydate.c:
837        * libntp/systime.c:
838        * libntp/tvtoa.c:
839        * libntp/uglydate.c:
840        * libntp/utvtoa.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:
851        * libparse/parse.c:
852        * libparse/parse_conf.c:
853        * ntpd/check_y2k.c:
854        * ntpd/ntp_config.c:
855        * ntpd/ntp_control.c:
856        * ntpd/ntp_intres.c:
857        * ntpd/ntp_io.c:
858        * ntpd/ntp_loopfilter.c:
859        * ntpd/ntp_monitor.c:
860        * ntpd/ntp_proto.c:
861        * ntpd/ntp_refclock.c:
862        * ntpd/ntp_request.c:
863        * ntpd/ntp_resolver.c:
864        * ntpd/ntp_timer.c:
865        * ntpd/ntp_util.c:
866        * ntpd/ntpd.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:
899        * ntpdate/ntpdate.c:
900        * ntpdate/ntptime_config.c:
901        * ntpdate/ntptimeset.c:
902        * ntpdc/ntpdc.c:
903        * ntpdc/ntpdc_ops.c:
904        * ntpq/ntpq.c:
905        * ntpq/ntpq_ops.c:
906        * ntptrace/ntptrace.c:
907        * parseutil/testdcf.c:
908        * util/hist.c:
909        * util/ntp-genkeys.c:
910        * util/ntptime.c:
911        * util/precision.c:
912        * util/tickadj.c:
913        time.h and sys/time.h cleanup.
914
9152001-03-24  Harlan Stenn  <stenn@whimsy.udel.edu>
916
917        * configure.in: '99k19
918
919        * ntpd/refclock_atom.c (atom_ppsapi): PPS API RFC alignment patches.
920        From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
921
922        * util/ntptime.c: MNT options
923        From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
924
925        * ntpd/ntp_refclock.c (refclock_newpeer): Lose "extra" free().
926        From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
927
928        * configure.in: 4.0.99k18 and auto* upgrade
929
9302001-03-14  Harlan Stenn  <stenn@whimsy.udel.edu>
931
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
943        initialization.
944        (resetmanycast): That's a poll_update() on an MDF_ACAST, not a
945        poll_clear().
946        * ntpd/ntp_crypto.c: include <fcntl.h>.
947        (crypto_recv): Leave the crypto_flags alone when wiggling the
948        peer-> stuff.
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.
956        From: Dave Mills.
957
9582001-03-05  Harlan Stenn  <stenn@whimsy.udel.edu>
959
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.
974        (CP_CERTIF): Added.
975        * include/ntp_config.h (CONF_CRYPTO_CERT): Added.
976        * include/ntp.h (TEST10,TEST11): New meaning.  Add certif to
977        struct peer.
978        (FLAG_PROVEN): Added.
979        (MAX_EXT_LEN): Removed.
980        exten grew from 672/4 to 5000/4 for PUBKEY.
981        From: Dave Mills.
982
9832001-03-03  Harlan Stenn  <stenn@whimsy.udel.edu>
984
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.
993        From: Dave Mills.
994
9952001-03-01  Harlan Stenn  <stenn@whimsy.udel.edu>
996
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
1005        PUBKEY.
1006        * include/ntp.h (clear_to_zero): #define value is a function of
1007        AUTOKEY.
1008        From: Dave Mills.
1009
10102001-02-28  Harlan Stenn  <stenn@whimsy.udel.edu>
1011
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
1015        to FLAG_AUTOKEY.
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
1028        CRYPTO_FLAG_ASSOC.
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
1033        debug info.
1034        * include/ntp.h (NTP_CANLOCK): Lose it.
1035        (clear_to_zero): is now "assoc".
1036        (FLAG_ASSOC): Added.
1037        From: Dave Mills
1038
10392001-02-23  Harlan Stenn  <stenn@whimsy.udel.edu>
1040
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
1059        panic correction"
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.
1066        From: Dave Mills
1067
10682001-02-19  Harlan Stenn  <stenn@whimsy.udel.edu>
1069
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
1073        MCAST, not ACAST
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...
1085        From: Dave Mills.
1086
10872001-02-14  Harlan Stenn  <stenn@whimsy.udel.edu>
1088
1089        * ntpd/ntp_proto.c (peer_xmit): Crypto-related fixes
1090        From Dave Mills.
1091
1092        * ntpd/ntp_crypto.c (crypto_recv): Allocate space for the trailing
1093        NUL on the keystr.
1094
10952001-01-28  Harlan Stenn  <stenn@whimsy.udel.edu>
1096
1097        * configure.in: 4.0.99k17
1098
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.
1102        From: Dave Mills.
1103
11042001-01-19  Harlan Stenn  <stenn@whimsy.udel.edu>
1105
1106        * configure.in: 4.0.99k16
1107
1108        * config.h.in: Regenerated - became empty somehow.
1109        Reported by John.Hay@icomtek.csir.co.za
1110
1111        * ntpd/ntp_proto.c (clock_select): Fix sdisp calculation.
1112        From Dave Mills.
1113
1114        * util/ntp-genkeys.c:
1115        * ntpd/refclock_chu.c:
1116        * ntpd/refclock_atom.c:
1117        * ntpd/ntpd.c:
1118        * ntpd/ntp_loopfilter.c:
1119        * ntpd/ntp_io.c:
1120        * ntpd/cmd_args.c:
1121        * libntp/audio.c:
1122        * include/l_stdlib.h:
1123        * html/copyright.htm:
1124        Lint fixes (Thanks bunches!)
1125        From: Marc.Brett@westerngeco.com
1126
11272001-01-18  Harlan Stenn  <stenn@whimsy.udel.edu>
1128
1129        * configure.in: 4.0.99k15
1130
1131        * ntpd/ntp_proto.c (clock_select): Track error[] items sooner.
1132        Typo grabbing the dtemp value and in the sdisp calculation.
1133        From Dave Mills.
1134
11352001-01-17  Harlan Stenn  <stenn@whimsy.udel.edu>
1136
1137        * configure.in: 4.0.99k14
1138
1139        * ntpd/ntp_proto.c: Change description of sys_rootdelay and
1140        sys_rootdispersion.
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!)
1154        From Dave Mills.
1155
11562001-01-13  Harlan Stenn  <stenn@whimsy.udel.edu>
1157
1158        * config.sub (Repository): Updated.
1159        * config.guess (Repository): Updated.
1160
1161        * ntpd/ntp_loopfilter.c (local_clock): Just use sys_jitter in the
1162        calculation for rootdispersion.
1163        From Dave Mills.
1164
11652001-01-02  Harlan Stenn  <stenn@whimsy.udel.edu>
1166
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.
1172        From Dave Mills.
1173
11742001-01-01  Harlan Stenn  <stenn@whimsy.udel.edu>
1175
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.
1179        From Dave Mills.
1180
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:
1193        * html/pic/oz2.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:
1205        * html/release.htm:
1206        * html/rdebug.htm:
1207        * html/prefer.htm:
1208        * html/porting.htm:
1209        * html/ntptrace.htm:
1210        * html/ntpq.htm:
1211        * html/ntpdate.htm:
1212        * html/monopt.htm:
1213        * html/kernpps.htm:
1214        * html/index.htm:
1215        * html/hints.htm:
1216        * html/gadget.htm:
1217        * html/driver7.htm:
1218        * html/copyright.htm:
1219        * html/config.htm:
1220        * html/build.htm:
1221        * html/authopt.htm:
1222        * html/assoc.htm:
1223        * html/accopt.htm:
1224        Cleanup from Dave Mills.
1225
12262000-12-30  Harlan Stenn  <stenn@whimsy.udel.edu>
1227
1228        * configure.in: 4.0.99k13
1229
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.
1234        (fd_audio): Added.
1235        (chu_start): Separate audio from serial device.
1236        (chu_receive): Rewrite - get data from serial or audio device as
1237        appropriate.
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
1243        instead of ==-1.
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.
1248        From Dave Mills.
1249
1250        * configure.in (ntp_refclock): HAVE_AUDIO added.  Remove
1251        HAVE_STRUCT_AUDIO_INFO_* stuff; Dave rewrote the audio stuff.
1252
12532000-12-28  Harlan Stenn  <stenn@whimsy.udel.edu>
1254
1255        * configure.in: 4.0.99k12
1256
12572000-12-27  Harlan Stenn  <stenn@whimsy.udel.edu>
1258
1259        * html/release.htm:
1260        * html/patches.htm:
1261        * html/measure.htm:
1262        * html/confopt.htm:
1263        * html/clockopt.htm:
1264        * html/biblio.htm:
1265        * html/authopt.htm:
1266        * html/assoc.htm:
1267        Updates from Dave Mills.
1268
1269        * include/ntp_crypto.h: Make sure crypto_flags is visible.
1270        From Dave Mills.
1271
12722000-12-14  Harlan Stenn  <stenn@whimsy.udel.edu>
1273
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.
1279        From: Dave Mills
1280
12812000-12-11  Harlan Stenn  <stenn@whimsy.udel.edu>
1282
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
1285        EOburst.
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
1290        _IBURST.
1291        (peer_clear): Don't set IBURST on MDF_BCLNT.
1292        From: Dave Mills.
1293
1294        * ntpdate/ntpdate.c (alarming): Appease ansi2knr.
1295
12962000-12-10  Harlan Stenn  <stenn@whimsy.udel.edu>
1297
1298        * ntpd/ntp_control.c (ctl_putpeer): CP_TTL and CP_TTLMAX
1299        MDF_ACAST and MDF_MCAST cleanup.
1300
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.
1316        From Dave Mills.
1317
13182000-12-05  Harlan Stenn  <stenn@whimsy.udel.edu>
1319
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.
1327        Dave Mills.
1328
13292000-12-03  Harlan Stenn  <stenn@whimsy.udel.edu>
1330
1331        * ntpd/ntp_proto.c (receive): That any_interface is now an
1332        rbufp->dstadr.
1333        Various other doc and code cleanup.
1334        * ntpd/ntp_peer.c (findmanycastpeer): Fixes
1335        From Dave Mills
1336
13372000-12-02  Harlan Stenn  <stenn@whimsy.udel.edu>
1338
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
1349        From Dave Mills
1350
13512000-11-26  Harlan Stenn  <stenn@whimsy.udel.edu>
1352
1353        * configure.in: 4.0.99k11
1354
1355        * ntpd/ntp_proto.c (transmit):
1356        * ntpd/ntp_peer.c:
1357        * ntpd/ntp_io.c:
1358        * ntpd/ntp_control.c (ctl_putpeer):
1359        * ntpd/ntp_config.c (getconfig):
1360        * include/ntpd.h: mcast/ucast interface cleanup.
1361        From: Dave Mills
1362
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.
1366
1367        * util/ntp-genkeys.c (cleanlinks): Don't do it if nosymlinks.
1368
13692000-11-19  Harlan Stenn  <stenn@whimsy.udel.edu>
1370
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)
1374
1375        * ntpd/refclock_pcf.c (pcf_poll): isdst fix
1376        From: Andreas Voegele <andreas.voegele@gmx.de>
1377
13782000-10-28  Harlan Stenn  <stenn@whimsy.udel.edu>
1379
1380        * configure.in: 4.0.99k10
1381
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().
1394
1395        * ntpd/ntp_proto.c (clock_update): If we lose sync, reset the poll
1396        to NTP_MINDPOLL.
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.
1402        From Dave Mills.
1403
14042000-10-16  Harlan Stenn  <stenn@whimsy.udel.edu>
1405
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>
1414
1415        * html/refclock.htm:
1416        * html/rdebug.htm:
1417        * html/prefer.htm:
1418        * html/pps.htm:
1419        * html/ntpdc.htm:
1420        * html/miscopt.htm:
1421        * html/ldisc.htm:
1422        * html/kern.htm:
1423        * html/index.htm:
1424        * html/exec.htm:
1425        * html/driver22.htm:
1426        * html/clockopt.htm:
1427        Updates from Dave Mills
1428
1429        * ntpd/ntp_intres.c (request): Sanity check the size of the response
1430
14312000-10-15  Harlan Stenn  <stenn@whimsy.udel.edu>
1432
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
1454        HAVE_SYS_CLKDEFS_H
1455        Get ntp_syscall if KERNEL_PLL
1456        Define cal_enable
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
1464        Other cleanup/fixes
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
1472        (PROTO_CAL): Added
1473        From: Dave Mills
1474
14752000-09-23  Harlan Stenn  <stenn@whimsy.udel.edu>
1476
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
1487        each column header.
1488        Tue Sep 12 16:25:51 2000  Philippe De Muyter  <phdm@macqel.be>
1489
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.
1494        From: Dave Mills.
1495
14962000-09-21  Harlan Stenn  <stenn@whimsy.udel.edu>
1497
1498        * configure.in: Much improved Solaris patch-level check for the
1499        FLL bug test.
1500        From: Marc.Brett@westgeo.com
1501
15022000-09-19  Harlan Stenn  <stenn@whimsy.udel.edu>
1503
1504        * include/Makefile.am (noinst_HEADERS): Added ntp_tty.h
1505        Reported by Dave Mills
1506
15072000-09-16  Harlan Stenn  <stenn@whimsy.udel.edu>
1508
1509        * ntptrace/ntptrace.c:
1510        * ntpdate/ntptimeset.c (receive):
1511        * ntpdate/ntpdate.c (receive):
1512        STRATUM cleanup
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
1520        From Dave Mills
1521
15222000-09-13  Harlan Stenn  <stenn@whimsy.udel.edu>
1523
1524        * ntpd/refclock_oncore.c (oncore_get_timestamp): Print debug
1525        messages being aware of HAVE_STRUCT_TIMESPEC.
1526
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}
1530        From: Dave Mills.
1531
15322000-09-12  Harlan Stenn  <stenn@whimsy.udel.edu>
1533
1534        * configure.in (ac_cv_var_atom_ok): Cleanup ATOM/PPSAPI stuff...
1535
1536        * scripts/ntp-close: Find "close" ntp servers.
1537        From: Neal McBurnett <neal@bcn.boulder.co.us>
1538
1539        * ntpd/refclock_conf.c:
1540        * ntpd/refclock_oncore.c: Re-enabled oncore driver for HAVE_PPSAPI
1541        case only.
1542
15432000-09-12  Philippe De Muyter  <phdm@macqel.be>
1544
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.
1548
1549        * include/ntp_tty.h: New file
1550        * libntp/icom.c: Use it.
1551
1552        * ntp_update (UPDATE_OPTIONS): Use -d, too.  Fix Pass 1 comment.
1553
15542000-09-12  Harlan Stenn  <stenn@whimsy.udel.edu>
1555
1556        * ntpd/refclock_oncore.c: shmem_fname added.  oncore_init_shmem()
1557        updated.
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>
1568
1569        * ntpd/ntp_io.c (input_handler): Better recvfrom() error message
1570        From: Dean Gibson <timekeeper@tcp-udp.net>
1571
1572        * ntpdc/ntpdc.c (passwd): Get them working again.
1573        From: Benjamin Greenwald <beng@lcs.mit.edu>
1574
15752000-09-11  Harlan Stenn  <stenn@whimsy.udel.edu>
1576
1577        * ntpd/refclock_atom.c:
1578        (atom_start):
1579        * ntpd/ntp_refclock.c: Comment cleanup.  PPS/PPSAPI cleanup
1580        (refclock_open): PPS/PPSAPI cleanup
1581        From: Dave Mills
1582
1583        * ntpd/refclock_oncore.c:
1584        * ntpd/refclock_mx4200.c:
1585        HAVE_TIMESPEC -> HAVE_STRUCT_TIMESPEC
1586
1587        * configure.in: ATOM requires struct timespec, not PPSAPI.  Clean
1588        up dependencies accordingly.
1589
15902000-09-09  Harlan Stenn  <stenn@whimsy.udel.edu>
1591
1592        * configure.in (ac_cv_var_atom_ok): Improve ATOM configure message
1593        PARSE requires ATOM.
1594
1595        * ntpd/ntpd.c (set_process_priority): Clean up debug messages.
1596
15972000-09-07  Harlan Stenn  <stenn@whimsy.udel.edu>
1598
1599        * configure.in: ac_cv_atom_ok, depends on HAVE_PPSAPI.
1600        I notice the PARSE clocks require ATOM.  Could be interesting...
1601
16022000-09-06  Harlan Stenn  <stenn@whimsy.udel.edu>
1603
1604        * Makefile.in (distdir): Seems to be a bug in an automake library
1605        somewhere...
1606
16072000-09-05  Harlan Stenn  <stenn@whimsy.udel.edu>
1608
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.
1612
16132000-09-04  Harlan Stenn  <stenn@whimsy.udel.edu>
1614
1615        * ntpq/ntpq.c: report offset as "offset", not "phase".  Lose
1616        compliance.
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
1636        refclockproc.
1637        * include/ntp_control.h (CS_COMPLIANCE): Lose it.
1638        * include/ntp.h: Rename variance to jitter in struct peer.
1639        From: Dave Mills
1640
16412000-09-01  Harlan Stenn  <stenn@whimsy.udel.edu>
1642
1643        * ntpd/refclock_atom.c: Use the new ppsunit.  Cleanup and improve
1644        documentation.
1645        * ntpd/ntp_refclock.c (refclock_sample): Don't accumulate
1646        variance.
1647        From Dave Mills
1648
16492000-08-31  Harlan Stenn  <stenn@whimsy.udel.edu>
1650
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.
1655        From Dave Mills.
1656
1657        * configure.in: 4.0.99k8
1658
1659        Revert to the older automake.
1660
1661        * configure.in: The PPSAPI headers use "inline", so require a STDC
1662        compiler.
1663
1664        * ntpd/refclock_atom.c (atom_shutdown): Typo
1665        From Dave Mills
1666
1667        * configure.in: Convert to autoconf-2.49
1668
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().
1672        From: Dave Mills
1673
16742000-08-29  Harlan Stenn  <stenn@whimsy.udel.edu>
1675
1676        * configure: Fix the autoconf problem...
1677
16782000-08-20  Harlan Stenn  <stenn@whimsy.udel.edu>
1679
1680        * configure.in: 99k7
1681
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.
1685        kernel PPL 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
1692        From: Dave Mills
1693
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
1701        problems.
1702
17032000-08-19  Harlan Stenn  <stenn@whimsy.udel.edu>
1704
1705        * configure.in: '99k6, and manually fix configure.
1706
1707        * include/ntp_request.h (NTP_MAXHOSTNAME): 144 -> 32
1708
17092000-08-18  Harlan Stenn  <stenn@whimsy.udel.edu>
1710
1711        * util/ntp-genkeys.c (main): Don't call fclose if stream is NULL.
1712
17132000-08-17  Harlan Stenn  <stenn@whimsy.udel.edu>
1714
1715        * html/driver35.htm:
1716        * ntpd/refclock_pcf.c: Updates and improvements
1717        From: Andreas Voegele <andreas.voegele@gmx.de>
1718
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
1721        configure script.
1722
1723        * configure: Manual hack to the ntptimeval.time.tv_nsec stuff
1724        because we're running an old autoconf.
1725
17262000-08-16  Harlan Stenn  <stenn@whimsy.udel.edu>
1727
1728        * util/ntptime.c: Use: HAVE_STRUCT_NTPTIMEVAL_TIME_TV_NSEC, it's
1729        the standard name.
1730
1731        * configure.in: Look for struct ntptimeval.tai in sys/timex.h
1732        Cleanup struct tptimeval member tests.
1733
1734        * util/ntp-genkeys.c: New command-line arguments
1735
17362000-08-14  Harlan Stenn  <stenn@whimsy.udel.edu>
1737
1738        * util/ntp-genkeys.c (main): More small steps...
1739
17402000-08-13  Harlan Stenn  <stenn@whimsy.udel.edu>
1741
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.
1744
1745        * util/ntp-genkeys.c (main): More small steps...
1746
17472000-08-12  Harlan Stenn  <stenn@whimsy.udel.edu>
1748
1749        * util/ntp-genkeys.c (main): Another small step...
1750
1751        * configure.in: 99k5
1752
1753        * include/ntp_request.h: Make data[] member of req_pkt 32 again.
1754        Bump the version number...
1755
1756        * ntpd/ntp_loopfilter.c (local_clock): Change 0. to 0 in a couple
1757        of places.
1758        From Dave Mills
1759
17602000-08-11  Harlan Stenn  <stenn@whimsy.udel.edu>
1761
1762        * util/ntp-genkeys.c (main): Minimal progress...
1763
17642000-08-06  Harlan Stenn  <stenn@whimsy.udel.edu>
1765
1766        * ntpd/check_y2k.c: Make debug definition match ntpd.h's declaration
1767
1768        * ntpd/Makefile.am (check-local): Use test in favor of [
1769
17702000-08-05  Harlan Stenn  <stenn@whimsy.udel.edu>
1771
1772        * configure.in (NTP_KEYSDIR): Typo
1773
17742000-08-04  Harlan Stenn  <stenn@whimsy.udel.edu>
1775
1776        * ElectricFence/Makefile.am (check-local): use test instead of [
1777
1778        * configure.in: AC_REPLACE_FUNCS(strdup)
1779        * libntp/strdup.c (strdup): Added.
1780        * libntp/Makefile.am (EXTRA_libntp_a_SOURCES): Added strdup.c
1781
1782        * util/Makefile.am (ntp_genkeys_DEPENDENCIES): Use $U on .o files
1783        (ntp_genkeys_LDADD): ditto.
1784
1785        * ntpd/ntp_crypto.c: Use NTP_KEYSDIR
1786
1787        * util/ntp-genkeys.c (snifflink): Ignore ENOENT, too.
1788
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
1793        crypto_flags.
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
1797        From Dave Mills
1798
17992000-08-03  Harlan Stenn  <stenn@whimsy.udel.edu>
1800
1801        * util/ntp-genkeys.c: Initialize path_keysdir to NTP_KEYSDIR.
1802
1803        * configure.in (NTP_KEYSDIR): Added
1804        * acinclude.m4: Added AC_DEFINE_DIR macro
1805
1806        * util/ntp-genkeys.c (main): Sanity checks on the file paths.
1807
18082000-08-02  Harlan Stenn  <stenn@whimsy.udel.edu>
1809
1810        * util/ntp-genkeys.c (crypto_config): Only #ifdef PUBKEY
1811        (PATH_MAX): Try harder...
1812
18132000-08-01  Harlan Stenn  <stenn@whimsy.udel.edu>
1814
1815        * util/ntp-genkeys.c (main): Use snifflink()
1816        (snifflink): Implement...
1817
1818        * configure.in: Check for readlink()
1819
18202000-07-31  Harlan Stenn  <stenn@whimsy.udel.edu>
1821
1822        * util/ntp-genkeys.c (main): Use strdup on the tokens returned
1823        from ntp_config...
1824        (crypto_config): Fix a typo...
1825        (crypto_config): Even more...
1826        (usage): Flesh it out.
1827
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.
1831
1832        * util/ntp-genkeys.c: Add stubs to work with ../ntpd/ntp_config.o,
1833        start hooking things up.
1834        (main): debugging
1835        (crypto_config): better implementation
1836
1837
1838        * ntpd/ntp_config.c (getconfig):
1839        * ntpd/ntpd.c: Initialize "debug" here, not in ntp_config.c
1840
1841        * util/Makefile.am (ntp_genkeys_LDADD): Added ../ntpd/ntp_config.o
1842        * util/Makefile.am (ntp_genkeys_DEPENDENCIES): Added.
1843
18442000-07-30  Harlan Stenn  <stenn@whimsy.udel.edu>
1845
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
1849        ntp_config.h .
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
1859        of the evils...
1860
18612000-07-28  Harlan Stenn  <stenn@whimsy.udel.edu>
1862
1863        * util/ntp-genkeys.c (usage): Added.
1864
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
1870        From Dave Mills
1871
1872        * include/ntp_config.h: Created
1873
1874        * util/ntp-genkeys.c: Always build, but realize we may not have
1875        RSAREF.  Compile parts appropriately.
1876
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
1880
1881        * configure.in:
1882        * util/ntp-genkeys.c:
1883        * util/Makefile.am:
1884        Renamed ntp_genkeys to ntp-genkeys.
1885
18862000-07-27  Harlan Stenn  <stenn@whimsy.udel.edu>
1887
1888        * ntpdate/ntpdate.c (ntpdatemain): Cleanup error message.
1889
1890        * ntpdate/ntpdate.c (ntpdatemain): Add missing authtrust() call
1891        From: Jason Heiss <jheiss@cruzeiro.ugcs.caltech.edu>
1892
1893        * ntpd/refclock_ulink.c (ulink_receive):
1894        * ntpd/ntp_crypto.c:
1895        * libntp/authparity.c:
1896        Lint/noise cleanup
1897        From: Marc Brett <mbrett@rgs0.london.waii.com>
1898
1899        * ntpd/ntp_proto.c: Specifically track manycastserver and
1900        survivors
1901        From: Dave Mills
1902
19032000-07-26  Sven Dietrich  <sven_dietrich@trimble.com>
1904
1905        * ntpd/ntpd.c: remove WINNT priority adjustment to the ports/winnt area
1906        where it does not clutter up the main distribution.
1907
19082000-07-24  Harlan Stenn  <stenn@whimsy.udel.edu>
1909
1910        * ntpd/ntp_proto.c (receive): dstadr_sin needs  higher visibility
1911        From: Dave Mills
1912
1913        * flock-build: Added baldwin
1914
1915        * ntpd/ntp_request.c:
1916        * ntpd/ntp_proto.c:
1917        * ntpd/ntp_peer.c:
1918        * ntpd/ntp_io.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):
1927        * html/release.htm:
1928        * html/confopt.htm:
1929        * html/assoc.htm:
1930        Add iburst option, fix broadcast/multicast and some types.
1931        From: Dave Mills
1932
19332000-07-20  Harlan Stenn  <stenn@whimsy.udel.edu>
1934
1935        * scripts/Makefile.am (bin_SCRIPTS): Install ntp-wait
1936
1937        * configure.in: 4.0.99k
1938
19392000-07-19  Harlan Stenn  <stenn@whimsy.udel.edu>
1940
1941        * ntpd/ntp_proto.c (peer_xmit): PUBKEY cleanup
1942
19432000-07-18  Harlan Stenn  <stenn@whimsy.udel.edu>
1944
1945        * configure.in: 4.0.99j5
1946
1947        * html/ntpd.htm (HREF): Document other missing command-line options
1948
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.
1953
1954        * ntpd/ntp_crypto.c: PUBKEY/AUTOKEY cleanup
1955        From Dave Mills
1956
19572000-07-17  Harlan Stenn  <stenn@whimsy.udel.edu>
1958
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.
1962
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
1966        * ntpd/ntp_peer.c:
1967        * include/ntpd.h:
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
1973        From: Dave Mills
1974
19752000-07-14  Harlan Stenn  <stenn@whimsy.udel.edu>
1976
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...
1980
1981        * ElectricFence/page.c: #include config.h if it's there.
1982        Properly handle the sys_errlist declaration.
1983
1984        * html/ntpq.htm:
1985        * html/index.htm:
1986        * html/debug.htm:
1987        * html/authopt.htm:
1988        Reality check.
1989        From Dave Mills
1990
19912000-07-13  Harlan Stenn  <stenn@whimsy.udel.edu>
1992
1993        * Makefile.am (SUBDIRS): Added ElectricFence
1994        * configure.in (AC_CONFIG_FILES): Added ElectricFence support
1995        * ElectricFence: Imporpted.
1996
19972000-07-12  Harlan Stenn  <stenn@whimsy.udel.edu>
1998
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.
2003        PUBKEY cleanup.
2004        * ntpd/ntp_timer.c: sys_revoketime cleanup.
2005        * ntpd/ntp_proto.c (receive): PUBKEY cleanup.  Comment and code
2006        cleanup.
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.
2032        From: Dave Mills
2033
2034
20352000-07-08  Harlan Stenn  <stenn@whimsy.udel.edu>
2036
2037        * ntpd/ntp_util.c (stats_config): If we read a bogus old_drift,
2038        use 0 instead of failing.
2039
20402000-07-03  Harlan Stenn  <stenn@whimsy.udel.edu>
2041
2042        * README.cvs: Cleanup.
2043
2044        * ntpd/refclock_datum.c (datum_pts_poll): index -> unit_index
2045        * ntpd/ntp_resolver.c (findhostaddr): const cleanup
2046        * libntp/recvbuff.c:
2047        * libntp/msyslog.c:
2048        * libntp/emalloc.c:
2049        * libntp/authreadkeys.c:
2050        Fix header order.
2051        From: Simon Burge <simonb@netbsd.org>
2052
2053        * ntpd/ntp_util.c (stats_config): Use HAVE_FINITE and HAVE_ISFINITE
2054        * configure.in (ac_cv_struct_ntptimeval_timespec): isfinite()
2055        checks for HP-UX11.
2056        From: Albert Chin-A-Young <china@thewrittenword.com>
2057
20582000-07-02  Harlan Stenn  <stenn@whimsy.udel.edu>
2059
2060        * flock-build (LIST): Lose malarky, update some machine/OS descriptions
2061
2062        * configure.in: 4.0.99j4
2063
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
2071        into structs.
2072        * include/ntp_control.h (CS_HOST): Reorder/rename some fields
2073        From: Dave Mills
2074
20752000-06-30  Harlan Stenn  <stenn@whimsy.udel.edu>
2076
2077        * ntpd/ntp_peer.c (unpeer): Moved keystr cleanup inside ifdef PUBKEY
2078
2079        * configure.in: 4.0.99j3
2080
2081        * html/release.htm:
2082        * html/ntpq.htm:
2083        * html/authopt.htm:
2084        Updates from Dave Mills
2085
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.
2094        From: Dave Mills
2095
2096        * ntpd/Makefile.am (ntpd_SOURCES): Lose refclock_ulink331.c
2097        because the new refclock_ulink.c handles it.
2098
20992000-06-28  Harlan Stenn  <stenn@whimsy.udel.edu>
2100
2101        * ntpd/ntp_config.c (getconfig): Sanity check the right variable
2102        From: Dave Mills.
2103
21042000-06-25  Harlan Stenn  <stenn@whimsy.udel.edu>
2105
2106        * configure.in: 4.0.99j2
2107
2108        * ntpd/ntp_proto.c:
2109        * ntpd/ntp_peer.c:
2110        * ntpd/ntp_crypto.c:
2111        * include/ntp_crypto.h:
2112        * include/ntp.h:
2113        AUTOKEY/PUBKEY/DH/crypto changes
2114        From: Dave Mills
2115
21162000-06-23  Harlan Stenn  <stenn@whimsy.udel.edu>
2117
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>
2123
2124        * ntpd/refclock_oncore.c: Patches/improvements
2125        * html/driver30.htm: New release
2126        From: Reg Clemens <reg@orion.dwf.com>
2127
21282000-06-17  Harlan Stenn  <stenn@whimsy.udel.edu>
2129
2130        * configure.in: 4.0.99j1
2131
2132        * ntpdc/ntpdc.c (getcmds):
2133        * configure.in:
2134        Readline support.
2135        From: Aaron Sherman <ajs@narn.ajs.com>
2136
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
2140
2141        * libntp/snprintf.c: Added stdio.h
2142        From: Marc Brett <mbrett@rgs0.london.waii.com>
2143
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
2147        in struct pkt.
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
2151        key/fudge cleanup.
2152        * ntpd/ntp_control.c: Much cleanup.
2153        * ntpd/ntp_crypto.c: Many changes that Harlan is too tired to
2154        properly document.
2155        * ntpd/ntp_peer.c: crypto_enable -> crypto_flags
2156        (peer_config): Hold off on crypto_public() until some resolver
2157        issue is fixed.
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 .
2168        From Dave Mills.
2169
2170        * ntpd/ntp_crypto.c (crypto_rsa):
2171        (crypto_dh):
2172        Do some debug logging if readlink() fails with something other
2173        than EINVAL (file isn't a symlink).
2174
21752000-06-04  James R. Van Zandt  <jrv@vanzandt.mv.com>
2176
2177        * html/miscopt.htm (trap): punctuation
2178
2179        * html/ntpd.htm (-g): typo
2180
2181        * html/miscopt.htm (logconfig): List the "clock" event class.
2182        "allprefix" should be two words.
2183
21842000-05-31  Harlan Stenn  <stenn@whimsy.udel.edu>
2185
2186        * ntpd/ntp_timer.c: Protect <unistd.h>
2187
21882000-05-30  Harlan Stenn  <stenn@whimsy.udel.edu>
2189
2190        * ntpd/Makefile.am: Document what we expect from -lm
2191
21922000-05-29  Harlan Stenn  <stenn@whimsy.udel.edu>
2193
2194        * configure.in: 4.0.99j
2195
21962000-05-22  Harlan Stenn  <stenn@whimsy.udel.edu>
2197
2198        * html/ntptime.htm: More fixes
2199        From: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2200
22012000-05-16  Harlan Stenn  <stenn@whimsy.udel.edu>
2202
2203        * build (KEYSUF):
2204        * flock-build:
2205        * configure.in: Lose the "md5" options from the --with-crypto
2206        check; Dave hates it.
2207
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
2213
2214        * ntpd/ntpd.c (ntpdmain):
2215        * ntpd/ntp_proto.c (receive):
2216        (poll_update):
2217        * ntpd/ntp_intres.c (addentry):
2218        * ntpd/ntp_config.c (getconfig):
2219        Lint cleanup
2220        From: Marc Brett <mbrett@rgs0.london.waii.com>
2221
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):
2227        MAXFREQ -> MAX_FREQ
2228        * include/ntp_proto.h: Define MAX_FREQ
2229
22302000-05-15  Harlan Stenn  <stenn@whimsy.udel.edu>
2231
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
2238        Per Dave Mills.
2239
22402000-05-14  Harlan Stenn  <stenn@whimsy.udel.edu>
2241
2242        * acinclude.m4: Typo...
2243
22442000-05-13  Harlan Stenn  <stenn@whimsy.udel.edu>
2245
2246        * libntp/gpstolfp.c (GPSORIGIN): Try new ULONG_CONST macro
2247
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:
2258        * libntp/audio.c:
2259        Header/lint cleanup
2260        From/reported by: Simon Burge <simonb@netbsd.org>
2261
2262        * ntpd/ntp_resolver.c (findhostaddr): Compiler noise cleanup
2263
2264        * ntpd/ntp_intres.c: Compiler noise cleanup
2265
2266        * html/ntptime.htm: Document reality check
2267        From: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2268
22692000-05-12  Harlan Stenn  <stenn@whimsy.udel.edu>
2270
2271        * ntpd/ntp_intres.c (ntp_intres): Quiet some debug messages
2272        Reported by: Brian Bergstrand <brianb@mac.com>
2273
22742000-05-11  Harlan Stenn  <stenn@whimsy.udel.edu>
2275
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
2278        suffix.
2279
22802000-05-11  Sven Dietrich  <sven_dietrich@trimble.com>
2281
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
2288        works however.
2289
22902000-05-10  Harlan Stenn  <stenn@whimsy.udel.edu>
2291
2292        * configure.in: 4.0.99i9
2293
2294        * ntpd/ntp_crypto.c: tstamp and autokey cleanup
2295        From: Dave Mills
2296
2297        * ntpd/ntp_proto.c (clock_update): Only call expire_all() if
2298        AUTOKEY
2299        From many folks, including Reg Clemens <reg@dwf.com>
2300
23012000-05-07  Harlan Stenn  <stenn@whimsy.udel.edu>
2302
2303        * configure.in: 4.0.99i8
2304
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
2309
23102000-05-06  Harlan Stenn  <stenn@whimsy.udel.edu>
2311
2312        * build (KEYSUF): Catch --disable-autokey first.
2313
23142000-05-05  Harlan Stenn  <stenn@whimsy.udel.edu>
2315
2316        * flock-build: If we don't use autokey, don't use rsaref either.
2317
2318        * configure.in: 4.0.99i7
2319
2320        * build (KEYSUF):
2321        * flock-build:
2322        It's --disable-autokey now
2323
2324        * configure.in: MD5 is not optional (but AUTOKEY is)
2325        * include/ntp_stdlib.h:
2326        * libntp/a_md5encrypt.c:
2327        * libntp/authkeys.c:
2328        (authhavekey):
2329        (MD5auth_setkey):
2330        (auth_delkeys):
2331        (authencrypt):
2332        (authdecrypt):
2333        * libntp/authreadkeys.c:
2334        (authreadkeys):
2335        * ntpd/ntp_proto.c (init_proto):
2336        * libntp/authusekey.c:
2337        MD5 is required.
2338
23392000-05-04  Harlan Stenn  <stenn@whimsy.udel.edu>
2340
2341        * configure.in: 4.0.99i6
2342
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
2349        and !FLAG_AUTOKEY
2350        * ntpd/ntp_crypto.c (crypto_recv): Clean up debug output.
2351        Don't AUTOKEY if FLAG_MCAST2
2352        From: Dave Mills
2353
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.
2359
23602000-05-03  Harlan Stenn  <stenn@whimsy.udel.edu>
2361
2362        * scripts/ntp-wait.in: Fun things with backspaces
2363
2364        * configure.in: 4.0.99i5
2365
2366        * ntptrace/ntptrace.c: Protect sys/ioctl.h; grab config.h
2367
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
2377        From Dave Mills
2378
2379        * ntpdate/ntpdate.c: Protect sys/ioctl.h
2380
23812000-05-01  Harlan Stenn  <stenn@whimsy.udel.edu>
2382
2383        * configure.in: 4.0.99i4
2384
2385        * include/ntp.h:
2386        * include/ntp_crypto.h:
2387        * include/ntpd.h:
2388        * ntpd/ntp_crypto.c:
2389        * ntpd/ntp_proto.c:
2390        * ntpd/ntpd.c:
2391        * util/ntp_genkeys.c:
2392        Dave Mills closed some potential vulnerabilities in the key protocol.
2393
23942000-04-28  Harlan Stenn  <stenn@whimsy.udel.edu>
2395
2396        * configure.in: 4.0.99i3
2397
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.
2405        From: Dave Mills
2406
24072000-04-27  Harlan Stenn  <stenn@whimsy.udel.edu>
2408
2409        * configure.in: 4.0.99i2
2410
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.
2415        From Dave Mills.
2416
24172000-04-24  Harlan Stenn  <stenn@whimsy.udel.edu>
2418
2419        * build (IAM): Show hostname if we trip a buildkey check.
2420
24212000-04-23  Harlan Stenn  <stenn@whimsy.udel.edu>
2422
2423        * build: deal with optional 1st argument (SIG), which must match
2424        the contents of .buildkey
2425
2426        * flock-build: Generalize, implement SIG and .buildkey, and drive
2427        list from LIST, which the user can override.
2428
24292000-04-21  Harlan Stenn  <stenn@whimsy.udel.edu>
2430
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.
2434
24352000-04-16  Harlan Stenn  <stenn@whimsy.udel.edu>
2436
2437        * ntpd/refclock_wwvb.c (wwvb_receive): Grab any character (instead
2438        of just a space) before the DSTchar.
2439        From: Dave Mills
2440
24412000-04-11  Harlan Stenn  <stenn@whimsy.udel.edu>
2442
2443        * configure.in: 4.0.99i
2444
2445        Dave made some documentation updates.
2446
24472000-04-08  Harlan Stenn  <stenn@whimsy.udel.edu>
2448
2449        * flock-build: Add malarky.  By default, --enable-parse-clocks.
2450        Start 2 builds, one with and the other without rsaref.
2451
2452        * configure.in: 4.0.99h6
2453        Dave improved the crypto stuff some more.
2454
24552000-04-05  Harlan Stenn  <stenn@whimsy.udel.edu>
2456
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
2460
24612000-04-02  Harlan Stenn  <stenn@whimsy.udel.edu>
2462
2463        * ntpd/refclock_atom.c (atom_pps): Bugfix
2464        From: Philippe Charnier <charnier@xp11.frmug.org>
2465
24662000-03-30  Harlan Stenn  <stenn@whimsy.udel.edu>
2467
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>
2471
2472        * configure.in: 4.0.99h5
2473        Dave made more changes to the auth key stuff.
2474
24752000-03-29  Harlan Stenn  <stenn@whimsy.udel.edu>
2476
2477        * configure.in: 4.0.99h4
2478        Dave made a bunch of changes/fixes to the auth key stuff.
2479
24802000-03-22  Harlan Stenn  <stenn@whimsy.udel.edu>
2481
2482        * ntpd/ntp_resolver.c: Typos.
2483
24842000-03-21  Harlan Stenn  <stenn@whimsy.udel.edu>
2485
2486        * configure.in: 4.0.99h3
2487
2488        * ntpd/ntp_intres.c: Use LOG_INFO instead of LOG_DEBUG.
2489        * ntpd/ntp_resolver.c: Ditto.
2490
24912000-03-20  Harlan Stenn  <stenn@whimsy.udel.edu>
2492
2493        * util/Makefile.am (ntp_genkeys_LDADD): Might need snprintf (-lntp)
2494
2495        * librsaref/Makefile.am (stamp-rsaref): nodist_HEADERS are not
2496        supoprted yet.  Hack around it.
2497
2498        * ntpd/ntp_resolver.c (findhostaddr): hstrerror isn't always available.
2499
2500        * configure.in: Look for hstrerror.
2501
2502        * util/ntp_genkeys.c (main): Use snprintf, not sprintf.
2503
2504        * ntpd/ntp_crypto.c: Use gethostname, not uname
2505        * util/ntp_genkeys.c: Ditto
2506        From: Dave Mills
2507
25082000-03-19  Harlan Stenn  <harlan@pfcs.com>
2509
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
2514
2515        * ntpd/ntp_resolver.c: Add de_done to the dns_entry structure.
2516
25172000-03-18  Harlan Stenn  <stenn@whimsy.udel.edu>
2518
2519        * configure.in: 4.0.99h2
2520
2521        * libparse/Makefile.am (info_trimble.c): Use $(srcdir)/foo.sed
2522        instead of foo.sed .
2523
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).
2527
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.
2531
2532        * Makefile.am: General cleanup
2533
2534        * configure.in: 4.0.99h1
2535
2536        * ntpd/ntp_resolver.c: Lose unneeded header.
2537
25382000-03-17  Harlan Stenn  <stenn@whimsy.udel.edu>
2539
2540        * libntp/snprintf.c: #include <config.h>
2541
2542        * libntp/Makefile.am (EXTRA_libntp_a_SOURCES): Use it correctly...
2543
25442000-03-16  Harlan Stenn  <stenn@whimsy.udel.edu>
2545
2546        * libntp/Makefile.am (EXTRA_DIST): Added snprintf.c
2547
2548        * configure.in: Look for (and provide if it's missing) snprintf()
2549
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.
2553
2554        * ntpd/ntp_crypto.c (crypto_public): sprintf is Evil.  Use snprintf.
2555        (crypto_setup): Ditto
2556        (crypto_read): Ditto
2557
2558        * ntpd/ntp_resolver.c (ntp_res_send): Lose some debugging noise.
2559
2560        * ntpd/ntp_config.c (getconfig): Lose testing code.
2561
2562        * ntpd/ntp_request.c (dns_a): Fix buglet in hostname length check.
2563
25642000-03-16  Harlan Stenn  <harlan@pfcs.com>
2565
2566        * ntpd/ntp_request.c (dns_a): Start cracking the returned information.
2567
25682000-03-15  Harlan Stenn  <stenn@whimsy.udel.edu>
2569
2570        * ntpd/ntp_resolver.c (ntp_res): Authenticate the keyid.
2571
2572        * ntpd/ntp_crypto.c (crypto_line): Fix definition
2573        (crypto_read): Ditto.
2574
2575        * ntpd/ntp_config.c (getconfig): Move req_keyid generation here.
2576
2577        * librsaref/Makefile.am (BUILT_SOURCES): Cleanup more nodist_ stuff.
2578
25792000-03-14  Harlan Stenn  <stenn@whimsy.udel.edu>
2580
2581        * build (RSASUF): If we have rsaref2/ and are building
2582        --without-rsaref, note it as a build-directory suffix.
2583
2584        * configure.in: 4.0.99h
2585        Crypto merge
2586
2587        * librsaref/Makefile.am (nodist_librsaref_a_SOURCES): Added nodist_
2588
25892000-02-28  Harlan Stenn  <stenn@whimsy.udel.edu>
2590
2591        * configure.in: Lose the changequote calls and fix the quoting.
2592        Reported by: Akim Demaille <akim@epita.fr>
2593
2594        * ntpd/ntp_request.c: Log various error conditions.
2595
25962000-02-27  Harlan Stenn  <stenn@whimsy.udel.edu>
2597
2598        * configure.in: 4.0.99g
2599
2600        * ntpd/ntpd.c: Only log EINTR if debug > 2.
2601
26022000-02-25  Harlan Stenn  <stenn@whimsy.udel.edu>
2603
2604        * scripts/mkver.in (ConfStr): Use `-r' when configured with crypto.
2605
2606        * ntpd/refclock_wwvb.c (wwvb_receive): Undo the previous chagne.
2607
26082000-02-24  Harlan Stenn  <stenn@whimsy.udel.edu>
2609
2610        * ntpd/refclock_wwvb.c (wwvb_receive): LENWWVB0 can return 6 or 7
2611        fields.
2612        From: Michael Sinatra <msinatra@uclink4.berkeley.edu>
2613        with a cleanup from Ulrich.
2614
2615        * scripts/mkver.in (ConfStr): Make RSAREF appear as part of the
2616        version.
2617
26182000-02-21  Sven Dietrich <sven_dietrich@trimble.com>
2619
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>
2623
26242000-02-21  Harlan Stenn  <stenn@whimsy.udel.edu>
2625
2626        * Makefile.am (SUBDIRS): Make librsaref right after includes so we
2627        can copy any needed header files over.
2628
2629        * libntp/Makefile.am (INCLUDES): Also look in librsaref for des.h
2630        * ntpd/Makefile.am (INCLUDES): Ditto
2631        * util/Makefile.am (INCLUDES): Ditto
2632
2633        * librsaref/Makefile.am (librsaref_a_SOURCES): Use the des.h from
2634        the rsaref2 distribution.
2635
2636        * include/Makefile.am (noinst_HEADERS): No, we don't want des.h
2637
26382000-02-20  Harlan Stenn  <stenn@whimsy.udel.edu>
2639
2640        * include/Makefile.am (noinst_HEADERS): Add des.h
2641
26422000-02-19  Harlan Stenn  <stenn@whimsy.udel.edu>
2643
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>
2647
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.
2653
26542000-02-18  Harlan Stenn  <stenn@whimsy.udel.edu>
2655
2656        * librsaref/Makefile.am (stamp-rsaref): Typo
2657
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>
2661
2662        * librsaref/Makefile.am: Fix stamp-rsaref dependency order.
2663
2664        * configure.in: 4.0.99f
2665
26662000-02-17  Harlan Stenn  <stenn@whimsy.udel.edu>
2667
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
2675
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>
2680
26812000-02-16  Sven Dietrich <sven_dietrich@trimble.com>
2682
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!
2689
2690        * ntpd/refclock_nmea.c: Correctly interpret the quality indicator.
2691
26922000-02-15  Harlan Stenn  <stenn@whimsy.udel.edu>
2693
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>
2697
2698        * libparse/Makefile.am (K_CFLAGS): Use instead.  Add NEED_NTP_BOPS.
2699
27002000-02-10  Harlan Stenn  <stenn@whimsy.udel.edu>
2701
2702        * scripts/ntp-wait.in: Intensify, including some suggestions from
2703        Ulrich.
2704
2705        * configure.in: 4.0.99e
2706
2707        * scripts/ntp-wait.in: Lose cruft, sleep after each try.
2708
2709        * scripts/ntp-restart: It's ntpd now.  Also, call ntp-wait.
2710
2711        * configure.in (AC_CONFIG_*): New scripts that use PATH_PERL
2712
2713        * scripts/Makefile.am (noinst_SCRIPTS): Added ntp-wait
2714        (noinst_SCRIPTS): Added all of the scripts that now use PATH_PERL
2715
2716        * configure.in: Get the path to perl
2717        (AC_CONFIG_*): Added scripts/ntp-wait
2718
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
2722
27232000-02-09  Harlan Stenn  <stenn@whimsy.udel.edu>
2724
2725        * ports/winnt/include/config.h: Typo (CLOCK_PALISADE comment)
2726        From: Carl Byington <carl@five-ten-sg.com>
2727
2728        * configure.in: Disable kernel_fll_bug for Generic_105181-17 under
2729        Solaris-2.6
2730        From: Juergen Georgi <georgi@belwue.de>
2731
27322000-02-07  Harlan Stenn  <stenn@whimsy.udel.edu>
2733
2734        * configure.in: 4.0.99d
2735
2736        * html/Oncore-SHMEM.htm: New document
2737        * html/driver30.htm: Cleanup and improvements
2738        From: Reg Clemens <reg@dwf.com>
2739
27402000-01-30  Harlan Stenn  <stenn@whimsy.udel.edu>
2741
2742        * ntpd/refclock_oncore.c: Patches/improvements
2743        From: Reg Clemens <reg@dwf.com>
2744
27452000-01-29  Harlan Stenn  <stenn@whimsy.udel.edu>
2746
2747        * configure.in: 4.0.99c
2748
27492000-01-28  Harlan Stenn  <stenn@whimsy.udel.edu>
2750
2751        * configure.in: Autoconf update...
2752
2753        * ntpdate/ntpdate.c (ntpdatemain): Typo
2754        From: Jack Bryans <jbryans@csulb.edu>
2755
2756        * Makefile.am (EXTRA_DIST): Add flock-build.  Probably UDel specific...
2757
27582000-01-23  Harlan Stenn  <stenn@whimsy.udel.edu>
2759
2760        * ntpd/check_y2k.c (main): Reformat for ansi2knr
2761
2762        * configure.in (AC_OUTPUT): Revert to obsolete form until automake
2763        catches up.
2764
27652000-01-22  Harlan Stenn  <stenn@whimsy.udel.edu>
2766
2767        * configure.in: Use AC_CHECK_TYPES((s_char)) instead of
2768        AC_CHECK_TYPE.
2769        (ac_cv_var_kernel_fll_bug): Generic_106541-08 is apparently OK, too.
2770
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.
2776
2777        * libntp/audio.c (audio_show): Clean up (more) properly.
2778
27792000-01-21  Sven Dietrich <sven_dietrich@trimble.com>
2780
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
2784          the DOS CR also.
2785
27862000-01-20  Sven Dietrich <sven_dietrich@trimble.com>
2787
2788        * Update Copyright in Palisade driver to 2000
2789        * Fix Palisade MIN & MAX POLL to optimal values
2790
27912000-01-19  Harlan Stenn  <stenn@whimsy.udel.edu>
2792
2793        * html/driver7.htm: Patches from Dave Mills
2794        * html/driver36.htm: Patches from Dave Mills
2795
2796        * html/copyright.htm: Added Kamal Mostafa
2797
27982000-01-19  Harlan Stenn  <stenn@whimsy.udel.edu>
2799
2800        * configure.in: 4.0.99b
2801
28022000-01-18  Harlan Stenn  <stenn@whimsy.udel.edu>
2803
2804        * ntpd/refclock_chu.c: NCHAN is used with generic ICOM.
2805
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>
2817
2818        * scripts/freq_adj: Added.  FreeBSD frequency adjustment script.
2819
2820        * configure.in: Do a better job on my oncore_ok check for SCO.
2821
28222000-01-15  Harlan Stenn  <stenn@whimsy.udel.edu>
2823
2824        * configure.in: 4.0.99a
2825
2826        * scripts/ntpsweep: New version
2827        * html/copyright.htm: Added Hans Lambermont
2828        From: Hans Lambermont <Hans.Lambermont@nl.origin-it.com>
2829
28302000-01-14  Harlan Stenn  <stenn@whimsy.udel.edu>
2831
2832        * ntpd/refclock_oncore.c (oncore_start): Only dance with the
2833        pps_device if it's there.
2834        From: reg@dwf.com
2835
2836        * configure.in: ONCORE is OK if ac_cv_hdr_def_tiocdcdtimestamp=yes
2837
2838        * build: Just overwrite the log file each time; sometimes NFS goes
2839        a little goofy.
2840
2841        * ntpd/refclock_fg.c: Syntax/punctuation cleanup
2842
28432000-01-13  Harlan Stenn  <stenn@whimsy.udel.edu>
2844
2845        * scripts/ntpsweep: New version
2846        From: Hans Lambermont <Hans.Lambermont@nl.origin-it.com>
2847
2848        * ntpd/refclock_fg.c: New version
2849        * html/driver37.htm: New version
2850        From: Dmitry Smirnov <das@online.nsk.su>
2851
28522000-01-12  Harlan Stenn  <stenn@whimsy.udel.edu>
2853
2854        * README.des: Cleanup
2855
28562000-01-12  Harlan Stenn  <stenn@whimsy.udel.edu>
2857
2858        * configure.in: 4.0.99
2859
2860        * html/driver36.htm: Cleanup
2861        * html/monopt.htm: Ditto
2862        From: Dave Mills <mills@udel.edu>
2863
2864        * ntpd/ntp_intres.c (ntp_intres): Put "NTP_INTRES running" at a
2865        higher debug level
2866
28672000-01-11  Harlan Stenn  <stenn@whimsy.udel.edu>
2868
2869        * ntpd/refclock_wwv.c: More improvements
2870        From: Dave Mills <mills@udel.edu>
2871
28722000-01-10  Harlan Stenn  <stenn@whimsy.udel.edu>
2873
2874        * ntpd/refclock_wwv.c: Bugfixes/improvements
2875        From: Dave Mills <mills@udel.edu>
2876
2877        * configure.in: Get the quoting right on the sys_errlist check.
2878        From documentation by: Akim Demaille <akim@epita.fr>
2879
28802000-01-08  Harlan Stenn  <stenn@whimsy.udel.edu>
2881
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
2889
2890        * ntpd/refclock_chu.c: NetBSD needs sys/ioctl.h
2891        (chu_debug): NetBSD-specific debug output.
2892        From: Frederick Bruckman <fb@enteract.com>
2893
28942000-01-06  Harlan Stenn  <stenn@whimsy.udel.edu>
2895
2896        * configure.in: 4.0.98m
2897        I skipped `l' - it looks like a `1'.
2898
2899        * html/driver7.htm: Doc update
2900        * html/driver36.htm: Ditto
2901        * html/audio.htm: Ditto
2902
2903        * ntpd/refclock_wwv.c: Dvae snuck another fix/change in on me.
2904
2905        * configure.in: 4.0.98k
2906
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>
2912
2913        * include/Makefile.am (noinst_HEADERS): Added icom.h
2914        From: Frederick Bruckman <fb@enteract.com>
2915
29162000-01-05  Harlan Stenn  <stenn@whimsy.udel.edu>
2917
2918        * configure.in: 4.0.98j
2919
2920        * ntpd/refclock_wwv.c (timecode): Make definition == declaration
2921        (wwv_newchan): Ditto
2922        (wwv_corr4): Dave fixed the declaration.
2923
2924        * flock-build: Add rackety to the flock - it runs SunOS 4.1.3/cc
2925
2926        * ntpd/refclock_wwv.c: Undo that declaration cleanup for now...
2927
2928        * ntpd/ntp_io.c (open_socket): TOS support
2929        From: Marc.Brett@westgeo.com
2930
29312000-01-04  Harlan Stenn  <stenn@whimsy.udel.edu>
2932
2933        * ntpd/refclock_wwv.c: Declaration cleanup
2934        * ntpd/refclock_fg.c (fg_receive): Not all sprintf's are created
2935        equal...
2936        From: Marc.Brett@westgeo.com
2937
2938        * ntpd/refclock_wwv.c: Dave Cleaned and Improved things.
2939        * ntpd/ntp_loopfilter.c (local_clock): Dave fixed something.
2940
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
2944        (wwv_rsec): Ditto
2945        (wwv_newchan): Ditto
2946        (wwv_qsy): Ditto
2947        (timecode): Ditto
2948
2949        * ntpd/refclock_oncore.c (oncore_init_shmem): Use a cast to widen
2950        mmap's NIL offset.
2951
2952        * ntpd/refclock_chu.c (chu_rf): Make declaration == definition.
2953        Rename min/max to es_min/es_max to avoid native SunOS compiler
2954        collision.
2955        (chu_uart): Make declaration == definition.
2956
2957        * libntp/icom.c (sndpkt): Make declaration and definition equivalent.
2958        (doublefreq): Ditto.
2959
2960        * ntpd/refclock_oncore.c (MAP_FAILED): Some systems do not #define
2961        this.
2962
2963        * ntpd/refclock_wwv.c:
2964        * ntpd/refclock_chu.c:
2965        * libntp/icom.c:
2966        * libntp/Makefile.am:
2967        * include/icom.h:
2968        * html/driver7.htm:
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>
2978
29792000-01-03  Harlan Stenn  <stenn@whimsy.udel.edu>
2980
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.
2984
2985        * ntpd/refclock_fg.c (fg_receive): Cast.
2986        From: Tom Smith <smith@cag.lkg.dec.com>
2987
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
2990        from the ntp3 base.
2991        From: Michael Barone <michael.barone@lmco.com>
2992
2993        * configure.in: Move the ONCORE_SHMEM_STATUS check and definition
2994        here.
2995
2996        * ntpd/refclock_oncore.c (oncore_init_shmem): Some systems do not
2997        have MAP_HASSEMAPHORE.
2998
2999        * ntpd/refclock_oncore.c: Drive ONCORE_SHMEM_STATUS based on
3000        HAVE_SYS_MMAN_H .  If this needs finer checks, do it in
3001        configure.in .
3002        (oncore_read_config): Add the isascii() checks; older versions of
3003        Unix don't guarantee correct behavior of is*() without it.
3004
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>
3009
30102000-01-02  Harlan Stenn  <stenn@whimsy.udel.edu>
3011
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.
3017
3018        * flock-build: build ignores the -l flag; lose it.
3019        (BUILD_ARGS): added.
3020        * build: Remove unused -l stuff (LOG variable).
3021
3022        * ntpd/ntp_refclock.c: HAVE_PPSAPI header cleanup
3023        From: Reg Clemens <reg@dwf.com>
3024
30252000-01-01  Harlan Stenn  <stenn@whimsy.udel.edu>
3026
3027        * configure.in (CLOCK_WWV): Require <sys/audioio.h> or <sun/audioio.h>
3028
30291999-12-29  Harlan Stenn  <stenn@whimsy.udel.edu>
3030
3031        * configure.in: 4.0.98i
3032
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.
3037
3038        * scripts/ntpsweep: Nifty utility
3039        From: Hans.Lambermont@nl.origin-it.com
3040
3041        * ntpd/refclock_fg.c:
3042        * ntpd/refclock_conf.c:
3043        * ntpd/ntp_control.c:
3044        * ntpd/Makefile.am:
3045        * libntp/clocktypes.c:
3046        * include/ntp.h:
3047        * html/refclock.htm:
3048        * html/driver37.htm:
3049        * configure.in:
3050        * acconfig.h:
3051        Forum Graphic GPS clock support
3052        From: Dmitry Smirnov <das@online.nsk.su>
3053
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.
3057
3058        * html/audio.htm:
3059        * html/driver36.htm:
3060        * html/qth.htm:
3061        Dave wrote these to go along with the changes I checked in yesterday.
3062
30631999-12-28  Harlan Stenn  <stenn@whimsy.udel.edu>
3064
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:
3071        * html/pps.htm:
3072        * html/index.htm:
3073        * html/driver7.htm:
3074        * html/driver6.htm:
3075        * html/copyright.htm:
3076
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.
3092
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.
3100
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.
3112
3113        The audio driver documentation had a makeover, too.
3114        From: Dave Mills <mills@udel.edu>
3115
31161999-12-20  Harlan Stenn  <stenn@whimsy.udel.edu>
3117
3118        * configure.in: 4.0.98h
3119
31201999-12-19  Harlan Stenn  <stenn@whimsy.udel.edu>
3121
3122        * libntp/syssignal.c: Small cleanup to Marc's patch.
3123
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>
3128
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
3145
3146        * ntpdate/ntpdate.c: Deal with multiple addresses.
3147        From: Jeffrey C Honig <jch@bsdi.com>
3148
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>
3153
31541999-12-16  Harlan Stenn  <stenn@whimsy.udel.edu>
3155
3156        * NEWS: Updated ONCORE instructions
3157        From: Kamal A Mostafa <kamal@whence.com>
3158
31591999-12-13  Harlan Stenn  <stenn@whimsy.udel.edu>
3160
3161        * configure.in: 4.0.98g
3162
3163        * ntpd/refclock_oncore.c: Cleanup and fixes
3164        From: Reg Clemens <reg@dwf.com> and Kamal A Mostafa <kamal@whence.com>
3165
31661999-12-11  Harlan Stenn  <stenn@whimsy.udel.edu>
3167
3168        * ntpd/refclock_wwv.c: Cleanup/checkin of the current state of affairs.
3169        From: Dave Mills <mills@udel.edu>
3170
3171        * ntpd/refclock_oncore.c: #elif conversion.  I can only hope I did
3172        it right.
3173
3174        * ntpd/refclock_oncore.c: Various patches
3175        From: Reg Clemens <reg@dwf.com> and Kamal A Mostafa <kamal@whence.com>
3176
31771999-12-09  Harlan Stenn  <stenn@whimsy.udel.edu>
3178
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>
3182
3183        * ntpd/refclock_wwv.c: Cleanup and fixes.
3184        From: Dave Mills <mills@udel.edu>
3185
31861999-12-08  Harlan Stenn  <stenn@whimsy.udel.edu>
3187
3188        * ntpd/refclock_wwv.c: Cleanup and fixes
3189        * ntpd/refclock_conf.c: WWV declaration cleanup.
3190        From: Dave Mills <mills@udel.edu>
3191
31921999-12-07  Harlan Stenn  <stenn@whimsy.udel.edu>
3193
3194        * libparse/clk_rawdcf.c (cvt_rawdcf): Buglet.
3195        From: Frank Kardel <kardel@acm.org>
3196
31971999-12-06  Harlan Stenn  <stenn@whimsy.udel.edu>
3198
3199        * ntpd/Makefile.am (ntpd_SOURCES): Added refclock_wwv.c
3200
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,
3208        WWV_AUDIO)
3209
3210        * acconfig.h: REFCLOCK_WWVB -> REFCLOCK_SPECTRACOM, added REFCLOCK_WWV
3211        * configure.in: Deal with it.
3212
32131999-12-05  Harlan Stenn  <stenn@whimsy.udel.edu>
3214
3215        * ntpd/ntp_refclock.c (refclock_open): More PPS cleanup
3216        From: Dave Mills <mills@udel.edu>
3217
3218        * ntpq/ntpq.c:
3219        * ntpq/ntpq_ops.c:
3220        Make `ntpq -pn' independent of DNS, ad advertised.
3221        From: Kamal A Mostafa <kamal@whence.com>
3222
3223        * ntpd/refclock_mx4200.c (mx4200_start): make missing 3rd
3224        parameter a 0.
3225
32261999-12-04  Harlan Stenn  <stenn@whimsy.udel.edu>
3227
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>
3233
32341999-12-03  Sven Dietrich <sven_dietrich@trimble.com>
3235
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.
3238
32391999-12-03  Harlan Stenn  <stenn@whimsy.udel.edu>
3240
3241        * libntp/Makefile.am (libntp_a_SOURCES): Lose mexit.c - Sven will
3242        move it to the winnt port area.
3243
32441999-12-03  Sven Dietrich <sven_dietrich@trimble.com>
3245
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
3249
32501999-12-02  Harlan Stenn  <stenn@whimsy.udel.edu>
3251
3252        * libparse/Makefile.in: Manually hacked to remove the
3253        libparse_kernel.a.[co] cruft
3254
3255        * libparse/Makefile.am (k*.o): Generate these form the Makefile,
3256        not from separate .c files
3257
3258        * html/tickadj.htm:
3259        * html/notes.htm:
3260        * html/hints/solaris.html:
3261        Point to the new dosynctodr report.
3262
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
3266        "state".
3267
3268        * html/hints/solaris-dosynctodr.html: New information
3269        From: "John W. Sopko Jr." <sopko@cs.unc.edu>
3270
32711999-12-01  Harlan Stenn  <stenn@whimsy.udel.edu>
3272
3273        * libntp/authkeys.c (auth_moremem): Clear memory allocated for sk.
3274        From: Hugo Mildenberger <hugo.mildenberger@topmail.de>
3275
32761999-12-01  Sven Dietrich <sven_dietrich@trimble.com>
3277
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
3281
3282        NT port shouldn;t hop between CPUs. Set affinity to first processor.
3283        Service name was NetworkTimeProtocol. Too long. Now NTP.
3284
32851999-12-01  Harlan Stenn  <stenn@whimsy.udel.edu>
3286
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>
3298
3299        * html/driver8.htm:
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:
3321        * libparse/parse.c:
3322        * libparse/parse_conf.c:
3323        * libparse/parsesolaris.c:
3324        * libparse/parsestreams.c:
3325        * ntpd/refclock_parse.c:
3326        Mods and updates
3327        From: Frank Kardel <kardel@acm.org>
3328
3329        * acconfig.h: PCF refclock
3330        * configure.in:
3331        * html/driver35.htm:
3332        * html/refclock.htm:
3333        * include/ntp.h:
3334        * libntp/clocktypes.c:
3335        * ntpd/Makefile.am:
3336        * ntpd/ntp_control.c:
3337        * ntpd/refclock_conf.c:
3338        * ntpd/refclock_pcf.c:
3339        From: Andreas Voegele <andreas.voegele@gmx.de>
3340
3341        * acconfig.h: DECL_STIME_1
3342
3343        * configure.in (iCFLAGS): Use -std1 for alpha*-dec-osf* if we are
3344        using "cc".
3345        Reported by: Tom Smith <smith@cag.lkg.dec.com>
3346
33471999-11-30  Harlan Stenn  <stenn@whimsy.udel.edu>
3348
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>
3352
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>
3358
33591999-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
3366
33671999-11-17  Harlan Stenn  <stenn@whimsy.udel.edu>
3368
3369        * html/copyright.htm: Credit Jack for his work.
3370
3371        * html/pic/*: Save a *ton* of space on the pictures.
3372        From: Jack Sasportas <jack@innovativeinternet.com>
3373
33741999-11-16  Harlan Stenn  <stenn@whimsy.udel.edu>
3375
3376        * configure.in :  changequote for osf[45] test.
3377        Reported by: Tom Smith <smith@cag.lkg.dec.com>
3378
3379        * ntp_update: Ignore stuff in any A.* directory.
3380
33811999-11-15  Harlan Stenn  <stenn@whimsy.udel.edu>
3382
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
3389        look for it now.
3390
33911999-11-13  Harlan Stenn  <stenn@whimsy.udel.edu>
3392
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.
3397
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...
3401
3402        Fix a bug, allowing ntpdate to compile if SLEWALWAYS and STEP_SLEW
3403        are both defined.
3404
3405        From: Jeffrey C Honig <jch@bsdi.com>
3406
3407        * ntpd/ntp_refclock.c: sys/sio.h and SCO5_CLOCK cleanup
3408        From: Kamal A Mostafa <kamal@whence.com>
3409
3410        * ntpd/ntp_loopfilter.c: Let -g do a "correct any" for the first
3411        time adjustment.
3412        From: Dave Mills <mills@udel.edu>
3413
3414        * configure.in: sys/sio.h needs to be checked independently.
3415        Reported by: Kamal A Mostafa <kamal@whence.com>
3416
34171999-11-11  Harlan Stenn  <stenn@whimsy.udel.edu>
3418
3419        * configure.in: 4.0.98f
3420
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>
3424
3425        * ntpd/ntp_refclock.c: MAXUNIT bugfix
3426        From: Marc.Brett@westgeo.com
3427
3428        * ntpd/ntp_refclock.c:
3429        * ntpd/ntpd.c:
3430        * ntpd/refclock_arc.c:
3431        * ntpd/refclock_as2201.c:
3432        * ntpd/refclock_atom.c:
3433        * ntpdc/ntpdc.c:
3434        * ntpq/ntpq.c:
3435        Code cleanup.
3436        From: Marc.Brett@westgeo.com
3437
3438        * include/ntp_stdlib.h:
3439        * libntp/systime.c:
3440        * ntpd/ntp_proto.c:
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>
3445
3446        * configure.in: alpha-dec-osf4* -> alpha*-dec-osf4*|alpha*-dec-osf5*
3447        From: Tom Smith <smith@cag.lkg.dec.com>
3448
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>
3453
34541999-11-10  Harlan Stenn  <stenn@whimsy.udel.edu>
3455
3456        * ntpd/ntpd.c (set_process_priority): Clean up nice() and setpriority()
3457
34581999-11-09  Harlan Stenn  <stenn@whimsy.udel.edu>
3459
3460        * Makefile.am (EXTRA_DIST): Added README.cvs
3461        Reported by: Kamal A Mostafa <kamal@whence.com>
3462
34631999-11-08  Harlan Stenn  <stenn@whimsy.udel.edu>
3464
3465        * configure.in: 4.0.98e
3466
34671999-11-07  Harlan Stenn  <stenn@whimsy.udel.edu>
3468
3469        * configure.in: Lose AIOCTIMESTAMP tests
3470
3471        * ntpd/ntpd.c: lose select() EINTR debug warning
3472        * ntpd/ntp_refclock.c: AIOCTIMESTAMP -> TIOCDCDTIMESTAMP.  Watch
3473        CLK_SETSTR.
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>
3477
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
3481        stime().
3482        Reported by: Tom Smith <smith@cag.lkg.dec.com>
3483
3484        * ntpd/ntpd.c (set_process_priority): Use whatever we have until
3485        something works.
3486
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>
3490
34911999-11-06  Harlan Stenn  <stenn@whimsy.udel.edu>
3492
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>
3497
34981999-11-05  Harlan Stenn  <stenn@whimsy.udel.edu>
3499
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>
3503
3504        * configure.in: NetBSD has PPSAPI now
3505        F_SETOWN is needed for NetBSD
3506        From: Jonathan Stone <jonathan@dsg.stanford.edu>
3507
35081999-11-02  Harlan Stenn  <stenn@whimsy.udel.edu>
3509
3510        * configure.in: 4.0.98d
3511
3512        * ntpd/refclock_parse.c: Cleanup/fixes
3513        From: John Hay <jhay@mikom.csir.co.za>
3514
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>
3522
35231999-11-01  Harlan Stenn  <stenn@whimsy.udel.edu>
3524
3525        * configure.in: 4.0.98c
3526
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>
3530
3531        * html/pps.htm:
3532        * html/howto.htm:
3533        * html/confopt.htm:
3534        * html/clockopt.htm:
3535        * html/uthopt.htm:
3536        Updates.
3537        From: Dave Mills <mills@udel.edu>
3538
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>
3555
35561999-10-31  Harlan Stenn  <stenn@whimsy.udel.edu>
3557
3558        * configure.in: TIOCSPPS cleanup
3559
35601999-10-20  Harlan Stenn  <stenn@whimsy.udel.edu>
3561
3562        * configure.in: 4.0.98b
3563
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>
3574
3575        * configure.in:
3576        * acconfig.h: TTYCLK_AIOCTIMESTAMP
3577        Stuff for Kamal
3578
3579        * ntpd/refclock_atom.c (atom_pps): make "result" initialization
3580        uglier, but more bulletproof.
3581
3582        * configure.in (sys/timepps.h): Fixed.
3583        From: John Hay <jhay@mikom.csir.co.za>
3584
35851999-10-19  Harlan Stenn  <stenn@whimsy.udel.edu>
3586
3587        * ntpd/refclock_oncore.c: Rename instance.state to instance.o_state
3588
3589        * refclock_oncore.c:
3590        * refclock_mx4200.c:
3591        * refclock_chu.c:
3592        * refclock_atom.c:
3593        * ntp_refclock.c:
3594        * ntp_peer.c:
3595        * ntp_loopfilter.c:
3596        * include/ntp_refclock.h:
3597        Various cleanup and fixes
3598        From: Dave Mills <mills@udel.edu>
3599
36001999-10-17  Harlan Stenn  <stenn@whimsy.udel.edu>
3601
3602        * ntpd/ntp_config.c (CONFIG_FILE): NT changes
3603        From: Sven Dietrich <Sven_Dietrich@trimble.com>
3604
36051999-10-16  Harlan Stenn  <stenn@whimsy.udel.edu>
3606
3607        * configure.in: sys/timepps.h verification changes
3608
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>
3613
3614
3615        * libntp/msyslog.c:
3616        * libntp/gpstolfp.c:
3617        Lint cleanup
3618        From: Jonathan Stone <jonathan@dsg.stanford.edu>
3619
3620        * parseutil/dcfd.c:  abs() -> l_abs(), time.h (AIX 4.3.2 patches)
3621        From: Dana Kaempen <decay@flash.net>
3622
3623        * ntpd/refclock_oncore.c:
3624        * ntpd/refclock_atom.c:
3625        * ntpd/ntp_refclock.c:
3626        PPS cleanup
3627        From: John.Hay@mikom.csir.co.za
3628
3629        * util/ntptime.c:
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:
3639        * configure.in:
3640        * configure:
3641        PPS, Solaris 7, cleanup patches
3642        From: Marc.Brett@westgeo.com
3643
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:
3663        * ntpd/ntpd.c:
3664        * ntpd/ntp_timer.c:
3665        * ntpd/ntp_refclock.c:
3666        * libntp/systime.c:
3667        * libntp/machines.c:
3668        NT patches
3669        From: Sven Dietrich <Sven_Dietrich@trimble.com>
3670
36711999-10-15  Harlan Stenn  <stenn@whimsy.udel.edu>
3672
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:
3694        Bunches of fixes.
3695        From: Dave Mills <mills@udel.edu>
3696
36971999-10-10  Harlan Stenn  <stenn@whimsy.udel.edu>
3698
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>
3703
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
3708
3709        * INSTALL: Point NT folks at ports/winnt
3710        Reported by: Stephen Gildea <gildea@intouchsys.com>
3711
3712        * include/ntp_stdlib.h: Noise abatement
3713        * include/ntpd.h: Noise abatement
3714        Reported by: "W. David Higgins" <wdh@grouper.ccur.com>
3715
3716        * configure.in: DECL_STDIO_0 with gcc under solaris.
3717
3718        * include/l_stdlib.h: DECL_TOUPPER_0
3719        DECL_STRERROR_0
3720
3721        * configure.in: Fix a bunch of implicit declarations for SunOS
3722
3723        * html/release.htm: cleanup - we still provide MD5.
3724        Reported by: Winslowe Lacesso <lacesso@cs.ubc.ca>
3725
37261999-10-09  Harlan Stenn  <stenn@whimsy.udel.edu>
3727
3728        * ntpd/refclock_oncore.c:
3729        * ntpd/refclock_atom.c:
3730        * ntpd/ntp_refclock.c:
3731        PPS API code updated to the current spec
3732        From: Dave Mills
3733
3734        * configure.in (ac_cv_make_tickadj): Don't make tickadj starting
3735        with solaris2.5
3736        Requested by: Dave Mills
3737
37381999-10-04  Harlan Stenn  <stenn@whimsy.udel.edu>
3739
3740        * configure.in: We might need -lsocket for the -lnsl check.
3741
37421999-09-19  Harlan Stenn  <stenn@whimsy.udel.edu>
3743
3744        * ntpd/refclock_ulink.c: Typos in C++ comment
3745        Reported by: Thomas.Tornblom@Sun.SE
3746
3747        * configure.in: 4.0.98a
3748
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>
3753
37541999-09-17  Harlan Stenn  <stenn@whimsy.udel.edu>
3755
3756        * configure.in: 4.0.98
3757
3758        NetInfo support:
3759
3760        * config.guess
3761        * config.sub
3762        Add Mac OS (versions 10 and up).
3763
3764        * acconfig.h
3765        * config.h.in
3766        * configure.in
3767        Check for NetInfo API; add HAVE_NETINFO macro and friends.
3768
3769        * include/ntp.h
3770        * ntpd/ntp_config.c
3771        * ntpdate/ntpdate.c
3772        Add support for reading configuration from NetInfo.
3773
3774        * ntpd/ntp_config.c
3775        Get rid of unnecessary eol variable in tokenizer.
3776
3777        * html/notes.htm
3778        * html/ntpd.htm
3779        * html/ntpdate.htm
3780        Document NetInfo functionality.
3781
3782        * util/tickadj.c
3783        Use HAVE_KVM_OPEN conditional around kvm.h include.
3784
3785        From: Wilfredo Sanchez <wsanchez@apple.com>
3786
37871999-09-15  Harlan Stenn  <stenn@whimsy.udel.edu>
3788
3789        * acconfig.h:
3790        * config.h.in:
3791        * configure.in:
3792        * html/driver34.htm:
3793        * html/refclock.htm:
3794        * include/ntp.h:
3795        * libntp/clocktypes.c:
3796        * ntpd/Makefile.am:
3797        * ntpd/ntp_control.c:
3798        * ntpd/refclock_conf.c:
3799        * ntpd/refclock_ulink.c:
3800        Ultralink driver
3801        From: Dave Strout <dstrout@linuxfoundary.com>
3802
38031999-09-14  Harlan Stenn  <stenn@whimsy.udel.edu>
3804
3805        * configure.in: ReliantUNIX patches
3806        From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
3807
3808        * ntpd/refclock_atom.c: PPS cleanup
3809        * ntpd/ntp_refclock.c (refclock_ioctl): PPS cleanup
3810        From: Dave Mills <mills@udel.edu>
3811
3812        * ntptrace/ntptrace.c (ReceiveBuf): addserver() can return NIL.
3813        Reported by: "Alan J. Wylie" <alanw@cyrano.com>
3814
3815        * libntp/ieee754io.c:
3816        * ntpd/ntp_proto.c:
3817        * ntpd/ntp_refclock.c:
3818        Lint cleanup.
3819        From: Marc.Brett@westgeo.com
3820
38211999-09-12  Harlan Stenn  <stenn@whimsy.udel.edu>
3822
3823        * ntpd/ntp_refclock.c (refclock_ioctl): Declaration cleanup.
3824
3825        * ntpd/ntp_proto.c (init_proto): msyslog kern_enable at LOG_DEBUG.
3826
3827        * ntpd/refclock_atom.c: Add missing declaration.
3828
38291999-09-11  Harlan Stenn  <stenn@whimsy.udel.edu>
3830
3831        * configure.in (ac_cv_make_ntptime): Just look for struct
3832        ntptimeval, not timespec or nsec (Solaris 2.7 should get ntptime
3833        and it uses msec).
3834        (ac_cv_var_oncore_ok): Reorder so it's a "normal" clock
3835
3836        * configure.in: Solaris Kernel FLL bug fixed in 106541-07
3837
38381999-09-02  Harlan Stenn  <stenn@whimsy.udel.edu>
3839
3840        * configure.in: 4.0.97f
3841
3842        * ntptrace/ntptrace.c:
3843        * ntpdate/ntptimeset.c:
3844        * ntpdate/ntptime_config.c:
3845        * ntpdate/ntpdate.c:
3846        * util/ntptime.c:
3847        * parseutil/dcfd.c:
3848        * libparse/parsestreams.c:
3849        * libparse/parse_conf.c:
3850        * libparse/parse.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:
3861        * libntp/msyslog.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:
3871        * ntpd/ntpd.c:
3872        * ntpd/ntp_util.c:
3873        * ntpd/ntp_timer.c:
3874        * ntpd/ntp_request.c:
3875        * ntpd/ntp_refclock.c:
3876        * ntpd/ntp_monitor.c:
3877        * ntpd/ntp_loopfilter.c:
3878        * ntpd/ntp_io.c:
3879        * ntpd/ntp_intres.c:
3880        * ntpd/ntp_filegen.c:
3881        * include/l_stdlib.h:
3882        <errno.h> and errno declaration cleanup.
3883
3884        * ntpd/map_vme.c: cleanup some spacing.
3885
38861999-09-01  Harlan Stenn  <stenn@whimsy.udel.edu>
3887
3888        * configure.in: 4.0.97e
3889
3890        * configure.in (ac_cv_struct_sigaction_has_sa_sigaction):
3891        * acconfig.h: Ditto
3892        * parseutil/dcfd.c (main): Use it.
3893        From: HOSAKA Eiichi <HOSAKA.Eiichi@dd.anritsu.co.jp>
3894
38951999-08-29  Harlan Stenn  <stenn@whimsy.udel.edu>
3896
3897        * configure.in: 4.0.97d
3898
3899        * include/ntp_stdlib.h: Clean up previous NeXT patch.
3900        From: Jack Bryans <jbryans@csulb.edu>
3901
3902        * ntpd/refclock_parse.c: Permit RTS to power a DCF77.
3903        From: Carsten Paeth <calle@calle.in-berlin.de>
3904
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>
3908
39091999-08-28  Harlan Stenn  <stenn@whimsy.udel.edu>
3910
3911        * configure.in: 4.0.97c
3912
3913        * configure.in (ac_cv_make_ntptime):  Typo.
3914        From: Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
3915
39161999-08-26  Harlan Stenn  <stenn@whimsy.udel.edu>
3917
3918        * configure.in: 4.0.97b
3919
3920        * libntp/iosignal.c:
3921        * ntpd/ntp_peer.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
3927
39281999-08-24  Harlan Stenn  <stenn@whimsy.udel.edu>
3929
3930        * configure.in 4.0.97a
3931
3932        * configure.in (AC_OUTPUT): added scripts/Makefile
3933        * Makefile.am (SUBDIRS): Added scripts
3934        * scripts/Makefile.am: Added
3935
39361999-08-23  Harlan Stenn  <stenn@whimsy.udel.edu>
3937
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>
3944
39451999-08-21  Harlan Stenn  <stenn@whimsy.udel.edu>
3946
3947        * ntpd/ntp_config.c: Added listen_to_virtual_ips support (-L flag)
3948        * ntpd/ntp_io.c: Ditto
3949
39501999-08-19  Harlan Stenn  <stenn@whimsy.udel.edu>
3951
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
3957
39581999-08-18  Harlan Stenn  <stenn@whimsy.udel.edu>
3959
3960        * configure.in: 4.0.97
3961
3962        * libntp/systime.c:
3963        * ntpd/ntp_loopfilter.c:
3964        * ntpd/ntpd.c:
3965        * ports/winnt/libntp/nt_clockstuff.c:
3966        From: Sven Dietrich <Sven_Dietrich@trimble.com>
3967
3968        * README.cvs: Updated.
3969
3970        * configure.in:
3971        * include/ntp_machine.h:
3972        * libntp/mexit.c:
3973        * ntpd/ntp_config.c:
3974        * ntpd/ntp_peer.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
3980
3981        * util/ansi2knr.c: New release (fix for bug reported by Marc Brett)
3982        From: "L. Peter Deutsch" <ghost@aladdin.com>
3983
3984        * include/ntp_stdlib.h: NeXT portability patch
3985        From: Jack Bryans <jbryans@csulb.edu>
3986
3987        * configure.in:
3988        * dot.emacs: (cleanup)
3989        * ntpdate/Makefile.am:
3990        * ntpdate/ntpdate.h:
3991        * ntpdate/ntptime_config.c:
3992        * ntpdate/ntptimeset.c:
3993        ntptimeset patches.
3994        From: Jeffrey Hutzelman <jhutz@cmu.edu>
3995
3996        * ntpd/refclock_parse.c (local_input): ts.l_ui -> ts.fp.l_ui
3997
39981999-08-11  Harlan Stenn  <stenn@whimsy.udel.edu>
3999
4000        * configure.in: 4.0.96p1
4001
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
4011        HAVE_RESOURCE_H.
4012        From: Philippe De Muyter <phdm@macqel.be>
4013
4014        * ntptrace/ntptrace.c (input_handler): Make it a "normal" function
4015        definition.
4016        Reported by: GIANNI_CATANIA@hp-italy-om6.om.hp.com
4017
4018        * configure.in:  pc-cygwin32 -> pc-cygwin* because of a change in
4019        B20.
4020        From: Stephen Gildea <gildea@intouchsys.com>
4021
40221999-08-09  Harlan Stenn  <stenn@whimsy.udel.edu>
4023
4024        * configure.in: 4.0.96
4025
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...
4029
40301999-08-08  Harlan Stenn  <stenn@whimsy.udel.edu>
4031
4032        * configure.in: Better tests for -lnsl and -lsocket
4033        From: Albert Chin-A-Young <china@thewrittenword.com>
4034
4035        Works for me - handle openlog() and -lgen the same way.
4036
4037        * Makefile.am (EXTRA_DIST): Add in the y2k notes
4038
4039        * parseutil/dcfd.c: Renamed drift_comp to accum_drift
4040
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.
4045
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
4060
40611999-08-07  Harlan Stenn  <stenn@whimsy.udel.edu>
4062
4063        * configure.in: Look for sys/ppstime.h.
4064
40651999-07-31  Harlan Stenn  <stenn@whimsy.udel.edu>
4066
4067        * ntpd/ntp_io.c (create_sockets): Typo.
4068        From: Doug Wells <dmw@contek.com>
4069
40701999-07-29  Harlan Stenn  <stenn@whimsy.udel.edu>
4071
4072        * configure.in (ac_cv_struct_ntptimeval): Explicitly look for
4073        struct ntptimeval.
4074        (ac_cv_var_kernel_pll): Require struct ntptimeval.
4075        Linux.  Grrr.
4076        Reported by: Ronald Kuetemeier <ronaldk@smginc.com>
4077
40781999-07-27  Harlan Stenn  <stenn@whimsy.udel.edu>
4079
4080        * configure.in: 4.0.95
4081
4082        * ports/winnt: New release
4083        From: Sven Dietrich <Sven_Dietrich@trimble.com>
4084
40851999-07-26  Harlan Stenn  <stenn@whimsy.udel.edu>
4086
4087        * libntp/machines.c (ntp_set_tod): Bugfix
4088        From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
4089
40901999-07-25  Harlan Stenn  <stenn@whimsy.udel.edu>
4091
4092        * configure.in: 4.0.94b
4093
4094        * acconfig.h:
4095        * configure.in:
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>
4103
41041999-07-24  Harlan Stenn  <stenn@whimsy.udel.edu>
4105
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>
4109
41101999-07-23  Harlan Stenn  <stenn@whimsy.udel.edu>
4111
4112        * include/ntpd.h:
4113        * libntp/machines.c:
4114        * libntp/systime.c:
4115        * ntpd/ntp_config.c:
4116        * ntpd/ntp_filegen.c:
4117        * ntpd/ntp_io.c:
4118        * ntpd/ntp_proto.c:
4119        * ntpd/ntp_timer.c:
4120        * ntpdate/ntpdate.c: Windows NT port cleanup
4121        From: Sven Dietrich <Sven_Dietrich@trimble.com>
4122
41231999-07-22  Harlan Stenn  <stenn@whimsy.udel.edu>
4124
4125        * libntp/authkeys.c:
4126        * libntp/ieee754io.c:
4127        * libntp/iosignal.c:
4128        * libntp/machines.c:
4129        * libntp/mexit.c:
4130        * libntp/recvbuff.c:
4131        * ntpd/ntp_filegen.c:
4132        * ntpd/ntp_loopfilter.c:
4133        * ntpd/ntp_request.c:
4134        * ntpd/ntp_timer.c:
4135        * ntpd/ntpd.c: Compile/lint cleanup
4136        From: Allen Smith <easmith@beatrice.rutgers.edu>
4137
41381999-07-21  Harlan Stenn  <stenn@whimsy.udel.edu>
4139
4140        * configure.in: 4.0.94a
4141
4142        * configure.in (ac_cv_make_ntptime): Add tv_nsec check.
4143
4144        * include/Makefile.am (noinst_HEADERS): Forgot ntp_syscall.h
4145        From: John.Hay@mikom.csir.co.za
4146
4147        * configure.in: 4.0.94
4148
4149        * Makefile.am (SUBDIRS): librsaref
4150        (dist-hook): Lose CVS subdirs in the distribution tarball
4151
4152        * include/Makefile.am (noinst_HEADERS): Added iosignal.h, recvbuff.h
4153
4154        * Makefile.am (dist-hook): Don't call dos2unix anymore
4155
41561999-07-20  Harlan Stenn  <stenn@whimsy.udel.edu>
4157
4158        * acconfig.h:
4159        * util/ntptime.c: FreeBSD nano patches
4160        From: Per Hedeland <per@erix.ericsson.se> and
4161        Allen Smith <easmith@beatrice.rutgers.edu>
4162
4163        * include/ntp.h:
4164        include/ntp_fp.h:
4165        include/ntp_io.h:
4166        include/ntp_machine.h:
4167        include/ntp_refclock.h:
4168        include/ntp_stdlib.h:
4169        include/ntpd.h:
4170        libntp/Makefile.am:
4171        libntp/emalloc.c:
4172        libntp/machines.c:
4173        libntp/mexit.c:
4174        libntp/msyslog.c:
4175        libntp/statestr.c:
4176        libntp/syssignal.c:
4177        libntp/systime.c:
4178        libparse/parse.c:
4179        libparse/parse_conf.c:
4180        ntpd/ntp_control.c:
4181        ntpd/ntp_intres.c:
4182        ntpd/ntp_io.c:
4183        ntpd/ntp_proto.c:
4184        ntpd/ntp_refclock.c:
4185        ntpd/ntp_request.c:
4186        ntpd/ntp_timer.c:
4187        ntpd/ntp_util.c:
4188        ntpd/ntpd.c:
4189        ntpd/refclock_nmea.c:
4190        ntpd/refclock_palisade.c:
4191        ntpd/refclock_palisade.h:
4192        ntpd/refclock_shm.c:
4193        ntpdate/ntpdate.c:
4194        ntptrace/ntptrace.c: Cleanup
4195        * libntp/recvbuff.c:
4196        libntp/iosignal.c:
4197        include/iosignal.h:
4198        include/recvbuff.h: Added
4199        From: Sven_Dietrich@Trimble.COM
4200
4201        * README: Add README.cvs
4202
4203        * configure.in (ac_cv_var_struct_ntptime_val_timespec): Typo.
4204        From: John Hay <jhay@mikom.csir.co.za>
4205
42061999-07-19  Harlan Stenn  <stenn@whimsy.udel.edu>
4207
4208        * Makefile.am (EXTRA_DIST): Lose ntpmak; "build" does a better job.
4209
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
4215
4216        * configure.in (AC_OUTPUT): scripts/mkver
4217
4218        * scripts/mkver.in: Created.  Note RSAREF in the version string
4219
42201999-07-18  Harlan Stenn  <stenn@whimsy.udel.edu>
4221
4222        * README.des: Updated.
4223
4224        * ntpq/Makefile.am (LDADD): Add LIBRSAREF
4225
4226        * ntpdc/Makefile.am (LDADD): Add LIBRSAREF
4227
4228        * ntpdate/Makefile.am (LDADD): Add LIBRSAREF
4229
4230        * ntpd/Makefile.am (LDADD): Add LIBRSAREF
4231
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.
4235
42361999-07-11  Harlan Stenn  <stenn@whimsy.udel.edu>
4237
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>
4241
4242        * ntp_update (UPDATE_OPTIONS): Typo.
4243
42441999-07-07  Harlan Stenn  <stenn@whimsy.udel.edu>
4245
4246        * ntp_update: Check out copyright.htm before COPYRIGHT
4247
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>
4253
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>
4258
4259        * include/ntp_machine.h (HAVE_TERMIOS): STREAMS does not imply
4260        HAVE_TERMIOS !!!
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>
4266
42671999-06-23  Harlan Stenn  <stenn@whimsy.udel.edu>
4268
4269        * ntpd/refclock_irig.c (irig_debug): NetBSD patches
4270        From: Frederick Bruckman <fb@enteract.com>
4271
4272        * util/ntptime.c (main): ntx.freq bugfix (-f option)
4273        From: Frederick Bruckman <fb@enteract.com>
4274
42751999-06-22  Harlan Stenn  <stenn@whimsy.udel.edu>
4276
4277        * configure.in: Fix typo with DECL_H_ERRNO test
4278
4279        * ntpd/ntp_loopfilter.c: Lose syscall decl, it's handled in
4280        l_stdlib.h now.
4281        * ntpd/ntp_request.c: Ditto
4282        * util/ntptime.c: Ditto
4283
4284Mon May 31 18:49:49 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4285
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.
4289
4290Mon May 31 18:49:49 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4291
4292        * ntpd/refclock_parse.c (stream_receive): Cast size_t to int to
4293        match format.
4294        (local_receive): Likewise.
4295        (trimbletaip_event): Likewise.
4296        (stream_receive): Cast struct timeval members to long to match
4297        format.
4298        (local_receive): Likewise.
4299
4300        * ntpd/ntp_util.c (stats_config): Cast size_t to int to match
4301        format.
4302
4303        * libparse/clk_rawdcf.c (cvt_rawdcf): Cast ptr difference to int
4304        to match format.
4305        * ntpd/refclock_parse.c (gps16x_poll): Likewise.
4306
4307        * ntpd/ntp_filegen.c (filegen_open): Use long format, cast arg to
4308        match.
4309
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.
4316
4317        * ntpd/ntpd.c (ntpdmain): Cast uid to long, adapt format.
4318
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.
4322
4323        * ntpd/ntp_loopfilter.c (local_clock): Cast clock_panic to int to
4324        match format.
4325
4326        * ntpd/ntp_io.c (io_multicast_add): Print s_addr member, not
4327        struct in_addr, to match format.
4328
4329        * include/ntp_stdlib.h: Declare msyslog() as printf-like for gcc
4330        format checking.
4331
4332Fri May 28 16:39:35 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4333
4334        * ntpdc/ntpdc_ops.c (iostats): Align timereset line.
4335
4336        * ntpq/ntpq_ops.c (doopeers): Properly align header.
4337
4338        * ntpdc/ntpdc_ops.c (debug): Removed declaration, already in
4339        ntp_stdlib.h.
4340        * ntpq/ntpq_ops.c: Likewise.
4341
4342        * ntpdate/ntpdate.c (debug): Declare volatile to match
4343        ntp_stdlib.h.
4344        * ntpdc/ntpdc.c, ntpq/ntpq.c, ntptrace/ntptrace.c, util/tickadj.c,
4345        util/ntptime.c: Likewise.
4346
4347        * include/parse.h (debug): Don't declare to avoid clash with
4348        ntp_stdlib.h.
4349
4350        * include/Makefile.am (noinst_HEADERS): Add new ntp_syscall.h.
4351
4352        * configure.in: Also check for -lrt for POSIX.1c functions.
4353
4354Wed May 26 21:03:30 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4355
4356        * configure.in: Removed -Wwrite-strings from CFLAGS.
4357
4358        * ntpdc/ntpdc.c (help): Remove superfluous cast.
4359        * ntpq/ntpq.c (help): Likewise.
4360
4361Tue May 25 18:00:49 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4362
4363        * ntpq/ntpq_ops.c (struct varlist): name cannot be const char *
4364        since it may be malloc'ed.
4365
4366        * ntpdc/ntpdc.c (sendrequest): Declare pass as const char *, don't
4367        loose const in cast.
4368        * ntpq/ntpq.c (sendrequest): Likewise.
4369
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.
4373
43741999-06-22  Harlan Stenn  <stenn@whimsy.udel.edu>
4375
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>
4379
4380        Patch:
4381
4382        * include/l_stdlib.h: Fixed syscall() declaration.
4383        * configure.in: Updated test to match.
4384
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.
4389
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.
4396
4397        * include/l_stdlib.h: Include <netinet/in.h>, declare inet_ntoa if
4398        necessary.
4399        Moved syscall() declaration here.
4400
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
4406        redefinition.
4407
4408        * include/ntp_refclock.h: Protect it from multiple inclusion.
4409        * include/ntp_fp.h: Likewise.
4410        * include/ntp.h: Likewise.
4411
4412        * include/ntpd.h: Include ntp_refclock.h for MAXDIAL declaration.
4413        * libntp/authkeys.c: Include ntpd.h for current_time declaration.
4414
4415        * include/ntpd.h (getauthkeys, auth_agekeys, rereadkeys): Moved
4416        prototypes to ntp_stdlib.h
4417
4418        * include/ntp_stdlib.h: Declare variables exported by libntp.
4419        * include/ntpd.h: Likewise for ntpd.
4420
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):
4432        Likewise.
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.
4436
4437        * ntpq/ntpq_ops.c: Moved declaration of external variable from
4438        ntpq.c to file scope.
4439
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>
4469
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>
4485
4486        * dot.emacs: Removed wrong indentation of substatements.
4487        Wrap in c-style.
4488        From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4489
4490        * ntpd/refclock_palisade.c: Patches from Marc Brett
4491        * ntpd/refclock_palisade.h: Ditto.
4492        * util/hist.c: Ditto.
4493
4494Tue Jun  1 00:40:04 1999  Harlan Stenn  <stenn@pogo.udel.edu>
4495
4496        * build: mips-dec-ultrix4.4 hates "set -e"
4497
4498        * flock-build: Created
4499
4500        * build: added -l option
4501
4502Mon May 31 20:28:40 1999  Harlan Stenn  <stenn@pogo.udel.edu>
4503
4504        * README: Removed auto{make,conf}.patch files
4505
4506Tue May 25 01:20:53 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4507
4508        * Makefile.am ($(srcdir)/COPYRIGHT): Added
4509        (EXTRA_DIST): Remove auto*.patches
4510
4511Thu May 20 01:03:00 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4512
4513        * Makefile.am (dist-hook): Call dos2unix on the .htm files
4514
4515        * ntpd/refclock_palisade.h: Clean up declarations.
4516
4517        * configure.in (ac_cv_struct_ntptimeval_timespec): Added.
4518        (ac_cv_make_ntptime): Only if ntptimeval does not use timespec.
4519
4520        * util/tickadj.c: Linux Patches
4521        From: Reg Clemens <reg@dwf.com>
4522
4523Wed May 19 01:18:24 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4524
4525        * configure.in: 4.0.93a
4526
4527        * ntpd/refclock_palisade.h: Restore some lost patches
4528        From: Kamal A Mostafa <kamal@whence.com>
4529
4530Sun May 16 13:18:32 1999  Philippe De Muyter  <phdm@macqel.be>
4531
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.
4539
4540Sun May 16 02:59:46 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4541
4542        * configure.in: 4.0.93
4543
4544Sat May 15 18:53:47 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4545
4546        * configure.in (ntp_refclock): ONCORE requires PPSAPI, CIOGETEV,
4547        or TIOCGPPSEV.
4548        Reported by: Reg Clemens <reg@dwf.com>
4549
4550Fri May 14 23:58:35 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4551
4552        * configure.in: 4.0.92h2
4553
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
4556        others.
4557
4558Fri May 14 18:58:59 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4559
4560        * libntp/authreadkeys.c (authreadkeys): Reject autokey keys.
4561        Include ntp.h for NTP_MAXKEY definition, ntp_fp.h for types used
4562        in ntp.h.
4563
4564Wed May 12 23:02:22 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4565
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.
4569
4570Thu May 13 02:19:02 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4571
4572        * configure.in: 4.0.92h1
4573
4574        * configure.in: patch for ReliantUNIX
4575        From: Andrej Borsenkow <borsenkow.msk@sni.de>
4576
4577        * ntpd/refclock_oncore.c: Patches
4578        From: Reg Clemens <reg@dwf.com>
4579
4580Thu Apr 29 14:01:04 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4581
4582        * html/*.htm: Remove unnecessary &nbsp;.  Cleanup <pre></pre>
4583        sections.
4584
4585        * configure.in: Properly align configure --help output.
4586        * html/config.htm: Include this version, removing Netscape &nbsp;
4587        cruft.
4588
4589Wed Apr 28 15:08:55 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4590
4591        * kernel/sys/parsestreams.h: Only include <sys/ppsclock.h> if
4592        struct ppsclockev is missing from system headers.
4593
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.
4598
4599        * parseutil/dcfd.c (read_drift): drift_file is const char *.
4600        (update_drift): Likewise.
4601        (adjust_clock): Likewise.
4602        (main): Likewise.
4603
4604        * ntpd/refclock_parse.c (gps16x_poll): Adapt format to match
4605        parse->localstate type.
4606
4607        * ntpd/ntp_refclock.c (refclock_gtlin): Only define gotit label
4608        if used.
4609
4610        * include/l_stdlib.h (openlog, syslog): char * args are const.
4611
4612        * configure.in (*-*-osf4*): Enable declaration of stime().
4613
4614        * ntpd/refclock_oncore.c (oncore_msg_any): Cast args to long to
4615        match prototype.
4616        (oncore_msg_En): Likewise.
4617
4618        * include/ntp_refclock.h (struct refclockstat): Declare p_lastcode
4619        as const char *.
4620
4621        * ntpq/ntpq_ops.c (struct varlist): Define name as const.
4622
4623        * ntpdc/ntpdc.c (tokenize): Define cp as const char *, remove
4624        wrong cast instead.
4625
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.
4634
4635        * configure.in (*-*-solaris2.4): Enable declarations of
4636        gettimeofday(), settimeofday(); they are `protected' by
4637        __cplusplus in <sys/time.h>.
4638
4639Tue Apr 27 21:14:47 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4640
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.
4645
4646Mon Apr 26 01:50:38 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4647
4648        * Upgraded automake (1.4a) and autoconf (2.14.1)
4649
4650        * configure.in (ac_refclock_irig): We no longer need stropts.h.
4651        * ntpd/refclock_irig.c: Ditto
4652
4653Mon Apr 26 17:33:33 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4654
4655        * configure.in (*-*-irix6*): Don't pass MIPSpro cc-only flag -n32
4656        to gcc.
4657
4658Thu Apr 22 15:06:40 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4659
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
4662        order.
4663        * ntpd/ntp_io.c (io_multicast_del): Likewise.
4664
4665Sat Apr 24 01:00:53 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4666
4667        * configure.in: 4.0.92h
4668
4669        * ntptrace/ntptrace.c: -m maxhost patch
4670        From: "R. Gary Cutbill" <rgary@chrysalis.com>
4671
4672        * util/ntptime.c: Patches.
4673        From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
4674
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
4688        speed_t.
4689        (cfsetispeed, cfsetospeed, mrand48, nlist, srand48, stime): New
4690        declarations.
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>
4697
4698        * ntpdc/ntpdc_ops.c: Reality checks.
4699
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>
4703
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>
4707
4708Sun Apr 18 14:26:51 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4709
4710        * configure.in: 4.0.92g
4711
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>
4716
4717Tue Apr 13 17:32:35 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4718
4719        * configure.in: 4.0.92f
4720
4721        * ntpd/ntp_refclock.c (refclock_open): VMIN should be 1, not 0
4722        From: Reg Clemens <reg@dwf.com>
4723
4724Sun Apr 11 18:26:44 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4725
4726        * ntpd/refclock_mx4200.c: Patches/improvements
4727        * ntpd/ntpd.c (set_process_priority): Lint
4728        From: Marc.Brett@westgeo.com
4729
4730        * util/ntptime.c: Lint, bit definition cleanup
4731        From: Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
4732
4733Wed Apr  7 03:02:23 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4734
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>
4738
4739        * ntpd/ntp_io.c (create_sockets): Don't warn about ENXIO.
4740        (Several places)
4741        From: Andrej Borsenkow <borsenkow.msk@sni.de>
4742
4743        * libntp/mfp_mul.c (mfp_mul): Lint.
4744        Marc.Brett@westgeo.com
4745
4746Sun Apr  4 03:23:53 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4747
4748        * configure.in: 4.0.92e
4749        Dave redesigned the clock state machine.
4750
47511999-02-28  Frank Kardel  <kardel@acm.org>
4752
4753        * parseutil/dcfd.c: added DCF77 module powersetup
4754
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
4761
4762        * ntpd/ntp_control.c (ctl_putclock): cleanup of end of buffer handling
4763
4764        * libparse/parse.c (timepacket): removed unnecessary code
4765
4766        * libparse/clk_trimtsip.c (struct trimble): new member t_utcknown
4767        (cvt_trimtsip): fixed status monitoring, bad receiver states are
4768        now recognized
4769
4770        * libntp/prettydate.c (gmprettydate): new function for format date
4771        and time with respect to UTC
4772
4773        * libntp/gpstolfp.c (GPSWRAP): update GPS rollover to 990 weeks
4774
4775        * include/trimble.h (CMD_RUTCPARAM): control variable name unification
4776
4777        * include/ntp_fp.h: added prototype for gmprettydate()
4778
4779Sat Feb 27 00:03:16 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4780
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>
4786
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
4792
4793Wed Feb 24 10:22:51 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4794
4795        * configure.in: 4.0.92d
4796
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
4799        there.
4800        Reported by: Dave Mills <dlm@udel.edu>
4801
4802Tue Feb 23 23:37:44 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4803
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>
4807
4808Tue Feb 23 20:46:31 1999  Frank Kardel  <kardel@acm.org>
4809
4810        * ntpd/refclock_parse.c: fixed #endifs
4811        (stream_receive): fixed formats
4812
4813Mon Feb 22 00:35:06 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4814
4815        * configure.in: 4.0.92c
4816
4817        * ntpd/refclock_chronolog.c: Lint
4818        * ntpd/refclock_dumbclock.c: Ditto
4819        * ntpd/refclock_oncore.c: Ditto
4820        From: Marc.Brett@westgeo.com
4821
4822        * ntpd/refclock_oncore.c (oncore_msg_any): Call GETTIMEOFDAY, not
4823        gettimeofday().
4824        From: david.higgins@mail.ccur.com
4825
4826        * configure.in (MCAST): Not in i386-sequent-sysv4
4827        Reported by: Joseph Geter <joe.geter@somills.com>
4828
4829        * util/ntptime.c: Linux cleanup.
4830        From: Reg Clemens <reg@dwf.com>
4831
4832        * configure.in: Rename SCO5_OLDCLOCK to SCO5_CLOCK
4833        * acconfig.h: Ditto
4834
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>
4841
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()
4849        after getconfig().
4850        From: Kamal A Mostafa <kamal@whence.com>
4851
48521999-02-21  Frank Kardel  <kardel@acm.org>
4853
4854        * ntpd/ntp_util.c (hourly_stats): removed unused variable
4855
4856        * libntp/ieee754io.c: renamed index to fieldindex to avoid index() name clash
4857
4858        * ntpd/refclock_parse.c (parse_start): add initialization for Linux PPSkit
4859
4860Sun Feb 21 17:53:33 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4861
4862        * ntpd/ntp_io.c (create_sockets): Skip interfaces that are really
4863        just aliases.
4864        From: "Erik R. Leo" <erikl@sover.net>
4865
4866        * configure.in: 4.0.92b
4867
4868        * ntpd/ntpd.c (service_main): Check for an error return from
4869        sched_get_priority_max().
4870
4871Wed Feb 17 03:48:47 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4872
4873        * configure.in: 4.0.92a
4874
4875        * configure.in: configure.in requires autoconf 2.13 or later.
4876        Reported by Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
4877
4878Wed Feb 17 00:12:11 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4879
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>
4886
4887        * ntpd/ntp_refclock.c (refclock_open): Zero the entire c_cc[] array.
4888        From: Reg Clemens <reg@dwf.com>
4889
4890Tue Feb 16 23:37:49 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4891
4892        * Updated ansi2knr
4893        Reported by: Marc Brett
4894
4895Mon Feb 15 02:55:28 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4896
4897        * configure.in: 4.0.92
4898
4899        * ntpd/ntp_refclock.c: Added refclock_chronolog and
4900        refclock_dumbclock.
4901        From: Robert McMillin <rlm@syseca-us.com>
4902
4903Sun Feb 14 15:57:53 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4904
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>
4912
4913        * ntpq/ntpq.c: Rename delay() to auth_delay()
4914        Reported by: Andrej Borsenkow <borsenkow.msk@sni.de>
4915
4916        * ntpd/refclock_palisade.h: Cleanup.
4917        From: Marc.Brett@westgeo.com
4918
4919        * ntpd/ntp_refclock.c (refclock_ioctl): Typo.
4920        From: Reg Clemens <reg@dwf.com>
4921
4922        * ntpd/ntp_io.c (create_sockets): Only bind a given network once.
4923        From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
4924
4925Sat Jan 30 11:48:37 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4926
4927        * configure.in: 4.0.91f
4928
4929Thu Jan 28 22:58:40 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4930
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.
4934
4935        * ntpd/refclock_local.c: More offset cleanup from Dave.
4936
4937Thu Jan 28 00:15:20 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4938
4939        * configure.in: 4.0.91e
4940
4941        * ntpd/refclock_local.c: Bugfix.
4942        From: Dave Mills
4943
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
4948
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>
4952
4953        * ntpdc/ntpdc.c (my_delay): Renamed, from delay.
4954        Reported by: Andrej Borsenkow <borsenkow.msk@sni.de>
4955
4956Tue Jan 26 00:56:10 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4957
4958        * configure.in: 4.0.91d
4959
4960        * ntpq/ntpq.c: Y2K patches
4961        From: Marc.Brett@westgeo.com
4962
4963        * html/driver29.htm: New version
4964        * ntpd/refclock_palisade.c: Ditto
4965        * ntpd/refclock_palisade.h: Ditto
4966        From: Sven_Dietrich@Trimble.COM
4967
4968        * upgrade ansi2knr.c
4969
4970        * Some stuff that Dave did.
4971
4972        * configure.in: 4.0.91c
4973
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
4979
4980        * ntpd/refclock_oncore.c (oncore_msg_En): Clean up.
4981        From: John.Hay@mikom.csir.co.za
4982
4983Mon Jan 25 11:50:29 1999  Philippe De Muyter  <phdm@macqel.be>
4984
4985        * libparse/parse_conf.c (clockformats): Entry added for
4986        clock_wharton_400a.
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
4995        CLOCK_xxx macros.
4996
4997Sun Jan 24 13:51:30 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4998
4999        * ntpd/ntp_config.c (do_resolve_internal): Missing #ifdef DEBUG
5000        From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
5001
5002        * Makefile.am (SUBDIRS): Lose authstuff
5003        * configure.in: Ditto
5004
5005Sat Jan 23 15:28:03 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
5006
5007        * configure.in: 4.0.91b
5008
5009Sat Jan 23 15:02:25 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
5010
5011        * ntpd/refclock_oncore.c: use HAVE_STRUCT_PPSCLOCKEV
5012        * acconfig.h: HAVE_STRUCT_PPSCLOCKEV
5013        * configure.in (ac_cv_struct_ppsclockev): Added test
5014
5015Thu Jan 21 15:35:25 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
5016
5017        * configure.in: 4.0.91a
5018
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>
5022
5023        * ntpd/ntp_refclock.c (refclock_ioctl): Use TIOCPPS if we have it.
5024        (refclock_ioctl): Use LDISC_CLKPPS, not LDISC_PPS when deciding
5025        how to set str.
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>
5034
5035        * configure.in (CFLAGS): cc on Sequent wants -Wc,+abi-socket.
5036        We also need to figure out why -lsocket isn't being detected;
5037        -lsocket is needed.
5038        From: Dana Kaempen <decay@flash.net>
5039
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
5048
5049Sun Jan 10 15:15:07 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
5050
5051        * configure.in: 4.0.91
5052
5053Sat Jan  9 00:11:34 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
5054
5055        * include/ntp_stdlib.h: msyslog() is declared differently if we're
5056        not __STDC__.
5057
5058        * include/ntp_types.h: It's HAVE_PROTOTYPES, not USE_PROTOTYPES.
5059        * include/ntp_machine.h: Ditto.
5060
5061Fri Jan  8 20:47:10 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
5062
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.
5066
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
5070
5071        * libntp/authkeys.c: #include config.h first.
5072        Reported by: brian.bumpass@funb.com
5073
5074Thu Jan  7 00:24:35 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
5075
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
5080
5081        * scripts/ntpver.in: Use PATH_SH
5082
5083        * configure.in (PATH_SH): Added.
5084
5085Tue Jan  5 19:02:51 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
5086
5087        * configure.in: 4.0.90h
5088
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>
5094
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
5125
5126Mon Jan  4 00:56:55 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
5127
5128        * configure.in: 4.0.90g
5129
5130        * ntpd/ntp_config.c (getconfig): MODE was setting ttl, not hmode.
5131        Reported by: Carsten Emde <ce@ceag.ch>
5132
5133Fri Dec  4 01:01:14 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5134
5135        * configure.in: 4.0.90f
5136
5137        * ntpd/refclock_mx4200.c: New version
5138        From: Marc.Brett@waii.com
5139
51401998-12-02  Harlan Stenn  <stenn@whimsy.udel.edu>
5141
5142        * ntpd/ntp_config.c (do_resolve_internal): If fork fails, say why.
5143        Reported by: Jeff_Dennison@admin.tc.faa.gov
5144
5145        * ntpd/ntpd.c (ntpdmain):  fork() can return a -1.  Someday we'll
5146        report this condition...
5147
51481998-12-02  Harlan Stenn  <stenn@whimsy.udel.edu>
5149
5150        * configure.in: 4.0.90e
5151
5152        * ntpd/refclock_palisade.c: Reformat code so ansi2knr will work
5153        * ntpd/refclock_palisade.h: Ditto
5154        From: Marc.Brett@waii.com
5155
5156Sun Nov 29 21:00:53 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5157
5158        * configure.in: 4.0.90d
5159
5160        * configure.in (CFLAGS): Use "-O2 -g3 -n32" by default for Irix6.2
5161        and later.
5162        Reported by: Jack Bryans <jbryans@csulb.edu>
5163
51641998-11-29  Harlan Stenn  <stenn@whimsy.udel.edu>
5165
5166        * configure.in: 4.0.90c
5167
5168        * ntpd/refclock_oncore.c (oncore_msg_En): Convert to nano
5169        From: John Hay <jhay@mikom.csir.co.za>
5170
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
5175        (more_pkt): Ditto
5176        (flush_pkt): Ditto
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>
5181
5182Fri Nov 27 14:27:21 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5183
5184        * ntpd/refclock_palisade.c: Lint cleanup
5185        * ntpd/refclock_palisade.h: Ditto.
5186        From: Marc Brett <mbrett@rgs0.london.waii.com>
5187
5188Mon Nov 23 04:45:03 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5189
5190        * configure.in: 4.0.90b
5191
5192        * New code and cleanup for the NT stuff
5193        From: Carl Byington <carl@five-ten-sg.com>
5194
5195Sat Nov 21 21:21:45 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5196
5197        * configure.in: 4.0.90a
5198
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>
5204
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>
5208
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>
5215
5216Sat Nov 21 12:33:16 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5217
5218        * configure.in: 4.0.90
5219
5220        Nano changes from Dave Mills.
5221
5222Thu Nov 19 04:23:46 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5223
5224        * include/ntp_machine.h: STREAM also needs HAVE_SYS_STREAM_H
5225        Reported by: Ronald Cole <ronald@forte-intl.com>
5226
5227Mon Nov 16 19:17:34 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5228
5229        * configure.in: 4.0.73e14
5230
5231        * util/ntptime.c (main): Protect STA_NANO
5232
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>
5240
5241        * ntpd/refclock_palisade.h: New version.
5242        * ntpd/refclock_palisade.c: New version.
5243        From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
5244
5245Sat Oct 24 01:19:21 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5246
5247        * configure.in: 4.0.73e13
5248
5249        * ntpdc/ntpdc_ops.c (clkbug): Patches
5250        * ntpd/ntp_refclock.c (refclock_buginfo): Patches
5251        From: Marc.Brett@waii.com
5252
5253Sat Oct 10 20:13:14 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5254
5255        * configure.in: 4.0.73e12
5256
5257        * ntpd/ntp_util.c (hourly_stats): Added prio_set stuff.
5258
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
5262        NIL.
5263        From: Perry Ross <pross@platinum.com>
5264
5265        * ntpd/ntpd.c:
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>
5269
5270Sat Oct  3 02:32:46 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5271
5272        * configure.in: 4.0.73e11
5273
5274        * configure.in (ac_refclock_palisade): Needs termios.
5275
5276        * libntp/mktime.c: Some systems need sys/types.h
5277
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).
5281
5282        * include/l_stdlib.h: Sometimes we need to #include <sys/types.h>
5283
5284        * libntp/Makefile.am (../include/des.h): Typo.
5285
5286Fri Oct  2 20:52:47 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5287
5288        * ntpd/ntp_intres.c (request): Accept responses back thru V2.
5289
5290Thu Oct  1 00:11:16 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5291
5292        * configure.in: 4.0.73e9
5293
5294        * ntpd/ntpd.c (catch_danger): Added.
5295        (ntpdmain): AIX SIGDANGER stuff
5296        From: Lars-Owe Ivarsson <larsowe@paradisaea.its.uu.se>
5297
5298        * configure.in:
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>)
5313
5314Thu Sep 24 21:33:50 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5315
5316        * configure.in: '73e8
5317
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>
5321
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)
5325
5326Mon Sep 21 15:35:23 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5327
5328        * configure.in: '73e7
5329
5330        * ntpd/refclock_parse.c: Missing declaration
5331        From: Marc Brett <mbrett@rgs0.london.waii.com>
5332
5333        * include/README: Remove old MCAST descriptions
5334
5335        * include/Makefile.am (noinst_HEADERS): Lose sun-in.h .
5336
5337Mon Sep 21 14:50:12 1998  Harlan Stenn  <stenn@grundoon.udel.edu>
5338
5339        * ntpdate/ntpdate.c (timer): Properly format the definition.
5340
5341Sun Sep 20 23:02:50 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5342
5343        * configure.in: '73e6
5344
5345        * include/Makefile.am (noinst_HEADERS): Renamed in.h to sun-in.h
5346
5347Fri Sep 18 01:05:55 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5348
5349        * configure.in: '73e5
5350
5351        * ntpd/refclock_palisade.c: SCO patch
5352        From: Kamal A Mostafa <kamalm@sco.com>
5353
5354        * libparse/clk_trimtsip.c (cvt_trimtsip): Fix rollover bug.
5355        From: "Michael J. Tubby B.Sc. G8TIC" <Mike.Tubby@thorcom.co.uk>
5356
5357        * libntp/authencrypt.c:
5358        * libntp/systime.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>
5381
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
5386        calling free().
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)
5390
5391Sun Sep 13 19:19:09 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5392
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.
5398        (getconfig): Ditto.
5399        From: Jeffrey Hutzelman <jhutz@cs.cmu.edu>
5400
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>
5407
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>
5411
5412Sat Aug 22 23:58:14 1998  Frank Kardel  <kardel@acm.org>
5413
5414        * ntpd/refclock_parse.c (local_input): fixed IO handling for non-STREAM IO
5415
5416Sun Aug 16 20:13:32 1998  Frank Kardel  <kardel@acm.org>
5417
5418        * libntp/ieee754io.c: debug information only compile for LIBDEBUG case
5419
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
5427
5428        * libparse/parse_conf.c (clockformats): Trimble TSIP driver now also
5429        available for kernel operation
5430
5431        * libparse/info_trimble.c: re-generated
5432
5433        * libparse/clk_trimtsip.c (cvt_trimtsip): initial kernel capable version (no more floats)
5434        (clock_trimtsip =): new format name
5435
5436        * libparse/clk_trimtaip.c (clock_trimtaip =): changed format name
5437
5438        * include/trimble.h (CMD_RSTATTRACK): renamed mode 6 variable name
5439
5440        * scripts/monitoring/ntploopwatch: moved emacs mode selector
5441
5442Mon Aug 10 15:32:48 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5443
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
5448
5449Wed Jul 29 15:23:21 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5450
5451        * libntp/machines.c: IRIX needs time.h
5452        Reported by: Judith E Bush <jbush@fi.edu>
5453
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>
5457
5458Wed Jul 29 01:36:48 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5459
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.
5464
5465        * ntpd/ntp_config.c (CONFIG_LISTEN): Added
5466        Added ifnum and listenaddrs[]
5467        (getconfig): Added defn for "addr"
5468        (getconfig): Initialize ifnum.
5469
5470        * ntpd/ntpd.c (service_main): call init_io after getconfig
5471        From: Vebjorn Ljosa <ljosa@initio.no>
5472
5473Wed Jul 29 00:42:28 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5474
5475        * ntpd/refclock_palisade.c: Use NEED_HPUX9_TIOCM_STUFF
5476
5477        * acconfig.h (NEED_HPUX9_TIOCM_STUFF):  Added.
5478
5479        * configure.in (REFCLOCK_PALISADE): Needs termio*.h
5480        (NEED_HPUX9_TIOCM_STUFF): Added.
5481
5482        * ntpd/ntp_io.c (create_sockets): Use strchr instead of strstr.
5483
5484        * libntp/mktime.c: #include <sys/types.h>
5485
5486        * libntp/ieee754io.c: #include <sys/types.h>
5487
5488Wed Jul 29 00:24:22 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5489
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)
5494
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
5498
5499        * ntpd/ntp_timer.c: #include "ntp_refclock.h"
5500        (MODE_MANUAL): Added.
5501        (timer): MODE_MANUAL stuff
5502
5503        From: qli@huey.udel.edu
5504
5505Tue Jul 28 23:23:15 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5506
5507        * configure.in: Check for inet_ntoa in -lbind .
5508
5509        * ntpd/ntpd.c: #undef PROCLOCK for AIX.
5510
5511Mon Jul 20 01:06:24 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5512
5513        * configure.in (AC_TYPE_SIZE_T): Added.
5514
5515Sat Jul 11 09:38:30 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5516
5517        * configure.in: 4.0.73e
5518
5519        * ports/winnt/: Replaced with new code (no SHM or PALISADE)
5520        From: Greg Schueman <schueman@ix.netcom.com>
5521
5522Fri Jul 10 12:12:59 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5523
5524        * configure.in: 4.0.73d
5525
5526        * include/ntp_machine.h (HAVE_SRANDOM): VxWorks patches
5527        (HAVE_RANDOM): Ditto.
5528        (CALL): Ditto.
5529        From: Casey Crellin <ccrellin@mweb.com>
5530
5531        * ntpd/refclock_parse.c (local_input): Typo.
5532        Reported by: Tony Li <tony1@home.net>
5533
5534Wed Jul  8 01:49:01 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5535
5536        * configure.in: 4.0.73c
5537
5538        * PARSE patches from Frank Kardel
5539
5540        * libntp/machines.c (ntp_set_tod): Get it right.
5541
5542Sun Jul  5 22:15:34 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5543
5544        * configure.in: 4.0.73a
5545
5546        * kernel/sys/timex.h (MOD_CANSCALE): Add rest of patch to handle
5547        scaling.
5548        From: Poul-Henning Kamp <phk@critter.freebsd.dk>
5549
5550Wed Jun 10 21:16:01 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5551
5552        * configure.in: 4.0.73
5553
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>
5557
5558        * util/tickadj.c (main): Typo fix...
5559        From: Marion Hakanson <hakanson@cse.ogi.edu>
5560
5561        * ntpd/ntp_io.c (create_sockets): Attempt to ignore alias
5562        interfaces.
5563        From: Kenneth Maupin <maupin@easystreet.com>
5564
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>
5569
5570        * ntpd/ntp_refclock.c (refclock_gtlin): Patch...
5571        From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
5572
5573Sun Jun 28 18:43:30 1998  Frank Kardel  <kardel@acm.org>
5574
5575        * libntp/buftvtots.c (buftvtots): using WORD_BIGENDIAN instead of XNTP_BIG_ENDIAN
5576
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
5581
5582        * libntp/Makefile.am (libntp_a_SOURCES): added gpstolfp.c source
5583
5584        * libntp/binio.c: added {get,put}_msb_{short,long}() functions
5585
5586        * include/ntp_fp.h: added gpstolfp() prototype
5587
5588        * include/binio.h: added binio MSB prototypes
5589
5590Sat Jun 13 13:48:17 1998  Frank Kardel  <kardel@acm.org>
5591
5592        * parseutil/testdcf.c: signed/unsigned
5593        SYSV clock name clash fixed
5594
5595        * parseutil/dcfd.c: signed/unsigned
5596        SYSV clock name clash fixed
5597        year wrapping at 1998
5598        ctype macros take ints as args
5599
5600        * ntptrace/ntptrace.c (decodeipaddr): ctype macros take ints as args
5601
5602        * ntpq/ntpq_ops.c (doprintpeers): signed/unsigned
5603
5604        * ntpq/ntpq.c: ctype macros take ints as args
5605        signed/unsigned
5606
5607        * ntpdc/ntpdc.c: signed/unsigned
5608
5609        * ntpd/refclock_usno.c: signed/unsigned
5610
5611        * ntpd/refclock_true.c (true_send): signed/unsigned, name clashes
5612
5613        * ntpd/refclock_parse.c: signed/unsigned, name clashes
5614
5615        * ntpd/refclock_nmea.c (nmea_receive): ctype macros take ints as args
5616
5617        * ntpd/refclock_heath.c (heath_receive): prototypes (signed/unsigned issues)
5618
5619        * ntpd/refclock_arc.c: prototypes (signed/unsigned issues)
5620
5621        * ntpd/refclock_acts.c: prototypes (signed/unsigned issues)
5622
5623        * ntpd/ntpd.c: prototypes (signed/unsigned issues)
5624
5625        * ntpd/ntp_util.c (getauthkeys): prototypes (signed/unsigned issues)
5626        fix SYSV clock name clash
5627
5628        * ntpd/ntp_request.c: prototypes (signed/unsigned issues)
5629        fix SYSV clock name clash
5630
5631        * ntpd/ntp_io.c (input_handler): variable naming, signed/unsigned
5632
5633        * ntpd/ntp_intres.c (readconf): signed/unsigned issues
5634
5635        * ntpd/ntp_control.c: prototypes (signed/unsigned issues)
5636        fix SYSV clock name clash
5637
5638        * ntpd/ntp_config.c: fix SYSV clock name clash
5639        ctype macros take ints as args
5640
5641        * libparse/parsestreams.c: dirt (debug) removed
5642
5643        * libparse/parsesolaris.c: more prototypes
5644        fix name clashes
5645        allow for ansi2knr
5646
5647        * libparse/parse.c: bcopy/memcpy cleanup
5648        fix SYSV clock name clash
5649
5650        * libparse/clk_trimtsip.c (cvt_trimtsip): fix SYSV clock name clash
5651
5652        * libparse/clk_trimtaip.c (cvt_trimtaip): fix SYSV clock name clash
5653
5654        * libparse/clk_schmid.c (cvt_schmid): fix SYSV clock name clash
5655
5656        * libparse/clk_rcc8000.c (cvt_rcc8000): fix SYSV clock name clash
5657
5658        * libparse/clk_rawdcf.c (cvt_rawdcf): fix SYSV clock name clash
5659
5660        * libparse/clk_hopf6021.c (cvt_hopf6021): fix SYSV clock name clash
5661
5662        * libparse/clk_dcf7000.c (cvt_dcf7000): fix SYSV clock name clash
5663
5664        * libparse/clk_computime.c: fix SYSV clock name clash
5665
5666        * libntp/octtoint.c (octtoint): ctype macros take ints as args
5667
5668        * libntp/mstolfp.c (mstolfp): ctype macros take ints as args
5669
5670        * libntp/hextolfp.c (hextolfp): ctype macros take ints as args
5671
5672        * libntp/hextoint.c (hextoint): ctype macros take ints as args
5673
5674        * libntp/decodenetnum.c (decodenetnum): ctype macros take ints as args
5675
5676        * libntp/atouint.c (atouint): ctype macros take ints as args
5677
5678        * libntp/atolfp.c (atolfp): ctype macros take ints as args
5679
5680        * libntp/atoint.c (atoint): ctype macros take ints as args
5681
5682        * kernel/sys/parsestreams.h:  STREAM macro gone in favor of HAVE_SYS_STREAM_H
5683
5684        * include/parse.h: STREAM macro gone in favor of HAVE_SYS_STREAM_H
5685
5686Fri Jun 12 11:08:53 1998  Frank Kardel  <kardel@acm.org>
5687
5688        * ntpd/ntp_timer.c: prototype fixes (ansi2knr/knr compiler)
5689
5690        * ntpd/ntp_proto.c (make_keylist): type cast for e(!!!)malloc()
5691
5692        * libparse/Makefile.am: adjust for ansi2knr
5693
5694        * libntp/ieee754io.c: ansi2knr compatibility
5695
5696        * include/ntp_refclock.h: added pps_sample() extern declaration
5697        added refclock_process_offset() extern declaration
5698
5699        * include/ntp.h: fixed function * prototypes
5700
5701        * ntpd/refclock_parse.c (bind): added input routine
5702        (local_input): added input routine
5703
5704        * ntpd/ntp_io.c (input_handler): direct input processing for
5705        refclocks to save input recv buffers
5706
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)
5711
5712        * parse_conf.c:  conditional compile macros fixed
5713
5714        * parse.c:  conditional compile macros fixed
5715        printf prototype
5716
5717        * clk_trimtaip.c:  conditional compile macros fixed
5718        printf prototype
5719
5720        * clk_schmid.c:  conditional compile macros fixed
5721        printf prototype
5722
5723        * clk_rcc8000.c:  conditional compile macros fixed
5724        printf prototype
5725
5726        * clk_hopf6021.c:  conditional compile macros fixed
5727        printf prototype
5728
5729        * clk_dcf7000.c: conditional compile macros fixed
5730        printf prototype
5731
5732        * clk_computime.c: conditional compile macros fixed
5733        printf prototype
5734
5735Sat Jun  6 07:41:54 1998  Frank Kardel  <kardel@acm.org>
5736
5737        * ntpd/refclock_palisade.c: fixed termio.h / termios.h inclusion
5738
5739        * include/ntp_refclock.h: made refclockproc/clockdesc const
5740
5741        * ntpd/ntp_control.c (ctl_putpeer): avoided ambigous 'else' (gcc)
5742
5743        * ntpd/refclock_parse.c (parse_start): added BURST mode initialisation
5744
5745        * scripts/stats/summary.sh (CLOCK): allow for Y2K log files
5746
5747        * libparse/clk_rawdcf.c: simplified condidional compile expression
5748
5749Wed May 27 08:10:43 1998  Frank Kardel  <kardel@acm.org>
5750
5751        * include/Makefile.am (noinst_HEADERS): added new header files
5752        mbg_gps166.h binio.h ascii.h ieee754io.h
5753
5754        * ntpdc/ntpdc.c (sendrequest): fixed info_auth_keyid setting it
5755        got accidentally trashed every other round
5756
5757Mon May 25 22:55:07 1998  Frank Kardel  <kardel@acm.org>
5758
5759        * configure.in: PARSE clocks are enabled by default whenever
5760        possible (termio.h or termios.h present)
5761        removed RAWDCF_SETDTR feature
5762
5763        * acconfig.h: removed RAWDCF_SETDTR option (now implicit by
5764        compilation and run time configuration)
5765
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
5768
5769        * libparse/clk_meinberg.c (cvt_meinberg): support current standard
5770        Meinberg data formats
5771
5772Sun May 24 09:43:19 1998  Frank Kardel  <kardel@acm.org>
5773
5774        * libparse/clk_rawdcf.c (pps_rawdcf): trigger pps on zero going
5775        edge - that is simpler wiring (Rx->DCD).
5776
5777        * parseutil/testdcf.c (wday): const keyword
5778
5779        * parseutil/dcfd.c (cvt_rawdcf): sign issues and calling interfaces
5780
5781        * ntpq/ntpq.c (MAXVARLEN): adjusted internal buffer length for
5782        variable values
5783
5784        * ntpd/refclock_parse.c: adjust to new io handling (fixed formats
5785        only)
5786        (mkreadable): don't include >"< in readable ASCII output (-> ntpq
5787        parsing)
5788        output debug messages to stdout instead of msyslog()
5789        fixed version information string
5790
5791        * ntpd/refclock_atom.c (pps_sample): new auxiliary pps interface
5792
5793        * libparse/parsestreams.c (parserput): get event status consistent
5794        with direct calls
5795        (zs_xsisr): simulate CARRIER status to avoid unnecessary M_xHANGUP
5796        events
5797
5798        * libparse/parsesolaris.c (parserput): get event status consistent
5799        with direct calls
5800        (zs_xsisr): simulate CARRIER status to avoid unnecessary M_xHANGUP
5801        events
5802
5803        * libparse/parse.c: removed old input cruft
5804        (parse_restart): new generic input help function
5805        (parse_addchar): ditto
5806        (parse_end): ditto
5807        (pps_one): new generic pps help function
5808        (pps_zero): ditto
5809
5810        * libparse/clk_trimtsip.c (clock_trimtsip =): new input handling
5811
5812        * libparse/clk_trimtaip.c (clock_trimtaip =): new input handling
5813        (inp_trimtaip): new input handler
5814
5815        * libparse/clk_schmid.c (clock_schmid =): new input handling
5816        (inp_schmid): new input handler
5817
5818        * libparse/clk_rcc8000.c (clock_rcc8000 =): new input handling
5819        (inp_rcc8000): new input handler
5820
5821        * libparse/clk_rawdcf.c (clock_rawdcf =): new input handling
5822        (snt_rawdcf): adjusted to new input handling
5823        (inp_rawdcf): new input handler
5824
5825        * libparse/clk_meinberg.c (clock_meinberg): new input handling
5826        (gps_input): new input handler
5827        (mbg_input): new input handler
5828
5829        * libparse/clk_hopf6021.c (clock_hopf6021 =): new input handling
5830        (inp_hopf6021): new input handler
5831
5832        * libparse/clk_dcf7000.c (clock_dcf7000 =): new input handling
5833        (inp_dcf7000): new input handler
5834
5835        * libparse/clk_computime.c (clock_computime =): new input handling
5836        (inp_computime): new input handler
5837
5838        * libparse/Makefile.am: link kernel module with libntp.a
5839
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
5844        new input model
5845        updated prototypes
5846
5847        * include/ntp_refclock.h: prototype for refclock_atom pps_sample()
5848        interface
5849
5850        * acconfig.h: added PPS_SAMPLE define
5851        * configure.in (LIBPARSE): added PPS_SAMPLE configuration
5852        <refclock_atom aux interface>
5853
5854        * libntp/systime.c (adj_systime): debug output (> level 6) for
5855        adjtime results
5856
5857        * libntp/mfp_mul.c (mfp_mul): controlled debug output
5858
5859        * libntp/ieee754io.c (get_byte): controlled debug output
5860        (fetch_ieee754): ditto
5861        (put_ieee754): ditto
5862
5863Tue May  5 20:09:51 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5864
5865        * configure.in: document DES is not usually present.
5866
5867Wed Apr 29 22:00:22 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5868
5869        * configure.in: 4.0.72h
5870
5871        * authstuff/Makefile.am (check-local-rsn): check-local doesn't
5872        work with RSAREF...
5873        Reported by: "Auteria Wally Winzer Jr." <wally.winzer@champusa.com>
5874
5875        * libntp/machines.c: the settime() choices were ordered badly.
5876        Reported by: Michael Joosten <joost@c-lab.de>
5877
5878Sat Apr 25 00:35:53 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5879
5880        * configure.in (ac_cv_var_no_parenb_ignpar): Undo the kernel PLL
5881        block I just installed - Dave wants to control this via
5882        KERNEL_FLL_BUG.
5883
5884Fri Apr 24 20:35:57 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5885
5886        * libntp/Makefile.am (libntp_a_DEPENDENCIES): Set per libntp_a_LIBADD
5887
5888        * configure.in: Do a better job of blocking kernel PLL under
5889        solaris2.6.
5890
5891Fri Apr 24 00:41:12 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5892
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.
5896
5897        * ntpd/ntp_proto.c (process_packet): Give verbose error messages
5898
5899        * include/global.h (PROTOTYPES): Drive via HAVE_PROTOTYPES.
5900
5901Wed Apr 22 16:55:55 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5902
5903        * configure.in (ac_cv_var_use_des): Added. 4.0.72e.
5904        * libntp/Makefile.am (libntp_a_LIBADD): Added DESOBJS
5905
5906Tue Apr 21 02:08:06 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5907
5908        * ntpd/refclock_arc.c (arc_receive): Typo...
5909        From: Sam Steingold <sds@usa.net>
5910
5911Fri Apr 10 03:05:35 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5912
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
5916
5917Wed Apr  8 19:53:53 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5918
5919        * libntp/Makefile.am (EXTRA_DIST): Added mktime.c
5920
5921        * configure.in:  AC_REPLACE_FUNCS(mktime).
5922        (--enable-dst-minutes=60): Added, for (missing) mktime().
5923
5924        * ntpd/refclock_heath.c (heath_receive): Use mktime() instead of
5925        the old hack.
5926
5927Tue Apr  7 21:15:14 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5928
5929        * configure.in (LIBOBJS): Hack it before AC_OUTPUT to deal with
5930        ANSI2KNR-filtering rules.
5931        From: Jim Meyering <meyering@ascend.com>
5932
5933Mon Apr  6 01:40:45 1998  Harlan Stenn  <stenn@grundoon.udel.edu>
5934
5935        * libntp/strerror.c: ANSIfy strerror's definition.
5936
5937Thu Mar 12 20:24:45 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5938
5939        * libntp/statestr.c: Only #include <config.h> if HAVE_CONFIG_H is
5940        #define'd.
5941        From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
5942
5943Wed Mar 11 00:27:32 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5944
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().
5948
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>
5959
5960Tue Mar 10 22:26:14 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5961
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.
5965
5966Sat Mar  7 02:57:17 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5967
5968        * ntpd/ntp_loopfilter.c (local_clock): Patch STA_FLL check
5969        From: Poul-Henning Kamp <phk@freebsd.org>
5970
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
5981
5982        * Makefile.am (ETAGS_ARGS): Added acconfig.h
5983
5984        * various: Renamed LOCAL_CLOCK to CLOCK_LOCAL.
5985
5986        * configure.in: First cut at  *-pc-cygwin32 support
5987        Requested by: Sven Dietrich <Sven_Dietrich@Trimble.COM>
5988
5989        * configure.in: gdt-surveying code is gone.  Sigh.
5990        Reported by: Poul-Henning Kamp <phk@critter.freebsd.dk>
5991
5992Wed Mar  4 21:41:06 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5993
5994        * many places: Renamed ATOM to CLOCK_ATOM
5995
5996Tue Mar  3 03:18:13 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5997
5998        * ntpd/ntp_timer.c (timer): Only call refclock_transmit if
5999        REFCLOCK is #define'd.
6000        Reported by a bunch of folks.
6001
6002Mon Mar  2 03:46:07 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
6003
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.
6008
6009        * include/winnt/sys/time.h (gettimeofday): Prototypes are OK.
6010        (settimeofday): Prototypes are OK.
6011        From: JJEVNISEK@qgraph.com
6012
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>
6027
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>
6031
6032Mon Mar  2 03:05:23 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
6033
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)
6038
6039Sat Feb 21 00:45:10 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
6040
6041        * automake-1.2d.patches: Added ansi2knr.o rules.
6042
6043        * ntpd/refclock_tpro.c: P() stuff
6044
6045Fri Feb 20 20:10:20 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
6046
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>
6050
6051Wed Feb 18 00:51:08 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
6052
6053* configure.in: 4.0.72 released.
6054
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>
6065
6066Mon Feb 16 21:02:42 1998  Harlan Stenn  <stenn@grundoon.udel.edu>
6067
6068        * ntpd/ntp_proto.c: P()
6069
6070Mon Feb 16 12:43:11 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
6071
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.
6084
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.
6090
6091Sat Feb 14 00:02:14 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
6092
6093        * ntpd/refclock_irig.c (irig_rf): Rename sincos[] to sin_cos[].
6094
6095Fri Feb 13 22:22:08 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
6096
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.
6101
6102        * ntpd/ntpd.c (xntpdmain): Use srandom or srand48.
6103
6104        * configure.in: Look for {s,}random() and [ms]rand48().
6105
6106Wed Feb 11 22:50:24 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
6107
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.
6113
61141998-01-23  Harlan Stenn  <stenn@whimsy.udel.edu>
6115
6116        * ntpd/refclock_irig.c: Allow either <sun/audioio.h> or
6117        <sys/audioio.h> .  From Dave Mills.
6118
6119        * configure.in: Under SunOS, it's sun/audioio.h .
6120
61211998-01-22  Harlan Stenn  <stenn@whimsy.udel.edu>
6122
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.
6127
61281998-01-08  Harlan Stenn  <stenn@whimsy.udel.edu>
6129
6130        * Many places: Lose the P(()) prototype stuff
6131
6132        * util/tickadj.c (writevar): Make offset an off_t
6133        (readvar): Ditto
6134        (getoffsets): Make offsets off_t
6135
6136        * adjtimed/adjtimed.c (GetClockRate): Fix lseek arg 2.
6137        (SetClockRate): Ditto
6138
6139        * Many things in many places from many people.
6140
6141        * configure.in: Added AC_TYPE_OFF_T
6142
61431997-11-26  Harlan Stenn  <stenn@whimsy.udel.edu>
6144
6145        * ntpd/refclock_palisade.c: ANSIfied.
6146
6147Wed Sep  3 23:51:44 1997  Harlan Stenn  <stenn@whimsy.udel.edu>
6148
6149        * configure.in (AM_C_PROTOTYPES): Added.
6150
6151        * Makefile.am (AUTOMAKE_OPTIONS): Added ansi2knr.
6152
Note: See TracBrowser for help on using the repository browser.