From ef64b99e8412f2273dd2e8b3291c2f78ffc4667f Mon Sep 17 00:00:00 2001 From: roberto Date: Thu, 9 Dec 1999 13:01:21 +0000 Subject: Virgin import of ntpd 4.0.98f --- contrib/ntp/conf/README | 17 +++++ contrib/ntp/conf/baldwin.conf | 35 +++++++++ contrib/ntp/conf/beauregard.conf | 23 ++++++ contrib/ntp/conf/dewey.conf | 42 +++++++++++ contrib/ntp/conf/grundoon.conf | 154 +++++++++++++++++++++++++++++++++++++++ contrib/ntp/conf/malarky.conf | 24 ++++++ contrib/ntp/conf/pogo.conf | 30 ++++++++ 7 files changed, 325 insertions(+) create mode 100644 contrib/ntp/conf/README create mode 100644 contrib/ntp/conf/baldwin.conf create mode 100644 contrib/ntp/conf/beauregard.conf create mode 100644 contrib/ntp/conf/dewey.conf create mode 100644 contrib/ntp/conf/grundoon.conf create mode 100644 contrib/ntp/conf/malarky.conf create mode 100644 contrib/ntp/conf/pogo.conf (limited to 'contrib/ntp/conf') diff --git a/contrib/ntp/conf/README b/contrib/ntp/conf/README new file mode 100644 index 0000000..f06e44f --- /dev/null +++ b/contrib/ntp/conf/README @@ -0,0 +1,17 @@ +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. + +See the Config.local.dist file in the base directory for an explanation +of the defines used. + +The files Config.* are used to generate fullblown binaries suitable for +distribution with the systems shown as suffix. While this can result +in some degree of useless code, the degree is small compared to the +size of the baseline code. The files *.conf are representative NTP +run-time configuration files, which normally live in /etc/ntp.conf. diff --git a/contrib/ntp/conf/baldwin.conf b/contrib/ntp/conf/baldwin.conf new file mode 100644 index 0000000..0781825 --- /dev/null +++ b/contrib/ntp/conf/baldwin.conf @@ -0,0 +1,35 @@ +# +# NTP configuration file (ntp.conf) +# baldwin.udel.edu +# +# This illustrates the use of an external clock with the local clock +# driver, as well as a multicast server. The prefer keyword on the +# local clock driver declares an external clock and that the time of +# this server should not be wiggled by an NTP peer, unless the +# external clock comes unstuck. Note the use of the multicast group +# ID assigned to NTP, 224.0.1.1, which identifies this as a multicast +# server rather than a broadcast one. The other NTP peers are known +# stratum-1 chimes intended as backup should the external clock croak. +# +peer 127.127.1.0 prefer # local clock driver +fudge 127.127.12.0 stratum 0 refid GPS +broadcast 224.0.1.1 key 6 ttl 127 +peer rackety.udel.edu # (Sun4c/40 IPC) +peer barnstable.udel.edu # (Sun4c/65 SS1+) +peer mizbeaver.udel.edu #(Bancomm bc700LAN) +peer pogo.udel.edu # (Sun4c/65 SS1+) +# +# Miscellaneous stuff +# +driftfile /etc/ntp.drift # path for drift file +statsdir /baldwin/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/contrib/ntp/conf/beauregard.conf b/contrib/ntp/conf/beauregard.conf new file mode 100644 index 0000000..72f735b --- /dev/null +++ b/contrib/ntp/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/contrib/ntp/conf/dewey.conf b/contrib/ntp/conf/dewey.conf new file mode 100644 index 0000000..ea4f3d4 --- /dev/null +++ b/contrib/ntp/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/contrib/ntp/conf/grundoon.conf b/contrib/ntp/conf/grundoon.conf new file mode 100644 index 0000000..4462923 --- /dev/null +++ b/contrib/ntp/conf/grundoon.conf @@ -0,0 +1,154 @@ +# +# NTP configuration file (ntp.conf) +# grundoon.udel.edu +# +# This machine can best be described as the kitchen sink. It has, in +# addition to the baseboard tty ports ttya and ttyb, an 8-line +# Serial/Parallel Interface (SPIF) with ports ttyz00 through ttyz07. The +# configuration includes the following drivers, clock addresses and Unix +# device names. +# +# Local Clock 127.127.1.0 /dev/audio +# PST 1020 WWV/WWVH Receiver 127.127.3.1 /dev/pst1 +# Spectracom 8170 WWVB Receiver 127.127.4.1 /dev/wwvb1 +# IRIG Audio Decoder 127.127.6.0 /dev/audio +# Scratchbuilt CHU Receiver 127.127.7.1 /dev/chu1 +# NIST ACTS modem 127.127.18.1 /dev/acts1 +# Heath GC-1000 WWV Receiver 127.127.19.1 /dev/pst1 +# PPS Clock 127.127.22.1 none +# +# This machine has the kernel modifications described in the README.kern +# file, as well as the tty_clk, tty_chu and ppsclock streams modules. +# +# Spectracom 8170/Netclock-2 WWVB receiver. This receiver is equipped +# with a 1-pps and IRIG outputs. The 1-pps signal is connected via the +# ppsclock streams module and the carrier detect line of the CHU +# receiver below (ttyb). The IRIG signal is connected via an attenuator +# to the audio port (/dev/audio). The propagation delay computed from +# geographical coordinates is 8.8 ms, while the receiver delay +# calibrated at the factory is 17.3 ms, for a total delay of 26.1 ms. +# This is confirmed within 0.1 ms at the 1-pps signal output using a +# portable cesium clock. We add a fudge time1 of 3.5 ms so the driver +# time agrees with the 1-pps signal to within 1 ms. The fudge flag4 is +# set to cause the receiver to dump the quality table once each day to +# the clockstats file. + +# +#server 127.127.4.1 # /dev/wwvb1 -> /dev/ttyz03 +#fudge 127.127.4.1 time1 0.0035 flag4 1 +# +# IRIG Audio Decoder. The IRGI signal of the Spectracom WWVB receiver is +# connected to the audio codec via a resistor attenuator. We add a fudge +# time1 of 3.5 ms so the driver agrees with the calibrated 1-pps signal +# to within 0.1 ms. We also specify a reference ID of WWVB to indicate +# the signal origin. Note the prefer keyword in the server line, which +# favors this driver over all others that survive the clock selection +# algorithm. See README.refclock for further insight on this feature. +# +server 127.127.6.0 prefer # /dev/audio +fudge 127.127.6.0 time1 0.0005 refid WWVB + +# +# PST/Traconex 1020 WWV/WWVH Receier. The internal DIPswitches are set +# as near as possible to the delays to WWV (8.8 ms) and WWVH (28.1 ms), +# as computed from geographical coordinates. We add a fudge time1 of 5.9 +# ms so the driver time agrees with the 1-pps signal to within 1 ms for +# WWV. We also set the stratum to 1, so this receiver will not normally +# be selected, unless the primary WWVB receiver comes unstuck. +# +server 127.127.3.1 # /dev/pst1 -> ttyz05 +fudge 127.127.3.1 time1 0.0059 stratum 1 + +# +# Scratchbuilt CHU Receiver. The audio signal from a computer controlled +# CHU receiver is connected to a gadget box, which contains a 103A modem +# chip and level converter operating at 300 bps. The propagation delay +# computed from geographical coordinates is 3.0 ms, which is the value +# of the fudge time1 parameter. We add a fudge time2 of 9.9 ms so that +# the driver time agrees with the 1-pps signal to within a few ms, +# ordinarily the best possible with this receiver. The fudge flag3 is +# set because the 1-pps signal happens to be connected vit the carrier +# detect line on this port (ttyb). We also set the stratum to 1, so this +# receiver will not normally be selected, unless the primary WWVB +# receiver comes unstuck. +# +server 127.127.7.1 # /dev/chu1 -> /dev/ttyb +fudge 127.127.7.1 time1 0.0030 time2 0.0099 flag3 1 stratum 1 + +# +# NIST Automated Computer Time Service. This driver calls a special +# telephone number in Boulder, CO, to fetch the time directly from the +# NIST cesium farm. The details of the complicated calling program are +# in the README.refclock file. The Practical Peripherals 9600SA modem +# does not work correctly with the ACTS echo-delay scheme for +# automatically calculating the propagation delay, so the fudge flag2 is +# set to disable the feature. Instead, we add a fudge time1 of 65.0 ms +# so that the driver time agrees with th e1-pps signal to within 1 ms. +# The phone command specifies three alternate telephone numbers, +# including AT modem command prefix, which will be tried one after the +# other at each measurement attempt. In this case, a cron job is used to +# set fudge flag1, causing a measurement attempt, every six hours. +# +server 127.127.18.1 # /dev/acts1 -> /dev/ttyz00 +fudge 127.127.18.1 time1 0.0650 flag2 1 +phone atdt13034944774 atdt13034944785 atdt13034944774 + +# +# Heath GC-1000 Most Accurate Clock. This is a WWV receiver with a +# claimed accuracy better than 100 ms under "hi spec" conditions, but +# such conditions are not frequent. The propagation delay DIPswitchs are +# set to 9 ms, as close as possible to the 8.8 ms computed from +# geographical coordinates. We add a fudge time2 of 40.0 ms so that the +# driver time agrees with the 1-pps signal to within 50 ms, ordinarily +# the best possible with this receiver. We also set the stratum to 1, so +# this receiver will not normally be selected, unless the primary WWVB +# receiver comes unstuck. +# +server 127.127.19.1 # /dev/heath1 -> ttyz07 +fudge 127.127.19.1 time1 0.040 stratum 1 + +# +# Undisciplined Local Clock. This is a fake driver intended for backup +# and when no outside source of synchronized time is available. The +# default stratum is usually 3, but in this case we elect to use stratum +# 0. Since the server line does not have the prefer keyword, this driver +# is never used for synchronization, unless no other other +# synchronization source is available. In case the local host is +# controlled by some external source, such as an external oscillator or +# another protocol, the prefer keyword would cause the local host to +# disregard all other synchronization sources, unless the kernel +# modifications are in use and declare an unsynchronized condition. +# +server 127.127.1.0 # local clock +fudge 127.127.1.0 stratum 0 + +# +# PPS Clock. This driver is used to capture a 1-pps signal when the PPS +# kernel modifications are not in use. It can be configured for the +# tty_clk or ppsclock streams module or no module at all, assuming the +# RS232 connector is properly wired. Normally, the 1-pps signal is +# generated by a radio clock, in this cast the Spectracom clock +# 127.127.4.1 also configured for this host. When used this way, the +# associated radio clock normally has the prefer keyword in the serve +# command line. The PPS driver then will be selected only if the prefer +# peer is operating within nominal error bounds. See the README.refclock +# file for further details. +# +#server 127.127.22.1 # pps clock + +# +# Miscellaneous stuff. We enable authentication in order to prevent +# +driftfile /etc/ntp.drift # path for drift file +statsdir /grundoon/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 1 2 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/contrib/ntp/conf/malarky.conf b/contrib/ntp/conf/malarky.conf new file mode 100644 index 0000000..adf5eb3 --- /dev/null +++ b/contrib/ntp/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/xntpd -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/contrib/ntp/conf/pogo.conf b/contrib/ntp/conf/pogo.conf new file mode 100644 index 0000000..e97d4c5 --- /dev/null +++ b/contrib/ntp/conf/pogo.conf @@ -0,0 +1,30 @@ +# +# NTP configuration file (ntp.conf) +# pogo.udel.edu +# +server 127.127.10.1 prefer # austron 2201A gps receiver +peer 128.4.1.1 # rackety.udel.edu (Sun4c/40 IPC) +peer 128.4.1.2 # mizbeaver.udel.edu (Bancomm bc700LAN) +peer 128.4.1.4 # barnstable.udel.edu (Sun4c/65 SS1+) +peer 128.4.1.5 maxpoll 8 # churchy.udel.edu (cisco IGS router) +peer 132.163.135.130 maxpoll 8 # time_A.timefreq.bldrdoc.gov (Cesium) +peer 131.188.1.40 maxpoll 8 # ntps1-0.uni-erlangen.de (DCF77) +peer 129.132.2.21 maxpoll 8 # swisstime.ethz.ch (DCF77) +peer 130.155.98.13 maxpoll 8 # terss.ml.csiro.au (Cesium) +peer 192.36.143.150 maxpoll 8 # Time1.Stupi.SE (Cesium) +# +# Miscellaneous stuff +# +precision -18 # clock reading precision (usec) +driftfile /etc/ntp.drift # path for drift file +statsdir /pogo/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 # define trusted keys +requestkey 15 # key (7) for accessing server variables +controlkey 15 # key (6) for accessing server variables -- cgit v1.1