packages: ntp/ntp.conf - comments, restrict ipv6 too

glen glen at pld-linux.org
Mon Jan 25 09:35:36 CET 2010


Author: glen                         Date: Mon Jan 25 08:35:36 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- comments, restrict ipv6 too

---- Files affected:
packages/ntp:
   ntp.conf (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: packages/ntp/ntp.conf
diff -u packages/ntp/ntp.conf:1.10 packages/ntp/ntp.conf:1.11
--- packages/ntp/ntp.conf:1.10	Mon Jan 25 09:32:01 2010
+++ packages/ntp/ntp.conf	Mon Jan 25 09:35:31 2010
@@ -1,13 +1,19 @@
-#
-# Default ntp stratum 1 servers:
-#
-# server	ntp.nasa.gov
-# server	clock.isc.org
-#
+# For more information about this file, see the man pages
+# ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).
+
+# Permit time synchronization with our time source, but do not
+# permit the source to query or modify the service on this system.
 restrict default kod nomodify notrap nopeer noquery
+restrict -6 default kod nomodify notrap nopeer noquery
 
-# localhost access
+# Permit all access over the loopback interface.  This could
+# be tightened as well, but to do so would effect some of
+# the administrative functions.
 restrict 127.0.0.1
+restrict -6 ::1
+
+# Hosts on local network are less restricted.
+#restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
 
 # restrict	default		ignore
 # restrict	ntp.nasa.gov	noquery noserve
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ntp/ntp.conf?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list