mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 04:04:10 +01:00
Merge branch 'master' of ssh://shorewall.git.sourceforge.net/gitroot/shorewall/shorewall
This commit is contained in:
commit
f7b6ac690e
@ -80,18 +80,19 @@
|
|||||||
marks (see below).</para>
|
marks (see below).</para>
|
||||||
|
|
||||||
<para>May optionally be followed by <emphasis
|
<para>May optionally be followed by <emphasis
|
||||||
|
role="bold">:P</emphasis>, <emphasis
|
||||||
|
role="bold">:F</emphasis>,<emphasis role="bold">:T</emphasis> or
|
||||||
|
<emphasis role="bold">:I</emphasis> where<emphasis role="bold">
|
||||||
|
:P</emphasis> indicates that marking should occur in the
|
||||||
|
PREROUTING chain, <emphasis role="bold">:F</emphasis> indicates
|
||||||
|
that marking should occur in the FORWARD chain, <emphasis
|
||||||
|
role="bold">:I </emphasis>indicates that marking should occur in
|
||||||
|
the INPUT chain (added in Shorewall 4.4.13), and <emphasis
|
||||||
|
role="bold">:T</emphasis> indicates that marking should occur in
|
||||||
|
the POSTROUTING chain. If neither <emphasis
|
||||||
role="bold">:P</emphasis>, <emphasis role="bold">:F</emphasis>
|
role="bold">:P</emphasis>, <emphasis role="bold">:F</emphasis>
|
||||||
or <emphasis role="bold">:T</emphasis> where<emphasis
|
nor <emphasis role="bold">:T</emphasis> follow the mark value
|
||||||
role="bold"> :P</emphasis> indicates that marking should occur
|
then the chain is determined as follows:</para>
|
||||||
in the PREROUTING chain, <emphasis role="bold">:F</emphasis>
|
|
||||||
indicates that marking should occur in the FORWARD chain, :I
|
|
||||||
indicates that marking should occur in the INPUT chain (added in
|
|
||||||
Shorewall 4.4.13), and <emphasis role="bold">:T</emphasis>
|
|
||||||
indicates that marking should occur in the POSTROUTING chain. If
|
|
||||||
neither <emphasis role="bold">:P</emphasis>, <emphasis
|
|
||||||
role="bold">:F</emphasis> nor <emphasis
|
|
||||||
role="bold">:T</emphasis> follow the mark value then the chain
|
|
||||||
is determined as follows:</para>
|
|
||||||
|
|
||||||
<para>- If the SOURCE is <emphasis
|
<para>- If the SOURCE is <emphasis
|
||||||
role="bold">$FW</emphasis>[<emphasis
|
role="bold">$FW</emphasis>[<emphasis
|
||||||
@ -106,13 +107,17 @@
|
|||||||
MARK_IN_FORWARD_CHAIN in <ulink
|
MARK_IN_FORWARD_CHAIN in <ulink
|
||||||
url="shorewall.conf.html">shorewall.conf</ulink>(5).</para>
|
url="shorewall.conf.html">shorewall.conf</ulink>(5).</para>
|
||||||
|
|
||||||
|
<para>Please note that <emphasis role="bold">:I</emphasis> is
|
||||||
|
included for completeness and affects neither traffic shaping
|
||||||
|
nor policy routing.</para>
|
||||||
|
|
||||||
<para>If your kernel and iptables include CONNMARK support then
|
<para>If your kernel and iptables include CONNMARK support then
|
||||||
you can also mark the connection rather than the packet.</para>
|
you can also mark the connection rather than the packet.</para>
|
||||||
|
|
||||||
<para>The mark value may be optionally followed by "/" and a
|
<para>The mark value may be optionally followed by "/" and a
|
||||||
mask value (used to determine those bits of the connection mark
|
mask value (used to determine those bits of the connection mark
|
||||||
to actually be set). The mark and optional mask are then
|
to actually be set). The mark and optional mask are then
|
||||||
followed by one of:+</para>
|
followed by one of:</para>
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
@ -147,6 +152,16 @@
|
|||||||
<para>Mark the connecdtion in the POSTROUTING chain</para>
|
<para>Mark the connecdtion in the POSTROUTING chain</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term>CI</term>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>Mark the connection in the INPUT chain. This option
|
||||||
|
is included for completeness and has no applicability to
|
||||||
|
traffic shaping or policy routing.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
<para><emphasis role="bold">Special considerations for If
|
<para><emphasis role="bold">Special considerations for If
|
||||||
@ -805,10 +820,10 @@ SAME $FW 0.0.0.0/0 tcp 80,443</programlisting>
|
|||||||
|
|
||||||
<para>shorewall(8), shorewall-accounting(5), shorewall-actions(5),
|
<para>shorewall(8), shorewall-accounting(5), shorewall-actions(5),
|
||||||
shorewall-blacklist(5), shorewall-ecn(5), shorewall-exclusion(5),
|
shorewall-blacklist(5), shorewall-ecn(5), shorewall-exclusion(5),
|
||||||
shorewall-hosts(5), shorewall_interfaces(5), shorewall-ipsets(5), shorewall-maclist(5),
|
shorewall-hosts(5), shorewall_interfaces(5), shorewall-ipsets(5),
|
||||||
shorewall-masq(5), shorewall-nat(5), shorewall-netmap(5),
|
shorewall-maclist(5), shorewall-masq(5), shorewall-nat(5),
|
||||||
shorewall-params(5), shorewall-policy(5), shorewall-providers(5),
|
shorewall-netmap(5), shorewall-params(5), shorewall-policy(5),
|
||||||
shorewall-proxyarp(5), shorewall-route_rules(5),
|
shorewall-providers(5), shorewall-proxyarp(5), shorewall-route_rules(5),
|
||||||
shorewall-routestopped(5), shorewall-rules(5), shorewall.conf(5),
|
shorewall-routestopped(5), shorewall-rules(5), shorewall.conf(5),
|
||||||
shorewall-secmarks(5), shorewall-tcclasses(5), shorewall-tcdevices(5),
|
shorewall-secmarks(5), shorewall-tcclasses(5), shorewall-tcdevices(5),
|
||||||
shorewall-tos(5), shorewall-tunnels(5), shorewall-zones(5)</para>
|
shorewall-tos(5), shorewall-tunnels(5), shorewall-zones(5)</para>
|
||||||
|
@ -103,6 +103,10 @@
|
|||||||
MARK_IN_FORWARD_CHAIN in <ulink
|
MARK_IN_FORWARD_CHAIN in <ulink
|
||||||
url="shorewall6.conf.html">shorewall6.conf</ulink>(5).</para>
|
url="shorewall6.conf.html">shorewall6.conf</ulink>(5).</para>
|
||||||
|
|
||||||
|
<para>Please note that <emphasis role="bold">:I</emphasis> is
|
||||||
|
included for completeness and affects neither traffic shaping
|
||||||
|
nor policy routing.</para>
|
||||||
|
|
||||||
<para>If your kernel and ip6tables include CONNMARK support then
|
<para>If your kernel and ip6tables include CONNMARK support then
|
||||||
you can also mark the connection rather than the packet.</para>
|
you can also mark the connection rather than the packet.</para>
|
||||||
|
|
||||||
@ -144,6 +148,16 @@
|
|||||||
<para>Mark the connection in the POSTROUTING chain</para>
|
<para>Mark the connection in the POSTROUTING chain</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term>CI</term>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>Mark the connection in the INPUT chain. This option
|
||||||
|
is included for completeness and has no applicability to
|
||||||
|
traffic shaping or policy routing.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
<para><emphasis role="bold">Special considerations for If
|
<para><emphasis role="bold">Special considerations for If
|
||||||
|
Loading…
Reference in New Issue
Block a user