-
Notifications
You must be signed in to change notification settings - Fork 3
/
CommitLog-4.1.0
6152 lines (4535 loc) · 191 KB
/
CommitLog-4.1.0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2001-08-01 Harlan Stenn <[email protected]>
* configure.in: 4.1.0
2001-07-27 Harlan Stenn <[email protected]>
* ntpd/refclock_oncore.c (oncore_start): Set pps_enable=1, just
like the atom driver does.
From: [email protected]
* ntpd/refclock_nmea.c (nmea_ppsapi): Set pps_enable=1, just like
the atom driver does.
From: Scott Allendorf <[email protected]>
* ntpd/ntp_config.c (getconfig): CONF_CLOCK_PANIC was using the
wrong config flag.
From: <[email protected]>
2001-07-10 Harlan Stenn <[email protected]>
* configure.in: 4.0.99m-rc3
2001-07-06 Harlan Stenn <[email protected]>
* ntp_update: COPYRIGHT needs a touch.
From: Mike Stump <[email protected]>
2001-07-04 Harlan Stenn <[email protected]>
* html/config.htm: Major cleanup.
From: Martin Janzen <[email protected]>
* configure.in (rt library check): Don't look for -lrt under
Linux. Under glibc-2.1.2 and -2.2.2 (at least), the POSIX-
compatibility real-time library does strange things with threads
as other processes and we're getting lots of complaints about it.
Reported by: Juha Sarlin <[email protected]>
2001-06-30 Harlan Stenn <[email protected]>
* html/driver35.htm: Update email address.
2001-06-25 Harlan Stenn <[email protected]>
* ntpd/refclock_oncore.c (oncore_msg_BaEaHa): Fix wrong offset for
rsm.bad_almanac
From: Reynir Siik <[email protected]>
2001-06-12 Harlan Stenn <[email protected]>
* configure.in: 4.0.99m-rc2
2001-06-10 Harlan Stenn <[email protected]>
* ntpd/ntp_config.c:
* include/ntp_config.h: includefile config keyword support
From: Dean Gibson <[email protected]>
2001-06-08 Harlan Stenn <[email protected]>
* configure.in: 4.0.99m-rc1b
* ntpd/refclock_true.c (true_debug): Bump some buffer sizes to
reduce/eliminate chance of buffer overflow. Use snprintf()
instead of sprintf(). Do a better job of opening the debug file.
* ntpd/ntp_control.c (ctl_getitem): Count overflow packets as bad
and return a BADFMT.
* ntpd/ntp_config.c (save_resolve): call fdopen() with the correct
mode.
From: Bela Lubkin <[email protected]>
2001-06-03 Harlan Stenn <[email protected]>
* include/ntp.h (RES_ALLFLAGS): Add RES_DEMOBILIZE.
From: Dean Gibson <[email protected]>
* configure.in: 4.0.99m-rc1a
2001-06-02 Harlan Stenn <[email protected]>
* ntpd/ntp_refclock.c (refclock_open): Add O_NOCTTY to the open()
flags when opening a serial port.
Reported by: joseph lang <[email protected]>
2001-05-31 Harlan Stenn <[email protected]>
* html/notes.htm: Typo fix.
From: John Stone <[email protected]>
* configure.in: 4.0.99m-rc1
* html/monopt.htm: Typo fix.
* html/confopt.htm: Cruft removal.
From: John Stone <[email protected]>
2001-05-30 Harlan Stenn <[email protected]>
* README.cvs: More updates and cleanup.
* ntpd/ntp_loopfilter.c (loop_config):
Check against STA_NANO instead of (NTP_API > 3) to catch kernels
that were rolled while the spec was evolving.
From: [email protected]
* README.cvs: Note that we want to check out NTP into a clean
subdir.
Reported by [email protected] (Joe Doupnik)
2001-05-27 Harlan Stenn <[email protected]>
* configure.in: 4.0.99k40
* include/ntp_refclock.h: Median Filter (SAMPLE - macro) - change
to use most recent MAXSTAGE entries when the filter overflows (ie
driver poking say once per second with poll > MAXSTAGE) rather
than blocking after MAXSTAGE entries (turf oldest rather than turf
most recent).
From: John Woolner <[email protected]>
* ntpd/refclock_true.c:
a. Don't cream pp->a_lastcode when we get a <cr><lf> pair
b. Fix up pp->leap handling to work correctly
c. clear CEVNT_BADTIME etc warnings when we get good clock
CEVNT_NOMINAL.
From: John Woolner <[email protected]>
* kernel/sys/pcl720.h:
Add support for the XL clock to refclock_true.c
From: Paul A Vixie <[email protected]>
* ntpd/ntp_loopfilter.c (local_clock): One more attempt at
"improving" the panic message.
2001-05-26 Harlan Stenn <[email protected]>
* configure.in (ac_cv_func_ctty_for_f_setown): BSDI3 needs a ctty
for F_SETOWN, too.
From: Paul A Vixie <[email protected]>
2001-05-24 Harlan Stenn <[email protected]>
* html/ntpd.htm: Typo.
From: John Stone <[email protected]>
2001-05-23 Harlan Stenn <[email protected]>
* configure.in: 4.0.99k39
* ntpd/ntp_loopfilter.c (local_clock): huffpuff cleanup/improvements.
(huffpuff): Cleanup/improvements.
(loop_config): huffpuff initialization cleanup/improvements.
From: Dave Mills, Terje, Mark, and John?
2001-05-22 Harlan Stenn <[email protected]>
* html/release.htm:
* html/ntpd.htm:
* html/miscopt.htm:
From: Dave Mills: Updates.
2001-05-21 Harlan Stenn <[email protected]>
* configure.in: 4.0.99k38
* ntpd/ntp_proto.c (clock_filter): Huff-n-Puff and Popcorn
improvements.
* ntpd/ntp_loopfilter.c (local_clock): Debug cleanup
From: Dave Mills.
* include/ntp_syscall.h (ntp_gettime): Updated patch from Ulrich.
My original attempt was not backwards compatible.
2001-05-17 Harlan Stenn <[email protected]>
* include/ntp_syscall.h (ntp_gettime): Fill in the tai member.
From: Ulrich Windl <[email protected]>
* configure.in: 4.0.99k37
* ntpd/ntp_proto.c (clock_filter): Lose "off", xtemp and ytemp,
and some obsoleted calculations. Set the peer->offset and
peer->delay from the filter stages.
* ntpd/ntp_loopfilter.c: Comment/document improvements.
(local_clock): correct the offset by one-half the difference
between the sample delay and minimum delay. Lose "mu" from the
debug message.
From: Dave Mills.
2001-05-15 Harlan Stenn <[email protected]>
* configure.in: 4.0.99k36
* ntpd/ntp_loopfilter.c: Huff-n-puff cleanup
From: Dave Mills.
2001-05-14 Harlan Stenn <[email protected]>
* configure.in: 4.0.99k35
* ntpd/refclock_atom.c (atom_ppsapi): set pps_enable=1 if
enb_hardpps.
* ntpd/ntp_timer.c: huffpuff support.
(init_timer): huffpuff support.
(timer): huffpuff support.
* ntpd/ntp_proto.c (init_proto): Initialize pps_enable to 0, not 1.
* ntpd/ntp_loopfilter.c (CLOCK_HUFFPUFF): Added.
Add huff-n-puff filter variables.
(local_clock): Lose "pps sync enabled" log noise.
(huffpuff): Added.
(loop_config): LOOP_MINPOLL and LOOP_ALLAN were missing the
trailing break; add LOOP_HUFFPUFF.
* ntpd/ntp_config.c: tinker huffpuff added.
(getconfig): CONF_CLOCK_HUFFPUFF support.
* include/ntpd.h: huffpuff() declaration.
* include/ntp_config.h (CONF_CLOCK_HUFFPUFF): Added.
* include/ntp.h (HUFFPUFF): Added.
(LOOP_HUFFPUFF): Added.
From: Dave Mills.
2001-05-11 Harlan Stenn <[email protected]>
* html/driver20.htm: Reality check.
* ntpd/refclock_nmea.c: Comment cleanup
From: John Woolner <[email protected]>
* html/release.htm: Cleanup (at least).
* html/refclock.htm: Cleanup (at least).
* html/kern.htm: Cleanup (at least).
* html/index.htm: Cleanup (at least).
* html/extern.htm: Cleanup (at least).
* html/driver1.htm: Cleanup (at least).
* html/debug.htm: Cleanp (at least).
* html/accopt.htm: KoD documentation update.
From: Dave Mills.
* configure.in: 4.0.99k34
* ntpd/ntp_util.c (record_loop_stats): values are now passed in.
* ntpd/ntp_loopfilter.c (local_clock): pass the values to
record_loop_stats().
* include/ntpd.h: Pass the parameters in to record_loop_stats().
With the discipline loop opened (disable ntp) the local clock
updates were not being sent to loopstats. That now is.
From: Dave Mills.
2001-05-10 Harlan Stenn <[email protected]>
* configure.in: 4.0.99k33
* ntpd/ntp_proto.c (receive): Validate the source port. Lose
NTPv1 support.
* ntpd/ntp_loopfilter.c (local_clock): Sanity check sys_poll
earlier instead of later.
From: Dave Mills.
* ntpd/refclock_oncore.c (oncore_msg_any): We don't always have
GETTIMEOFDAY().
2001-05-09 Harlan Stenn <[email protected]>
* ntpd/refclock_shm.c (shm_poll): Apply JAN_1970 correction after
calling TVTOTS(), just like everybody else does.
From: David Malone <[email protected]>
* ntpd/refclock_ulink.c: fixed 33x quality flag, added more
debugging stuff, updated 33x time code explanation.
From: s.l.smith (via j.c.lang).
2001-05-08 Harlan Stenn <[email protected]>
* configure.in: 4.0.99k32
* ntpd/ntp_loopfilter.c: rstclock now takes a 3rd argument, the
last offset.
(init_loopfilter): Use it.
(local_clock): Use it. Clean up the code.
(loop_config): Use it.
(rstclock): Implement it. Clean up the code.
From Dave Mills.
2001-05-06 Harlan Stenn <[email protected]>
* configure.in: 4.0.99k31
* ntpdc/ntpdc_ops.c (sysstats): That's 'bad packet format'
(instead of '... length'), and 'packets rejected' (instead of
'limitation rejects'.
* ntpd/ntp_proto.c (receive): PUBKEY fixes. Move KoD stuff to
process_packet().
(process_packet): Move KoD stuff here...
(peer_clear): Unspec the stratum, too.
(clock_filter): Don't update peer->epoch here. Fix the filter
test when checking the epoch.
(fast_xmit): Send back STRATUM_UNSPEC on a KoD packet.
(init_proto): Initialize sys_jitter.
* ntpd/ntp_loopfilter.c: rstclock() takes 2 parameters now.
(init_loopfilter): Use it...
(local_clock): Ditto, and change the "mu" calculation. Improve
the jitter test in S_SYNC. Use peer->epoch (not current_time) to
update the last_time. Update debug info.
(rstclock): 2nd arg - the epoch to use. Use it.
(loop_config): update call to rstclock.
From: Dave Mills.
2001-05-01 Harlan Stenn <[email protected]>
* ports/winnt/ntpd/ntpd.dsp: Add cmd_args.c
From: Wink Saville <[email protected]>
2001-04-29 Harlan Stenn <[email protected]>
* ntpq/ntpq.c (tstflags): 11 now.
From: John Cochran <[email protected]>
* ntpd/ntp_proto.c (receive): KoD updates. Improve the comments.
Lose the AM_PROCPKT restrictions test.
(peer_xmit): Check/report on no encryption key in packet.
(fast_xmit): Use peer_xmit's new packet length check code.
From Dave Mills.
2001-04-28 Harlan Stenn <[email protected]>
* configure.in: 4.0.99k30
2001-04-27 Harlan Stenn <[email protected]>
* ntpdc/ntpdc_ops.c: Added "kod", lost "demobilize".
* ntpd/ntp_config.c: Added "kod" keyword. Lose "demobilize" keyword.
* html/release.htm: Updated.
* html/accopt.htm: Updated.
From: Dave Mills.
* ntpq/ntpq.c: Reorder and add some TEST flag bits.
* ntpd/ntp_proto.c (transmit): Also bail if access denied.
(receive): Lose RES_DEMOBILIZE and (some?) RES_DONTSERVE and
RES_LIMITIED stuff. Update Kiss-Of-Death (KoD) docs.
Call fast_xmit with new 3rd parameter (restrict_mask).
Before checking for an authentic packet, check the restrict_mask
for RES_{DONTSERVE,LIMITED,NOPEER}.
Check restrictions in AM_PROCPKT case.
(peer_clear): Don't lose the stratum if the peer->flags don't
indicate FLAG_REFCLOCK.
(fast_xmit): Take restrict mask as a new argument, and handle
KoD. Reorder some code.
From: Dave Mills.
2001-04-26 Harlan Stenn <[email protected]>
* ntpdc/ntpdc_ops.c: restrict/unrestrict support for version and
demobilize. Implement demobilze.
* ntpd/ntp_proto.c (receive): Improve version testing, including
RES_DEMOBILIZE support.
(fast_xmit): Patches to kiss-of-death packet.
* ntpd/ntp_loopfilter.c (local_clock): S_SYNC case now also checks
abs(clock_offset) against CLOCK_PGATE*sys_jitter.
* ntpd/ntp_config.c: CONF_RES_DEMOBILIZE/demobilize support.
* include/ntp_config.h (CONF_RES_DEMOBILIZE): Added.
* include/ntp.h (RES_DEMOBILIZE): Added.
From Dave Mills.
2001-04-25 Harlan Stenn <[email protected]>
* html/accopt.htm: Document the "version" parameter
From Dave Mills.
* ntpd/ntp_proto.c (fast_xmit): Implement DENY mode.
From Dave Mills.
* ntpd/ntp_config.c: Add the "allan" tinker variable.
From: Juha Sarlin <[email protected]>
* ntpd/refclock_hopfpci.c (hopfpci_start): Lose the "correct_any"
stuff - it's both obsolete and wrong.
* ntpd/ntp_proto.c (receive): Keep track of packet versions.
Implement RES_LIMITED.
* include/ntp_config.h (CONF_RES_LIMITED):
* include/ntp.h (RES_LIMITED): Leave the bits in the original
order.
From Dave Mills.
* util/timetrim.c:
* util/Makefile.am:
* ntpdc/ntpdc_ops.c:
* ntpd/refclock_nmea.c:
* libntp/snprintf.c:
* configure.in:
* configure:
* config.h.in:
* aclocal.m4:
* acconfig.h:
Lint cleanup from: Marc Brett <[email protected]>
* ntpd/ntp_config.c: Add "version" support.
(getconfig): version support.
* include/ntp_config.h (CONF_RES_VERSION): Added.
* include/ntp.h (RES_VERSION): Added.
From: Dave Mills.
* include/ntp_machine.h (ifreq): WinNT cleanup
2001-04-23 Harlan Stenn <[email protected]>
* configure.in: 4.0.99k29
* html/miscopt.htm: Document the "allan" tinker variable.
* ntpd/ntp_proto.c (clock_filter): Update comments. Lose etemp;
we now use allan_xpt for this.
* ntpd/ntp_loopfilter.c: Added allan_xpt as a tinker variable.
Reorganize variables and improve comments.
(local_clock): Improve comments, use (new) allan_xpt instead of
CLOCK_ALLAN. Fix test in S_SYNC state. Update debug info.
(rstclock): No longer force allan_xpt to CVLOCK_ALLAN in S_FREQ,
S_SYNC, or default case.
(loop_config): Document dangerous tinker variables, and add
LOOP_ALLAN to the list.
* include/ntp_config.h (CONF_CLOCK_ALLAN): Added.
* include/ntp.h (LOOP_ALLAN): Added.
Allan intercept fixes from Dave Mills.
* scripts/mkver.in: Use the C locale so the dates come out in a
consistent format.
From: ASANO Naoyuki <[email protected]>
* build: Run "config.status" before the "make" because it probably
saves time and trouble. Probably...
* flock-build: Try building sequentially.
2001-04-22 Harlan Stenn <[email protected]>
* configure.in (ac_cv_make_tickadj): Fix it right...
* util/ntp-genkeys.c: extern config_netinfo, too.
* util/hist.c:
* ntptrace/ntptrace.c:
* ntpq/ntpq.c:
* ntpdc/ntpdc.c:
* ntpdate/ntptimeset.c:
* ntpdate/ntpdate.c:
* ntpd/refclock_parse.c:
* ntpd/refclock_msfees.c:
* ntpd/refclock_jupiter.c:
* ntpd/ntp_refclock.c:
* ntpd/ntp_io.c:
* libparse/clk_wharton.c:
* libparse/clk_varitext.c:
* libparse/clk_trimtaip.c:
* libparse/clk_schmid.c:
* libparse/clk_rcc8000.c:
* libparse/clk_rawdcf.c:
* libparse/clk_meinberg.c:
* libparse/clk_hopf6021.c:
* libparse/clk_dcf7000.c:
* libparse/clk_computime.c:
Lint. From: Simon Burge <[email protected]>
2001-04-21 Harlan Stenn <[email protected]>
* ntpd/refclock_nmea.c (nmea_receive): Fixes.
From: John Woolner <[email protected]>
* util/ntp-genkeys.c: Declare check_netinfo, don't define it.
From: Jack Bryans <[email protected]>
* configure.in (RSASRCS): rsaref2 needs digit.h (I thought I fixed
this already).
* configure.in (CFLAGS): Disable -Wconversion, enable
-Wmissing-prototypes, and allow for -Werror.
From: Simon Burge <[email protected]>
* util/ntp-genkeys.c (main): Reset the standard mask so the
symlinks are created with the standard mask.
* configure.in: 4.0.99k28
* ntpd/ntpd.c (ntpdmain): Use mode_t for umask value.
* util/ntp-genkeys.c: Create files with the right umask.
* util/ntp-genkeys.c: config_file should be declared, not defined.
* ntpd/refclock_mx4200.c (mx4200_pps): debug cleanup.
* ntpd/refclock_hopfser.c: If we're not using it, provide the _bs.
* ntpd/refclock_heath.c (heath_receive): Add missing "break"
statements.
* ntpd/ntp_proto.c: Lose extra definition of mode_ntpdate.
* librsaref/Makefile.am (nodist_librsaref_a_SOURCES): Put RSASRCS
on the same line as rsaref.h to improve portability.
* libntp/msyslog.c: Lint cleanup.
From: [email protected]
* util/ntp-genkeys.c:
* ntpdate/ntpdate.c:
* ntpd/ntp_config.c: Netinfo header reorder.
From: Jack Bryans <[email protected]>
* configure.in: timespec can be found by looking in goofy places
under SunOS.
2001-04-20 Harlan Stenn <[email protected]>
* ntpd/refclock_nmea.c: PPSAPI cleanup, default to RMC sentences,
handle milliseconds, multiple sentences, other good stuff.
From: John Woolner <[email protected]>, [email protected],
* ntpd/ntp_proto.c (receive): In the AM_NEWBCL case, return in all
cases at the end.
* ntpd/ntp_peer.c (newpeer): Check cast_flags against MDF_BCLNT,
not against MDF_BCAST.
* ntpd/ntp_loopfilter.c (local_clock): Lose debug info.
* ntpd/ntp_crypto.c (crypto_recv): Bugfix.
From: Dave Mills.
* configure.in: 4.0.99k27
* ntpd/ntp_loopfilter.c (local_clock): Check clock_panic > 0.
Check clock_max > 0.
* html/ntpd.htm: Cleanup.
* html/miscopt.htm: Cleanup.
* html/confopt.htm: Cleanup minpoll documentation.
From: Dave Mills.
2001-04-19 Harlan Stenn <[email protected]>
* ntpd/cmd_args.c (getstartup): check_netinfo needs an extern
declaration.
Reported by: Jack Bryans <[email protected]>
* configure.in (ac_cv_make_timetrim): Added.
* util/Makefile.am (bin_PROGRAMS): MAKE_TIMETRIM
Requested by: Jack Bryans <[email protected]>
* configure.in: 4.0.99k26
* util/ntp-genkeys.c:
* ntpd/refclock_oncore.c:
* ntpd/ntp_peer.c:
* libntp/msyslog.c:
* libntp/audio.c:
Lint cleanup.
From: Simon Burge <[email protected]>
* ntpd/ntp_loopfilter.c (local_clock): debug message improvements
from Dave Mills.
* libntp/emalloc.c (emalloc): Tell people we are exiting if we log
an out-of-memory condition.
* util/ntp-genkeys.c (main): Don't allow '#' in a generated MD5
key. Reported by: Dave Tyson <[email protected]>
2001-04-18 Harlan Stenn <[email protected]>
* ntpd/ntp_proto.c (clock_update): minpoll cleanup.
(clock_select): minpoll cleanup.
(clock_filter): Bugfixes from Mark Martinec <[email protected]>
* ntpd/ntp_loopfilter.c (rstclock): minpoll cleanup. Debug cleanup.
* ntpd/ntp_config.c (getconfig): Initialize/bounds check minpoll
using NTP_MINDPOLL insted of sys_minpoll.
From: Dave Mills.
2001-04-17 Harlan Stenn <[email protected]>
* libntp/msyslog.c:
* ElectricFence/page.c (stringErrorReport): Follow Rainer's lead
and use strerror().
* ntpd/refclock_shm.c (shm_start): Always use strerror.
* libntp/msyslog.c (msyslog): Use strerror if present.
From: Rainer Orth <[email protected].
* ntpd/ntp_config.c (getconfig): Read stratum fudge value into
long variable.
From: Rainer Orth <[email protected]>
* libparse/parsesolaris.c (rdchar): Cast ~0 to unsigned long.
* libntp/buftvtots.c (buftvtots): Allow for 8-byte tv_sec, tv_usec
in struct timeval.
From: Rainer Orth <[email protected]>
2001-04-16 Harlan Stenn <[email protected]>
* ntpd/ntp_config.c (getconfig): move "tinker" so it's generally
available.
2001-04-15 Harlan Stenn <[email protected]>
* configure.in: Look for getclock().
* ntpd/ntp_config.c (getconfig): Squawk if provided minpoll or
maxpoll values are out of range.
* ntpd/ntp_proto.c (poll_update): Some operations can only be done
if we're compiling with some REFCLOCKs.
From Dave Mills.
* configure.in (RSASRCS): Added.
* librsaref/Makefile.am (nodist_librsaref_a_SOURCES): Use RSASRCS.
* configure.in: Limit the DECL_HSTRERROR_0 to aix4.3.*. RSN, we
could also limit it to xlc...
* configure.in: 4.0.99k25
* html/leap.htm: Added.
* html/index.htm: Update.
* html/driver7.htm: Update.
* html/driver6.htm: Update.
* html/driver36.htm: Update.
* html/audio.htm: Update.
* html/y2k.htm: Removed.
From Dave Mills.
2001-04-14 Harlan Stenn <[email protected]>
* acconfig.h: Lose extra declarations of PACKAGE and VERSION.
* acconfig.h:
* configure.in:
* include/l_stdlib.h: DECL_HSTRERROR_0 needed for xlc under AIX 4.3.2.
Reported by: Harald Barth <[email protected]>
* ntpd/ntp_proto.c (proto_config): cal_enable (PROTO_CAL) is
invalid if no refclocks are present.
From: Frodo Looijaard <[email protected]>
* README.cvs: On some systems, the -C option fails.
* ntpd/refclock_nmea.c:
* ntpd/ntp_refclock.c:
* html/driver20.htm:
PPSAPI patches for NMEA driver.
From: [email protected]
* README.rsa: Describe RSAEuro support, provide alternate rsa.c
patch.
* configure.in: Check for rsaeuro1, RSAOBJS, RSADIR respectively.
* html/build.htm: Hint at rsaeuro1 directory.
* include/global.h (BYTE): Define.
* librsaref/Makefile.am (nodist_librsaref_a_SOURCES): Removed rsaref2
specific sources.
(librsaref_a_LIBADD): Add appropriate objects.
(librsaref_a_DEPENDENCIES): Work around automake limitation.
(stamp-rsaref): Use RSADIR.
* scripts/README: Document ntp-close.
* scripts/Makefile.am (EXTRA_DIST): Distribute it.
* Makefile.am (DISTCLEANFILES): Remove .warning.
* librsaref/Makefile.am (DISTCLEANFILES): Remove copied/touched
librsaref sources, stamp-rsaref.
* ntpdate/Makefile.am (DISTCLEANFILES): Remove version.c.
* ntpq/Makefile.am (DISTCLEANFILES): Likewise.
* parseutil/Makefile.am (DISTCLEANFILES): Remove $(EXTRA_PROGRAMS).
Rainer Orth <[email protected]>
* ntpd/ntp_control.c: Header cleanup
2001-04-13 Harlan Stenn <[email protected]>
* configure.in: Properly align --help output.
Explain ElectricFence.
From: Rainer Orth <[email protected]>
* ntpd/ntp_loopfilter.c (local_clock): Lose debugging statements.
* ntpd/ntp_proto.c (clock_filter): Rewrite.
From: Dave Mills
* ntpd/ntp_control.c (ctl_getitem): msyslog() possible buffer
overflow exploit.
* configure.in: 4.0.99k24
* html/pic/radio2.jpg:
* html/release.htm:
* html/refclock.htm:
* html/pps.htm:
* html/ntpd.htm:
* html/miscopt.htm:
* html/driver22.htm:
* html/confopt.htm:
Updated documentation from Dave Mills.
* util/ntp-genkeys.c: sys_minpoll.
* ntpd/refclock_atom.c: Comment additions.
* ntpd/ntp_proto.c: mode_ntpdate and peer_ntpdate added.
(transmit): We want 3, not 2, consecutive polls. hpoll logic
cleanup. mode_ntpdate changes.
(receive): When setting up a newpeer, use our sys_minpoll, not the
peer->ppoll.
(clock_update): sys_minpoll changes. Reorder some case 1 code.
Don't exit in case 2.
(poll_update): hpoll cleanup.
(peer_clear): u_rand. Use u_rand to randomize the initial poll.
* ntpd/ntp_peer.c (newpeer): Bump peer_ntpdate if we're in
mode_ntpdate.
* ntpd/ntp_loopfilter.c: Initialize sys_poll and sys_minpoll to
NTP_MINDPOLL.
(local_clock): Clean up some debug/info messages.
(rstclock): Use sys_minpoll.
(loop_config): KERNEL_PLL sanity checks. LOOP_MINPOLL support.
* ntpd/ntp_crypto.c (crypto_recv): Turn off FLAG_AUTOKEY when we
turn off TEST10.
* ntpd/ntp_control.c (ctl_getitem): Buffer overflow check. Clean
up some loop logic.
* ntpd/ntp_config.c: Added "tinker" and "minpoll". Use
sys_minpoll now, instead of old manifest constant.
(save_resolve): Print keyid using decimal, not hex. From Lars-Owe
Ivarsson <[email protected]>
* include/ntpd.h: Added peer_ntpdate and sys_minpoll.
* include/ntp_config.h (CONF_CLOCK_MINPOLL): Added.
* include/ntp.h: keyid cleanup. LOOP_* cleanup.
From Dave Mills.
2001-04-03 Harlan Stenn <[email protected]>
* ntpd/ntp_proto.c (clock_filter): Swell stuff.
From: Mark Martinec <[email protected]>
* ports/winnt/ntpd/ntpd.dsp:
* ports/winnt/ntpd/hopf_PCI_io.c:
* ports/winnt/include/hopf_PCI_io.h:
* ports/winnt/include/config.h:
* ntpd/refclock_hopfser.c:
* ntpd/refclock_hopfpci.c:
* ntpd/refclock_conf.c:
* ntpd/ntp_control.c:
* ntpd/Makefile.am:
* libntp/clocktypes.c:
* include/ntp.h:
* include/hopf6039.h:
* include/Makefile.in:
* include/Makefile.am:
* html/pic/fg6039.jpg:
* html/refclock.htm:
* html/driver39.htm:
* html/driver38.htm:
* html/copyright.htm:
Updated Oncore dudes.
* configure.in:
HOPF drivers and documentation.
From: Bernd Altmeier <[email protected]> (with some light
hacking from Harlan to clean up indentation and lose the // comments)
* ntpd/refclock_oncore.c:
* ntpd/refclock_conf.c: Make it go.
From: Reg Clemens <[email protected]>
* configure.in (openssl): Publish and default to RSAREF; hide
openssl, and only use it if explicitly requested (at least until
we work with it).
2001-04-02 Harlan Stenn <[email protected]>
* html/y2k.htm:
* html/tickadj.htm:
* html/release.htm:
* html/refclock.htm:
* html/quick.htm:
* html/pps.htm:
* html/ntptrace.htm:
* html/ntptime.htm:
* html/ntpq.htm:
* html/ntpdc.htm:
* html/ntpdate.htm:
* html/ntpd.htm:
* html/miscopt.htm:
* html/index.htm:
* html/genkeys.htm:
* html/exec.htm:
* html/driver7.htm:
* html/driver22.htm:
* html/copyright.htm:
* html/confopt.htm:
* html/build.htm:
* html/authopt.htm:
* html/assoc.htm:
Updates from Dave Mills.
2001-04-01 Harlan Stenn <[email protected]>
* configure.in (OPENSSL): Just use -lcrypto.
Reported by Dave Mills.
2001-03-31 Harlan Stenn <[email protected]>
* configure.in: 4.0.99k20
* ntpd/refclock_heath.c: Add support for GC-1000 II.
From Dave Mills.
* ntpd/ntp_proto.c (transmit): Check peer->unreach.
(peer_clear): peer->outdate is a f(BURST_INTERVAL1), not
NTP_MINPOLL.
* ntpd/ntp_loopfilter.c (local_clock): mode_ntpdate stuff.
* ntpd/ntp_crypto.c: OpenSSL/RSAREF support.
* ntpd/cmd_args.c: Use -q, not -z, for mode_ntpdate.
(getstartup): nofork on mode_ntpdate. Usage update.
* include/ntp_crypto.h: OpenSSL/RSAREF support.
From: Dave Mills.
* configure.in (rsaref): Buglet.
2001-03-30 Harlan Stenn <[email protected]>
* ntpd/ntp_proto.c (clock_update): mode_ntpdate support.
* ntpd/ntp_loopfilter.c (local_clock): mode_ntpdate support.
* ntpd/cmd_args.c: Added -z (mode_ntpdate).
* include/ntpd.h: mode_ntpdate added.
* include/ntp_crypto.h: RSAREF/OPENSSL cleanup.
From: Dave Mills.
2001-03-29 Harlan Stenn <[email protected]>
* config.h.in:
* aclocal.m4:
* configure.in: Prepare for OpenSSL support
2001-03-28 Harlan Stenn <[email protected]>
* README.rsa: Note that RSAEURO will not work.
Reported by: [email protected]
2001-03-25 Harlan Stenn <[email protected]>
* include/ntp_if.h:
* include/ntp_machine.h:
* include/ntp_unixtime.h:
* libntp/humandate.c:
* libntp/iosignal.c:
* libntp/mktime.c:
* libntp/prettydate.c:
* libntp/systime.c:
* libntp/tvtoa.c:
* libntp/uglydate.c:
* libntp/utvtoa.c:
* libparse/clk_computime.c:
* libparse/clk_dcf7000.c:
* libparse/clk_hopf6021.c:
* libparse/clk_meinberg.c:
* libparse/clk_rawdcf.c:
* libparse/clk_rcc8000.c:
* libparse/clk_schmid.c:
* libparse/clk_trimtaip.c:
* libparse/clk_trimtsip.c:
* libparse/clk_varitext.c:
* libparse/parse.c:
* libparse/parse_conf.c:
* ntpd/check_y2k.c:
* ntpd/ntp_config.c:
* ntpd/ntp_control.c:
* ntpd/ntp_intres.c:
* ntpd/ntp_io.c:
* ntpd/ntp_loopfilter.c:
* ntpd/ntp_monitor.c:
* ntpd/ntp_proto.c:
* ntpd/ntp_refclock.c:
* ntpd/ntp_request.c:
* ntpd/ntp_resolver.c:
* ntpd/ntp_timer.c:
* ntpd/ntp_util.c:
* ntpd/ntpd.c:
* ntpd/refclock_acts.c:
* ntpd/refclock_arbiter.c:
* ntpd/refclock_arc.c:
* ntpd/refclock_as2201.c:
* ntpd/refclock_atom.c:
* ntpd/refclock_bancomm.c:
* ntpd/refclock_chronolog.c:
* ntpd/refclock_chu.c:
* ntpd/refclock_datum.c:
* ntpd/refclock_dumbclock.c:
* ntpd/refclock_fg.c:
* ntpd/refclock_gpsvme.c:
* ntpd/refclock_heath.c:
* ntpd/refclock_hpgps.c:
* ntpd/refclock_irig.c:
* ntpd/refclock_jupiter.c:
* ntpd/refclock_leitch.c:
* ntpd/refclock_local.c:
* ntpd/refclock_msfees.c:
* ntpd/refclock_mx4200.c:
* ntpd/refclock_nmea.c:
* ntpd/refclock_oncore.c:
* ntpd/refclock_pcf.c:
* ntpd/refclock_pst.c:
* ntpd/refclock_shm.c:
* ntpd/refclock_tpro.c:
* ntpd/refclock_trak.c:
* ntpd/refclock_true.c:
* ntpd/refclock_ulink.c:
* ntpd/refclock_usno.c:
* ntpd/refclock_wwv.c:
* ntpd/refclock_wwvb.c:
* ntpdate/ntpdate.c:
* ntpdate/ntptime_config.c:
* ntpdate/ntptimeset.c:
* ntpdc/ntpdc.c:
* ntpdc/ntpdc_ops.c:
* ntpq/ntpq.c:
* ntpq/ntpq_ops.c:
* ntptrace/ntptrace.c:
* parseutil/testdcf.c:
* util/hist.c:
* util/ntp-genkeys.c:
* util/ntptime.c:
* util/precision.c:
* util/tickadj.c:
time.h and sys/time.h cleanup.
2001-03-24 Harlan Stenn <[email protected]>
* configure.in: '99k19
* ntpd/refclock_atom.c (atom_ppsapi): PPS API RFC alignment patches.
From: Ulrich Windl <[email protected]>
* util/ntptime.c: MNT options
From: Ulrich Windl <[email protected]>
* ntpd/ntp_refclock.c (refclock_newpeer): Lose "extra" free().
From: Ulrich Windl <[email protected]>
* configure.in: 4.0.99k18 and auto* upgrade
2001-03-14 Harlan Stenn <[email protected]>
* ntpdc/ntpdc_ops.c (printpeer): No more "valid".
* ntpd/ntp_request.c (peer_info): No more "valid".
* ntpd/ntp_refclock.c (refclock_transmit): valid/hpoll cleanup.
* ntpd/ntp_proto.c (transmit): valid/hpoll and peer->ttl cleanup.
peer->valid/oreach cleanup.
(receive): Call newpeer() with the pkt->ppoll, not
NTP_MINDPOLL (in several places).
In AM_NEWPASS, if we have a NULL peer, return.
(poll_update): Added xpoll definition, fixed oldpoll definition.
Algorithmic improvements.
* ntpd/ntp_peer.c (newpeer): Better minpoll/maxpoll
initialization.
(resetmanycast): That's a poll_update() on an MDF_ACAST, not a
poll_clear().
* ntpd/ntp_crypto.c: include <fcntl.h>.
(crypto_recv): Leave the crypto_flags alone when wiggling the
peer-> stuff.
(crypto_cert): Make room for daddy. Do a real open() on the cert
file. Read the cert. Initial hack and slash. Better debug info.
* ntpd/ntp_control.c: CP_VALID now does "unreach".
(ctl_putpeer): Ditto.
* include/ntp_request.h: info_peer gets a placeholder for "valid".
* include/ntp_crypto.h (CRYPTO_FLAG_CERT): Comment update.
* include/ntp.h: Lose "valid" from struct peer.
From: Dave Mills.
2001-03-05 Harlan Stenn <[email protected]>
* ntpd/ntp_proto.c (transmit): hpoll calc logic cleanup.
(receive): New cert stuff.
(poll_update): Improvements.
(peer_clear): New cert stuff.
(peer_xmit): New cert stuff.
* ntpd/ntp_crypto.c: New cert stuff, documentation cleanup. Lose
extraneous poll_uopdate()s.
* ntpd/ntp_control.c: Deal with new cert stuff.
* ntpd/ntp_config.c (getconfig): Handle CONF_CRYPTO_CERT.
* include/ntp_crypto.h (CRYPTO_FLAG_CERT): Added.
(CRYPTO_CERT): Added.
(CRYPTO_CONF_CERT): Added.
Add declaration for struct value certif.
* include/ntp_control.h (CS_CERTIF): Added.
(CP_CERTIF): Added.
* include/ntp_config.h (CONF_CRYPTO_CERT): Added.
* include/ntp.h (TEST10,TEST11): New meaning. Add certif to
struct peer.
(FLAG_PROVEN): Added.
(MAX_EXT_LEN): Removed.
exten grew from 672/4 to 5000/4 for PUBKEY.
From: Dave Mills.
2001-03-03 Harlan Stenn <[email protected]>
* ntpd/ntp_proto.c (transmit): Documentation cleanup.
(receive): Watch for NULL peer->pubkey.ptr (TEST11).
(poll_update): peer->nextdate, not ->outdate. More cleanup around
the disabled PUBKEY chunk.
* ntpd/ntp_crypto.c (make_keylist): ltemp might be smaller than
sys_automax - check peer->kpoll, too. Other ltemp cleanup.
(crypto_recv): fstamp is a PUBKEY-only variable.
* include/ntp.h (NTP_AUTOMAX): 13, not 12.
From: Dave Mills.
2001-03-01 Harlan Stenn <[email protected]>
* ntpd/ntp_proto.c (transmit): hpoll cleanup. Call clock_select()
after calling poll_update, not before.
(receive): Call poll_update after crypto_recv if FLAG_SKEY.
(process_packet): Set peer->ppoll Later.