mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 16:54:10 +01:00
Change TRACK_RULES setting from Internal to File
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
3e404b765f
commit
9b3b4579a2
@ -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 {
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user