xref: /freebsd/contrib/ntp/conf/rackety.conf (revision fcb560670601b2a4d87bb31d7531c8dcc37ee71b)
1#
2# NTP configuration file (ntp.conf)
3# SunOS rackety.u 4.1.3 243 sun4c
4#
5# This is for a dedicated primary server connected to four reference
6# clocks and providing service via multicast, broadcast, manycast and
7# the usual suspects. It blocks previous versions and limits clients
8# per network to two and returnd a kiss-of-death packet if the
9# sender is blocked. Note that the precise fudge factors were
10# determined using the calibrate feature and that the kernel PPS
11# discipline is selected.
12#
13server 127.127.4.0 prefer 	# Spectracom GPS receiver #1
14fudge 127.127.4.0 refid GPS1 time1 -.000097 flag1 1
15server 127.127.4.1 		# Spectracom GPS receiver #2
16fudge 127.127.4.1 refid GPS2 time1 -.000097 flag1 1
17server 127.127.4.2		# Spectracom WWVB receiver #1
18# delays: prop 0.0088 ant .0002 rcvr .0173 = 26.3 ms; os .0035
19fudge 127.127.4.2 refid WVB1 time1 .0021 flag4 1 flag1 1
20server 127.127.4.3		# Spectracom WWVB receiver #2
21# delays: prop 0.0088 ant .0002 rcvr .0173 = 26.3 ms; os .0035
22fudge 127.127.4.3 refid WVB2 time1 .0021 flag4 1 flag1 1
23server 127.127.22.1		# PPS
24fudge 127.127.22.1 flag3 1	# kernel PPS
25#
26# Services
27#
28broadcast 224.0.1.1 autokey	# multicast
29broadcast 128.4.1.255 autokey	# local subnet broadcast
30manycastclient 239.1.1.1 autokey maxpoll 12 ttl 7 # manycast
31manycastserver 239.1.1.1	# manycast
32#
33# Access controls
34#
35restrict default limited version kod # default limit clients per net
36restrict 127.0.0.1		# allow local host
37restrict 128.4.0.0 mask 255.255.0.0 # allow DCnet clients
38restrict 128.175.0.0 mask 255.255.0.0 # allow UDELnet clients
39restrict 140.173.0.0 mask 255.255.0.0 # allow DARTnet/CAIRN clients
40#
41# Authentication stuff
42#
43crypto				# enable public key
44keys /usr/local/etc/ntp.keys	# symmetric keys file
45trustedkey 3 4 5 14		# define trusted keys
46requestkey 14			# key (7) for accessing server variables
47controlkey 14			# key (6) for accessing server variables
48#
49# Miscellaneous stuff
50#
51driftfile /etc/ntp.drift	# frequency offset
52statsdir /rackety/ntpstats/	# directory for statistics files
53filegen peerstats file peerstats type day enable
54filegen loopstats file loopstats type day enable
55filegen clockstats file clockstats type day enable
56
57