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;
|
require Exporter;
|
||||||
|
|
||||||
use Scalar::Util 'reftype';
|
use Scalar::Util 'reftype';
|
||||||
use Digest::SHA qw(sha1);
|
use Digest::SHA1 qw(sha1);
|
||||||
use File::Basename;
|
use File::Basename;
|
||||||
use Shorewall::Config qw(:DEFAULT :internal);
|
use Shorewall::Config qw(:DEFAULT :internal);
|
||||||
use Shorewall::Zones;
|
use Shorewall::Zones;
|
||||||
@ -659,6 +659,7 @@ sub initialize( $$$ ) {
|
|||||||
irc => TCP,
|
irc => TCP,
|
||||||
'netbios-ns' => UDP,
|
'netbios-ns' => UDP,
|
||||||
pptp => TCP,
|
pptp => TCP,
|
||||||
|
'Q.931' => TCP,
|
||||||
RAS => UDP,
|
RAS => UDP,
|
||||||
sane => TCP,
|
sane => TCP,
|
||||||
sip => UDP,
|
sip => UDP,
|
||||||
|
@ -77,7 +77,7 @@ sub process_notrack_rule( $$$$$$$ ) {
|
|||||||
if ( $option eq 'helper' ) {
|
if ( $option eq 'helper' ) {
|
||||||
my $modifiers = '';
|
my $modifiers = '';
|
||||||
|
|
||||||
if ( $args =~ /^([-\w]+)\((.+)\)$/ ) {
|
if ( $args =~ /^([-\w.]+)\((.+)\)$/ ) {
|
||||||
$args = $1;
|
$args = $1;
|
||||||
$modifiers = $2;
|
$modifiers = $2;
|
||||||
}
|
}
|
||||||
|
@ -13,6 +13,7 @@ CT:helper:ftp all - tcp 21
|
|||||||
CT:helper:amanda all - udp 10080
|
CT:helper:amanda all - udp 10080
|
||||||
COMMENT AUTOHELPERS - H323
|
COMMENT AUTOHELPERS - H323
|
||||||
CT:helper:RAS all - udp 1719
|
CT:helper:RAS all - udp 1719
|
||||||
|
CT:helper:Q.931 all - tcp 1720
|
||||||
COMMENT AUTOHELPERS
|
COMMENT AUTOHELPERS
|
||||||
CT:helper:sip all - udp 5060
|
CT:helper:sip all - udp 5060
|
||||||
CT:helper:tftp all - udp 69
|
CT:helper:tftp all - udp 69
|
||||||
|
@ -13,6 +13,7 @@ CT:helper:ftp all - tcp 21
|
|||||||
CT:helper:amanda all - udp 10080
|
CT:helper:amanda all - udp 10080
|
||||||
COMMENT AUTOHELPERS - H323
|
COMMENT AUTOHELPERS - H323
|
||||||
CT:helper:RAS all - udp 1719
|
CT:helper:RAS all - udp 1719
|
||||||
|
CT:helper:Q.931 all - tcp 1720
|
||||||
COMMENT AUTOHELPERS
|
COMMENT AUTOHELPERS
|
||||||
CT:helper:sip all - udp 5060
|
CT:helper:sip all - udp 5060
|
||||||
CT:helper:tftp all - udp 69
|
CT:helper:tftp all - udp 69
|
||||||
|
Loading…
Reference in New Issue
Block a user