1
0
mirror of https://gitlab.com/shorewall/code.git synced 2024-12-28 00:59:07 +01:00
shorewall_code/Shorewall/Macros/macro.TFTP
Tom Eastep ff8d354c1c Allow INLINE_MATCHES=Yes and AUTOHELPERS=No to work correctly.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2014-06-20 07:01:31 -07:00

21 lines
599 B
Plaintext

#
# Shorewall version 3.2 - TFTP Macro
#
# /usr/share/shorewall/macro.TFTP
#
# This macro handles Trivial File Transfer Protocol (TFTP)
# Because TFTP lacks all security you should not enable it over
# Internet.
#
###############################################################################
?FORMAT 2
###############################################################################
#ACTION SOURCE DEST PROTO DEST SOURCE ORIGIN RATE USER/
# PORT(S) PORT(S) DEST LIMIT GROUP
?if ( __CT_TARGET && ! $AUTOHELPERS && __TFTP_HELPER )
PARAM - - udp 69 { helper=tftp }
?else
PARAM - - udp 69
?endif