aboutsummaryrefslogtreecommitdiffstats
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
commitc7ff578b9fd7e11ca05a5d5c9db2ea4dbb0f1e7b (patch)
tree9cc914481cd534c47121209034263a58916b67a2
parent6f35d8b5003904de6eb320bfeb833d89601c2dd0 (diff)
downloadupstream-c7ff578b9fd7e11ca05a5d5c9db2ea4dbb0f1e7b.tar.gz
upstream-c7ff578b9fd7e11ca05a5d5c9db2ea4dbb0f1e7b.tar.bz2
upstream-c7ff578b9fd7e11ca05a5d5c9db2ea4dbb0f1e7b.zip
firewall: clear the MSSFIX rules
SVN-Revision: 13826
-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