forked from extern/shorewall_code
Warning when 'persistent' used with RESTORE_DEFAULT_ROUTE=Yes
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
02ed36332a
commit
8ea96098bf
@ -602,6 +602,7 @@ sub process_a_provider( $ ) {
|
|||||||
} elsif ( $option eq 'nohostroute' ) {
|
} elsif ( $option eq 'nohostroute' ) {
|
||||||
$hostroute = 0;
|
$hostroute = 0;
|
||||||
} elsif ( $option eq 'persistent' ) {
|
} elsif ( $option eq 'persistent' ) {
|
||||||
|
warning_message "When RESTORE_DEFAULT_ROUTE=Yes, the 'persistent' option may not work as expected" if $config{RESTORE_DEFAULT_ROUTE};
|
||||||
$persistent = 1;
|
$persistent = 1;
|
||||||
} else {
|
} else {
|
||||||
fatal_error "Invalid option ($option)";
|
fatal_error "Invalid option ($option)";
|
||||||
|
@ -220,7 +220,7 @@
|
|||||||
<para>In IPV6, the <option>balance</option> option does not
|
<para>In IPV6, the <option>balance</option> option does not
|
||||||
cause balanced default routes to be created; it rather
|
cause balanced default routes to be created; it rather
|
||||||
causes a sequence of default routes with different metrics
|
causes a sequence of default routes with different metrics
|
||||||
to be created. </para>
|
to be created.</para>
|
||||||
</caution>
|
</caution>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
@ -438,6 +438,14 @@
|
|||||||
<command>enable</command> and <command>reenable</command>
|
<command>enable</command> and <command>reenable</command>
|
||||||
commands can reenable the provider.</para>
|
commands can reenable the provider.</para>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
|
<important>
|
||||||
|
<para>RESTORE_DEFAULT_OPTION=Yes in shorewall[6].conf is not
|
||||||
|
recommended when the <option>persistent</option> option is
|
||||||
|
used, as restoring default routes to the main routing table
|
||||||
|
can prevent link status monitors such as foolsm from
|
||||||
|
correctly detecting non-working providers.</para>
|
||||||
|
</important>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
Loading…
Reference in New Issue
Block a user