summaryrefslogtreecommitdiff
path: root/sysconf
diff options
context:
space:
mode:
Diffstat (limited to 'sysconf')
-rw-r--r--sysconf/ntp.conf22
1 files changed, 11 insertions, 11 deletions
diff --git a/sysconf/ntp.conf b/sysconf/ntp.conf
index 248cdc2d..855d5097 100644
--- a/sysconf/ntp.conf
+++ b/sysconf/ntp.conf
@@ -4,21 +4,21 @@
# configuration subsystem. Please do not manually edit it.
#
# The first section of this file consists of static parameters
-# that can not be changed via the Vyatta configuration subsystem.
+# (that can not be changed via the VyOS CLI) and default values
+# that prevent ntpd being queried (client only mode).
#
driftfile /var/lib/ntp/ntp.drift
-# 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
+# By default, only allow ntpd to query time sources, ignore any
+# incoming requests.
-# Local users may interrogate the ntp server more closely.
-restrict 127.0.0.1
-restrict ::1
+restrict default ignore
+restrict -6 default ignore
-#
-# The remainder of this file is for parameters that are set up via
-# the Vyatta configuration subsystem.
-#
+# Local users have unrestricted access, allowing reconfiguration
+# via ntpdc
+restrict 127.0.0.1
+restrict -6 ::1
+# VyOS CLI configuration options