mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-24 11:41:26 +02:00
Revert "Correct the behavior of ADMINISABSENTMINDED"
This reverts commit df09e0ccc5b13a352bcf1801ce93f6da6c0f30c6.
This commit is contained in:
parent
df09e0ccc5
commit
2b489993ca
@ -2526,9 +2526,9 @@ EOF
|
|||||||
"restore_default_route $config{USE_DEFAULT_RT}"
|
"restore_default_route $config{USE_DEFAULT_RT}"
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( $config{ADMINISABSENTMINDED} ) {
|
my @chains = $config{ADMINISABSENTMINDED} ? qw/INPUT FORWARD/ : qw/INPUT OUTPUT FORWARD/;
|
||||||
add_ijump $filter_table ->{$_}, j => 'ACCEPT', state_imatch 'ESTABLISHED,RELATED' for qw/INPUT FORWARD/;
|
|
||||||
}
|
add_ijump $filter_table ->{$_}, j => 'ACCEPT', state_imatch 'ESTABLISHED,RELATED' for @chains;
|
||||||
|
|
||||||
if ( $family == F_IPV6 ) {
|
if ( $family == F_IPV6 ) {
|
||||||
add_ijump $input, j => 'ACCEPT', s => IPv6_LINKLOCAL;
|
add_ijump $input, j => 'ACCEPT', s => IPv6_LINKLOCAL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user