mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-10 15:48:13 +01:00
Cosmetic changes to the Chains module
This commit is contained in:
parent
dcdfb60483
commit
de7a0df550
@ -276,7 +276,9 @@ use constant { NO_RESTRICT => 0, # FORWARD chain rule - Both -i an
|
|||||||
ALL_RESTRICT => 12, # fw->fw rule - neither -i nor -o allowed
|
ALL_RESTRICT => 12, # fw->fw rule - neither -i nor -o allowed
|
||||||
DESTIFACE_DISALLOW => 32, # Don't allow dest interface. Similar to INPUT_RESTRICT but generates a more relevant error message
|
DESTIFACE_DISALLOW => 32, # Don't allow dest interface. Similar to INPUT_RESTRICT but generates a more relevant error message
|
||||||
};
|
};
|
||||||
|
#
|
||||||
|
# See initialize() below for additional comments on these variables
|
||||||
|
#
|
||||||
our $iprangematch;
|
our $iprangematch;
|
||||||
our $chainseq;
|
our $chainseq;
|
||||||
our $idiotcount;
|
our $idiotcount;
|
||||||
@ -285,7 +287,6 @@ our $warningcount;
|
|||||||
our $hashlimitset;
|
our $hashlimitset;
|
||||||
our $global_variables;
|
our $global_variables;
|
||||||
our $ipset_rules;
|
our $ipset_rules;
|
||||||
|
|
||||||
#
|
#
|
||||||
# Determines the commands for which a particular interface-oriented shell variable needs to be set
|
# Determines the commands for which a particular interface-oriented shell variable needs to be set
|
||||||
#
|
#
|
||||||
@ -3552,8 +3553,6 @@ sub handle_network_list( $$ ) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
################################################################################################################
|
################################################################################################################
|
||||||
#
|
#
|
||||||
# This function provides a uniform way to generate Netfilter[6] rules (something the original Shorewall
|
# This function provides a uniform way to generate Netfilter[6] rules (something the original Shorewall
|
||||||
|
Loading…
Reference in New Issue
Block a user