Add CONTINUE as a possible setting for RELATED_DISPOSITION.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-01-28 11:47:45 -08:00
parent 2e8eeff416
commit a70c441458
3 changed files with 4 additions and 3 deletions

View File

@ -5291,6 +5291,8 @@ sub get_configuration( $$$$ ) {
$globals{RELATED_TARGET} = 'reject'; $globals{RELATED_TARGET} = 'reject';
} elsif ( $val eq 'A_REJECT' ) { } elsif ( $val eq 'A_REJECT' ) {
$globals{RELATED_TARGET} = $val; $globals{RELATED_TARGET} = $val;
} elsif ( $val eq 'CONTINUE' ) {
$globals{RELATED_TARGET} = '';
} else { } else {
fatal_error "Invalid value ($config{RELATED_DISPOSITION}) for RELATED_DISPOSITION" fatal_error "Invalid value ($config{RELATED_DISPOSITION}) for RELATED_DISPOSITION"
} }
@ -5356,7 +5358,6 @@ sub get_configuration( $$$$ ) {
$val = $config{TCP_FLAGS_DISPOSITION} = 'DROP'; $val = $config{TCP_FLAGS_DISPOSITION} = 'DROP';
} }
default 'TC_ENABLED' , $family == F_IPV4 ? 'Internal' : 'no'; default 'TC_ENABLED' , $family == F_IPV4 ? 'Internal' : 'no';
$val = "\L$config{TC_ENABLED}"; $val = "\L$config{TC_ENABLED}";

View File

@ -1999,7 +1999,7 @@ LOG:info:,bar net fw</programlisting>
<varlistentry> <varlistentry>
<term><emphasis <term><emphasis
role="bold">RELATED_DISPOSITION=[ACCEPT|A_ACCEPT|A_DROP|A_REJECT|DROP|REJECT]</emphasis></term> role="bold">RELATED_DISPOSITION=[ACCEPT|A_ACCEPT|A_DROP|A_REJECT|DROP|REJECT|CONTINUE]</emphasis></term>
<listitem> <listitem>
<para>Added in Shorewall 4.4.27. Shorewall has traditionally <para>Added in Shorewall 4.4.27. Shorewall has traditionally

View File

@ -1767,7 +1767,7 @@ LOG:info:,bar net fw</programlisting>
<varlistentry> <varlistentry>
<term><emphasis <term><emphasis
role="bold">RELATED_DISPOSITION=[ACCEPT|A_ACCEPT|A_DROP|A_REJECT|DROP|REJECT]</emphasis></term> role="bold">RELATED_DISPOSITION=[ACCEPT|A_ACCEPT|A_DROP|A_REJECT|DROP|REJECT|CONTINUE]</emphasis></term>
<listitem> <listitem>
<para>Added in Shorewall 4.4.27. Shorewall has traditionally <para>Added in Shorewall 4.4.27. Shorewall has traditionally