firewall: Make ICMP ratelimiting a bit saner again.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Mar 2014 11:31:36 +0000 (12:31 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Mar 2014 11:31:36 +0000 (12:31 +0100)
config/etc/sysctl.conf

index a91aeb3..e2e3d81 100644 (file)
@@ -3,7 +3,8 @@ net.ipv4.ip_dynaddr = 1
 
 net.ipv4.icmp_echo_ignore_broadcasts = 1
 net.ipv4.icmp_ignore_bogus_error_responses = 1
-net.ipv4.icmp_ratemask = 88089
+net.ipv4.icmp_ratelimit = 1000
+net.ipv4.icmp_ratemask = 6168
 
 net.ipv4.tcp_syncookies = 1
 net.ipv4.tcp_fin_timeout = 30