summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2014-12-02 09:01:21 +0000
committer <>2014-12-04 16:11:25 +0000
commitbdab5265fcbf3f472545073a23f8999749a9f2b9 (patch)
treec6018dd03dea906f8f1fb5f105f05b71a7dc250a /conf
downloadntp-bdab5265fcbf3f472545073a23f8999749a9f2b9.tar.gz
Imported from /home/lorry/working-area/delta_ntp/ntp-dev-4.2.7p482.tar.gz.ntp-dev-4.2.7p482
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/grundoon.conf36
-rw-r--r--conf/malarky.conf24
-rw-r--r--conf/pogo.conf44
-rw-r--r--conf/rackety.conf56
7 files changed, 206 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..ea80c02
--- /dev/null
+++ b/conf/beauregard.conf
@@ -0,0 +1,23 @@
+#
+# NTP configuration file (ntp.conf)
+# beauregard.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/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
+