Change TRACK_RULES setting from Internal to File

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2016-01-24 16:15:36 -08:00
parent 3e404b765f
commit 9b3b4579a2
3 changed files with 7 additions and 7 deletions

View File

@ -5828,7 +5828,7 @@ sub get_configuration( $$$$ ) {
default_yes_no 'CHAIN_SCRIPTS' , 'Yes';
if ( supplied ( $val = $config{TRACK_RULES} ) ) {
if ( lc( $val ) eq 'internal' ) {
if ( lc( $val ) eq 'file' ) {
$globals{TRACK_RULES} = 'Yes';
$config{TRACK_RULES} = '';
} else {

View File

@ -2621,7 +2621,7 @@ INLINE - - - ; -j REJECT
<varlistentry>
<term><emphasis role="bold">TRACK_RULES=</emphasis>{<emphasis
role="bold">Yes</emphasis>|<emphasis
role="bold">No</emphasis>|Internal}</term>
role="bold">No</emphasis>|File}</term>
<listitem>
<para>Added in Shorewall 4.5.20. If set to <emphasis
@ -2636,8 +2636,8 @@ INLINE - - - ; -j REJECT
and kernel.</para>
<para>Beginning with Shorewall 5.0.5, the option may also be set to
<emphasis role="bold">Internal</emphasis>. That setting causes
similar comments to be added to the
<emphasis role="bold">File</emphasis>. That setting causes similar
comments to be added to the
<filename>.iptables-restore-input</filename> file, which is normally
created in <filename>/var/lib/shorewall</filename>.</para>
</listitem>

View File

@ -2296,7 +2296,7 @@ INLINE - - - ; -j REJECT
<varlistentry>
<term><emphasis role="bold">TRACK_RULES=</emphasis>{<emphasis
role="bold">Yes</emphasis>|<emphasis
role="bold">No</emphasis>|Internal}</term>
role="bold">No</emphasis>|File}</term>
<listitem>
<para>Added in Shorewall 4.5.20. If set to <emphasis
@ -2311,8 +2311,8 @@ INLINE - - - ; -j REJECT
and kernel.</para>
<para>Beginning with Shorewall 5.0.5, the option may also be set to
<emphasis role="bold">Internal</emphasis>. That setting causes
similar comments to be added to the
<emphasis role="bold">File</emphasis>. That setting causes similar
comments to be added to the
<filename>.ip6tables-restore-input</filename> file, which is
normally created in <filename>/var/lib/shorewall</filename>6.</para>
</listitem>