From 2845ffb4bb853b62eed5c3685710ecc7cddd17e0 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 14 Feb 2013 09:35:31 -0800 Subject: [PATCH] Document perl_action_tcp_helper Signed-off-by: Tom Eastep --- docs/Actions.xml | 45 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/docs/Actions.xml b/docs/Actions.xml index 5f5cb9472..5c97c366e 100644 --- a/docs/Actions.xml +++ b/docs/Actions.xml @@ -948,10 +948,51 @@ bar:debug + + + Shorewall::Rules::perl_action_tcp_helper( $target, $proto + ) + + + This function is similar to + Shorewall::Rules::perl_action_helper but is taylored for specifying + options to "-p tcp". + + To use this function, you must include: + + + use + Shorewall::Rules; + + + Arguments are: + + + + $target + + + The target of the rule. Legal values are anything that + can appear in the TARGET column of in an action body and may + include log level, tag, and parameters. + + + + + $proto + + + The '-p' part of the rule to be generated (e.g., "-p tcp + --tcp-flags RST RST"). + + + + + - For an example of using these services, look at the standard action - /usr/share/shorewall/action.TCPFlags. + For examples of using these services, look at the standard actions + in /usr/share/shorewall/action.*.