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