mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 00:34:04 +01:00
Update case in conditionals.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
8487c78a0a
commit
1f59e4f449
@ -7,47 +7,47 @@
|
||||
FORMAT 2
|
||||
#ACTION SOURCE DESTINATION PROTO DEST SOURCE USER/
|
||||
# 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
|
||||
?ENDIF
|
||||
?endif
|
||||
|
||||
?IF __FTP_HELPER
|
||||
?if __FTP_HELPER
|
||||
CT:helper:ftp all - tcp 21
|
||||
?ENDIF
|
||||
?endif
|
||||
|
||||
?IF __H323_HELPER
|
||||
?if __H323_HELPER
|
||||
CT:helper:RAS all - udp 1719
|
||||
CT:helper:Q.931 all - tcp 1720
|
||||
?ENDIF
|
||||
?endif
|
||||
|
||||
?IF __IRC_HELPER
|
||||
?if __IRC_HELPER
|
||||
CT:helper:irc all - tcp 6667
|
||||
?ENDIF
|
||||
?endif
|
||||
|
||||
?IF __NETBIOS_NS_HELPER
|
||||
?if __NETBIOS_NS_HELPER
|
||||
CT:helper:netbios-ns all - udp 137
|
||||
?ENDIF
|
||||
?endif
|
||||
|
||||
?IF __PPTP_HELPER
|
||||
?if __PPTP_HELPER
|
||||
CT:helper:pptp all - tcp 1729
|
||||
?ENDIF
|
||||
?endif
|
||||
|
||||
?IF __SANE_HELPER
|
||||
?if __SANE_HELPER
|
||||
CT:helper:sane all - tcp 6566
|
||||
?ENDIF
|
||||
?endif
|
||||
|
||||
?IF __SIP_HELPER
|
||||
?if __SIP_HELPER
|
||||
CT:helper:sip all - udp 5060
|
||||
?ENDIF
|
||||
?endif
|
||||
|
||||
?IF __SNMP_HELPER
|
||||
?if __SNMP_HELPER
|
||||
CT:helper:snmp all - udp 161
|
||||
?ENDIF
|
||||
?endif
|
||||
|
||||
?IF __TFTP_HELPER
|
||||
?if __TFTP_HELPER
|
||||
CT:helper:tftp all - udp 69
|
||||
?ENDIF
|
||||
?endif
|
||||
|
||||
?ENDIF
|
||||
?endif
|
||||
|
@ -7,47 +7,47 @@
|
||||
FORMAT 2
|
||||
#ACTION SOURCE DESTINATION PROTO DEST SOURCE USER/
|
||||
# PORT(S) PORT(S) GROUP
|
||||
?IF __CT_TARGET
|
||||
?if __CT_TARGET
|
||||
|
||||
?IF __AMANDA_HELPER
|
||||
?if __AMANDA_HELPER
|
||||
CT:helper:amanda all - udp 10080
|
||||
?ENDIF
|
||||
?endif
|
||||
|
||||
?IF __FTP_HELPER
|
||||
?if __FTP_HELPER
|
||||
CT:helper:ftp all - tcp 21
|
||||
?ENDIF
|
||||
?endif
|
||||
|
||||
?IF __H323_HELPER
|
||||
?if __H323_HELPER
|
||||
CT:helper:RAS all - udp 1719
|
||||
CT:helper:Q.931 all - tcp 1720
|
||||
?ENDIF
|
||||
?endif
|
||||
|
||||
?IF __IRC_HELPER
|
||||
?if __IRC_HELPER
|
||||
CT:helper:irc all - tcp 6667
|
||||
?ENDIF
|
||||
?endif
|
||||
|
||||
?IF __NETBIOS_NS_HELPER
|
||||
?if __NETBIOS_NS_HELPER
|
||||
CT:helper:netbios-ns all - udp 137
|
||||
?ENDIF
|
||||
?endif
|
||||
|
||||
?IF __PPTP_HELPER
|
||||
?if __PPTP_HELPER
|
||||
CT:helper:pptp all - tcp 1729
|
||||
?ENDIF
|
||||
?endif
|
||||
|
||||
?IF __SANE_HELPER
|
||||
?if __SANE_HELPER
|
||||
CT:helper:sane all - tcp 6566
|
||||
?ENDIF
|
||||
?endif
|
||||
|
||||
?IF __SIP_HELPER
|
||||
?if __SIP_HELPER
|
||||
CT:helper:sip all - udp 5060
|
||||
?ENDIF
|
||||
?endif
|
||||
|
||||
?IF __SNMP_HELPER
|
||||
?if __SNMP_HELPER
|
||||
CT:helper:snmp all - udp 161
|
||||
?ENDIF
|
||||
?endif
|
||||
|
||||
?IF __TFTP_HELPER
|
||||
?if __TFTP_HELPER
|
||||
CT:helper:tftp all - udp 69
|
||||
?ENDIF
|
||||
?endif
|
||||
|
||||
?ENDIF
|
||||
?endif
|
||||
|
Loading…
Reference in New Issue
Block a user