mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 18:23:09 +02:00
[package] firewall: don't filter IPv4 ICMP types (#10928)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30363 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
cd774af8f5
commit
9b433b090a
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
PKG_NAME:=firewall
|
PKG_NAME:=firewall
|
||||||
|
|
||||||
PKG_VERSION:=2
|
PKG_VERSION:=2
|
||||||
PKG_RELEASE:=44
|
PKG_RELEASE:=45
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
@ -275,10 +275,7 @@ fw_check_icmptype4() {
|
|||||||
export FW_ICMP4_TYPES=$(
|
export FW_ICMP4_TYPES=$(
|
||||||
iptables -p icmp -h 2>/dev/null | \
|
iptables -p icmp -h 2>/dev/null | \
|
||||||
sed -n -e '/^Valid ICMP Types:/ {
|
sed -n -e '/^Valid ICMP Types:/ {
|
||||||
n; :r;
|
n; :r; s/[()]/ /g; s/[[:space:]]\+/\n/g; p; n; b r
|
||||||
/router-advertisement/d;
|
|
||||||
/router-solicitation/d;
|
|
||||||
s/[()]/ /g; s/[[:space:]]\+/\n/g; p; n; b r
|
|
||||||
}' | sort -u
|
}' | sort -u
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user