Add additional info about invoking macros in the rules and action.template files

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2768 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-10-01 20:21:08 +00:00
parent 5371bba9e3
commit c98011853a
2 changed files with 22 additions and 4 deletions

View File

@ -19,8 +19,8 @@
# Columns are: # Columns are:
# #
# #
# TARGET ACCEPT, DROP, REJECT, LOG, QUEUE or a # TARGET ACCEPT, DROP, REJECT, LOG, QUEUE, CONTINUEa <macro>
# previously-defined <action> # or a previously-defined <action>
# #
# ACCEPT -- allow the connection request # ACCEPT -- allow the connection request
# DROP -- ignore the request # DROP -- ignore the request
@ -37,6 +37,16 @@
# The <action> must appear in that # The <action> must appear in that
# file BEFORE the one being defined # file BEFORE the one being defined
# in this file. # in this file.
# <macro> -- The name of a macro defined in a
# file named macro.<macro-name>. If
# the macro accepts an action
# parameter (Look at the macro
# source to see if it has PARAM in
# the TARGET column) then the macro
# name is followed by "/" and the
# action (ACCEPT, DROP, REJECT, ...)
# to be substituted for the
# parameter. Example: FTP/ACCEPT.
# #
# The TARGET may optionally be followed # The TARGET may optionally be followed
# by ":" and a syslog log level (e.g, REJECT:info or # by ":" and a syslog log level (e.g, REJECT:info or

View File

@ -116,8 +116,16 @@
# /etc/shorewall/actions or in # /etc/shorewall/actions or in
# /usr/share/shorewall/actions.std. # /usr/share/shorewall/actions.std.
# #
# <macro> -- The name of a macro defined in a # <macro> -- The name of a macro defined in a
# file named macro.<macro-name>. # file named macro.<macro-name>. If
# the macro accepts an action
# parameter (Look at the macro
# source to see if it has PARAM in
# the TARGET column) then the macro
# name is followed by "/" and the
# action (ACCEPT, DROP, REJECT, ...)
# to be substituted for the
# parameter. Example: FTP/ACCEPT.
# #
# The ACTION may optionally be followed # The ACTION may optionally be followed
# by ":" and a syslog log level (e.g, REJECT:info or # by ":" and a syslog log level (e.g, REJECT:info or