diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-09-05 22:24:21 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-09-05 22:24:21 +0200 |
commit | 37bc4c58de2744f9c1b814955f8a8f7057b9f45b (patch) | |
tree | 7945f4f5daf04fa86be5a33aed027840e9062321 /src/conf_mode/ntp.py | |
parent | 2053539a7d532941e2cdbcc37fff26a1b9c95447 (diff) | |
download | vyos-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/ntp.py')
-rwxr-xr-x | src/conf_mode/ntp.py | 2 |
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 |