[Buildroot] [PATCH 2/3] ntp: update sample config
Gustavo Zacarias
gustavo at zacarias.com.ar
Mon Dec 22 14:27:00 UTC 2014
Drop redundant IP version and double default restrict.
Tweak KoD and other defaults for properness.
Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
---
package/ntp/ntpd.etc.conf | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/package/ntp/ntpd.etc.conf b/package/ntp/ntpd.etc.conf
index 6a2b88c..543c8ff 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]
--
2.0.4
More information about the buildroot
mailing list