forked from extern/shorewall_code
Fix some rule problems -- Take 2
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6155 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
c1d6faf509
commit
e596c92d74
@ -197,7 +197,7 @@ use constant { STANDARD => 1, #defined by Netfilter
|
|||||||
#
|
#
|
||||||
our %targets = ('ACCEPT' => STANDARD,
|
our %targets = ('ACCEPT' => STANDARD,
|
||||||
'ACCEPT+' => STANDARD + NONAT,
|
'ACCEPT+' => STANDARD + NONAT,
|
||||||
'ACCEPT-' => STANDARD
|
'ACCEPT-' => STANDARD,
|
||||||
'ACCEPT!' => STANDARD,
|
'ACCEPT!' => STANDARD,
|
||||||
'NONAT' => STANDARD + NONAT + NATONLY,
|
'NONAT' => STANDARD + NONAT + NATONLY,
|
||||||
'DROP' => STANDARD,
|
'DROP' => STANDARD,
|
||||||
|
@ -912,6 +912,8 @@ sub process_rule1 ( $$$$$$$$$ ) {
|
|||||||
$action = 'reject';
|
$action = 'reject';
|
||||||
} elsif ( $action eq 'CONTINUE' ) {
|
} elsif ( $action eq 'CONTINUE' ) {
|
||||||
$action = 'RETURN';
|
$action = 'RETURN';
|
||||||
|
} elsif ( $actiontype & LOGRULE ) {
|
||||||
|
fatal_error 'LOG requires a log level' unless defined $loglevel and $loglevel ne '';
|
||||||
}
|
}
|
||||||
#
|
#
|
||||||
# Isolate and validate source and destination zones
|
# Isolate and validate source and destination zones
|
||||||
|
Loading…
Reference in New Issue
Block a user