summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/README13
-rw-r--r--conf/baldwin.conf10
-rw-r--r--conf/beauregard.conf23
-rw-r--r--conf/dewey.conf42
-rw-r--r--conf/grundoon.conf36
-rw-r--r--conf/malarky.conf24
-rw-r--r--conf/pogo.conf44
-rw-r--r--conf/rackety.conf56
8 files changed, 248 insertions, 0 deletions
diff --git a/conf/README b/conf/README
new file mode 100644
index 0000000..327f716
--- /dev/null
+++ b/conf/README
@@ -0,0 +1,13 @@
+README file for directory ./conf of the NTP Version 4 distribution
+
+This directory contains example run-time configuration files for the
+NTP Version 4 daemon ntpd. These files illustrate some of the more
+obtuse configurations you may run into. They are not likely to do
+anything good if run on machines other than their native spot, so don't
+just blindly copy something and put it up. Additional information can
+be found in the ./doc directory of the base directory.
+
+Included also are example public key and symmetric key files produced
+by the ntp-genkeys program with names prefixed by ntpkey. These are
+ordinarily kept in /usr/local/etc and used by the Autokey scheme. See
+the authopt.htm pnd genkeys.htm ages for further information.
diff --git a/conf/baldwin.conf b/conf/baldwin.conf
new file mode 100644
index 0000000..1238ba1
--- /dev/null
+++ b/conf/baldwin.conf
@@ -0,0 +1,10 @@
+#
+# NTP manycast configuration file (ntp.conf) for DCnet hosts
+#
+# Note that the .rnd random seed file must pe in the root
+# directory and the public and private keys in /usr/local/etc.
+#
+manycastclient 239.1.1.1 autokey maxpoll 12
+manycastserver 239.1.1.1
+crypto randfile /.rnd # enable public key
+driftfile /etc/ntp.drift # path for drift file
diff --git a/conf/beauregard.conf b/conf/beauregard.conf
new file mode 100644
index 0000000..72f735b
--- /dev/null
+++ b/conf/beauregard.conf
@@ -0,0 +1,23 @@
+#
+# NTP configuration file (ntp.conf)
+# bearegard.udel.edu
+#
+server 127.127.18.1 # NIST ACTS modem driver
+fudge 127.127.18.1 time1 .0035
+phone atdt913034944774 atdt913034944785 atdt913034944774
+#phone atdt913034944812 atdt913034948497 atdt913034948022
+#
+# Miscellaneous stuff
+#
+driftfile /etc/ntp.drift # path for drift file
+statsdir /beauregard/ntpstats/ # directory for statistics files
+filegen peerstats file peerstats type day enable
+filegen loopstats file loopstats type day enable
+filegen clockstats file clockstats type day enable
+#
+# Authentication stuff
+#
+keys /usr/local/etc/ntp.keys # path for keys file
+trustedkey 3 4 5 6 14 15 # define trusted keys
+requestkey 15 # key (7) for accessing server variables
+controlkey 15 # key (6) for accessing server variables
diff --git a/conf/dewey.conf b/conf/dewey.conf
new file mode 100644
index 0000000..ea4f3d4
--- /dev/null
+++ b/conf/dewey.conf
@@ -0,0 +1,42 @@
+#
+# NTP configuration file (ntp.conf)
+#
+# Generic configuration file for UDel NTP stratum-2 time servers. Don't
+# forget each server should have a /etc/ntp.drift and /etc/ntp.keys file.
+#
+# Stratum-1 peers. Each server should chime two different stratum-1
+# servers from the following list. Each stratum-1 server should be used
+# only once.
+#
+#peer 128.8.10.1 # umd1.umd.edu
+#peer 18.72.0.3 version 2 # bitsy.mit.edu
+peer 132.249.16.1 # fuzz.sdsc.edu
+peer 128.118.46.3 version 2 # otc1.psu.edu
+#peer 128.9.2.129 # wwvb.isi.edu
+#peer 130.43.2.2 version 2 # apple.com
+#peer 16.1.0.22 # clepsydra.dec.com
+#peer 130.105.1.156 version 2 # clock.osf.orga
+#peer 128.96.60.5 version 2 # pi.bellcore.com
+#peer 128.4.1.1 # rackety.udel.edu
+#peer 129.116.3.5 # shorty.chpc.utexas.edu
+#
+# Stratum-2 peers. Each server should chime all of the others in this
+# list except itself.
+#
+peer 128.175.1.1 # huey.udel.edu (VAX)
+#peer 128.175.1.2 # dewey.udel.edu (VAX)
+peer 128.175.1.3 # louie.udel.edu (SPARC)
+peer 128.175.2.15 # snow-white.ee.udel.edu (SPARC)
+peer 128.175.7.4 # sol.cis.udel.edu (SPARC)
+#
+# Miscellaneous stuff
+#
+driftfile /etc/ntp.drift # path for drift file
+#
+# Authentication stuff. Note the different authentication delay on
+# VAX and SPARC.
+#
+keys /usr/local/etc/ntp.keys # path for key file
+trustedkey 1 2 15 # define trusted keys
+requestkey 15 # key (7) for accessing server variables
+controlkey 15 # key (6) for accessing server variables
diff --git a/conf/grundoon.conf b/conf/grundoon.conf
new file mode 100644
index 0000000..eb18b3f
--- /dev/null
+++ b/conf/grundoon.conf
@@ -0,0 +1,36 @@
+#
+# NTP configuration file (ntp.conf)
+# grundoon.udel.edu
+#
+server 127.127.11.1 prefer # Arbiter 1088 GPS receiver
+fudge 127.127.11.1 time1 .00487 flag1 1 flag4 1
+server 127.127.22.1 minpoll 4 # PPS quick poll
+fudge 127.127.22.1 # default use PLL/FLL loop
+
+broadcast 128.4.2.255 key 5 # brpadcast on LAN shared key
+broadcast 239.1.1.2 autokey # multicast on WAN autokey
+
+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
+#
+crypto # 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
diff --git a/conf/malarky.conf b/conf/malarky.conf
new file mode 100644
index 0000000..1475e1e
--- /dev/null
+++ b/conf/malarky.conf
@@ -0,0 +1,24 @@
+#
+# NTP configuration file (ntp.conf)
+#
+# This is for a broadcast/multicast client. Except for the statistics
+# stuff, this can be done with only a commmand line of the form
+#
+# /usr/local/bin/ntpd -a -k /usr/local/bin/ntp.keys -m -t 3
+#
+multicastclient # listen on default 224.0.1.1
+#
+# Miscellaneous stuff
+#
+driftfile /etc/ntp.drift # path for drift file
+statsdir /malarky/ntpstats/ # directory for statistics files
+filegen peerstats file peerstats type day enable
+filegen loopstats file loopstats type day enable
+filegen clockstats file clockstats type day enable
+#
+# Authentication stuff
+#
+keys /usr/local/etc/ntp.keys # path for key file
+trustedkey 3 4 5 6 14 # define trusted keys
+requestkey 14 # key (7) for accessing server variables
+controlkey 14 # key (6) for accessing server variables
diff --git a/conf/pogo.conf b/conf/pogo.conf
new file mode 100644
index 0000000..0dbc58a
--- /dev/null
+++ b/conf/pogo.conf
@@ -0,0 +1,44 @@
+#
+# 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
+#
+crypto # 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
+filegen cryptostats file cryptostats type day enable
diff --git a/conf/rackety.conf b/conf/rackety.conf
new file mode 100644
index 0000000..684e4b7
--- /dev/null
+++ b/conf/rackety.conf
@@ -0,0 +1,56 @@
+#
+# NTP configuration file (ntp.conf)
+# SunOS rackety.u 4.1.3 243 sun4c
+#
+# This is for a dedicated primary server connected to four reference
+# clocks and providing service via multicast, broadcast, manycast and
+# the usual suspects. It blocks previous versions and limits clients
+# per network to two and returnd a kiss-of-death packet if the
+# sender is blocked. Note that the precise fudge factors were
+# determined using the calibrate feature and that the kernel PPS
+# discipline is selected.
+#
+server 127.127.4.0 prefer # Spectracom GPS receiver #1
+fudge 127.127.4.0 refid GPS1 time1 -.000097 flag1 1
+server 127.127.4.1 # Spectracom GPS receiver #2
+fudge 127.127.4.1 refid GPS2 time1 -.000097 flag1 1
+server 127.127.4.2 # Spectracom WWVB receiver #1
+# delays: prop 0.0088 ant .0002 rcvr .0173 = 26.3 ms; os .0035
+fudge 127.127.4.2 refid WVB1 time1 .0021 flag4 1 flag1 1
+server 127.127.4.3 # Spectracom WWVB receiver #2
+# delays: prop 0.0088 ant .0002 rcvr .0173 = 26.3 ms; os .0035
+fudge 127.127.4.3 refid WVB2 time1 .0021 flag4 1 flag1 1
+server 127.127.22.1 # PPS
+fudge 127.127.22.1 flag3 1 # kernel PPS
+#
+# Services
+#
+broadcast 224.0.1.1 autokey # multicast
+broadcast 128.4.1.255 autokey # local subnet broadcast
+manycastclient 239.1.1.1 autokey maxpoll 12 ttl 7 # manycast
+manycastserver 239.1.1.1 # manycast
+#
+# Access controls
+#
+restrict default limited version kod # default limit clients per net
+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 UDELnet clients
+restrict 140.173.0.0 mask 255.255.0.0 # allow DARTnet/CAIRN clients
+#
+# Authentication stuff
+#
+crypto # enable public key
+keys /usr/local/etc/ntp.keys # symmetric 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 # frequency offset
+statsdir /rackety/ntpstats/ # directory for statistics files
+filegen peerstats file peerstats type day enable
+filegen loopstats file loopstats type day enable
+filegen clockstats file clockstats type day enable
+
OpenPOWER on IntegriCloud