forked from extern/shorewall_code
Correct handling of audited dispositions.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
c68d4c6e27
commit
cc1054be66
@ -5348,7 +5348,7 @@ sub get_configuration( $$$$ ) {
|
||||
}
|
||||
|
||||
if ( $val = $config{INVALID_DISPOSITION} ) {
|
||||
if ( $val =~ /^(?:A_)?(?:DROP|ACCEPT)$/ ) {
|
||||
if ( $val =~ /^(?:A_)?DROP$/ ) {
|
||||
$globals{INVALID_TARGET} = $val;
|
||||
} elsif ( $val eq 'REJECT' ) {
|
||||
$globals{INVALID_TARGET} = 'reject';
|
||||
|
@ -950,6 +950,8 @@ sub finish_chain_section ($$$) {
|
||||
delete $state{ESTABLISHED};
|
||||
}
|
||||
|
||||
$target = ensure_audit_chain( $target ) if ( $targets{$target} || 0 ) & AUDIT;
|
||||
|
||||
add_ijump( $chainref, g => $target, state_imatch $_ );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user