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
This commit is contained in:
teastep 2007-11-01 16:02:17 +00:00
parent 4c8b80b0d4
commit 20e9f3e8a2
4 changed files with 28 additions and 15 deletions

View File

@ -74,16 +74,17 @@
</listitem> </listitem>
<listitem> <listitem>
<para><emphasis>&lt;chain&gt;</emphasis> - The name of a chain to <para><emphasis>&lt;chain&gt;</emphasis> - The name of a chain;
jump to. Shorewall will create the chain automatically. If the Shorewall will create the chain automatically if it doesn't
name of the chain is followed by <quote>:COUNT</quote> then a already exist. Causes a jump to this chain will be generated from
COUNT rule matching this rule will automatically be added to the chain specified by the CHAIN column. If the name of the chain
&lt;chain&gt;. Chain names must start with a letter, must be is followed by <quote>:COUNT</quote> then a COUNT rule matching
composed of letters and digits, and may contain underscores this entry will automatically be added to &lt;chain&gt;. Chain
(<quote>_</quote>) and periods (<quote>.</quote>). Beginning with names must start with a letter, must be composed of letters and
Shorewall version 1.4.8, chain names may also contain embedded digits, and may contain underscores (<quote>_</quote>) and periods
dashes (<quote>-</quote>) and are not required to start with a (<quote>.</quote>). Beginning with Shorewall version 1.4.8, chain
letter.</para> names may also contain embedded dashes (<quote>-</quote>) and are
not required to start with a letter.</para>
</listitem> </listitem>
<listitem> <listitem>
@ -175,7 +176,7 @@
<para>If you dont want to define a test but need to specify anything <para>If you dont want to define a test but need to specify anything
in the following columns, place a "-" in this field.<simplelist> in the following columns, place a "-" in this field.<simplelist>
<member> ! — Inverts the test (not equal)</member> <member>! — Inverts the test (not equal)</member>
<member>&lt;value&gt; — Value of the packet or connection <member>&lt;value&gt; — Value of the packet or connection
mark.</member> mark.</member>

View File

@ -597,4 +597,15 @@ loc net ACCEPT</programlisting>
compiler uses the current environmental variables to perform variable compiler uses the current environmental variables to perform variable
expansion within the other Shorewall configuration files.</para> expansion within the other Shorewall configuration files.</para>
</section> </section>
<section>
<title>The Shorewall Perl Modules</title>
<para>Shorewall's Perl modules are installed in
/usr/share/shorewall-perl/Shorewall and the names of the packages are of
the form Shorewall::<firstterm>name</firstterm>. So by using this
directive<programlisting>use lib '/usr/share/shorewall-perl';</programlisting></para>
<para>You can then load the modules via normal Perl use statements.</para>
</section>
</article> </article>

View File

@ -66,11 +66,12 @@
role="bold">COUNT</emphasis>]</term> role="bold">COUNT</emphasis>]</term>
<listitem> <listitem>
<para>Where <emphasis>chain</emphasis> is the name of a chain. <para>Where <emphasis>chain</emphasis> is the name of a chain;
Shorewall will create the chain automatically if it doesn't Shorewall will create the chain automatically if it doesn't
already exist. Causes a jump to that chain. If <emphasis already exist. Causes a jump to that chain to be added to the
chain specified in the CHAIN column. If <emphasis
role="bold">:COUNT</emphasis> is included, a counting rule role="bold">:COUNT</emphasis> is included, a counting rule
matching this record will be added to matching this entry will be added to
<emphasis>chain</emphasis></para> <emphasis>chain</emphasis></para>
</listitem> </listitem>
</varlistentry> </varlistentry>

View File

@ -214,7 +214,7 @@
<para>You run a PPTP server on your firewall.</para> <para>You run a PPTP server on your firewall.</para>
<programlisting> #TYPE ZONE GATEWAY GATEWAY ZONES <programlisting> #TYPE ZONE GATEWAY GATEWAY ZONES
pptpserver net</programlisting> pptpserver net 0.0.0.0/0</programlisting>
</listitem> </listitem>
</varlistentry> </varlistentry>