From 20e9f3e8a26318766724add3d73406900480df45 Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 1 Nov 2007 16:02:17 +0000 Subject: [PATCH] Try to clarify entries in the accounting file git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7604 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- docs/Accounting.xml | 23 ++++++++++++----------- docs/Shorewall-perl.xml | 11 +++++++++++ manpages/shorewall-accounting.xml | 7 ++++--- manpages/shorewall-tunnels.xml | 2 +- 4 files changed, 28 insertions(+), 15 deletions(-) diff --git a/docs/Accounting.xml b/docs/Accounting.xml index 07993ce19..daa02dbfa 100644 --- a/docs/Accounting.xml +++ b/docs/Accounting.xml @@ -74,16 +74,17 @@ - <chain> - The name of a chain to - jump to. Shorewall will create the chain automatically. If the - name of the chain is followed by :COUNT then a - COUNT rule matching this rule will automatically be added to - <chain>. Chain names must start with a letter, must be - composed of letters and digits, and may contain underscores - (_) and periods (.). Beginning with - Shorewall version 1.4.8, chain names may also contain embedded - dashes (-) and are not required to start with a - letter. + <chain> - The name of a chain; + Shorewall will create the chain automatically if it doesn't + already exist. Causes a jump to this chain will be generated from + the chain specified by the CHAIN column. If the name of the chain + is followed by :COUNT then a COUNT rule matching + this entry will automatically be added to <chain>. Chain + names must start with a letter, must be composed of letters and + digits, and may contain underscores (_) and periods + (.). Beginning with Shorewall version 1.4.8, chain + names may also contain embedded dashes (-) and are + not required to start with a letter. @@ -175,7 +176,7 @@ If you don’t want to define a test but need to specify anything in the following columns, place a "-" in this field. - ! — Inverts the test (not equal) + ! — Inverts the test (not equal) <value> — Value of the packet or connection mark. diff --git a/docs/Shorewall-perl.xml b/docs/Shorewall-perl.xml index cb1d0b520..c1c476fc4 100644 --- a/docs/Shorewall-perl.xml +++ b/docs/Shorewall-perl.xml @@ -597,4 +597,15 @@ loc net ACCEPT compiler uses the current environmental variables to perform variable expansion within the other Shorewall configuration files. + +
+ The Shorewall Perl Modules + + Shorewall's Perl modules are installed in + /usr/share/shorewall-perl/Shorewall and the names of the packages are of + the form Shorewall::name. So by using this + directiveuse lib '/usr/share/shorewall-perl'; + + You can then load the modules via normal Perl use statements. +
\ No newline at end of file diff --git a/manpages/shorewall-accounting.xml b/manpages/shorewall-accounting.xml index 078531f9f..c713de662 100644 --- a/manpages/shorewall-accounting.xml +++ b/manpages/shorewall-accounting.xml @@ -66,11 +66,12 @@ role="bold">COUNT] - Where chain is the name of a chain. + Where chain is the name of a chain; Shorewall will create the chain automatically if it doesn't - already exist. Causes a jump to that chain. If :COUNT is included, a counting rule - matching this record will be added to + matching this entry will be added to chain diff --git a/manpages/shorewall-tunnels.xml b/manpages/shorewall-tunnels.xml index c92ac5501..805e713af 100644 --- a/manpages/shorewall-tunnels.xml +++ b/manpages/shorewall-tunnels.xml @@ -214,7 +214,7 @@ You run a PPTP server on your firewall. #TYPE ZONE GATEWAY GATEWAY ZONES - pptpserver net + pptpserver net 0.0.0.0/0