From 2ae59bb3cda3e4e7c9d385a513d61f1c31d7e50e Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 2 Aug 2012 11:58:00 -0700 Subject: [PATCH] Add COMMENT directives to conntrack file. Signed-off-by: Tom Eastep --- Shorewall/configfiles/conntrack | 8 +++++--- Shorewall6/configfiles/conntrack | 11 +++++------ 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Shorewall/configfiles/conntrack b/Shorewall/configfiles/conntrack index d749633f9..ad8e30e12 100644 --- a/Shorewall/configfiles/conntrack +++ b/Shorewall/configfiles/conntrack @@ -8,15 +8,17 @@ FORMAT 2 #ACTION SOURCE DESTINATION PROTO DEST SOURCE USER/ # PORT(S) PORT(S) GROUP ?IF $AUTOHELPERS && __CT_TARGET +COMMENT AUTOHELPERS CT:helper:ftp all - tcp 21 CT:helper:amanda all - udp 10080 -CT:helper:RAS all - udp 1719 #H323 +COMMENT AUTOHELPERS - H323 +CT:helper:RAS all - udp 1719 +COMMENT AUTOHELPERS CT:helper:sip all - udp 5060 CT:helper:tftp all - udp 69 CT:helper:sane all - tcp 6566 -?IF __IPV4 CT:helper:irc all - tcp 6667 CT:helper:netbios-ns all - udp 137 CT:helper:pptp all - tcp 1729 -?ENDIF +COMMENT ?ENDIF diff --git a/Shorewall6/configfiles/conntrack b/Shorewall6/configfiles/conntrack index 9dac8015c..99812b2d0 100644 --- a/Shorewall6/configfiles/conntrack +++ b/Shorewall6/configfiles/conntrack @@ -8,15 +8,14 @@ FORMAT 2 #ACTION SOURCE DESTINATION PROTO DEST SOURCE USER/ # PORT(S) PORT(S) GROUP ?IF $AUTOHELPERS && __CT_TARGET +COMMENT AUTOHELPERS CT:helper:ftp all - tcp 21 CT:helper:amanda all - udp 10080 -CT:helper:RAS all - udp 1719 #H323 +COMMENT AUTOHELPERS - H323 +CT:helper:RAS all - udp 1719 +COMMENT AUTOHELPERS CT:helper:sip all - udp 5060 CT:helper:tftp all - udp 69 CT:helper:sane all - tcp 6566 -?IF __IPV4 -CT:helper:irc all - tcp 6667 -CT:helper:netbios-ns all - udp 137 -CT:helper:pptp all - tcp 1729 -?ENDIF +COMMENT ?ENDIF