Tweak to DIVERT plus correct TPROXY in man pages.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-05-09 13:10:51 -07:00
parent 2eb7af23dc
commit 605ef6ef86
3 changed files with 4 additions and 2 deletions

View File

@ -358,6 +358,8 @@ sub process_tc_rule( ) {
}
$target .= ' --tproxy-mark';
$mark = "$mark/" . in_hex( $globals{PROVIDER_MASK} );
},
TTL => sub() {
fatal_error "TTL is not supported in IPv6 - use HL instead" if $family == F_IPV6;

View File

@ -422,7 +422,7 @@ SAME $FW 0.0.0.0/0 tcp 80,443</programlisting>
<listitem>
<para><emphasis
role="bold">TPROXY</emphasis>(<replaceable>mark</replaceable>[/<replaceable>mask</replaceable>][,[<replaceable>port</replaceable>][,[<replaceable>address</replaceable>]]])</para>
role="bold">TPROXY</emphasis>(<replaceable>mark</replaceable>[,[<replaceable>port</replaceable>][,[<replaceable>address</replaceable>]]])</para>
<para>Transparently redirects a packet without altering the IP
header. Requires a local provider to be defined in <ulink

View File

@ -319,7 +319,7 @@ SAME $FW 0.0.0.0/0 tcp 80,443</programlisting>
<listitem>
<para><emphasis
role="bold">TPROXY</emphasis>(<replaceable>mark</replaceable>[/<replaceable>mask</replaceable>][,[<replaceable>port</replaceable>][,[<replaceable>address</replaceable>]]])</para>
role="bold">TPROXY</emphasis>(<replaceable>mark</replaceable>][,[<replaceable>port</replaceable>][,[<replaceable>address</replaceable>]]])</para>
<para>Transparently redirects a packet without altering the IP
header. Requires a local provider to be defined in <ulink