forked from extern/shorewall_code
Document how to place comments in the 'actions' file -- Take 3
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8371 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
23fa1b703e
commit
ab1b25a2a6
@ -560,12 +560,13 @@ add_rule $chainref, '-j ACCEPT';
|
|||||||
|
|
||||||
<para><programlisting> #ACTION COMMENT (place '# ' below the 'C' in comment followed by
|
<para><programlisting> #ACTION COMMENT (place '# ' below the 'C' in comment followed by
|
||||||
# v a comment describing the action)
|
# v a comment describing the action)
|
||||||
LogAndAccept # LOG and ACCEPT a connection</programlisting><phrase><filename>/etc/shorewall/action.LogAndAccept</filename></phrase><programlisting> LOG:info
|
LogAndAccept # LOG and ACCEPT a connection</programlisting><emphasis
|
||||||
ACCEPT</programlisting></para>
|
role="bold">Note:</emphasis> If your
|
||||||
|
<filename>/etc/shorewall/actions</filename> file doesn't have an
|
||||||
|
indication where to place the comment, put the '#' in column 21.</para>
|
||||||
|
|
||||||
<para><emphasis role="bold">Note: </emphasis>If your
|
<para><phrase><filename>/etc/shorewall/action.LogAndAccept</filename></phrase><programlisting> LOG:info
|
||||||
/etc/shorewall/actions file doesn't indicate where to begin the comment,
|
ACCEPT</programlisting></para>
|
||||||
then place the '#' in column 21.</para>
|
|
||||||
|
|
||||||
<para>Placing a comment on the line causes the comment to appear in the
|
<para>Placing a comment on the line causes the comment to appear in the
|
||||||
output of the <command>shorewall show actions</command> command.</para>
|
output of the <command>shorewall show actions</command> command.</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user