From 65acc7afe53e7b91e473262e631a13cf86432e05 Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 27 Mar 2008 21:00:53 +0000 Subject: [PATCH] Document how to place comments in the 'actions' file git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8369 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- docs/Actions.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/Actions.xml b/docs/Actions.xml index 7a8796c80..f2de12748 100644 --- a/docs/Actions.xml +++ b/docs/Actions.xml @@ -554,9 +554,14 @@ add_rule $chainref, '-j ACCEPT'; /etc/shorewall/actions: - LogAndAccept/etc/shorewall/action.LogAndAccept LOG:info + #ACTION COMMENT (place '# ' below the 'C' in comment followed by + # v a comment describing the action) + LogAndAccept # LOG and ACCEPT a connection/etc/shorewall/action.LogAndAccept LOG:info ACCEPT + Placing a comment on the line causes the comment to appear in the + output of the shorewall show actions command. + To use your action, in /etc/shorewall/rules you might do something like: