forked from ntp-project/ntp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
5010 lines (4828 loc) · 257 KB
/
ChangeLog
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
(4.3.91) 2016/01/24 Released by Harlan Stenn <[email protected]>
From ntp-4.2.8p7:
* [Bug 2994] Systems with HAVE_SIGNALED_IO fail to compile. [email protected]
* [Bug 2995] Fixes to compile on Windows
(4.3.90) 2016/01/20 Released by Harlan Stenn <[email protected]>
From ntp-4.2.8p6:
* [Sec 2935] Deja Vu: Replay attack on authenticated broadcast mode. HStenn.
* [Sec 2936] Skeleton Key: Any trusted key system can serve time. HStenn.
* [Sec 2937] ntpq: nextvar() missing length check. [email protected]
* [Sec 2938] ntpq saveconfig command allows dangerous characters
in filenames. [email protected]
* [Sec 2939] reslist NULL pointer dereference. [email protected]
* [Sec 2940] Stack exhaustion in recursive traversal of restriction
list. [email protected]
* [Sec 2942]: Off-path DoS attack on auth broadcast mode. HStenn.
* [Sec 2945] Zero Origin Timestamp Bypass. [email protected]
* [Sec 2948] Potential Infinite Loop in ntpq ( and ntpdc) [email protected]
* [Bug 2772] adj_systime overflows tv_usec. [email protected]
* [Bug 2814] msyslog deadlock when signaled. [email protected]
- applied patch by [email protected] with minor adjustments
* [Bug 2882] Look at ntp_request.c:list_peers_sum(). [email protected]
* [Bug 2891] Deadlock in deferred DNS lookup framework. [email protected]
* [Bug 2892] Several test cases assume IPv6 capabilities even when
IPv6 is disabled in the build. [email protected]
- Found this already fixed, but validation led to cleanup actions.
* [Bug 2905] DNS lookups broken. [email protected]
- added limits to stack consumption, fixed some return code handling
* [Bug 2971] ntpq bails on ^C: select fails: Interrupted system call
- changed stacked/nested handling of CTRL-C. [email protected]
- make CTRL-C work for retrieval and printing od MRU list. [email protected]
* [Bug 2980] reduce number of warnings. [email protected]
- integrated several patches from Havard Eidnes ([email protected])
* [Bug 2985] bogus calculation in authkeys.c [email protected]
- implement 'auth_log2()' using integer bithack instead of float calculation
* Make leapsec_query debug messages less verbose. Harlan Stenn.
* Disable incomplete t-ntp_signd.c test. Harlan Stenn.
(4.3.89) 2016/01/08 Released by Harlan Stenn <[email protected]>
ntp-4.2.8p5
No changes since 4.3.88.
(4.3.88) 2015/12/06 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p5:
* Quiet a warning from clang. Harlan Stenn.
(4.3.87) 2015/12/05 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p5:
* CID 1341677: Nits in sntp/tests/keyFile.c. HStenn.
* CID 1341678: Nits in sntp/tests/keyFile.c. HStenn.
* CID 1341679: Nits in sntp/tests/keyFile.c. HStenn.
* CID 1341680: Nits in sntp/tests/keyFile.c. HStenn.
* CID 1341681: Nits in sntp/tests/keyFile.c. HStenn.
* CID 1341682: Nit in libntp/authreadkeys.c. HStenn.
* CID 1341684: Nit in tests/ntpd/t-ntp_signd.c. HStenn.
(4.3.86) 2015/12/04 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p5:
* CID 1341527: Quiet a CHECKED_RETURN in sntp/tests/t-log.c. HStenn.
* CID 1341533: Missing assertion in sntp/tests/t-log.c. HStenn.
* CID 1341534: Resource leak in tests/ntpd/t-ntp_signd.c. HStenn.
* CID 1341535: Resource leak in tests/ntpd/t-ntp_signd.c. HStenn.
* CID 1341536: Resource leak in tests/ntpd/t-ntp_signd.c. HStenn.
* CID 1341537: Resource leak in tests/ntpd/t-ntp_signd.c. HStenn.
* CID 1341538: Memory leak in tests/ntpd/ntp_prio_q.c:262. HStenn.
* Header cleanup in tests/sandbox/uglydate.c. Harlan Stenn.
* Header cleanup in tests/libntp/sfptostr.c. Harlan Stenn.
(4.3.85) 2015/12/02 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p5:
* [Bug 2829] Look at pipe_fds in ntpd.c (did so. [email protected])
* [Bug 2887] stratum -1 config results as showing value 99
- fudge stratum only accepts values [0..16]. [email protected]
* [Bug 2944] errno is not preserved properly in ntpdate after sendto call.
- applied patch by Christos Zoulas. [email protected]
* [Bug 2967] ntpdate command suffers an assertion failure
- fixed ntp_rfc2553.c to return proper address length. [email protected]
* [Bug 2971] ntpq bails on ^C: select fails: Interrupted system call
- changed stacked/nested handling of CTRL-C. [email protected]
(4.3.84) 2015/11/26 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p5:
* Libevent autoconf pthread fixes for FreeBSD-10. Harlan Stenn.
(4.3.83) 2015/11/25 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p5:
* Unity test cleanup. Harlan Stenn.
(4.3.82) 2015/11/23 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p5:
* CID 1339955: Free allocated memory in caljulian test. HStenn.
* CID 1339962: Explicitly initialize variable in caljulian test. HStenn.
(4.3.81) 2015/11/21 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p5:
* Unity test cleanup. Harlan Stenn.
(4.3.80) 2015/11/20 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p5:
* [Bug 2958] ntpq: fatal error messages need a final newline. Craig Leres.
* [Bug 2969] Seg fault from ntpq/mrulist when looking at server with
lots of clients. [email protected]
* Unity test cleanup. Harlan Stenn.
(4.3.79) 2015/11/17 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p5:
* [Bug 2932] Update leapsecond file info in miscopt.html. CWoodbury, HStenn.
* [Bug 2957] 'unsigned int' vs 'size_t' format clash. [email protected]
- accept key file only if there are no parsing errors
- fixed size_t/u_int format clash
- fixed wrong use of 'strlcpy'
* [Bug 2962] truncation of size_t/ptrdiff_t on 64bit targets. [email protected]
- fixed several other warnings (cast-alignment, missing const, missing prototypes)
- promote use of 'size_t' for values that express a size
- use ptr-to-const for read-only arguments
- make sure SOCKET values are not truncated (win32-specific)
- format string fixes
* [Bug 2965] Local clock didn't work since 4.2.8p4. Martin Burnicki.
* Unity test cleanup. Harlan Stenn.
(4.3.78) 2015/11/07 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p5:
* [Sec 2956] small-step/big-step. Close the panic gate earlier. HStenn.
* [Bug 2934] tests/ntpd/t-ntp_scanner.c has a magic constant wired in. HMurray
* [Bug 2954] Version 4.2.8p4 crashes on startup with sig fault
- fixed data race conditions in threaded DNS worker. [email protected]
- limit threading warm-up to linux; FreeBSD bombs on it. [email protected]
* Unity cleanup for FreeBSD-6.4. Harlan Stenn.
* Unity test cleanup. Harlan Stenn.
(4.3.77) 2015/10/22 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* [Sec 2899] CVE-2014-9297 [email protected]
* [Sec 2901] Drop invalid packet before checking KoD. Check for all KoD's.
Danny Mayer. Log incoming packets that fail TEST2. Harlan Stenn.
* [Sec 2902] configuration directives "pidfile" and "driftfile"
should be local-only. [email protected] (patch by Miroslav Lichvar)
* [Sec 2909] added missing call to 'free()' in ntp_crypto.c. [email protected]
* [Sec 2913] TALOS-CAN-0052: crash by loop counter underrun. [email protected]
* [Sec 2916] TALOS-CAN-0054: memory corruption in password store. JPerlinger
* [Sec 2917] TALOS-CAN-0055: Infinite loop if extended logging enabled and
the logfile and keyfile are the same. [email protected]
* [Sec 1918] TALOS-CAN-0062: prevent directory traversal for VMS, too, when
using 'saveconfig' command. [email protected]
* [Bug 2919] TALOS-CAN-0063: avoid buffer overrun in ntpq. [email protected]
* [Sec 2020] TALOS-CAN-0064: signed/unsiged clash could lead to buffer overun
and memory corruption. [email protected]
* [Sec 2921] TALOS-CAN-0065: password length memory corruption. JPerlinger.
* [Sec 2922] decodenetnum() will ASSERT botch instead of returning FAIL
on some bogus values. Harlan Stenn.
* [Sec 2941] NAK to the Future: Symmetric association authentication
bypass via crypto-NAK. Patch applied. [email protected]
(4.3.76) 2015/10/05 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* [Bug 2912] no munlockall() under Windows. David Taylor, Harlan Stenn.
(4.3.75) 2015/10/01 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* build system tweaks. Harlan Stenn.
(4.3.74) 2015/09/30 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* [Bug 2332] (reopened) Exercise thread cancellation once before dropping
privileges and limiting resources in NTPD removes the need to link
forcefully against 'libgcc_s' which does not always work. J.Perlinger
* [Bug 2888] streamline calendar functions. [email protected]
* Implement --enable-problem-tests (on by default). Harlan Stenn.
(4.3.73) 2015/09/29 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* More updates for bug 2817. Harlan Stenn.
* Fix bugs in tests/ntpd/ntp_prio_q.c. Harlan Stenn.
* gcc on older HPUX may need +allowdups. Harlan Stenn.
* Disable certain test programs on certain platforms. Harlan Stenn.
(4.3.72) 2015/09/21 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* Unit test dist cleanup. Harlan Stenn.
* Cleanup various test Makefile.am files. Harlan Stenn.
* Pthread autoconf macro cleanup. Harlan Stenn.
* Fix progname definition in unity runner scripts. Harlan Stenn.
* Clean trailing whitespace in tests/ntpd/Makefile.am. Harlan Stenn.
* Update the patch for bug 2817. Harlan Stenn.
(4.3.71) 2015/09/15 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* [Bug 2907] dist* build targets require our libevent/ to be enabled. HStenn.
* Retire google test - phase I. Harlan Stenn.
* Unity test cleanup: move declaration of 'initializing'. Harlan Stenn.
(4.3.70) 2015/08/03 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* [Bug 2889] ntp-dev-4.3.67 does not build on Windows. [email protected]
(4.3.69) 2015/08/01 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* [Bug 2821] minor build issues: fixed refclock_gpsdjson.c. [email protected]
(4.3.68) 2015/07/31 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* [Bug 2890] Ignore ENOBUFS on routing netlink socket. Konstantin Khlebnikov.
(4.3.67) 2015/07/29 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* Added tests/ntpd/ntp_scanner.c test. Damir Tomić.
* Added declarations to all Unity tests, and did minor fixes to them.
Reduced the number of warnings by half. Damir Tomić.
* Updated generate_test_runner.rb and updated the sntp/unity/auto directory
with the latest Unity updates from Mark. Damir Tomić.
(4.3.66) 2015/07/28 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* Typo fix for GCC warning suppression. Harlan Stenn.
(4.3.65) 2015/07/27 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* [Bug 2595] ntpdate man page quirks. Hal Murray, Harlan Stenn.
* [Bug 2625] Deprecate flag1 in local refclock. Hal Murray, Harlan Stenn.
* [Bug 2817] Stop locking ntpd into memory by default under Linux. H.Stenn.
* Wrote tests for ntpd/ntp_prio_q.c. Tomasz Flendrich
* ntpd/ntp_restrict.c: added a few assertions, created tests for this file.
Tomasz Flendrich
* Changed progname to be const in many files - now it's consistent. Tomasz
Flendrich
(4.3.64) 2015/07/26 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* [Bug 2886] Mis-spelling: "outlyer" should be "outlier". [email protected]
* tests/libntp/timevalops.c and timespecops.c fixed error printing. D.Tomić.
* tests/libntp/statestr.c remove empty functions, remove unnecessary include,
fix formatting. Tomasz Flendrich
* tests/libntp/ssl_init.c fixed formatting. Tomasz Flendrich
* tests/libntp/tvtots.c fixed a bug, fixed formatting. Tomasz Flendrich
* tests/libntp/uglydate.c removed an unnecessary include. Tomasz Flendrich
* tests/libntp/vi64ops.c removed an unnecessary comment, fixed formatting.
* tests/libntp/ymd3yd.c removed an empty function and an unnecessary include,
fixed formatting. Tomasz Flendrich
* tests/libntp/timespecops.c fixed formatting, fixed the order of includes,
removed unnecessary comments, cleanup. Tomasz Flendrich
* tests/libntp/timevalops.c fixed the order of includes, deleted unnecessary
comments, cleanup. Tomasz Flendrich
* tests/libntp/sockaddrtest.h making it agree to NTP's conventions of formatting.
Tomasz Flendrich
* tests/libntp/lfptest.h cleanup. Tomasz Flendrich
* tests/libntp/test-libntp.c fix formatting. Tomasz Flendrich
* sntp/tests/crypto.c is now using proper Unity's assertions, fixed formatting.
Tomasz Flendrich
* sntp/tests/kodDatabase.c added consts, deleted empty function,
fixed formatting. Tomasz Flendrich
* sntp/tests/kodFile.c cleanup, fixed formatting. Tomasz Flendrich
* sntp/tests/packetHandling.c is now using proper Unity's assertions,
fixed formatting, deleted unused variable. Tomasz Flendrich
* sntp/tests/keyFile.c is now using proper Unity's assertions, fixed formatting.
Tomasz Flendrich
* sntp/tests/packetProcessing.c changed from sprintf to snprintf,
fixed formatting. Tomasz Flendrich
* sntp/tests/utilities.c is now using proper Unity's assertions, changed
the order of includes, fixed formatting, removed unnecessary comments.
Tomasz Flendrich
* sntp/tests/sntptest.h fixed formatting. Tomasz Flendrich
* sntp/tests/fileHandlingTest.h.in fixed a possible buffer overflow problem,
made one function do its job, deleted unnecessary prints, fixed formatting.
Tomasz Flendrich
(4.3.63) 2015/07/21 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* [Bug 2883] ntpd crashes on exit with empty driftfile. Miroslav Lichvar.
(4.3.62) 2015/07/20 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* [Bug 2849] Systems with more than one default route may never
synchronize. Brian Utterback. Note that this patch might need to
be reverted once Bug 2043 has been fixed.
* libntp/icom.c: Typo fix. Harlan Stenn.
* util/ntptime.c: initialization nit. Harlan Stenn.
* ntpd/ntp_peer.c:newpeer(): added a DEBUG_REQUIRE(srcadr). Harlan Stenn.
(4.3.61) 2015/07/19 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* Code cleanup. Harlan Stenn.
(4.3.60) 2015/07/16 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* Get rid of the NTP_ prefix on our assertion macros. Harlan Stenn.
(4.3.59) 2015/07/13 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* [Bug 2823] ntpsweep with recursive peers option doesn't work. H.Stenn.
* scripts/lib/NTP/Util.pm: stratum output is version-dependent. Harlan Stenn.
(4.3.58) 2015/07/12 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* [Bug 2875] sntp/Makefile.am: Get rid of DIST_SUBDIRS. libevent must
be configured for the distribution targets. Harlan Stenn.
* br-flock: --enable-local-libevent. Harlan Stenn.
(4.3.57) 2015/07/09 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* Phase 1 deprecation of google test in tests/libntp/. Harlan Stenn.
* Don't build sntp/libevent/sample/. Harlan Stenn.
* tests/libntp/test_caltontp needs -lpthread. Harlan Stenn.
(4.3.56) 2015/07/07 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* [Bug 2873] libevent should not include .deps/ in the tarball. H.Stenn
* sntp/unity/unity.c: Clean up a printf(). Harlan Stenn.
(4.3.55) 2015/07/06 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* [Bug 2874] Don't distribute generated sntp/tests/fileHandlingTest.h. H.Stenn
* sntp/unity/Makefile.am: fix some broken paths. Harlan Stenn.
(4.3.54) 2015/07/05 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* tests/libntp: a_md5encrypt.c, authkeys.c, buftvtots.c, calendar.c, caljulian.c,
caltontp.c, clocktime.c, humandate.c, hextolfp.c, decodenetnum.c - fixed
formatting; first declaration, then code (C90); deleted unnecessary comments;
changed from sprintf to snprintf; fixed order of includes. Tomasz Flendrich
(4.3.53) 2015/07/04 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* [Bug 2866] segmentation fault at initgroups(). Harlan Stenn.
* Phase 1 deprecation of google test in sntp/tests/. Harlan Stenn.
* On some versions of HP-UX, inttypes.h does not include stdint.h. H.Stenn.
* sntp/tests/ function parameter list cleanup. Damir Tomić.
* tests/libntp/ function parameter list cleanup. Damir Tomić.
* tests/ntpd/ function parameter list cleanup. Damir Tomić.
* sntp/unity/unity_config.h: handle stdint.h. Harlan Stenn.
* sntp/unity/unity_internals.h: handle *INTPTR_MAX on old Solaris. H.Stenn.
* tests/libntp/timevalops.c and timespecops.c fixd error printing. D.Tomić.
* tests/libntp/ improvements in code and fixed error printing. Damir Tomić.
* sntp/unity/unity_config.h: Distribute it. Harlan Stenn.
* sntp/libevent/evconfig-private.h: remove generated file from SCM. H.Stenn.
* tests/libntp/lfpfunc.c remove unnecessary include, remove old comments,
fix formatting, cleanup. Tomasz Flendrich
* tests/libntp/lfptostr.c remove unnecessary include, add consts, fix formatting.
Tomasz Flendrich
* tests/libntp/modetoa.c fixed formatting. Tomasz Flendrich
* tests/libntp/msyslog.c fixed formatting. Tomasz Flendrich
* tests/libntp/numtoa.c deleted unnecessary empty functions, fixed formatting.
Tomasz Flendrich
* tests/libntp/numtohost.c added const, fixed formatting. Tomasz Flendrich
* tests/libntp/refnumtoa.c fixed formatting. Tomasz Flendrich
* sntp/unity/Makefile.am added a missing header. Tomasz Flendrich
(4.3.52) 2015/07/03 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* libntp/emalloc.c: Remove explicit include of stdint.h. Harlan Stenn.
(4.3.51) 2015/07/02 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p4:
* [Bug 2864] 4.2.8p3 fails to compile on Windows. Juergen Perlinger
* [Bug 2867] ntpd with autokey active crashed by 'ntpq -crv'. J.Perlinger
(4.3.50) 2015/07/01 Released by Harlan Stenn <[email protected]>
* internal infrastructure update.
(4.3.49) 2015/06/30 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2846] Report 'unsynchronized' status during the leap second.
Fixed in Martin's changes to Bug 2855. Martin Burnicki.
* [Bug 2860] ntpq ifstats sanity check is too stringent. Frank Kardel.
* README.leapsmear added. Martin Burnicki.
* README.leapsmear edited. Harlan Stenn.
* tests/libntp/msyslog.c: fixed a gcc warning. Tomasz Flendrich.
* ntpd/ntp.conf.def: Document DSCP and leapsmearinterval. Harlan Stenn.
* html/miscopt.html: Document leapsmearinterval, other cleanup. Harlan Stenn.
(4.3.48) 2015/06/28 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 1060] Buffer overruns in libparse/clk_rawdcf.c. Helge Oldach.
* [Bug 2859] Improve raw DCF77 robustness deconding. Frank Kardel.
(4.3.47) 2015/06/27 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2855] Report leap smear in the REFID. Harlan Stenn.
* [Bug 2856] ntpd should wait() on terminated child processes. Paul Green.
* [Bug 2857] Stratus VOS does not support SIGIO. Paul Green.
* html/drivers/driver22.html: typo fix. Harlan Stenn.
* refidsmear test cleanup. Tomasz Flendrich.
* refidsmear function support and tests. Harlan Stenn.
* sntp/tests/Makefile.am: remove g_nameresolution.cpp as it tested
something that was only in the 4.2.6 sntp. Harlan Stenn.
* Modified tests/bug-2803/Makefile.am so it builds Unity framework tests.
Damir Tomić
* Modified tests/libtnp/Makefile.am so it builds Unity framework tests.
Damir Tomić
* Modified sntp/tests/Makefile.am so it builds Unity framework tests.
Damir Tomić
* tests/sandbox/smeartest.c: Harlan Stenn, Damir Tomic, Juergen Perlinger.
* Converted from gtest to Unity: tests/bug-2803/. Damir Tomić
* Converted from gtest to Unity: tests/libntp/ a_md5encrypt, atoint.c,
atouint.c, authkeys.c, buftvtots.c, calendar.c, caljulian.c,
calyearstart.c, clocktime.c, hextoint.c, lfpfunc.c, modetoa.c,
numtoa.c, numtohost.c, refnumtoa.c, ssl_init.c, statestr.c,
timespecops.c, timevalops.c, uglydate.c, vi64ops.c, ymd2yd.c.
Damir Tomić
* Converted from gtest to Unity: sntp/tests/ kodDatabase.c, kodFile.c,
networking.c, keyFile.c, utilities.cpp, sntptest.h,
fileHandlingTest.h. Damir Tomić
(4.3.46) 2015/06/25 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2855] Parser fix for conditional leap smear code. Harlan Stenn.
(4.3.45) 2015/06/24 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2855] Implement conditional leap smear code. Martin Burnicki.
* [Bug 2855] leap smear cleanup. Harlan Stenn.
* Initial support for experimental leap smear code. Harlan Stenn.
* automake-1.15 cleanup for sntp/tests/fileHandlingTest.h.in . Harlan Stenn.
(4.3.44) 2015/06/22 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* Initial support for experimental leap smear code. Harlan Stenn.
* Unity cleanup.
(4.3.43) 2015/06/21 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2852] 'make check' can't find unity.h. Hal Murray.
* [Bug 2854] Missing brace in libntp/strdup.c. Masanari Iida.
* Fixes to sntp/tests/fileHandlingTest.h.in. Harlan Stenn.
* Unity cleanup.
(4.3.42) 2015/06/17 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* Unity cleanup.
(4.3.41) 2015/06/14 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2778] Make "apeers" output otherwise match "peers" output.
* update bootstrap for Unity.
* Disable IPv6 refid test due to probable endian issue.
(4.3.40) 2015/06/13 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2845] Harden memory allocation in ntpd.
* Unity test framework
(4.3.39) 2015/06/12 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2843] make check fails on 4.3.36
Fixed compiler warnings about numeric range overflow
(The original topic was fixed in a byplay to bug#2830)
(4.3.38) 2015/06/11 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2778] Implement "apeers" ntpq command to include associd.
(4.3.37) 2015/06/08 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey
Update autokey data ASAP when 'sys_tai' changes.
Fix unit test that was broken by changes for autokey update.
Avoid potential signature length issue and use DPRINTF where possible
in ntp_crypto.c.
(4.3.36) 2015/06/07 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2836] DFC77 patches from Frank Kardel to make decoding more
robust, and require 2 consecutive timestamps to be consistent.
* [Bug 2842] Bug in mdoc2man.
* sntp/scripts/genLocInfo: treat raspbian as debian.
(4.3.35) 2015/06/05 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey
NTPD transfers the current TAI (instead of an announcement) now.
This might still needed improvement.
* [Bug 2837] add test for DSCP to ntpd/complete.conf.in
* [Bug 2842] Glitch in ntp.conf.def documentation stanza.
* Report select() debug messages at debug level 3 now.
(4.3.34) 2015/06/04 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2824] Convert update-leap to perl. (also see 2769)
* [Bug 2832] refclock_jjy.c supports the TDC-300.
* [Bug 2834] Correct a broken html tag in html/refclock.html
* [Bug 2837] Allow a configurable DSCP value.
(4.3.33) 2015/05/12 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* 4.2.8p3-RC1
* [Bug 2745] ntpd -x steps clock on leap second
Do leap second stepping only of the step adjustment is beyond the
proper jump distance limit and step correction is allowed at all.
(4.3.32) 2015/05/09 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2792] If the IFF_RUNNING interface flag is supported then an
interface is ignored as long as this flag is not set since the
interface is not usable (e.g., no link).
* [Bug 2808] GPSD_JSON driver enhancements, step 1.
Increase internal token buffer to parse all JSON data, even SKY.
(4.3.31) 2015/05/08 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* CID 739725: Fix a rare resource leak in libevent/listener.c.
* [Bug 2750] build for Win64
Building for 32bit of loopback ppsapi needs def file
* [Bug 2808] GPSD_JSON driver enhancements, step 1.
Increase internal token buffer to parse all JSON data, even SKY.
Defer logging of errors during driver init until the first unit is
started, so the syslog is not cluttered when the driver is not used.
* [Bug 2821] Add a missing NTP_PRINTF and a missing const.
* Add an assert to the ntpq ifstats code.
* Clean up the RLIMIT_STACK code.
(4.3.30) 2015/05/07 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2825] Quiet file installation in html/ .
(4.3.29) 2015/05/05 Released by Harlan Stenn <[email protected]>
(4.3.28) 2015/05/04 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2822] New leap column in sntp broke NTP::Util.pm.
(4.3.27) 2015/05/03 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* Windows port build cleanup.
(4.3.26) 2015/05/02 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* CID 1296235: Fix refclock_jjy.c and correcting type of the driver40-ja.html
(4.3.25) 2015/05/01 Released by Harlan Stenn <[email protected]>
* [Bug 2818] refclock_shm.c missing a line from -stable version.
Below are from 4.2.8p3:
* [Bug 2590] autogen-5.18.5.
* [Bug 2650] fix includefile processing.
(4.3.24) 2015/04/30 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2745] ntpd -x steps clock on leap second
Do leap second stepping only of the step adjustment is beyond the
proper jump distance limit and step correction is allowed at all.
* [Bug 2806] refclock_jjy.c supports the Telephone JJY
* [Bug 2808] GPSD_JSON driver enhancements, step 1
Various improvements, see http://bugs.ntp.org/2808 for details.
Changed libjsmn to a more recent version.
fix coverity issues with refclock_gpsdjson and refclock_shm
Add a few more tallies as per Hal Murray's suggestions
(4.3.23) 2015/04/29 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2805] ntpd fails to join multicast group.
(4.3.22) 2015/04/28 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2612] restrict: Warn when 'monitor' can't be disabled because
of 'limited'.
(4.3.21) 2015/04/27 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2776] Clean up EVP_MD_do_all_sorted() test.
* [Bug 2813] HP-UX needs -D__STDC_VERSION__=199901L and limits.h.
* [Bug 2815] net-snmp before v5.4 has circular library dependencies.
(4.3.20) 2015/04/26 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* CID 1295478: Quiet a pedantic potential error from the fix for Bug 2776.
* CID 1269537: Clean up a line of dead code in getShmTime().
* ntpq.c cleanup.
* Improve the ntpq documentation around the controlkey keyid.
* autogen-5.18.5.
(4.3.19) 2015/04/25 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2804] Fix regression in previous fix.
(4.3.18) 2015/04/24 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2776] Improve ntpq's 'help keytype'.
* [Bug 2800] refclock_true.c true_debug() can't open debug log because
of incompatible open/fdopen parameters.
* [Bug 2804] install-local-data assumes GNU 'find' semantics.
(4.3.17) 2015/04/23 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2776] Improve ntpq's 'help keytype' on pre-OpenSSL 1.0.
(4.3.16) 2015/04/22 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2776] Improve ntpq's 'help keytype'.
* [Bug 2794] Clean up kernel clock status reports.
(4.3.15) 2015/04/20 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p3:
* [Bug 2804] install-local-data assumes GNU 'find' semantics.
* [Bug 2808] GPSD_JSON driver enhancements, step 1.
Various improvements, see http://bugs.ntp.org/2808 for details.
Changed libjsmn to a more recent version.
* [Bug 2810] refclock_shm.c memory barrier code needs tweaks for QNX.
(4.3.14) 2015/04/07 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p2:
* [Sec 2779] ntpd accepts unauthenticated packets with symmetric key crypto.
* [Sec 2781] Authentication doesn't protect symmetric associations against
DoS attacks.
(4.3.13) 2015/04/03 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p2:
* [Bug 2763] Fix for different thresholds for forward and backward steps.
(4.3.12) 2015/04/02 Released by Harlan Stenn <[email protected]>
* [Bug 2795] fixed some minor warnings.
Below are from 4.2.8p2:
* [Bug 2788] New flag -G (force_step_once).
* [Bug 2592] FLAG_TSTAMP_PPS cleanup for refclock_parse.c.
* [Bug 2794] Clean up kernel clock status reports.
* [Bug 2795] Cannot build without OpenSLL (on Win32).
Provided a Win32 specific wrapper around libevent/arc4random.c.
* [Bug 2796] ntp-keygen crashes in 'getclock()' on Win32.
* [Bug 2797] ntp-keygen trapped in endless loop for MD5 keys
on big-endian machines.
* [Bug 2798] sntp should decode and display the leap indicator.
* Simple cleanup to html/build.html
(4.3.11) 2015/03/29 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p2:
* [Bug 2346] "graceful termination" signals do not do peer cleanup.
* [Bug 2769] cleannup for update-leap
(4.3.10) 2015/03/22 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p2:
* [Bug 1787] DCF77's formerly "antenna" bit is "call bit" since 2003.
* [Bug 2769] New script: update-leap
* [Bug 2777] Fixed loops and decoding of Meinberg GPS satellite info.
Removed non-ASCII characters from some copyright comments.
Removed trailing whitespace.
Updated definitions for Meinberg clocks from current Meinberg header files.
Now use C99 fixed-width types and avoid non-ASCII characters in comments.
Account for updated definitions pulled from Meinberg header files.
Updated comments on Meinberg GPS receivers which are not only called GPS16x.
Replaced some constant numbers by defines from ntp_calendar.h
Modified creation of parse-specific variables for Meinberg devices
in gps16x_message().
Reworked mk_utcinfo() to avoid printing of ambiguous leap second dates.
Modified mbg_tm_str() which now expexts an additional parameter controlling
if the time status shall be printed.
* [Bug 2789] Quiet compiler warnings from libevent.
* [Bug 2790] If ntpd sets the Windows MM timer highest resolution
pause briefly before measuring system clock precision to yield
correct results.
* Comment from Juergen Perlinger in ntp_calendar.c to make the code clearer.
* Use predefined function types for parse driver functions
used to set up function pointers.
Account for changed prototype of parse_inp_fnc_t functions.
Cast parse conversion results to appropriate types to avoid
compiler warnings.
Let ioctl() for Windows accept a (void *) to avoid compiler warnings
when called with pointers to different types.
(4.3.9) 2015/03/16 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p2:
* [Bug 2763] Allow different thresholds for forward and backward steps.
(4.3.8) 2015/03/10 Released by Harlan Stenn <[email protected]>
* [Bug 2752] Update for mkver.bat for Windows from David Taylor.
Account for release numbering scheme for 4.3.x and later.
Below are from 4.2.8p2:
* [Bug 2774] Unreasonably verbose printout - leap pending/warning
(4.3.7) 2015/03/07 Released by Harlan Stenn <[email protected]>
* [Bug 2784] Fix for 2782 uses clock_gettime() instead of time().
(4.3.6) 2015/03/06 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p2:
* [Bug 2782] Refactor refclock_shm.c, add memory barrier protection.
(4.3.5) 2015/03/05 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p2:
* [Bug 2783] Quiet autoconf warnings about missing AC_LANG_SOURCE.
(4.3.4) 2015/03/04 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p2:
* [Bug 2773] Early leap announcement from Palisade/Thunderbolt
* [Bug 2775] ntp-keygen.c fails to compile under Windows.
(4.3.3) 2015/02/28 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p2:
* [Bug 2751] jitter.h has stale copies of l_fp macros.
* [Bug 2756] ntpd hangs in startup with gcc 3.3.5 on ARM.
* [Bug 2757] Quiet compiler warnings.
* [Bug 2759] Expose nonvolatile/clk_wander_threshold to ntpq.
* [Bug 2766] ntp-keygen output files should not be world-readable.
* [Bug 2767] ntp-keygen -M should symlink to ntp.keys.
* [Bug 2771] nonvolatile value is documented in wrong units.
(4.3.2) 2015/02/25 Released by Harlan Stenn <[email protected]>
(4.3.1) 2015/02/21 Released by Harlan Stenn <[email protected]>
Below are from 4.2.8p2:
* [Bug 1960] setsockopt IPV6_MULTICAST_IF: Invalid argument.
* [Bug 2728] See if C99-style structure initialization works.
* [Bug 2749] ntp/lib/NTP/Util.pm needs update for ntpq -w, IPv6, .POOL. .
* [Bug 2751] jitter.h has stale copies of l_fp macros.
* [Bug 2757] Quiet compiler warnings.
(4.3.0) 2015/02/11 Released by Harlan Stenn <[email protected]>
From 4.2.8p2:
* [Bug 2747] Upgrade libevent to 2.1.5-beta.
ntp-4.3 begins.
---
* [Bug 2994] Systems with HAVE_SIGNALED_IO fail to compile. [email protected]
* [Bug 2995] Fixes to compile on Windows
---
(4.2.8p6) 2016/01/20 Released by Harlan Stenn <[email protected]>
* [Sec 2935] Deja Vu: Replay attack on authenticated broadcast mode. HStenn.
* [Sec 2936] Skeleton Key: Any trusted key system can serve time. HStenn.
* [Sec 2937] ntpq: nextvar() missing length check. [email protected]
* [Sec 2938] ntpq saveconfig command allows dangerous characters
in filenames. [email protected]
* [Sec 2939] reslist NULL pointer dereference. [email protected]
* [Sec 2940] Stack exhaustion in recursive traversal of restriction
list. [email protected]
* [Sec 2942]: Off-path DoS attack on auth broadcast mode. HStenn.
* [Sec 2945] Zero Origin Timestamp Bypass. [email protected]
* [Sec 2948] Potential Infinite Loop in ntpq ( and ntpdc) [email protected]
* [Bug 2772] adj_systime overflows tv_usec. [email protected]
* [Bug 2814] msyslog deadlock when signaled. [email protected]
- applied patch by [email protected] with minor adjustments
* [Bug 2882] Look at ntp_request.c:list_peers_sum(). [email protected]
* [Bug 2891] Deadlock in deferred DNS lookup framework. [email protected]
* [Bug 2892] Several test cases assume IPv6 capabilities even when
IPv6 is disabled in the build. [email protected]
- Found this already fixed, but validation led to cleanup actions.
* [Bug 2905] DNS lookups broken. [email protected]
- added limits to stack consumption, fixed some return code handling
* [Bug 2971] ntpq bails on ^C: select fails: Interrupted system call
- changed stacked/nested handling of CTRL-C. [email protected]
- make CTRL-C work for retrieval and printing od MRU list. [email protected]
* [Bug 2980] reduce number of warnings. [email protected]
- integrated several patches from Havard Eidnes ([email protected])
* [Bug 2985] bogus calculation in authkeys.c [email protected]
- implement 'auth_log2()' using integer bithack instead of float calculation
* Make leapsec_query debug messages less verbose. Harlan Stenn.
* Disable incomplete t-ntp_signd.c test. Harlan Stenn.
---
(4.2.8p5) 2016/01/07 Released by Harlan Stenn <[email protected]>
* [Sec 2956] small-step/big-step. Close the panic gate earlier. HStenn.
* CID 1339955: Free allocated memory in caljulian test. HStenn.
* CID 1339962: Explicitly initialize variable in caljulian test. HStenn.
* CID 1341527: Quiet a CHECKED_RETURN in sntp/tests/t-log.c. HStenn.
* CID 1341533: Missing assertion in sntp/tests/t-log.c. HStenn.
* CID 1341534: Resource leak in tests/ntpd/t-ntp_signd.c. HStenn.
* CID 1341535: Resource leak in tests/ntpd/t-ntp_signd.c. HStenn.
* CID 1341536: Resource leak in tests/ntpd/t-ntp_signd.c. HStenn.
* CID 1341537: Resource leak in tests/ntpd/t-ntp_signd.c. HStenn.
* CID 1341538: Memory leak in tests/ntpd/ntp_prio_q.c:262. HStenn.
* CID 1341677: Nits in sntp/tests/keyFile.c. HStenn.
* CID 1341678: Nits in sntp/tests/keyFile.c. HStenn.
* CID 1341679: Nits in sntp/tests/keyFile.c. HStenn.
* CID 1341680: Nits in sntp/tests/keyFile.c. HStenn.
* CID 1341681: Nits in sntp/tests/keyFile.c. HStenn.
* CID 1341682: Nit in libntp/authreadkeys.c. HStenn.
* CID 1341684: Nit in tests/ntpd/t-ntp_signd.c. HStenn.
* [Bug 2829] Look at pipe_fds in ntpd.c (did so. [email protected])
* [Bug 2887] stratum -1 config results as showing value 99
- fudge stratum should only accept values [0..16]. [email protected]
* [Bug 2932] Update leapsecond file info in miscopt.html. CWoodbury, HStenn.
* [Bug 2934] tests/ntpd/t-ntp_scanner.c has a magic constant wired in. HMurray
* [Bug 2944] errno is not preserved properly in ntpdate after sendto call.
- applied patch by Christos Zoulas. [email protected]
* [Bug 2952] Symmetric active/passive mode is broken. HStenn.
* [Bug 2954] Version 4.2.8p4 crashes on startup with sig fault
- fixed data race conditions in threaded DNS worker. [email protected]
- limit threading warm-up to linux; FreeBSD bombs on it. [email protected]
* [Bug 2957] 'unsigned int' vs 'size_t' format clash. [email protected]
- accept key file only if there are no parsing errors
- fixed size_t/u_int format clash
- fixed wrong use of 'strlcpy'
* [Bug 2958] ntpq: fatal error messages need a final newline. Craig Leres.
* [Bug 2962] truncation of size_t/ptrdiff_t on 64bit targets. [email protected]
- fixed several other warnings (cast-alignment, missing const, missing prototypes)
- promote use of 'size_t' for values that express a size
- use ptr-to-const for read-only arguments
- make sure SOCKET values are not truncated (win32-specific)
- format string fixes
* [Bug 2965] Local clock didn't work since 4.2.8p4. Martin Burnicki.
* [Bug 2967] ntpdate command suffers an assertion failure
- fixed ntp_rfc2553.c to return proper address length. [email protected]
* [Bug 2969] Seg fault from ntpq/mrulist when looking at server with
lots of clients. [email protected]
* [Bug 2971] ntpq bails on ^C: select fails: Interrupted system call
- changed stacked/nested handling of CTRL-C. [email protected]
- make CTRL-C work for retrieval and printing od MRU list. [email protected]
* Unity cleanup for FreeBSD-6.4. Harlan Stenn.
* Unity test cleanup. Harlan Stenn.
* Libevent autoconf pthread fixes for FreeBSD-10. Harlan Stenn.
* Header cleanup in tests/sandbox/uglydate.c. Harlan Stenn.
* Header cleanup in tests/libntp/sfptostr.c. Harlan Stenn.
* Quiet a warning from clang. Harlan Stenn.
* Update the NEWS file. Harlan Stenn.
* Update scripts/calc_tickadj/Makefile.am. Harlan Stenn.
---
* [Sec 2899] CVE-2014-9297 [email protected]
* [Sec 2901] Drop invalid packet before checking KoD. Check for all KoD's.
Danny Mayer. Log incoming packets that fail TEST2. Harlan Stenn.
* [Sec 2902] configuration directives "pidfile" and "driftfile"
should be local-only. [email protected] (patch by Miroslav Lichvar)
* [Sec 2909] added missing call to 'free()' in ntp_crypto.c. [email protected]
* [Sec 2913] TALOS-CAN-0052: crash by loop counter underrun. [email protected]
* [Sec 2916] TALOS-CAN-0054: memory corruption in password store. JPerlinger
* [Sec 2917] TALOS-CAN-0055: Infinite loop if extended logging enabled and
the logfile and keyfile are the same. [email protected]
* [Sec 1918] TALOS-CAN-0062: prevent directory traversal for VMS, too, when
using 'saveconfig' command. [email protected]
* [Bug 2919] TALOS-CAN-0063: avoid buffer overrun in ntpq. [email protected]
* [Sec 2020] TALOS-CAN-0064: signed/unsiged clash could lead to buffer overun
and memory corruption. [email protected]
* [Sec 2921] TALOS-CAN-0065: password length memory corruption. JPerlinger.
* [Sec 2922] decodenetnum() will ASSERT botch instead of returning FAIL
on some bogus values. Harlan Stenn.
* [Sec 2941] NAK to the Future: Symmetric association authentication
bypass via crypto-NAK. Patch applied. [email protected]
* [Bug 2332] (reopened) Exercise thread cancellation once before dropping
privileges and limiting resources in NTPD removes the need to link
forcefully against 'libgcc_s' which does not always work. J.Perlinger
* [Bug 2595] ntpdate man page quirks. Hal Murray, Harlan Stenn.
* [Bug 2625] Deprecate flag1 in local refclock. Hal Murray, Harlan Stenn.
* [Bug 2817] Stop locking ntpd into memory by default under Linux. H.Stenn.
* [Bug 2821] minor build issues: fixed refclock_gpsdjson.c. [email protected]
* [Bug 2823] ntpsweep with recursive peers option doesn't work. H.Stenn.
* [Bug 2849] Systems with more than one default route may never
synchronize. Brian Utterback. Note that this patch might need to
be reverted once Bug 2043 has been fixed.
* [Bug 2864] 4.2.8p3 fails to compile on Windows. Juergen Perlinger
* [Bug 2866] segmentation fault at initgroups(). Harlan Stenn.
* [Bug 2867] ntpd with autokey active crashed by 'ntpq -crv'. J.Perlinger
* [Bug 2873] libevent should not include .deps/ in the tarball. H.Stenn
* [Bug 2874] Don't distribute generated sntp/tests/fileHandlingTest.h. H.Stenn
* [Bug 2875] sntp/Makefile.am: Get rid of DIST_SUBDIRS. libevent must
be configured for the distribution targets. Harlan Stenn.
* [Bug 2883] ntpd crashes on exit with empty driftfile. Miroslav Lichvar.
* [Bug 2886] Mis-spelling: "outlyer" should be "outlier". [email protected]
* [Bug 2888] streamline calendar functions. [email protected]
* [Bug 2889] ntp-dev-4.3.67 does not build on Windows. [email protected]
* [Bug 2890] Ignore ENOBUFS on routing netlink socket. Konstantin Khlebnikov.
* [Bug 2906] make check needs better support for pthreads. Harlan Stenn.
* [Bug 2907] dist* build targets require our libevent/ to be enabled. HStenn.
* [Bug 2912] no munlockall() under Windows. David Taylor, Harlan Stenn.
* libntp/emalloc.c: Remove explicit include of stdint.h. Harlan Stenn.
* Put Unity CPPFLAGS items in unity_config.h. Harlan Stenn.
* tests/ntpd/g_leapsec.cpp typo fix. Harlan Stenn.
* Phase 1 deprecation of google test in sntp/tests/. Harlan Stenn.
* On some versions of HP-UX, inttypes.h does not include stdint.h. H.Stenn.
* top_srcdir can change based on ntp v. sntp. Harlan Stenn.
* sntp/tests/ function parameter list cleanup. Damir Tomić.
* tests/libntp/ function parameter list cleanup. Damir Tomić.
* tests/ntpd/ function parameter list cleanup. Damir Tomić.
* sntp/unity/unity_config.h: handle stdint.h. Harlan Stenn.
* sntp/unity/unity_internals.h: handle *INTPTR_MAX on old Solaris. H.Stenn.
* tests/libntp/timevalops.c and timespecops.c fixed error printing. D.Tomić.
* tests/libntp/ improvements in code and fixed error printing. Damir Tomić.
* tests/libntp: a_md5encrypt.c, authkeys.c, buftvtots.c, calendar.c, caljulian.c,
caltontp.c, clocktime.c, humandate.c, hextolfp.c, decodenetnum.c - fixed
formatting; first declaration, then code (C90); deleted unnecessary comments;
changed from sprintf to snprintf; fixed order of includes. Tomasz Flendrich
* tests/libntp/lfpfunc.c remove unnecessary include, remove old comments,
fix formatting, cleanup. Tomasz Flendrich
* tests/libntp/lfptostr.c remove unnecessary include, add consts, fix formatting.
Tomasz Flendrich
* tests/libntp/statestr.c remove empty functions, remove unnecessary include,
fix formatting. Tomasz Flendrich
* tests/libntp/modetoa.c fixed formatting. Tomasz Flendrich
* tests/libntp/msyslog.c fixed formatting. Tomasz Flendrich
* tests/libntp/numtoa.c deleted unnecessary empty functions, fixed formatting.
Tomasz Flendrich
* tests/libntp/numtohost.c added const, fixed formatting. Tomasz Flendrich
* tests/libntp/refnumtoa.c fixed formatting. Tomasz Flendrich
* tests/libntp/ssl_init.c fixed formatting. Tomasz Flendrich
* tests/libntp/tvtots.c fixed a bug, fixed formatting. Tomasz Flendrich
* tests/libntp/uglydate.c removed an unnecessary include. Tomasz Flendrich
* tests/libntp/vi64ops.c removed an unnecessary comment, fixed formatting.
* tests/libntp/ymd3yd.c removed an empty function and an unnecessary include,
fixed formatting. Tomasz Flendrich
* tests/libntp/timespecops.c fixed formatting, fixed the order of includes,
removed unnecessary comments, cleanup. Tomasz Flendrich
* tests/libntp/timevalops.c fixed the order of includes, deleted unnecessary
comments, cleanup. Tomasz Flendrich
* tests/libntp/sockaddrtest.h making it agree to NTP's conventions of formatting.
Tomasz Flendrich
* tests/libntp/lfptest.h cleanup. Tomasz Flendrich
* tests/libntp/test-libntp.c fix formatting. Tomasz Flendrich
* sntp/tests/crypto.c is now using proper Unity's assertions, fixed formatting.
Tomasz Flendrich
* sntp/tests/kodDatabase.c added consts, deleted empty function,
fixed formatting. Tomasz Flendrich
* sntp/tests/kodFile.c cleanup, fixed formatting. Tomasz Flendrich
* sntp/tests/packetHandling.c is now using proper Unity's assertions,
fixed formatting, deleted unused variable. Tomasz Flendrich
* sntp/tests/keyFile.c is now using proper Unity's assertions, fixed formatting.
Tomasz Flendrich
* sntp/tests/packetProcessing.c changed from sprintf to snprintf,
fixed formatting. Tomasz Flendrich
* sntp/tests/utilities.c is now using proper Unity's assertions, changed
the order of includes, fixed formatting, removed unnecessary comments.
Tomasz Flendrich
* sntp/tests/sntptest.h fixed formatting. Tomasz Flendrich
* sntp/tests/fileHandlingTest.h.in fixed a possible buffer overflow problem,
made one function do its job, deleted unnecessary prints, fixed formatting.
Tomasz Flendrich
* sntp/unity/Makefile.am added a missing header. Tomasz Flendrich
* sntp/unity/unity_config.h: Distribute it. Harlan Stenn.
* sntp/libevent/evconfig-private.h: remove generated filefrom SCM. H.Stenn.
* sntp/unity/Makefile.am: fix some broken paths. Harlan Stenn.
* sntp/unity/unity.c: Clean up a printf(). Harlan Stenn.
* Phase 1 deprecation of google test in tests/libntp/. Harlan Stenn.
* Don't build sntp/libevent/sample/. Harlan Stenn.
* tests/libntp/test_caltontp needs -lpthread. Harlan Stenn.
* br-flock: --enable-local-libevent. Harlan Stenn.
* Wrote tests for ntpd/ntp_prio_q.c. Tomasz Flendrich
* scripts/lib/NTP/Util.pm: stratum output is version-dependent. Harlan Stenn.
* Get rid of the NTP_ prefix on our assertion macros. Harlan Stenn.
* Code cleanup. Harlan Stenn.
* libntp/icom.c: Typo fix. Harlan Stenn.
* util/ntptime.c: initialization nit. Harlan Stenn.
* ntpd/ntp_peer.c:newpeer(): added a DEBUG_REQUIRE(srcadr). Harlan Stenn.
* Add std_unity_tests to various Makefile.am files. Harlan Stenn.
* ntpd/ntp_restrict.c: added a few assertions, created tests for this file.
Tomasz Flendrich
* Changed progname to be const in many files - now it's consistent. Tomasz
Flendrich
* Typo fix for GCC warning suppression. Harlan Stenn.
* Added tests/ntpd/ntp_scanner.c test. Damir Tomić.
* Added declarations to all Unity tests, and did minor fixes to them.
Reduced the number of warnings by half. Damir Tomić.
* Updated generate_test_runner.rb and updated the sntp/unity/auto directory
with the latest Unity updates from Mark. Damir Tomić.
* Retire google test - phase I. Harlan Stenn.
* Unity test cleanup: move declaration of 'initializing'. Harlan Stenn.
* Update the NEWS file. Harlan Stenn.
* Autoconf cleanup. Harlan Stenn.
* Unit test dist cleanup. Harlan Stenn.
* Cleanup various test Makefile.am files. Harlan Stenn.
* Pthread autoconf macro cleanup. Harlan Stenn.
* Fix progname definition in unity runner scripts. Harlan Stenn.
* Clean trailing whitespace in tests/ntpd/Makefile.am. Harlan Stenn.
* Update the patch for bug 2817. Harlan Stenn.
* More updates for bug 2817. Harlan Stenn.
* Fix bugs in tests/ntpd/ntp_prio_q.c. Harlan Stenn.
* gcc on older HPUX may need +allowdups. Harlan Stenn.
* Adding missing MCAST protection. Harlan Stenn.
* Disable certain test programs on certain platforms. Harlan Stenn.
* Implement --enable-problem-tests (on by default). Harlan Stenn.
* build system tweaks. Harlan Stenn.
---
(4.2.8p3) 2015/06/29 Released by Harlan Stenn <[email protected]>
* [Sec 2853] Crafted remote config packet can crash some versions of
ntpd. Aleksis Kauppinen, Juergen Perlinger, Harlan Stenn.
* [Sec 2853] Initial work on tests/sec-2853/. Harlan Stenn.
* [Bug 1060] Buffer overruns in libparse/clk_rawdcf.c. Helge Oldach.
* [Bug 2846] Report 'unsynchronized' status during the leap second.
Fixed in Martin's changes to Bug 2855. Martin Burnicki.
* [Bug 2859] Improve raw DCF77 robustness deconding. Frank Kardel.
* [Bug 2860] ntpq ifstats sanity check is too stringent. Frank Kardel.
* README.leapsmear added. Martin Burnicki.
* README.leapsmear edited. Harlan Stenn.
* tests/libntp/msyslog.c: fixed a gcc warning. Tomasz Flendrich.
* ntpd/ntp.conf.def: Document DSCP and leapsmearinterval. Harlan Stenn.
* html/miscopt.html: Document leapsmearinterval, other cleanup. Harlan Stenn.
---
(4.2.8p3-RC3) 2015/06/27 Released by Harlan Stenn <[email protected]>
* [Bug 2855] Parser fix for conditional leap smear code. Harlan Stenn.
* [Bug 2855] Report leap smear in the REFID. Harlan Stenn.
* [Bug 2856] ntpd should wait() on terminated child processes. Paul Green.
* [Bug 2857] Stratus VOS does not support SIGIO. Paul Green.
* html/drivers/driver22.html: typo fix. Harlan Stenn.
* refidsmear test cleanup. Tomasz Flendrich.
* refidsmear function support and tests. Harlan Stenn.
* sntp/tests/Makefile.am: remove g_nameresolution.cpp as it tested
something that was only in the 4.2.6 sntp. Harlan Stenn.
* Modified tests/bug-2803/Makefile.am so it builds Unity framework tests.
Damir Tomić
* Modified tests/libtnp/Makefile.am so it builds Unity framework tests.
Damir Tomić
* Modified sntp/tests/Makefile.am so it builds Unity framework tests.
Damir Tomić
* tests/sandbox/smeartest.c: Harlan Stenn, Damir Tomic, Juergen Perlinger.
* Converted from gtest to Unity: tests/bug-2803/. Damir Tomić
* Converted from gtest to Unity: tests/libntp/ a_md5encrypt, atoint.c,
atouint.c, authkeys.c, buftvtots.c, calendar.c, caljulian.c,
calyearstart.c, clocktime.c, hextoint.c, lfpfunc.c, modetoa.c,
numtoa.c, numtohost.c, refnumtoa.c, ssl_init.c, statestr.c,
timespecops.c, timevalops.c, uglydate.c, vi64ops.c, ymd2yd.c.
Damir Tomić
* Converted from gtest to Unity: sntp/tests/ kodDatabase.c, kodFile.c,
networking.c, keyFile.c, utilities.cpp, sntptest.h,
fileHandlingTest.h. Damir Tomić
* Converted from gtest to Unity: sntp/tests/ caltontp.c, humandate.c,
msyslog.c, prettydate.c, recvbuff.c, sfptostr.c, tstotv.c, tvtots.c,
sntp/tests/packetProcessing.c. Tomasz Flendrich
---
(4.2.8p3-RC2) 2015/06/24 Released by Harlan Stenn <[email protected]>
* [Bug 2778] Implement "apeers" ntpq command to include associd.
* [Bug 2805] ntpd fails to join multicast group.
* [Bug 2824] Convert update-leap to perl. (also see 2769)
* [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey
NTPD transfers the current TAI (instead of an announcement) now.
This might still needed improvement.
Update autokey data ASAP when 'sys_tai' changes.
Fix unit test that was broken by changes for autokey update.
Avoid potential signature length issue and use DPRINTF where possible
in ntp_crypto.c.
* [Bug 2832] refclock_jjy.c supports the TDC-300.
* [Bug 2834] Correct a broken html tag in html/refclock.html
* [Bug 2836] DFC77 patches from Frank Kardel to make decoding more
robust, and require 2 consecutive timestamps to be consistent.
* [Bug 2837] Allow a configurable DSCP value.
* [Bug 2837] add test for DSCP to ntpd/complete.conf.in
* [Bug 2842] Glitch in ntp.conf.def documentation stanza.
* [Bug 2842] Bug in mdoc2man.
* [Bug 2843] make check fails on 4.3.36
Fixed compiler warnings about numeric range overflow
(The original topic was fixed in a byplay to bug#2830)
* [Bug 2845] Harden memory allocation in ntpd.
* [Bug 2852] 'make check' can't find unity.h. Hal Murray.
* [Bug 2854] Missing brace in libntp/strdup.c. Masanari Iida.
* [Bug 2855] Implement conditional leap smear code. Martin Burnicki.
* [Bug 2855] leap smear cleanup. Harlan Stenn.
* Initial support for experimental leap smear code. Harlan Stenn.
* Fixes to sntp/tests/fileHandlingTest.h.in. Harlan Stenn.
* Report select() debug messages at debug level 3 now.
* sntp/scripts/genLocInfo: treat raspbian as debian.
* Unity test framework fixes.
** Requires ruby for changes to tests.
* Initial support for PACKAGE_VERSION tests.
* sntp/libpkgver belongs in EXTRA_DIST, not DIST_SUBDIRS.
* tests/bug-2803/Makefile.am must distribute bug-2803.h.
* automake-1.15 cleanup for sntp/tests/fileHandlingTest.h.in . Harlan Stenn.
---
(4.2.8p3-RC1) 2015/05/12 Released by Harlan Stenn <[email protected]>
* CID 739725: Fix a rare resource leak in libevent/listener.c.
* CID 1295478: Quiet a pedantic potential error from the fix for Bug 2776.
* CID 1296235: Fix refclock_jjy.c and correcting type of the driver40-ja.html
* CID 1269537: Clean up a line of dead code in getShmTime().
* [Bug 2590] autogen-5.18.5.
* [Bug 2612] restrict: Warn when 'monitor' can't be disabled because
of 'limited'.
* [Bug 2650] fix includefile processing.
* [Bug 2745] ntpd -x steps clock on leap second
Fixed an initial-value problem that caused misbehaviour in absence of
any leapsecond information.
Do leap second stepping only of the step adjustment is beyond the
proper jump distance limit and step correction is allowed at all.
* [Bug 2750] build for Win64
Building for 32bit of loopback ppsapi needs def file
* [Bug 2776] Improve ntpq's 'help keytype'.
* [Bug 2782] Refactor refclock_shm.c, add memory barrier protection.
* [Bug 2792] If the IFF_RUNNING interface flag is supported then an
interface is ignored as long as this flag is not set since the
interface is not usable (e.g., no link).
* [Bug 2794] Clean up kernel clock status reports.
* [Bug 2800] refclock_true.c true_debug() can't open debug log because
of incompatible open/fdopen parameters.
* [Bug 2804] install-local-data assumes GNU 'find' semantics.
* [Bug 2805] ntpd fails to join multicast group.
* [Bug 2806] refclock_jjy.c supports the Telephone JJY.
* [Bug 2808] GPSD_JSON driver enhancements, step 1.
Fix crash during cleanup if GPS device not present and char device.
Increase internal token buffer to parse all JSON data, even SKY.
Defer logging of errors during driver init until the first unit is
started, so the syslog is not cluttered when the driver is not used.
Various improvements, see http://bugs.ntp.org/2808 for details.
Changed libjsmn to a more recent version.
fix coverity issues with refclock_gpsdjson and refclock_shm
Add a few more tallies as per Hal Murray's suggestions
* [Bug 2810] refclock_shm.c memory barrier code needs tweaks for QNX.
* [Bug 2813] HP-UX needs -D__STDC_VERSION__=199901L and limits.h.
* [Bug 2815] net-snmp before v5.4 has circular library dependencies.
* [Bug 2821] Add a missing NTP_PRINTF and a missing const.
* [Bug 2822] New leap column in sntp broke NTP::Util.pm.
* [Bug 2825] Quiet file installation in html/ .
* [Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey
NTPD transfers the current TAI (instead of an announcement) now.