mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-18 11:38:14 +01:00
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
This commit is contained in:
commit
5d597cb43c
@ -1549,10 +1549,16 @@ sub known_interface($)
|
|||||||
my $iface = $interface;
|
my $iface = $interface;
|
||||||
|
|
||||||
if ( $minroot ) {
|
if ( $minroot ) {
|
||||||
|
#
|
||||||
|
# We have wildcard interfaces -- see if this interface matches one of their roots
|
||||||
|
#
|
||||||
while ( length $iface > $minroot ) {
|
while ( length $iface > $minroot ) {
|
||||||
chop $iface;
|
chop $iface;
|
||||||
|
|
||||||
if ( my $i = $roots{$iface} ) {
|
if ( my $i = $roots{$iface} ) {
|
||||||
|
#
|
||||||
|
# Found one
|
||||||
|
#
|
||||||
$interfaceref = $interfaces{$i};
|
$interfaceref = $interfaces{$i};
|
||||||
|
|
||||||
my $physical = map_physical( $interface, $interfaceref );
|
my $physical = map_physical( $interface, $interfaceref );
|
||||||
@ -1682,9 +1688,8 @@ sub source_port_to_bridge( $ ) {
|
|||||||
return $portref ? $portref->{bridge} : '';
|
return $portref ? $portref->{bridge} : '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Returns a hash reference for the zones interface through the interface
|
# Returns a hash reference for the zones interfaced through the interface
|
||||||
#
|
#
|
||||||
sub interface_zones( $ ) {
|
sub interface_zones( $ ) {
|
||||||
my $interfaceref = known_interface( $_[0] );
|
my $interfaceref = known_interface( $_[0] );
|
||||||
@ -1719,7 +1724,7 @@ sub interface_is_required($) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# Return true if the interface is 'plain'
|
# Return true if the interface is 'plain' (not optional, required or ignored and not a bridge port).
|
||||||
#
|
#
|
||||||
sub interface_is_plain($) {
|
sub interface_is_plain($) {
|
||||||
my $interfaceref = $interfaces{$_[0]};
|
my $interfaceref = $interfaces{$_[0]};
|
||||||
|
@ -213,7 +213,7 @@ loc eth2 -</programlisting>
|
|||||||
changed; the value assigned to the setting will be the value
|
changed; the value assigned to the setting will be the value
|
||||||
specified (if any) or 1 if no value is given.</para>
|
specified (if any) or 1 if no value is given.</para>
|
||||||
|
|
||||||
<para></para>
|
<para/>
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
<para>This option does not work with a wild-card
|
<para>This option does not work with a wild-card
|
||||||
@ -247,7 +247,7 @@ loc eth2 -</programlisting>
|
|||||||
|
|
||||||
<para>8 - do not reply for all local addresses</para>
|
<para>8 - do not reply for all local addresses</para>
|
||||||
|
|
||||||
<para></para>
|
<para/>
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
<para>This option does not work with a wild-card
|
<para>This option does not work with a wild-card
|
||||||
@ -255,7 +255,7 @@ loc eth2 -</programlisting>
|
|||||||
the INTERFACE column.</para>
|
the INTERFACE column.</para>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
<para></para>
|
<para/>
|
||||||
|
|
||||||
<warning>
|
<warning>
|
||||||
<para>Do not specify <emphasis
|
<para>Do not specify <emphasis
|
||||||
@ -425,7 +425,7 @@ loc eth2 -</programlisting>
|
|||||||
1
|
1
|
||||||
teastep@lists:~$ </programlisting>
|
teastep@lists:~$ </programlisting>
|
||||||
|
|
||||||
<para></para>
|
<para/>
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
<para>This option does not work with a wild-card
|
<para>This option does not work with a wild-card
|
||||||
@ -760,7 +760,7 @@ loc eth2 -</programlisting>
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>unmanaged</term>
|
<term><emphasis role="bold">unmanaged</emphasis></term>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Added in Shorewall 4.5.18. Causes all traffic between
|
<para>Added in Shorewall 4.5.18. Causes all traffic between
|
||||||
|
@ -538,7 +538,7 @@ loc eth2 -</programlisting>
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>unmanaged</term>
|
<term><emphasis role="bold">unmanaged</emphasis></term>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Added in Shorewall 4.5.18. Causes all traffic between
|
<para>Added in Shorewall 4.5.18. Causes all traffic between
|
||||||
|
Loading…
Reference in New Issue
Block a user