aboutsummaryrefslogtreecommitdiffstats
path: root/package/firewall/files/firewall.config
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-08-14 00:33:29 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-08-14 00:33:29 +0000
commit3906d967645ce4fb6e4c99fd21170ea60691b7fe (patch)
tree68ab5235287f71b3c4431830466ddbbb97287f5c /package/firewall/files/firewall.config
parente0712a54a6c5559d2b49038dc99abd6390bc95c2 (diff)
downloadupstream-3906d967645ce4fb6e4c99fd21170ea60691b7fe.tar.gz
upstream-3906d967645ce4fb6e4c99fd21170ea60691b7fe.tar.bz2
upstream-3906d967645ce4fb6e4c99fd21170ea60691b7fe.zip
[package] firewall: further tune ICMPv6 default rules according to RFC4890 (#9893)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27979 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/firewall/files/firewall.config')
-rw-r--r--package/firewall/files/firewall.config16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/firewall/files/firewall.config b/package/firewall/files/firewall.config
index b47823fe2d..5a5dfd0186 100644
--- a/package/firewall/files/firewall.config
+++ b/package/firewall/files/firewall.config
@@ -44,6 +44,22 @@ config rule
option target ACCEPT
# Allow essential incoming IPv6 ICMP traffic
+config rule
+ option src wan
+ option proto icmp
+ list icmp_type echo-request
+ list icmp_type destination-unreachable
+ list icmp_type packet-too-big
+ list icmp_type time-exceeded
+ list icmp_type bad-header
+ list icmp_type unknown-header-type
+ list icmp_type router-solicitation
+ list icmp_type neighbour-solicitation
+ option limit 1000/sec
+ option family ipv6
+ option target ACCEPT
+
+# Allow essential forwarded IPv6 ICMP traffic
config rule
option src wan
option dest *