summaryrefslogtreecommitdiff
path: root/openwrt/target/default/target_skeleton/etc/init.d/S45firewall
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-16 10:18:01 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-16 10:18:01 +0000
commit0ba0ace5d1e8673c7519fdd76bb719333ca4ef5b (patch)
treebae0c99c6691980591374f61763afe34f203c1f8 /openwrt/target/default/target_skeleton/etc/init.d/S45firewall
parentf1ec3cf1276ff0bae1b58e6db55d48ade93c4a47 (diff)
add some changes from whiterussian to head
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1455 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/default/target_skeleton/etc/init.d/S45firewall')
-rwxr-xr-xopenwrt/target/default/target_skeleton/etc/init.d/S45firewall2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/target/default/target_skeleton/etc/init.d/S45firewall b/openwrt/target/default/target_skeleton/etc/init.d/S45firewall
index dc429f2725..8350ccbfef 100755
--- a/openwrt/target/default/target_skeleton/etc/init.d/S45firewall
+++ b/openwrt/target/default/target_skeleton/etc/init.d/S45firewall
@@ -26,7 +26,7 @@ iptables -t nat -N postrouting_rule
iptables -P INPUT DROP
iptables -A INPUT -m state --state INVALID -j DROP
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
- iptables -A INPUT -p tcp --syn --tcp-option \! 2 -j DROP
+ iptables -A INPUT -p tcp --tcp-flags SYN SYN --tcp-option \! 2 -j DROP
#
# insert accept rule or to jump to new accept-check table here