summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/ntp
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2009-02-07 19:50:17 (GMT)
committerJames Meyer <James.meyer@operamail.com>2009-02-07 19:50:17 (GMT)
commit57a8729ba565d03bda5c3d96c0ad6265562da677 (patch)
treed9b9f96619dec142c915dc53b4fd392564d0105c /abs/core-testing/ntp
parent17bc66d73d69a7bda147abf39704af53df809ea7 (diff)
downloadlinhes_pkgbuild-57a8729ba565d03bda5c3d96c0ad6265562da677.zip
linhes_pkgbuild-57a8729ba565d03bda5c3d96c0ad6265562da677.tar.gz
linhes_pkgbuild-57a8729ba565d03bda5c3d96c0ad6265562da677.tar.bz2
No longer overwrite ntp.conf for MBE/STANDALONE
Change out pool.ntp.org for dbhost for FE
Diffstat (limited to 'abs/core-testing/ntp')
-rwxr-xr-xabs/core-testing/ntp/PKGBUILD2
-rwxr-xr-xabs/core-testing/ntp/ntp-client.conf3
-rwxr-xr-xabs/core-testing/ntp/ntp.conf81
3 files changed, 47 insertions, 39 deletions
diff --git a/abs/core-testing/ntp/PKGBUILD b/abs/core-testing/ntp/PKGBUILD
index 3b60cdf..fc568b0 100755
--- a/abs/core-testing/ntp/PKGBUILD
+++ b/abs/core-testing/ntp/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=ntp
pkgver=4.2.4p5
-pkgrel=1
+pkgrel=3
pkgdesc="NTP (Network Time Protocol) tries to keep servers in sync"
arch=(i686 x86_64)
url="http://www.ntp.org/"
diff --git a/abs/core-testing/ntp/ntp-client.conf b/abs/core-testing/ntp/ntp-client.conf
index 4acabee..ace4daf 100755
--- a/abs/core-testing/ntp/ntp-client.conf
+++ b/abs/core-testing/ntp/ntp-client.conf
@@ -1,6 +1,5 @@
# change this to a server closer to your location
-#NTP_CLIENT_SERVER="pool.ntp.org"
-NTP_CLIENT_SERVER="ntp1.cs.wisc.edu"
+NTP_CLIENT_SERVER="pool.ntp.org"
# client options
NTP_CLIENT_OPTION="-b -u"
diff --git a/abs/core-testing/ntp/ntp.conf b/abs/core-testing/ntp/ntp.conf
index e2c20e5..9411643 100755
--- a/abs/core-testing/ntp/ntp.conf
+++ b/abs/core-testing/ntp/ntp.conf
@@ -1,48 +1,57 @@
-# NOTES:
-# - you should only have to update the server line below
-# - if you start getting lines like 'restrict' and 'fudge'
-# and you didnt add them, AND you run dhcpcd on your
-# network interfaces, be sure to add '-Y -N' to the
-# dhcpcd_ethX variables in /etc/conf.d/net
+# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
-# Name of the servers ntpd should sync with
-# Please respect the access policy as stated by the responsible person.
-#server ntp.example.tld iburst
+#driftfile /var/lib/ntp/ntp.drift
+driftfile /etc/ntp.drift
-#server pool.ntp.org
-server ntp1.cs.wisc.edu
-##
-# A list of available servers can be found here:
-# http://www.pool.ntp.org/
-# http://www.pool.ntp.org/#use
-# A good way to get servers for your machine is:
-# netselect -s 3 pool.ntp.org
-##
+# Enable this if you want statistics to be logged.
+#statsdir /var/log/ntpstats/
-# you should not need to modify the following paths
-driftfile /var/lib/ntp/ntp.drift
+statistics loopstats peerstats clockstats
+filegen loopstats file loopstats type day enable
+filegen peerstats file peerstats type day enable
+filegen clockstats file clockstats type day enable
-#server ntplocal.example.com prefer
-#server timeserver.example.org
-# Warning: Using default NTP settings will leave your NTP
-# server accessible to all hosts on the Internet.
+# You do need to talk to an NTP server or two (or three).
+#server ntp.your-provider.example
-# If you want to deny all machines (including your own)
-# from accessing the NTP server, uncomment:
-#restrict default ignore
+# pool.ntp.org maps to about 1000 low-stratum NTP servers. Your server will
+# pick a different set every time it starts up. Please consider joining the
+# pool: <http://www.pool.ntp.org/join.html>
+server pool.ntp.org
+server 0.us.pool.ntp.org iburst
+server 1.us.pool.ntp.org iburst
+server 2.us.pool.ntp.org iburst
+server 3.us.pool.ntp.org iburst
-# To deny other machines from changing the
-# configuration but allow localhost:
-restrict default nomodify nopeer
+# Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for
+# details. The web page <http://support.ntp.org/bin/view/Support/AccessRestrictions>
+# might also be helpful.
+#
+# Note that "restrict" applies to both servers and clients, so a configuration
+# that might be intended to block requests from certain clients could also end
+# up blocking replies from your own upstream servers.
+
+# By default, exchange time with everybody, but don't allow configuration.
+restrict -4 default kod notrap nomodify nopeer noquery
+restrict -6 default kod notrap nomodify nopeer noquery
+
+# Local users may interrogate the ntp server more closely.
restrict 127.0.0.1
+restrict ::1
+# Clients from this (example!) subnet have unlimited access, but only if
+# cryptographically authenticated.
+#restrict 192.168.123.0 mask 255.255.255.0 notrust
-# To allow machines within your network to synchronize
-# their clocks with your server, but ensure they are
-# not allowed to configure the server or used as peers
-# to synchronize against, uncomment this line.
-#
-restrict 192.168.0.0 mask 255.255.255.0 nomodify nopeer notrap
+
+# If you want to provide time to your local subnet, change the next line.
+# (Again, the address is an example only.)
+#broadcast 192.168.123.255
+
+# If you want to listen to time broadcasts on your local subnet, de-comment the
+# next lines. Please do this only if you trust everybody on the network!
+#disable auth
+#broadcastclient \ No newline at end of file