mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +00:00
56 lines
1.7 KiB
Plaintext
56 lines
1.7 KiB
Plaintext
#
|
|
# NTP configuration file (ntp.conf)
|
|
# SunOS pogo.udel.edu 5.8 Generic sun4u sparc SUNW,Ultra-1
|
|
#
|
|
server 127.127.6.1 prefer # IRIG from GPS1
|
|
fudge 127.127.6.1 refid GPS1 time1 -.002777 flag2 1
|
|
server 127.127.4.1 # spectracom GPS receiver
|
|
# delays: prop 0.0088 ant .0002 rcvr .0173 = 26.3 ms; os .0035
|
|
fudge 127.127.4.1 refid GPS2 time1 .000221
|
|
server 127.127.22.0 # PPS from GPS2
|
|
fudge 127.127.22.0 flag3 1 # kernel PPS
|
|
#
|
|
# Backups
|
|
#
|
|
server 128.4.1.2 # mizbeaver
|
|
server 128.175.60.175 version 3 # ntp1.nss
|
|
#
|
|
# Services
|
|
#
|
|
manycastclient 239.1.1.1 autokey maxpoll 12 ttl 7
|
|
manycastserver 239.1.1.1
|
|
#
|
|
# Access control stuff
|
|
#
|
|
restrict default noserve # default deny
|
|
restrict 127.0.0.1 # allow local host
|
|
restrict 128.4.0.0 mask 255.255.0.0 # allow DCnet clients
|
|
restrict 128.175.0.0 mask 255.255.0.0 # allow UDel clients
|
|
restrict 140.173.0.0 mask 255.255.0.0 # allow DARTnet/CAIRN clients
|
|
#
|
|
# Authentication stuff
|
|
#
|
|
# Local filesystem
|
|
# /etc/ntpkey -> ntpkey.3171396491
|
|
# /etc/ntpkey.3171396491
|
|
#
|
|
# NFS mounted filesystem
|
|
# /usr/local/etc/ntpkey -> /etc/ntpkey
|
|
# /usr/local/etc/ntpkey_dh -> ntpkey_dh.3171396491
|
|
# /usr/local/etc/ntpkey_dh.3171396491
|
|
# /usr/local/etc/ntpkey_pogo.udel.edu -> ntpkey_pogo.udel.edu.3171396491
|
|
# /usr/local/etc/ntpkey_pogo.udel.edu.3171396491
|
|
#
|
|
crypto privatekey /etc/ntpkey # enable public key
|
|
keys /usr/local/etc/ntp.keys # path for keys file
|
|
trustedkey 3 4 5 14 # define trusted keys
|
|
requestkey 14 # key (7) for accessing server variables
|
|
controlkey 14 # key (6) for accessing server variables
|
|
#
|
|
# Miscellaneous stuff
|
|
#
|
|
driftfile /etc/ntp.drift # path for drift file
|
|
statsdir /var/spool/ntpstats/ # directory for statistics files
|
|
filegen loopstats file loopstats type day enable
|
|
|