mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 23:53:30 +01:00
Add mark layout options to shorewall.conf manpage
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
0adc82f469
commit
9988f744ff
@ -1261,6 +1261,55 @@ net all DROP info</programlisting>then the chain name is 'net2all'
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="MASK_BITS">
|
||||
<term><emphasis
|
||||
role="bold">MASK_BITS</emphasis>=[<replaceable>number</replaceable>]</term>
|
||||
|
||||
<listitem>
|
||||
<para>Added in Shorewall 4.4.26. Number of bits on the right of the
|
||||
32-bit packet mark to be masked when clearing the traffic shaping
|
||||
mark. Must be >= TC_BITS and <= PROVIDER_OFFSET (if
|
||||
PROVIDER_OFFSET > 0). Default value and the default values of the
|
||||
other mark layout options is determined as follows:</para>
|
||||
|
||||
<table frame="none">
|
||||
<title>Default Packet Mark Layout</title>
|
||||
|
||||
<tgroup cols="2">
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>WIDE_TC_MARKS=No, HIGH_ROUTE_MARKS=No</entry>
|
||||
|
||||
<entry>TC_BITS=8, PROVIDER_BITS=8, PROVIDER_OFFSET=0,
|
||||
MASK_BITS=8</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry>WIDE_TC_MARKS=No, HIGH_ROUTE_MARKS=Yes</entry>
|
||||
|
||||
<entry>TC_BITS=8, PROVIDER_BITS=8, PROVIDER_OFFSET=8,
|
||||
MASK_BITS=8</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry>WIDE_TC_MARKS=Yes, HIGH_ROUTE_MARKS=No</entry>
|
||||
|
||||
<entry>TC_BITS=14, PROVIDER_BITS=8, PROVIDER_OFFSET=0,
|
||||
MASK_BITS=16</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry>WIDE_TC_MARKS=Yes, HIGH_ROUTE_MARKS=Yes</entry>
|
||||
|
||||
<entry>TC_BITS=14, PROVIDER_BITS=8, PROVIDER_OFFSET=16,
|
||||
MASK_BITS=16</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><emphasis role="bold">MODULE_SUFFIX=</emphasis>[<emphasis
|
||||
role="bold">"</emphasis><emphasis>extension</emphasis> ...<emphasis
|
||||
@ -1505,6 +1554,31 @@ net all DROP info</programlisting>then the chain name is 'net2all'
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><emphasis
|
||||
role="bold">PROVIDER_BITS</emphasis>=[<replaceable>number</replaceable>]</term>
|
||||
|
||||
<listitem>
|
||||
<para>Added in Shorewall 4.4.26. The number of bits in the 32-bit
|
||||
packet mark to be used for provider numbers. May be zero. See <link
|
||||
linkend="MASK_BITS">MASK_BITS</link> above for default value.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><emphasis
|
||||
role="bold">PROVIDER_OFFSET</emphasis>=[<replaceable>number</replaceable>]</term>
|
||||
|
||||
<listitem>
|
||||
<para>Added in Shorewall 4.4.26. The offset from the right
|
||||
(low-order end) of the provider number field in the 32-bit packet
|
||||
mark. If non-zero, must be >= TC_BITS (Shorewall automatically
|
||||
adjusts PROVIDER_OFFSET's value). PROVIDER_OFFSET + PROVIDER_BITS +
|
||||
ZONE_BITS must be < 32. See <link
|
||||
linkend="MASK_BITS">MASK_BITS</link> above for default value.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><emphasis
|
||||
role="bold">RCP_COMMAND="</emphasis><replaceable>command</replaceable><emphasis
|
||||
@ -1792,6 +1866,17 @@ net all DROP info</programlisting>then the chain name is 'net2all'
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><emphasis
|
||||
role="bold">TC_BITS</emphasis>=[<replaceable>number</replaceable>]</term>
|
||||
|
||||
<listitem>
|
||||
<para>The number of bits at the low end of the 32-bit packet mark to
|
||||
be used for traffic shaping marking. May be zero. See <link
|
||||
linkend="MASK_BITS">MASK_BITS</link> above for default value.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><emphasis role="bold">TC_ENABLED=</emphasis>[<emphasis
|
||||
role="bold">Yes</emphasis>|<emphasis
|
||||
@ -2035,6 +2120,18 @@ net all DROP info</programlisting>then the chain name is 'net2all'
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><emphasis
|
||||
role="bold">ZONE_BITS</emphasis>=[<replaceable>number</replaceable>]</term>
|
||||
|
||||
<listitem>
|
||||
<para>Added in Shorewall 4.4.26. When non-zero, enables automatic
|
||||
packet marking by source zone and determines the number of bits in
|
||||
the 32-bit packet mark to be used for the zone mark. Default value
|
||||
is 0.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><emphasis
|
||||
role="bold">ZONE2ZONE</emphasis>={<option>2</option>|<option>-</option>}</term>
|
||||
|
Loading…
Reference in New Issue
Block a user