aboutsummaryrefslogtreecommitdiffstats
path: root/package/firewall/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-01-02 21:58:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-01-02 21:58:58 +0000
commit3863a62c91cf747e4321be434f598340ff1dcf3d (patch)
treefffd2b84a6f3697a659115f745833d6add57dfe6 /package/firewall/files
parent3fc9a88fa180ec992cb288deff820d1007bbc4e0 (diff)
downloadmaster-187ad058-3863a62c91cf747e4321be434f598340ff1dcf3d.tar.gz
master-187ad058-3863a62c91cf747e4321be434f598340ff1dcf3d.tar.bz2
master-187ad058-3863a62c91cf747e4321be434f598340ff1dcf3d.zip
firewall: clear the MSSFIX rules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13826 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/firewall/files')
-rwxr-xr-xpackage/firewall/files/uci_firewall.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/firewall/files/uci_firewall.sh b/package/firewall/files/uci_firewall.sh
index 93259fc962..579a8a6c3a 100755
--- a/package/firewall/files/uci_firewall.sh
+++ b/package/firewall/files/uci_firewall.sh
@@ -77,6 +77,7 @@ addif() {
delif() {
logger "removing $1 from firewall zone $2"
$IPTABLES -D input -i $1 -j zone_$2
+ $IPTABLES -D zone_$2_MSSFIX -o $1 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
$IPTABLES -D zone_$2_ACCEPT -o $1 -j ACCEPT
$IPTABLES -D zone_$2_DROP -o $1 -j DROP
$IPTABLES -D zone_$2_REJECT -o $1 -j reject