forked from extern/shorewall_code
Update manpages for mss option
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7152 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
2a870ed227
commit
e8657289fc
@ -1424,7 +1424,7 @@ undo_routing() {
|
|||||||
# Restore rt_tables database
|
# Restore rt_tables database
|
||||||
#
|
#
|
||||||
if [ -f ${VARDIR}/rt_tables ]; then
|
if [ -f ${VARDIR}/rt_tables ]; then
|
||||||
[ -w /etc/iproute2/rt_table ] && cp -f ${VARDIR}/rt_tables /etc/iproute2/ && progress_message "/etc/iproute2/rt_tables database restored"
|
[ -w /etc/iproute2/rt_table -a -z "$KEEP_RT_TABLES" ] && cp -f ${VARDIR}/rt_tables /etc/iproute2/ && progress_message "/etc/iproute2/rt_tables database restored"
|
||||||
rm -f ${VARDIR}/rt_tables
|
rm -f ${VARDIR}/rt_tables
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
|
@ -1741,7 +1741,7 @@ do_initialize() {
|
|||||||
USE_ACTIONS=
|
USE_ACTIONS=
|
||||||
OPTIMIZE=
|
OPTIMIZE=
|
||||||
EXPORTPARAMS=
|
EXPORTPARAMS=
|
||||||
#EXPERIMENTAL is inherited
|
KEEP_TC_RULES=
|
||||||
|
|
||||||
#
|
#
|
||||||
# Packet Disposition
|
# Packet Disposition
|
||||||
@ -2017,6 +2017,7 @@ do_initialize() {
|
|||||||
TC_EXPERT=$(added_param_value_no TC_EXPERT $TC_EXPERT)
|
TC_EXPERT=$(added_param_value_no TC_EXPERT $TC_EXPERT)
|
||||||
USE_ACTIONS=$(added_param_value_yes USE_ACTIONS $USE_ACTIONS)
|
USE_ACTIONS=$(added_param_value_yes USE_ACTIONS $USE_ACTIONS)
|
||||||
EXPORTPARAMS=$(added_param_value_yes EXPORTPARAMS $EXPORTPARAMS)
|
EXPORTPARAMS=$(added_param_value_yes EXPORTPARAMS $EXPORTPARAMS)
|
||||||
|
KEEP_TC_RULES=$(added_param_value_no KEEP_TC_RULES $KEEP_TC_RULES)
|
||||||
|
|
||||||
[ "$PROGRAM" = compiler ] && [ -n "$USE_ACTIONS" ] && lib_load actions "USE_ACTIONS=Yes"
|
[ "$PROGRAM" = compiler ] && [ -n "$USE_ACTIONS" ] && lib_load actions "USE_ACTIONS=Yes"
|
||||||
|
|
||||||
|
@ -819,7 +819,7 @@ undo_routing() {
|
|||||||
# Restore rt_tables database
|
# Restore rt_tables database
|
||||||
#
|
#
|
||||||
if [ -f ${VARDIR}/rt_tables ]; then
|
if [ -f ${VARDIR}/rt_tables ]; then
|
||||||
[ -w /etc/iproute2/rt_table ] && cp -f ${VARDIR}/rt_tables /etc/iproute2/ && progress_message "/etc/iproute2/rt_tables database restored"
|
[ -w /etc/iproute2/rt_table -a -z "$KEEP_RT_TABLES" ] && cp -f ${VARDIR}/rt_tables /etc/iproute2/ && progress_message "/etc/iproute2/rt_tables database restored"
|
||||||
rm -f ${VARDIR}/rt_tables
|
rm -f ${VARDIR}/rt_tables
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
|
@ -307,6 +307,18 @@ loc eth2 -</programlisting>
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><emphasis
|
||||||
|
role="bold">mss</emphasis>[=<emphasis>number</emphasis>]</term>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>Added in Shorewall 4.0.3. Causes forwarded TCP SYN
|
||||||
|
packets entering or leaving on this interface to have their
|
||||||
|
MSS field set to the specified
|
||||||
|
<replaceable>number</replaceable>.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><emphasis role="bold">norfc1918</emphasis></term>
|
<term><emphasis role="bold">norfc1918</emphasis></term>
|
||||||
|
|
||||||
|
@ -635,10 +635,10 @@ net all DROP info</programlisting>then the chain name is 'net2all'
|
|||||||
role="bold">Yes</emphasis>|<emphasis role="bold">No</emphasis>}</term>
|
role="bold">Yes</emphasis>|<emphasis role="bold">No</emphasis>}</term>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>When set to <option>Yes</option>, this option prevents scripts
|
<para>Added in Shorewall 4.0.3. When set to <option>Yes</option>,
|
||||||
generated by Shorewall-perl from altering the
|
this option prevents scripts generated by Shorewall-perl from
|
||||||
/etc/iproute2/rt_tables database when there are entries in
|
altering the /etc/iproute2/rt_tables database when there are entries
|
||||||
<filename>/etc/shorewall/providers</filename>. If you set this
|
in <filename>/etc/shorewall/providers</filename>. If you set this
|
||||||
option to <option>Yes</option> while Shorewall (Shorewall-lite) is
|
option to <option>Yes</option> while Shorewall (Shorewall-lite) is
|
||||||
running, you should remove the file
|
running, you should remove the file
|
||||||
<filename>/var/lib/shorewall/rt_tables</filename>
|
<filename>/var/lib/shorewall/rt_tables</filename>
|
||||||
|
@ -582,9 +582,10 @@
|
|||||||
are untouched. Clear is often used to see if the firewall is causing
|
are untouched. Clear is often used to see if the firewall is causing
|
||||||
connection problems.</para>
|
connection problems.</para>
|
||||||
|
|
||||||
<para>If the <option>-f</option> is given, the command will be
|
<para>The <option>-f</option> option was added in Shorewall 4.0.3.
|
||||||
processed by the compiled script that executed the last successful
|
If <option>-f</option> is given, the command will be processed by
|
||||||
<emphasis role="bold">start</emphasis>, <emphasis
|
the compiled script that executed the last successful <emphasis
|
||||||
|
role="bold">start</emphasis>, <emphasis
|
||||||
role="bold">restart</emphasis> or <emphasis
|
role="bold">restart</emphasis> or <emphasis
|
||||||
role="bold">refresh</emphasis> command if that script exists.</para>
|
role="bold">refresh</emphasis> command if that script exists.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
@ -1179,9 +1180,10 @@
|
|||||||
url="shorewall-routestopped.html">shorewall-routestopped</ulink>(5)
|
url="shorewall-routestopped.html">shorewall-routestopped</ulink>(5)
|
||||||
or by ADMINISABSENTMINDED.</para>
|
or by ADMINISABSENTMINDED.</para>
|
||||||
|
|
||||||
<para>If the <option>-f</option> is given, the command will be
|
<para>The <option>-f</option> option was added in Shorewall 4.0.3.
|
||||||
processed by the compiled script that executed the last successful
|
If <option>-f</option> is given, the command will be processed by
|
||||||
<emphasis role="bold">start</emphasis>, <emphasis
|
the compiled script that executed the last successful <emphasis
|
||||||
|
role="bold">start</emphasis>, <emphasis
|
||||||
role="bold">restart</emphasis> or <emphasis
|
role="bold">restart</emphasis> or <emphasis
|
||||||
role="bold">refresh</emphasis> command if that script exists.</para>
|
role="bold">refresh</emphasis> command if that script exists.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
Loading…
Reference in New Issue
Block a user