mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-22 04:31:23 +01:00
Allow optimizatin of Invalid and NotSyn chains
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
c4ba1089e6
commit
dd353eeafb
@ -47,6 +47,8 @@ fatal_error "Invalid parameter to action Invalid" if supplied $audit && $audit
|
||||
log_rule_limit $level, $chainref, 'Invalid' , $action, '', $tag, 'add', "$globals{STATEMATCH} INVALID " if $level ne '';
|
||||
add_jump $chainref , $target, 0, "$globals{STATEMATCH} INVALID ";
|
||||
|
||||
$chainref->{dont_optimize} = 0;
|
||||
|
||||
1;
|
||||
|
||||
END PERL;
|
||||
|
@ -47,6 +47,8 @@ fatal_error "Invalid parameter to action NotSyn" if supplied $audit && $audit
|
||||
log_rule_limit $level, $chainref, 'NotSyn' , $action, '', $tag, 'add', '-p 6 ! --syn ' if $level ne '';
|
||||
add_jump $chainref , $target, 0, '-p 6 ! --syn ';
|
||||
|
||||
$chainref->{dont_optimize} = 0;
|
||||
|
||||
1;
|
||||
|
||||
END PERL;
|
||||
|
Loading…
Reference in New Issue
Block a user