xref: /freebsd/contrib/ntp/TODO (revision 3c4ba5f55438f7afd4f4b0b56f88f2bb505fd6a6)
1
2      *** IF YOU CAN HELP FIX ANY OF THESE THINGS, PLEASE DO! ***
3
4010402: Look harder at -lm and -lelf - they are needed less and less...
5
6970711: Look Real Hard at changing the key stuff from u_long to u_int32.
7
8970711: Make sure it's safe to convert proto_config's 2nd argument from
9	u_long to u_int32.  Watch "set" in ntp_request.c:setclr_flags().
10
11970318: in hourly_stats(?), squawk if the magnitude of the drift is,
12	say, >400.
13
14970301: Implement the utmp/wtmp timestamping on time steps.
15
16970210: Find a way to dump the current configuration to either syslog or
17	a file.
18
19Problems that need to be fixed:
20
21- Get rid of the old SYS_* macros:
22  (It's worth noting that any code that would have been "enabled" by any
23  of these macros has not been used since 5.83, and there have been very
24  few complaints...)
25
26  SYS_44BSD:
27   authstuff/md5driver.c
28
29  SYS_BSDI:
30   authstuff/md5driver.c
31
32  SYS_DECOSF1:
33   util/ntptime.c
34
35  SYS_DOMAINOS:
36   parseutil/dcfd.c
37   xntpd/ntpd.c
38
39  SYS_HPUX:
40   kernel/sys/ppsclock.h
41   ntpdate/ntpdate.c
42   ntptrace/ntptrace.c
43
44  SYS_PTX:
45   libntp/machines.c
46
47  SYS_SOLARIS:
48   libparse/parse.c
49   libparse/clk_trimtsip.c
50   xntpd/ntp_io.c
51   xntpd/ntp_refclock.c
52   xntpd/ntpd.c
53
54  SYS_SUNOS4:
55   libparse/parse.c
56   libparse/clk_trimsip.c
57
58  SYS_WINNT:
59   include/ntp.h
60   include/ntp_fp.h
61   include/ntp_if.h
62   include/ntp_machine.h
63   include/ntp_select.h
64   include/ntp_syslog.h
65   include/ntp_unixtime.h
66   include/ntpd.h
67   libntp/libntp.mak
68   libntp/machines.c
69   libntp/mexit.c
70   libntp/msyslog.c
71   libntp/systime.c
72   ntpdate/ntpdate.c
73   ntpdate/ntpdate.mak
74   ntpq/ntpq.c
75   ntpq/ntpq.mak
76   ntpq/ntpq_ops.c
77   ntptrace/ntptrace.c
78   ntptrace/ntptrace.mak
79   xntpd/ntp_config.c
80   xntpd/ntp_filegen.c
81   xntpd/ntp_intres.c
82   xntpd/ntp_io.c
83   xntpd/ntp_loopfilter.c
84   xntpd/ntp_peer.c
85   xntpd/ntp_proto.c
86   xntpd/ntp_refclock.c
87   xntpd/ntp_timer.c
88   xntpd/ntp_unixclock.c
89   xntpd/ntp_util.c
90   xntpd/ntpd.c
91   xntpd/xntpd.mak
92   xntpdc/ntpdc.c
93   xntpdc/xntpdc.mak
94
95- config.guess might need help to identify:
96
97  Fujitsu's UXP				--enable-adjtime-is-accurate
98					--enable-step-slew
99
100  Unixware				--enable-adjtime-is-accurate
101					--enable-tick=10000
102					--enable-tickadj=80
103					--enable-udp-wildcard
104					--disable-step-slew
105
106  DomainOS				--enable-adjtime-is-accurate
107					--disable-kmem
108					--enable-tick=1000000
109
110  OpenVMS				--enable-slew-always
111					--enable-hourly-todr-sync
112
113  Is adjtime accurate on ALL sysv4* machines?
114  Can we identify DomainOS with *-apollo-* ?
115  Do we catch all Unixware machines with *-univel-sysv* ?
116
117- Combine enable-step-slew and enable-ntpdate-step
118
119- Make sure enable-hourly-todr-sync is always disabled
120  What about NextStep and OpenVMS, where hourly TODR sync used to be enabled?
121
122- Check dcfd.c for variables that need to be volatile.
123