forked from extern/shorewall_code
Don't ACCEPT untracked packets unless UNTRACKED_DISPOSITION=ACCEPT
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
eaa6d72a4f
commit
a4297381e9
@ -973,7 +973,7 @@ sub finish_chain_section ($$$) {
|
||||
}
|
||||
}
|
||||
|
||||
push @state, 'UNTRACKED' if $state{UNTRACKED};
|
||||
push( @state, 'UNTRACKED' ),if $state{UNTRACKED} && $globals{UNTRACKED_TARGET} eq 'ACCEPT';
|
||||
|
||||
add_ijump( $chain1ref, j => 'ACCEPT', state_imatch join(',', @state ) ) if @state;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user