Add an interface filter chain for each interface.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2011-12-27 13:52:44 -08:00
parent 49eb84b9e2
commit ea9c59a297

View File

@ -116,6 +116,7 @@ our %EXPORT_TAGS = (
blacklist_chain
zone_forward_chain
use_forward_chain
filter_chain
input_chain
zone_input_chain
use_input_chain
@ -1617,6 +1618,14 @@ sub use_forward_chain($$) {
$interfaceref->{options}{use_forward_chain} && keys %{ zone_interfaces( $zone ) } > 1;
}
#
# Filter Chain for an interface
#
sub filter_chain($) {
my $interface = shift;
( $config{USE_PHYSICAL_NAMES} ? chain_base( get_physical( $interface ) ) : $interface ) . '_flt';
}
#
# Input Chain for an interface
#