mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-25 17:13:11 +01:00
More additions to the helper table and to the conntrack files.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
2ae59bb3cd
commit
223ed5b3a3
@ -28,7 +28,7 @@ package Shorewall::Chains;
|
||||
require Exporter;
|
||||
|
||||
use Scalar::Util 'reftype';
|
||||
use Digest::SHA qw(sha1);
|
||||
use Digest::SHA1 qw(sha1);
|
||||
use File::Basename;
|
||||
use Shorewall::Config qw(:DEFAULT :internal);
|
||||
use Shorewall::Zones;
|
||||
@ -659,6 +659,7 @@ sub initialize( $$$ ) {
|
||||
irc => TCP,
|
||||
'netbios-ns' => UDP,
|
||||
pptp => TCP,
|
||||
'Q.931' => TCP,
|
||||
RAS => UDP,
|
||||
sane => TCP,
|
||||
sip => UDP,
|
||||
|
@ -77,7 +77,7 @@ sub process_notrack_rule( $$$$$$$ ) {
|
||||
if ( $option eq 'helper' ) {
|
||||
my $modifiers = '';
|
||||
|
||||
if ( $args =~ /^([-\w]+)\((.+)\)$/ ) {
|
||||
if ( $args =~ /^([-\w.]+)\((.+)\)$/ ) {
|
||||
$args = $1;
|
||||
$modifiers = $2;
|
||||
}
|
||||
|
@ -13,6 +13,7 @@ CT:helper:ftp all - tcp 21
|
||||
CT:helper:amanda all - udp 10080
|
||||
COMMENT AUTOHELPERS - H323
|
||||
CT:helper:RAS all - udp 1719
|
||||
CT:helper:Q.931 all - tcp 1720
|
||||
COMMENT AUTOHELPERS
|
||||
CT:helper:sip all - udp 5060
|
||||
CT:helper:tftp all - udp 69
|
||||
|
@ -13,6 +13,7 @@ CT:helper:ftp all - tcp 21
|
||||
CT:helper:amanda all - udp 10080
|
||||
COMMENT AUTOHELPERS - H323
|
||||
CT:helper:RAS all - udp 1719
|
||||
CT:helper:Q.931 all - tcp 1720
|
||||
COMMENT AUTOHELPERS
|
||||
CT:helper:sip all - udp 5060
|
||||
CT:helper:tftp all - udp 69
|
||||
|
Loading…
Reference in New Issue
Block a user