forked from extern/shorewall_code
Fix FASTACCEPT=Yes
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5874 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
535cf5415d
commit
035c394ac8
@ -1651,6 +1651,12 @@ sub generate_matrix() {
|
||||
nat=> [ qw/PREROUTING OUTPUT POSTROUTING/ ] ,
|
||||
filter=> [ qw/INPUT FORWARD OUTPUT/ ] );
|
||||
|
||||
if ( $config{FASTACCEPT} ) {
|
||||
for my $chain ( @{$builtins{filter}} ) {
|
||||
add_rule $filter_table->{$chain}, "-m state --state ESTABLISHED,RELATED -j ACCEPT";
|
||||
}
|
||||
}
|
||||
|
||||
if ( $config{LOGALLNEW} ) {
|
||||
for my $table qw/mangle nat filter/ {
|
||||
for my $chain ( @{$builtins{$table}} ) {
|
||||
|
Loading…
Reference in New Issue
Block a user