From: jow Date: Sun, 14 Aug 2011 00:34:04 +0000 (+0000) Subject: [backfire] merge r27979 X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=391b9ad0a1e445062f8784300118dfef4faf63ff [backfire] merge r27979 git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@27980 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/firewall/Makefile b/package/firewall/Makefile index 6f38ee48b..5924b3582 100644 --- a/package/firewall/Makefile +++ b/package/firewall/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=firewall PKG_VERSION:=2 -PKG_RELEASE:=33 +PKG_RELEASE:=34 include $(INCLUDE_DIR)/package.mk diff --git a/package/firewall/files/firewall.config b/package/firewall/files/firewall.config index 428c5a211..d2b9c0e26 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 * diff --git a/package/firewall/files/reflection.hotplug b/package/firewall/files/reflection.hotplug index 15e350082..1feb21075 100644 --- a/package/firewall/files/reflection.hotplug +++ b/package/firewall/files/reflection.hotplug @@ -102,7 +102,7 @@ if [ "$ACTION" = "add" ] && [ "$INTERFACE" = "wan" ]; then local p for p in ${proto:-tcp udp}; do case "$p" in - tcp|udp) + tcp|udp|6|17) iptables -t nat -A nat_reflection_in \ -s $lanip/$lanmk -d $exthost \ -p $p $extport \