summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-09-05 22:24:21 +0200
committerChristian Poessinger <christian@poessinger.com>2018-09-05 22:24:21 +0200
commit37bc4c58de2744f9c1b814955f8a8f7057b9f45b (patch)
tree7945f4f5daf04fa86be5a33aed027840e9062321 /src/conf_mode
parent2053539a7d532941e2cdbcc37fff26a1b9c95447 (diff)
downloadvyos-1x-37bc4c58de2744f9c1b814955f8a8f7057b9f45b.tar.gz
vyos-1x-37bc4c58de2744f9c1b814955f8a8f7057b9f45b.zip
T831: ntp.py: fix restrict configuration keyword to allow clients to sync up
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/ntp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/ntp.py b/src/conf_mode/ntp.py
index 8533411cc..0abb2746a 100755
--- a/src/conf_mode/ntp.py
+++ b/src/conf_mode/ntp.py
@@ -36,7 +36,7 @@ config_tmpl = """
#
driftfile /var/lib/ntp/ntp.drift
# By default, only allow ntpd to query time sources, ignore any incoming requests
-restrict default ignore
+restrict default noquery nopeer notrap nomodify
# Local users have unrestricted access, allowing reconfiguration via ntpdc
restrict 127.0.0.1
restrict -6 ::1