forked from extern/shorewall_code
Make generate_matrix locals more obvious
This commit is contained in:
parent
b9a086c7f2
commit
c659f05491
@ -1060,13 +1060,19 @@ sub add_interface_jumps {
|
|||||||
#
|
#
|
||||||
sub generate_matrix() {
|
sub generate_matrix() {
|
||||||
my @interfaces = ( all_interfaces );
|
my @interfaces = ( all_interfaces );
|
||||||
|
#
|
||||||
|
# Should this be the real PREROUTING chain?
|
||||||
|
#
|
||||||
my $preroutingref = ensure_chain 'nat', 'dnat';
|
my $preroutingref = ensure_chain 'nat', 'dnat';
|
||||||
my $fw = firewall_zone;
|
|
||||||
|
my $fw = firewall_zone;
|
||||||
|
my @zones = off_firewall_zones;
|
||||||
|
my @vservers = vserver_zones;
|
||||||
|
|
||||||
my $notrackref = $raw_table->{notrack_chain $fw};
|
my $notrackref = $raw_table->{notrack_chain $fw};
|
||||||
my $state = $config{BLACKLISTNEWONLY} ? $globals{UNTRACKED} ? "-m state --state NEW,INVALID,UNTRACKED " : "$globals{STATEMATCH} NEW,INVALID " : '';
|
my $state = $config{BLACKLISTNEWONLY} ? $globals{UNTRACKED} ? "-m state --state NEW,INVALID,UNTRACKED " : "$globals{STATEMATCH} NEW,INVALID " : '';
|
||||||
my @zones = off_firewall_zones;
|
|
||||||
my @vservers = vserver_zones;
|
|
||||||
my $interface_jumps_added = 0;
|
my $interface_jumps_added = 0;
|
||||||
|
|
||||||
our %input_jump_added = ();
|
our %input_jump_added = ();
|
||||||
our %output_jump_added = ();
|
our %output_jump_added = ();
|
||||||
our %forward_jump_added = ();
|
our %forward_jump_added = ();
|
||||||
|
Loading…
Reference in New Issue
Block a user