More additions to the helper table and to the conntrack files.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-08-02 13:25:44 -07:00
parent 2ae59bb3cd
commit 223ed5b3a3
4 changed files with 5 additions and 2 deletions

View File

@ -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,

View File

@ -77,7 +77,7 @@ sub process_notrack_rule( $$$$$$$ ) {
if ( $option eq 'helper' ) {
my $modifiers = '';
if ( $args =~ /^([-\w]+)\((.+)\)$/ ) {
if ( $args =~ /^([-\w.]+)\((.+)\)$/ ) {
$args = $1;
$modifiers = $2;
}

View File

@ -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

View File

@ -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