From df6d21c25c625e631b23b840d39288425cb11612 Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 5 Jul 2007 14:06:36 +0000 Subject: [PATCH] Tweak 4.0 part of extension script doc git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6787 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- docs/shorewall_extension_scripts.xml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/docs/shorewall_extension_scripts.xml b/docs/shorewall_extension_scripts.xml index 670c146d0..c309885a1 100644 --- a/docs/shorewall_extension_scripts.xml +++ b/docs/shorewall_extension_scripts.xml @@ -473,14 +473,9 @@ '' , #Log tag 'add', #Command '-p tcp' #Pass as-is - );Some run-time scripts have been converted to - compile time scripts: - initdone - - maclog - Note that in the 'initdone' script, there is no default - chain ($chainref). You can obtain a reference to a standard chain - by:my $chainref = $chain_table{<table>}{<chain name>};Example:my $chainref = $chain_table{filter}{INPUT}; + );Note that in the 'initdone' script, there is + no default chain ($chainref). You can obtain a reference to a standard + chain by:my $chainref = $chain_table{<table>}{<chain name>};Example:my $chainref = $chain_table{filter}{INPUT}; You can also use the hash references $filter_table, $mangle_table and $nat_table to access chain references in the three main @@ -491,9 +486,10 @@ my $chainref = $filter_table->{INPUT}; #Same as above with a few less keystrokes; runs faster too The continue script has been eliminated because it no longer make - any sense under Shorewall-perl. This script was designed to allow you to + any sense under Shorewall-perl. That script was designed to allow you to add special temporary rules during [re]start. Shorewall-perl doesn't - need such rules. + need such rules since the ruleset is instantianted atomically by + table. \ No newline at end of file