From ca61add5e7dea828c67ea074368196025f4cb4eb Mon Sep 17 00:00:00 2001 From: sever-sever Date: Thu, 1 Oct 2020 10:03:12 +0000 Subject: ntp: T2944: By default do not listen port 123 on any address --- data/templates/ntp/ntp.conf.tmpl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'data') 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 %} -- cgit v1.2.3