mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 17:58:07 +02:00
Warn if 'proxyarp' specified on a non-loose provider
This commit is contained in:
parent
e82716baf4
commit
d6c8cd5d3e
@ -353,6 +353,11 @@ sub add_a_provider( ) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unless ( $loose ) {
|
||||||
|
warning_message q(The 'proxyarp' option is dangerous when specified on a Provider interface) if get_interface_option( $interface, 'proxyarp' );
|
||||||
|
warning_message q(The 'proxyndp' option is dangerous when specified on a Provider interface) if get_interface_option( $interface, 'proxyndp' );
|
||||||
|
}
|
||||||
|
|
||||||
$balance = $default_balance unless $balance;
|
$balance = $default_balance unless $balance;
|
||||||
|
|
||||||
$providers{$table} = { provider => $table,
|
$providers{$table} = { provider => $table,
|
||||||
|
@ -270,6 +270,13 @@
|
|||||||
address assigned by this provider (e.g., eth0:206.124.146.176).
|
address assigned by this provider (e.g., eth0:206.124.146.176).
|
||||||
See <link linkend="Shared">below</link> for additional
|
See <link linkend="Shared">below</link> for additional
|
||||||
considerations.</para>
|
considerations.</para>
|
||||||
|
|
||||||
|
<para>The interface must have been previously defined in <ulink
|
||||||
|
url="manpages/shorewall-interfaces.html">shorewall-interfaces</ulink>
|
||||||
|
(5). In general, that interface should not have the
|
||||||
|
<option>proxyarp</option> option specified unless
|
||||||
|
<option>loose</option> is given in the OPTIONS column of this
|
||||||
|
entry.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
@ -113,7 +113,11 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>The name of the network interface to the provider. Must be
|
<para>The name of the network interface to the provider. Must be
|
||||||
listed in <ulink
|
listed in <ulink
|
||||||
url="shorewall-interfaces.html">shorewall-interfaces(5)</ulink>.</para>
|
url="shorewall-interfaces.html">shorewall-interfaces(5)</ulink>. In
|
||||||
|
general, that interface should not have the
|
||||||
|
<option>proxyarp</option> option specified unless
|
||||||
|
<option>loose</option> is given in the OPTIONS column of this
|
||||||
|
entry.</para>
|
||||||
|
|
||||||
<para>Where more than one provider is serviced through a single
|
<para>Where more than one provider is serviced through a single
|
||||||
interface, the <emphasis>interface</emphasis> must be followed by a
|
interface, the <emphasis>interface</emphasis> must be followed by a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user