Update case in conditionals.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-08-14 11:42:46 -07:00
parent 8487c78a0a
commit 1f59e4f449
2 changed files with 44 additions and 44 deletions

View File

@ -7,47 +7,47 @@
FORMAT 2 FORMAT 2
#ACTION SOURCE DESTINATION PROTO DEST SOURCE USER/ #ACTION SOURCE DESTINATION PROTO DEST SOURCE USER/
# PORT(S) PORT(S) GROUP # PORT(S) PORT(S) GROUP
?IF $AUTOHELPERS && __CT_TARGET ?if $AUTOHELPERS && __CT_TARGET
?IF __AMANDA_HELPER ?if __AMANDA_HELPER
CT:helper:amanda all - udp 10080 CT:helper:amanda all - udp 10080
?ENDIF ?endif
?IF __FTP_HELPER ?if __FTP_HELPER
CT:helper:ftp all - tcp 21 CT:helper:ftp all - tcp 21
?ENDIF ?endif
?IF __H323_HELPER ?if __H323_HELPER
CT:helper:RAS all - udp 1719 CT:helper:RAS all - udp 1719
CT:helper:Q.931 all - tcp 1720 CT:helper:Q.931 all - tcp 1720
?ENDIF ?endif
?IF __IRC_HELPER ?if __IRC_HELPER
CT:helper:irc all - tcp 6667 CT:helper:irc all - tcp 6667
?ENDIF ?endif
?IF __NETBIOS_NS_HELPER ?if __NETBIOS_NS_HELPER
CT:helper:netbios-ns all - udp 137 CT:helper:netbios-ns all - udp 137
?ENDIF ?endif
?IF __PPTP_HELPER ?if __PPTP_HELPER
CT:helper:pptp all - tcp 1729 CT:helper:pptp all - tcp 1729
?ENDIF ?endif
?IF __SANE_HELPER ?if __SANE_HELPER
CT:helper:sane all - tcp 6566 CT:helper:sane all - tcp 6566
?ENDIF ?endif
?IF __SIP_HELPER ?if __SIP_HELPER
CT:helper:sip all - udp 5060 CT:helper:sip all - udp 5060
?ENDIF ?endif
?IF __SNMP_HELPER ?if __SNMP_HELPER
CT:helper:snmp all - udp 161 CT:helper:snmp all - udp 161
?ENDIF ?endif
?IF __TFTP_HELPER ?if __TFTP_HELPER
CT:helper:tftp all - udp 69 CT:helper:tftp all - udp 69
?ENDIF ?endif
?ENDIF ?endif

View File

@ -7,47 +7,47 @@
FORMAT 2 FORMAT 2
#ACTION SOURCE DESTINATION PROTO DEST SOURCE USER/ #ACTION SOURCE DESTINATION PROTO DEST SOURCE USER/
# PORT(S) PORT(S) GROUP # PORT(S) PORT(S) GROUP
?IF __CT_TARGET ?if __CT_TARGET
?IF __AMANDA_HELPER ?if __AMANDA_HELPER
CT:helper:amanda all - udp 10080 CT:helper:amanda all - udp 10080
?ENDIF ?endif
?IF __FTP_HELPER ?if __FTP_HELPER
CT:helper:ftp all - tcp 21 CT:helper:ftp all - tcp 21
?ENDIF ?endif
?IF __H323_HELPER ?if __H323_HELPER
CT:helper:RAS all - udp 1719 CT:helper:RAS all - udp 1719
CT:helper:Q.931 all - tcp 1720 CT:helper:Q.931 all - tcp 1720
?ENDIF ?endif
?IF __IRC_HELPER ?if __IRC_HELPER
CT:helper:irc all - tcp 6667 CT:helper:irc all - tcp 6667
?ENDIF ?endif
?IF __NETBIOS_NS_HELPER ?if __NETBIOS_NS_HELPER
CT:helper:netbios-ns all - udp 137 CT:helper:netbios-ns all - udp 137
?ENDIF ?endif
?IF __PPTP_HELPER ?if __PPTP_HELPER
CT:helper:pptp all - tcp 1729 CT:helper:pptp all - tcp 1729
?ENDIF ?endif
?IF __SANE_HELPER ?if __SANE_HELPER
CT:helper:sane all - tcp 6566 CT:helper:sane all - tcp 6566
?ENDIF ?endif
?IF __SIP_HELPER ?if __SIP_HELPER
CT:helper:sip all - udp 5060 CT:helper:sip all - udp 5060
?ENDIF ?endif
?IF __SNMP_HELPER ?if __SNMP_HELPER
CT:helper:snmp all - udp 161 CT:helper:snmp all - udp 161
?ENDIF ?endif
?IF __TFTP_HELPER ?if __TFTP_HELPER
CT:helper:tftp all - udp 69 CT:helper:tftp all - udp 69
?ENDIF ?endif
?ENDIF ?endif