wok-next rev 15924

ntp: avoid refection attacks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 19 09:17:04 2014 +0000 (2014-02-19)
parents 2dc40a114461
children 7d9fe8b78117
files ntp/receipt
line diff
     1.1 --- a/ntp/receipt	Wed Feb 19 09:06:26 2014 +0000
     1.2 +++ b/ntp/receipt	Wed Feb 19 09:17:04 2014 +0000
     1.3 @@ -30,7 +30,11 @@
     1.4  	cp -a $install/usr/bin $fs/usr
     1.5  	cp stuff/ntp $fs/etc/init.d
     1.6  	cat > $fs/etc/ntp.conf <<EOT
     1.7 +restrict default noquery
     1.8 +restrict 192.168.0.0 mask 255.255.0.0
     1.9 +restrict 127.0.0.1
    1.10  server fr.pool.ntp.org
    1.11 +server de.pool.ntp.org
    1.12  EOT
    1.13  }
    1.14