From: Gustavo Zacarias Date: Mon, 22 Dec 2014 14:27:00 +0000 (-0300) Subject: ntp: update sample config X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3c2e7c7ed90e7930c934bcd9b43669a330a305a;p=buildroot.git ntp: update sample config Drop redundant IP version and double default restrict. Tweak KoD and other defaults for properness. Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- diff --git a/package/ntp/ntpd.etc.conf b/package/ntp/ntpd.etc.conf index 6a2b88cbd7..543c8ff820 100644 --- a/package/ntp/ntpd.etc.conf +++ b/package/ntp/ntpd.etc.conf @@ -1,8 +1,8 @@ server 0.pool.ntp.org iburst server 1.pool.ntp.org iburst -restrict default kod nomodify notrap nopeer noquery -restrict -6 default kod nomodify notrap nopeer noquery - +# Allow only time queries, at a limited rate, sending KoD when in excess. +# Allow all local queries (IPv4, IPv6) +restrict default nomodify nopeer noquery limited kod restrict 127.0.0.1 -restrict -6 ::1 +restrict [::1]