mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 23:53:30 +01:00
Correct H323 and netbios-ns handling.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
b6d7e9ea96
commit
fa500b9ea2
@ -4014,7 +4014,14 @@ sub Helper_Match() {
|
||||
sub have_helper( $$$ ) {
|
||||
my ( $helper, $proto, $port ) = @_;
|
||||
|
||||
if ( $helpers_enabled{$helper} ) {
|
||||
my $helper_base = $helper;
|
||||
|
||||
$helper_base =~ s/-\d$//;
|
||||
$helper_base = $helpers_map{$helper_base};
|
||||
$helper_base =~ s/_HELPER//;
|
||||
$helper_base =~ s/_/-/;
|
||||
|
||||
if ( $helpers_enabled{lc $helper_base} ) {
|
||||
if ( have_capability 'CT_TARGET' ) {
|
||||
qt1( "$iptables $iptablesw -t raw -A $sillyname -p $proto --dport $port -j CT --helper $helper" );
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user