summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-02 18:00:37 +0200
committerGitHub <noreply@github.com>2020-10-02 18:00:37 +0200
commit321ef11977274aa9df5ff46d7e668806bdd7ebbc (patch)
treed441b78b998a8dad0c4ecde63391c6eafb80323f /data
parentcbdbbdceaad5fc02ca673bed199f666137a2ce73 (diff)
parentca61add5e7dea828c67ea074368196025f4cb4eb (diff)
downloadvyos-1x-321ef11977274aa9df5ff46d7e668806bdd7ebbc.tar.gz
vyos-1x-321ef11977274aa9df5ff46d7e668806bdd7ebbc.zip
Merge pull request #559 from sever-sever/T2944
ntp: T2944: By default do not listen port 123 on any address
Diffstat (limited to 'data')
-rw-r--r--data/templates/ntp/ntp.conf.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/ntp/ntp.conf.tmpl b/data/templates/ntp/ntp.conf.tmpl
index df8157a41..bb0067bfb 100644
--- a/data/templates/ntp/ntp.conf.tmpl
+++ b/data/templates/ntp/ntp.conf.tmpl
@@ -36,4 +36,10 @@ interface ignore wildcard
{% for address in listen_address %}
interface listen {{ address }}
{% endfor %}
+interface listen 127.0.0.1
+interface listen ::1
+{% else %}
+interface ignore wildcard
+interface listen 127.0.0.1
+interface listen ::1
{% endif %}