mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-19 17:28:35 +02:00
Rename 'noanycast' to 'omitanycast'
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
09449d4c67
commit
b154803f22
@ -431,9 +431,9 @@ sub initialize( $$ ) {
|
|||||||
loopback => BINARY_IF_OPTION,
|
loopback => BINARY_IF_OPTION,
|
||||||
maclist => SIMPLE_IF_OPTION + IF_OPTION_HOST,
|
maclist => SIMPLE_IF_OPTION + IF_OPTION_HOST,
|
||||||
nets => IPLIST_IF_OPTION + IF_OPTION_ZONEONLY + IF_OPTION_VSERVER,
|
nets => IPLIST_IF_OPTION + IF_OPTION_ZONEONLY + IF_OPTION_VSERVER,
|
||||||
noanycast => SIMPLE_IF_OPTION + IF_OPTION_WILDOK,
|
|
||||||
nodbl => SIMPLE_IF_OPTION,
|
nodbl => SIMPLE_IF_OPTION,
|
||||||
nosmurfs => SIMPLE_IF_OPTION + IF_OPTION_HOST,
|
nosmurfs => SIMPLE_IF_OPTION + IF_OPTION_HOST,
|
||||||
|
omitanycast => SIMPLE_IF_OPTION + IF_OPTION_WILDOK,
|
||||||
optional => SIMPLE_IF_OPTION,
|
optional => SIMPLE_IF_OPTION,
|
||||||
proxyndp => BINARY_IF_OPTION,
|
proxyndp => BINARY_IF_OPTION,
|
||||||
required => SIMPLE_IF_OPTION,
|
required => SIMPLE_IF_OPTION,
|
||||||
@ -2403,7 +2403,7 @@ sub generate_all_acasts() {
|
|||||||
if ( $interfaceref->{physwild} ) {
|
if ( $interfaceref->{physwild} ) {
|
||||||
$physical =~ s/\+/*/;
|
$physical =~ s/\+/*/;
|
||||||
|
|
||||||
if ( $interfaceref->{options}{noanycast} ) {
|
if ( $interfaceref->{options}{omitanycast} ) {
|
||||||
if ( $physical eq '*' ) {
|
if ( $physical eq '*' ) {
|
||||||
@wildnoacasts = ( '*' );
|
@wildnoacasts = ( '*' );
|
||||||
} else {
|
} else {
|
||||||
@ -2417,7 +2417,7 @@ sub generate_all_acasts() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ( $interfaceref->{options}{noanycast} ) {
|
if ( $interfaceref->{options}{omitanycast} ) {
|
||||||
push @noacasts, $physical;
|
push @noacasts, $physical;
|
||||||
} else {
|
} else {
|
||||||
push @acasts, $physical;
|
push @acasts, $physical;
|
||||||
|
@ -628,7 +628,33 @@ loc eth2 -</programlisting>
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>noanycast</term>
|
<term><emphasis role="bold">nodbl</emphasis></term>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>Added in Shorewall 5.0.8. When specified, dynamic
|
||||||
|
blacklisting is disabled on the interface. Beginning with
|
||||||
|
Shorewall 5.0.10, <emphasis role="bold">nodbl</emphasis> is
|
||||||
|
equivalent to <emphasis
|
||||||
|
role="bold">dbl=none</emphasis>.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><emphasis role="bold">nosmurfs</emphasis></term>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>IPv4 only. Filter packets for smurfs (packets with a
|
||||||
|
broadcast address as the source).</para>
|
||||||
|
|
||||||
|
<para>Smurfs will be optionally logged based on the setting of
|
||||||
|
SMURF_LOG_LEVEL in <ulink
|
||||||
|
url="shorewall.conf.html">shorewall.conf</ulink>(5). After
|
||||||
|
logging, the packets are dropped.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term>omitanycast</term>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>IPv6 only. Added in Shorewall 5.2.8.</para>
|
<para>IPv6 only. Added in Shorewall 5.2.8.</para>
|
||||||
@ -639,12 +665,12 @@ loc eth2 -</programlisting>
|
|||||||
|
|
||||||
<orderedlist numeration="loweralpha">
|
<orderedlist numeration="loweralpha">
|
||||||
<listitem>
|
<listitem>
|
||||||
<para> Packets with these destination IP addresses are
|
<para>Packets with these destination IP addresses are
|
||||||
dropped by REJECT rules.</para>
|
dropped by REJECT rules.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para> Packets with these source IP addresses are dropped
|
<para>Packets with these source IP addresses are dropped
|
||||||
by the 'nosmurfs' interface option and by the 'dropSmurfs'
|
by the 'nosmurfs' interface option and by the 'dropSmurfs'
|
||||||
action.</para>
|
action.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
@ -677,32 +703,6 @@ loc eth2 -</programlisting>
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><emphasis role="bold">nodbl</emphasis></term>
|
|
||||||
|
|
||||||
<listitem>
|
|
||||||
<para>Added in Shorewall 5.0.8. When specified, dynamic
|
|
||||||
blacklisting is disabled on the interface. Beginning with
|
|
||||||
Shorewall 5.0.10, <emphasis role="bold">nodbl</emphasis> is
|
|
||||||
equivalent to <emphasis
|
|
||||||
role="bold">dbl=none</emphasis>.</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><emphasis role="bold">nosmurfs</emphasis></term>
|
|
||||||
|
|
||||||
<listitem>
|
|
||||||
<para>IPv4 only. Filter packets for smurfs (packets with a
|
|
||||||
broadcast address as the source).</para>
|
|
||||||
|
|
||||||
<para>Smurfs will be optionally logged based on the setting of
|
|
||||||
SMURF_LOG_LEVEL in <ulink
|
|
||||||
url="shorewall.conf.html">shorewall.conf</ulink>(5). After
|
|
||||||
logging, the packets are dropped.</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><emphasis role="bold">optional</emphasis></term>
|
<term><emphasis role="bold">optional</emphasis></term>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user