mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-24 15:18:53 +01:00
Correct H323 and netbios-ns handling.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
4917500f12
commit
0e61c2f210
@ -4021,7 +4021,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