Correct rejNotSyn

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6405 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-05-19 13:49:56 +00:00
parent fb16fd6d6e
commit 3007800fbe

View File

@ -578,7 +578,7 @@ sub process_actions3 () {
my ($chainref, $level, $tag) = @_;
log_rule_limit $level, $chainref, 'rejNotSyn' , 'REJECT', '', $tag, 'add', '-p tcp ! --syn ' if $level;
add_rule $chainref , '-p tcp ! --syn -j REJECT';
add_rule $chainref , '-p tcp ! --syn -j REJECT --reject-with tcp-reset';
}
sub dropInvalid ( $$$ ) {