[arch-commits] Commit in ntp/trunk (ntp.conf)

2014-08-28 Thread Gaetan Bisson
Date: Friday, August 29, 2014 @ 04:28:06
  Author: bisson
Revision: 220786

partial implementation of FS#41699

Modified:
  ntp/trunk/ntp.conf

--+
 ntp.conf |   11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: ntp.conf
===
--- ntp.conf2014-08-28 21:49:52 UTC (rev 220785)
+++ ntp.conf2014-08-29 02:28:06 UTC (rev 220786)
@@ -1,6 +1,4 @@
-# With the default settings below, ntpd will only synchronize your clock.
-#
-# For details, see:
+# For additional information see:
 # - the ntp.conf man page
 # - http://support.ntp.org/bin/view/Support/GettingStarted
 # - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon
@@ -9,9 +7,12 @@
 server 0.pool.ntp.org
 server 1.pool.ntp.org
 server 2.pool.ntp.org
+server 3.pool.ntp.org
 
-# Only allow read-only access from localhost
-restrict default noquery nopeer
+# By default, the server allows:
+# - all queries from the local host
+# - only time queries from remote hosts, protected by rate limiting and kod
+restrict default kod limited nomodify nopeer noquery notrap
 restrict 127.0.0.1
 restrict ::1
 



[arch-commits] Commit in ntp/trunk (ntp.conf)

2012-02-28 Thread Gaetan Bisson
Date: Tuesday, February 28, 2012 @ 16:59:06
  Author: bisson
Revision: 151625

fix FS#28703

Modified:
  ntp/trunk/ntp.conf

--+
 ntp.conf |   12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

Modified: ntp.conf
===
--- ntp.conf2012-02-28 21:21:26 UTC (rev 151624)
+++ ntp.conf2012-02-28 21:59:06 UTC (rev 151625)
@@ -5,15 +5,13 @@
 # - http://support.ntp.org/bin/view/Support/GettingStarted
 # - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon
 
-# Select three geolocalized NTP public servers; see http://www.pool.ntp.org/
-server 0.pool.ntp.org
-server 1.pool.ntp.org
-server 2.pool.ntp.org
+# Associate to public NTP pool servers; see http://www.pool.ntp.org/
+pool pool.ntp.org
 
 # Only allow read-only access from localhost
-restrict default nomodify nopeer
-restrict 127.0.0.1
-restrict ::1
+restrict default ignore
+restrict 127.0.0.1 nomodify
+restrict ::1 nomodify
 
 # Location of drift and log files
 driftfile /var/lib/ntp/ntp.drift



[arch-commits] Commit in ntp/trunk (ntp.conf)

2012-02-28 Thread Gaetan Bisson
Date: Tuesday, February 28, 2012 @ 20:24:10
  Author: bisson
Revision: 151631

fix the fix

Modified:
  ntp/trunk/ntp.conf

--+
 ntp.conf |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: ntp.conf
===
--- ntp.conf2012-02-28 23:12:18 UTC (rev 151630)
+++ ntp.conf2012-02-29 01:24:10 UTC (rev 151631)
@@ -9,9 +9,9 @@
 pool pool.ntp.org
 
 # Only allow read-only access from localhost
-restrict default ignore
-restrict 127.0.0.1 nomodify
-restrict ::1 nomodify
+restrict default noquery nopeer
+restrict 127.0.0.1 noserve nomodify
+restrict ::1 noserve nomodify
 
 # Location of drift and log files
 driftfile /var/lib/ntp/ntp.drift



[arch-commits] Commit in ntp/trunk (ntp.conf)

2011-11-07 Thread Gaetan Bisson
Date: Monday, November 7, 2011 @ 06:30:12
  Author: bisson
Revision: 142255

fix FS#26776

Modified:
  ntp/trunk/ntp.conf

--+
 ntp.conf |1 +
 1 file changed, 1 insertion(+)

Modified: ntp.conf
===
--- ntp.conf2011-11-07 10:16:14 UTC (rev 142254)
+++ ntp.conf2011-11-07 11:30:12 UTC (rev 142255)
@@ -13,6 +13,7 @@
 # Only allow read-only access from localhost
 restrict default nomodify nopeer
 restrict 127.0.0.1
+restrict ::1
 
 # Location of drift and log files
 driftfile /var/lib/ntp/ntp.drift