forked from extern/shorewall_code
Compare commits
6 Commits
5.0.1-base
...
5.0.1
Author | SHA1 | Date | |
---|---|---|---|
|
35b90c2709 | ||
|
79a145bf83 | ||
|
c2768a2d64 | ||
|
8dc16268a7 | ||
|
8771041a63 | ||
|
dc7082b7a1 |
@@ -3879,6 +3879,13 @@ usage() # $1 = exit status
|
||||
ecko " refresh [ -d ] [ -n ] [ -T ] [ -D <directory> ] [ <chain>... ]"
|
||||
echo " reject <address> ..."
|
||||
ecko " reload [ -s ] [ -c ] [ -r <root user> ] [ -T ] [ -i ] [ <directory> ] <system>"
|
||||
|
||||
if [ -z "$g_lite" ]; then
|
||||
echo " remote-reload [ -s ] [ -c ] [ -r <root-name> ] [ -T ] [ -i ] [ <directory> ] <system>"
|
||||
echo " remote-restart [ -s ] [ -c ] [ -r <root-name> ] [ -T ] [ -i ] [ <directory> ] <system>"
|
||||
echo " remote-start [ -s ] [ -c ] [ -r <root-name> ] [ -T ] [ -i ] [ <directory> ] <system>"
|
||||
fi
|
||||
|
||||
echo " reset [ <chain> ... ]"
|
||||
|
||||
if [ -n "$g_lite" ]; then
|
||||
|
@@ -60,7 +60,6 @@ our @routemarked_providers;
|
||||
our %routemarked_interfaces;
|
||||
our @routemarked_interfaces;
|
||||
our %provider_interfaces;
|
||||
our @load_providers;
|
||||
our @load_interfaces;
|
||||
|
||||
our $balancing;
|
||||
@@ -98,7 +97,6 @@ sub initialize( $ ) {
|
||||
%routemarked_interfaces = ();
|
||||
@routemarked_interfaces = ();
|
||||
%provider_interfaces = ();
|
||||
@load_providers = ();
|
||||
@load_interfaces = ();
|
||||
$balancing = 0;
|
||||
$fallback = 0;
|
||||
@@ -697,7 +695,7 @@ sub process_a_provider( $ ) {
|
||||
if ( $track ) {
|
||||
if ( $routemarked_interfaces{$interface} ) {
|
||||
fatal_error "Interface $interface is tracked through an earlier provider" if $routemarked_interfaces{$interface} == ROUTEMARKED_UNSHARED;
|
||||
fatal_error "Multiple providers through the same interface must their IP address specified in the INTERFACES" unless $shared;
|
||||
fatal_error "Multiple providers through the same interface must have their IP address specified in the INTERFACES column" unless $shared;
|
||||
} else {
|
||||
$routemarked_interfaces{$interface} = $shared ? ROUTEMARKED_SHARED : ROUTEMARKED_UNSHARED;
|
||||
push @routemarked_interfaces, $interface;
|
||||
@@ -1380,15 +1378,32 @@ sub finish_providers() {
|
||||
emit( 'fi',
|
||||
'' );
|
||||
} else {
|
||||
if ( ( $fallback || @load_interfaces ) && $config{USE_DEFAULT_RT} ) {
|
||||
emit ( q(#),
|
||||
q(# Delete any default routes in the 'main' table),
|
||||
q(#),
|
||||
"while qt \$IP -$family route del default table $main; do",
|
||||
' true',
|
||||
'done',
|
||||
''
|
||||
);
|
||||
} else {
|
||||
emit ( q(#),
|
||||
q(# We don't have any 'balance'. 'load=' or 'fallback=' providers so we restore any default route that we've saved),
|
||||
q(#),
|
||||
qq(restore_default_route $config{USE_DEFAULT_RT}),
|
||||
''
|
||||
);
|
||||
}
|
||||
|
||||
emit ( '#',
|
||||
'# We don\'t have any \'balance\' providers so we restore any default route that we\'ve saved',
|
||||
'# Delete any routes in the \'balance\' table',
|
||||
'#',
|
||||
"restore_default_route $config{USE_DEFAULT_RT}" ,
|
||||
'#',
|
||||
'# And delete any routes in the \'balance\' table',
|
||||
'#',
|
||||
"qt \$IP -$family route del default table $balance",
|
||||
'' );
|
||||
"while qt \$IP -$family route del default table $balance; do",
|
||||
' true',
|
||||
'done',
|
||||
''
|
||||
);
|
||||
}
|
||||
|
||||
if ( $fallback ) {
|
||||
|
@@ -1645,7 +1645,7 @@ compiler_command() {
|
||||
shift
|
||||
update_command $@
|
||||
;;
|
||||
remote-start|remote-reload-reload|remote-restart)
|
||||
remote-start|remote-reload|remote-restart)
|
||||
shift
|
||||
remote_reload_command $@
|
||||
;;
|
||||
|
@@ -424,7 +424,7 @@
|
||||
|
||||
<arg>-<replaceable>options</replaceable></arg>
|
||||
|
||||
<arg choice="plain"><option>remote_start</option></arg>
|
||||
<arg choice="plain"><option>remote-start</option></arg>
|
||||
|
||||
<arg><option>-s</option></arg>
|
||||
|
||||
@@ -448,7 +448,7 @@
|
||||
|
||||
<arg>-<replaceable>options</replaceable></arg>
|
||||
|
||||
<arg choice="plain"><option>remote_reload</option></arg>
|
||||
<arg choice="plain"><option>remote-reload</option></arg>
|
||||
|
||||
<arg><option>-s</option></arg>
|
||||
|
||||
@@ -472,7 +472,7 @@
|
||||
|
||||
<arg>-<replaceable>options</replaceable></arg>
|
||||
|
||||
<arg choice="plain"><option>remote_restart</option></arg>
|
||||
<arg choice="plain"><option>remote-restart</option></arg>
|
||||
|
||||
<arg><option>-s</option></arg>
|
||||
|
||||
@@ -1522,7 +1522,7 @@
|
||||
<listitem>
|
||||
<para>This command was re-implemented in Shorewall 5.0.0. The
|
||||
pre-5.0.0 <command>reload</command> command is now called
|
||||
<command>remote_restart</command> (see below).</para>
|
||||
<command>remote-restart</command> (see below).</para>
|
||||
|
||||
<para>Reload is similar to <emphasis role="bold">shorewall
|
||||
start</emphasis> except that it assumes that the firewall is already
|
||||
@@ -1575,7 +1575,7 @@
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><emphasis role="bold">remote_start</emphasis>
|
||||
<term><emphasis role="bold">remote-start</emphasis>
|
||||
[-<option>s</option>] [-<option>c</option>] [-<option>r</option>
|
||||
<replaceable>root-user-name</replaceable>] [-<option>T</option>]
|
||||
[-<option>i</option>] [ <replaceable>directory</replaceable> ]
|
||||
@@ -1637,7 +1637,7 @@
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><emphasis role="bold">remote_reload
|
||||
<term><emphasis role="bold">remote-reload
|
||||
</emphasis>[-<option>s</option>] [-<option>c</option>]
|
||||
[-<option>r</option> <replaceable>root-user-name</replaceable>]
|
||||
[-<option>T</option>] [-<option>i</option>] [
|
||||
@@ -1699,7 +1699,7 @@
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><emphasis role="bold">remote_restart
|
||||
<term><emphasis role="bold">remote-restart
|
||||
</emphasis>[-<option>s</option>] [-<option>c</option>]
|
||||
[-<option>r</option> <replaceable>root-user-name</replaceable>]
|
||||
[-<option>T</option>] [-<option>i</option>] [
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Ping Macro
|
||||
# Shorewall6 - Ping Macro
|
||||
#
|
||||
# /usr/share/shorewall6/macro.Ping
|
||||
#
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# Shorewall version 5 -Trcrt Macro
|
||||
# Shorewall6 - Trcrt Macro
|
||||
#
|
||||
# /usr/share/shorewall/macro.Trcrt
|
||||
# /usr/share/shorewall6/macro.Trcrt
|
||||
#
|
||||
# This macro handles Traceroute (for up to 30 hops).
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall version 5 - Multicast DNS Macro
|
||||
# Shorewall6 - Multicast DNS Macro
|
||||
#
|
||||
# /usr/share/shorewall6/macro.mDNS
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Accounting File
|
||||
# Shorewall6 - Accounting File
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall6-accounting"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Actions File
|
||||
# Shorewall6 - Actions File
|
||||
#
|
||||
# /etc/shorewall6/actions
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Blacklist File
|
||||
# Shorewall6 - Blacklist File
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall6-blrules"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - clear File
|
||||
# Shorewall6 - clear File
|
||||
#
|
||||
# /etc/shorewall6/clear
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Hosts file
|
||||
# Shorewall6 - Hosts file
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall6-hosts"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Init File
|
||||
# Shorewall6 - Init File
|
||||
#
|
||||
# /etc/shorewall6/init
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Interfaces File
|
||||
# Shorewall6 - Interfaces File
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall6-interfaces"
|
||||
#
|
||||
|
@@ -1,10 +1,10 @@
|
||||
#
|
||||
# Shorewall6 version 5 - isusable File
|
||||
# Shorewall6 - isusable File
|
||||
#
|
||||
# /etc/shorewall6/isusable
|
||||
#
|
||||
# This script is called when Shorewall6 is attempting to determine
|
||||
# if an interface named in /etc/shorewall/providers is usable.
|
||||
# if an interface named in /etc/shorewall6/providers is usable.
|
||||
#
|
||||
# The script is invoked inside a function that accepts an interface
|
||||
# name as a single argument. The file below is designed to work with
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - lib.private File
|
||||
# Shorewall6 - lib.private File
|
||||
#
|
||||
# /etc/shorewall6/lib.private
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Maclist file
|
||||
# Shorewall6 - Maclist file
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall6-maclist"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Mangle File
|
||||
# Shorewall6 - Mangle File
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall6-mangle"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - MASQUERADE/SNAT file
|
||||
# Shorewall6 - MASQUERADE/SNAT file
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall6-masq"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Nat File
|
||||
# Shorewall6 - Nat File
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall6-nat"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Netmap File
|
||||
# Shorewall6 - Netmap File
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall-netmap"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Params File
|
||||
# Shorewall6 - Params File
|
||||
#
|
||||
# /etc/shorewall6/params
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Policy File
|
||||
# Shorewall6 - Policy File
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall6-policy"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Providers File
|
||||
# Shorewall6 - Providers File
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall6-providers"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - refresh File
|
||||
# Shorewall6 - refresh File
|
||||
#
|
||||
# /etc/shorewall6/refresh
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - refreshed File
|
||||
# Shorewall6 - refreshed File
|
||||
#
|
||||
# /etc/shorewall6/refreshed
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall 6 version 5 - Restored File
|
||||
# Shorewall6 - Restored File
|
||||
#
|
||||
# /etc/shorewall6/restored
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - routes File
|
||||
# Shorewall6 - routes File
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall6-routes"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Routestopped File
|
||||
# Shorewall6 - Routestopped File
|
||||
#
|
||||
# This file is deprecated in favor of the stoppedrules file.
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - route rules File
|
||||
# Shorewall6 - route rules File
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall6-rtrules"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Rules File
|
||||
# Shorewall6 - Rules File
|
||||
#
|
||||
# For information on the settings in this file, type "man shorewall6-rules"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Secmarks File
|
||||
# Shorewall6 - Secmarks File
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall-secmarks"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Start File
|
||||
# Shorewall6 - Start File
|
||||
#
|
||||
# /etc/shorewall6/start
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Started File
|
||||
# Shorewall6 - Started File
|
||||
#
|
||||
# /etc/shorewall6/started
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Stop File
|
||||
# Shorewall6 - Stop File
|
||||
#
|
||||
# /etc/shorewall6/stop
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Stopped File
|
||||
# Shorewall6 - Stopped File
|
||||
#
|
||||
# /etc/shorewall6/stopped
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Stopped Rules File
|
||||
# Shorewall6 - Stopped Rules File
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall6-stoppedrules"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Tcclasses File
|
||||
# Shorewall6 - Tcclasses File
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall6-tcclasses"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - tcclear File
|
||||
# Shorewall6 - tcclear File
|
||||
#
|
||||
# /etc/shorewall6/tcclear
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Tcdevices File
|
||||
# Shorewall6 - Tcdevices File
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall6-tcdevices"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Tcfilters File
|
||||
# Shorewall6 - Tcfilters File
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall6-tcfilters"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Tcinterfaces File
|
||||
# Shorewall6 - Tcinterfaces File
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall6-tcinterfaces"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Tcpri File
|
||||
# Shorewall6 - Tcpri File
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall6-tcpri"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Tunnels File
|
||||
# Shorewall6 - Tunnels File
|
||||
#
|
||||
# For information about entries in this file, type "man shorewall6-tunnels"
|
||||
#
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Shorewall6 version 5 - Zones File
|
||||
# Shorewall6 - Zones File
|
||||
#
|
||||
# For information about this file, type "man shorewall6-zones"
|
||||
#
|
||||
|
@@ -378,7 +378,7 @@
|
||||
|
||||
<arg>-<replaceable>options</replaceable></arg>
|
||||
|
||||
<arg choice="plain"><option>remote_start</option></arg>
|
||||
<arg choice="plain"><option>remote-start</option></arg>
|
||||
|
||||
<arg><option>-s</option></arg>
|
||||
|
||||
@@ -402,7 +402,7 @@
|
||||
|
||||
<arg>-<replaceable>options</replaceable></arg>
|
||||
|
||||
<arg choice="plain"><option>remote_reload</option></arg>
|
||||
<arg choice="plain"><option>remote-reload</option></arg>
|
||||
|
||||
<arg><option>-s</option></arg>
|
||||
|
||||
@@ -426,7 +426,7 @@
|
||||
|
||||
<arg>-<replaceable>options</replaceable></arg>
|
||||
|
||||
<arg choice="plain"><option>remote_restart</option></arg>
|
||||
<arg choice="plain"><option>remote-restart</option></arg>
|
||||
|
||||
<arg><option>-s</option></arg>
|
||||
|
||||
@@ -1457,7 +1457,7 @@
|
||||
<listitem>
|
||||
<para>This command was re-implemented in Shorewall 5.0.0. The
|
||||
pre-5.0.0 <command>reload</command> command is now called
|
||||
<command>remote_restart</command> (see below).</para>
|
||||
<command>remote-restart</command> (see below).</para>
|
||||
|
||||
<para>Reload is similar to <command>shorewall6 start</command>
|
||||
except that it assumes that the firewall is already started.
|
||||
@@ -1511,7 +1511,7 @@
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><emphasis role="bold">remote_reload
|
||||
<term><emphasis role="bold">remote-reload
|
||||
</emphasis>[-<option>s</option>] [-<option>c</option>]
|
||||
[-<option>r</option> <replaceable>root-user-name</replaceable>]
|
||||
[-<option>T</option>] [-<option>i</option>] [
|
||||
@@ -1573,7 +1573,7 @@
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><emphasis role="bold">remote_ restart
|
||||
<term><emphasis role="bold">remote- restart
|
||||
</emphasis>[-<option>s</option>] [-<option>c</option>]
|
||||
[-<option>r</option> <replaceable>root-user-name</replaceable>]
|
||||
[-<option>T</option>] [-<option>i</option>] [
|
||||
@@ -1636,7 +1636,7 @@
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><emphasis role="bold">remote_start </emphasis>
|
||||
<term><emphasis role="bold">remote-start </emphasis>
|
||||
[-<option>s</option>] [-<option>c</option>] [-<option>r</option>
|
||||
<replaceable>root-user-name</replaceable>] [-<option>T</option>]
|
||||
[-<option>i</option>] [ <replaceable>directory</replaceable> ]
|
||||
|
@@ -323,7 +323,7 @@
|
||||
<title>load</title>
|
||||
|
||||
<para>The function performed by the Shorewall-4 <command>load</command>
|
||||
command is now performed by the <command>remote_start</command>
|
||||
command is now performed by the <command>remote-start</command>
|
||||
command.</para>
|
||||
</section>
|
||||
|
||||
@@ -334,7 +334,7 @@
|
||||
the same function as the <command>restart</command> command did in
|
||||
Shorewall 4. The action taken by the Shorewall-4
|
||||
<command>reload</command> command is now performed by the
|
||||
<command>remote_restart</command> command.</para>
|
||||
<command>remote-restart</command> command.</para>
|
||||
|
||||
<para>For those that can't get used to the idea of using
|
||||
<command>reload</command> in place of <command>restart</command>, a
|
||||
|
@@ -37,7 +37,7 @@
|
||||
|
||||
<holder>Thomas M. Eastep</holder>
|
||||
|
||||
<holder></holder>
|
||||
<holder/>
|
||||
</copyright>
|
||||
|
||||
<legalnotice>
|
||||
@@ -78,6 +78,13 @@
|
||||
zones.</para>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<title>Version >= 5.0.0</title>
|
||||
|
||||
<para>See the <ulink url="Shorewall-5.html">Shorewall 5
|
||||
documentation</ulink>.</para>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<title>Version >= 4.6.0</title>
|
||||
|
||||
@@ -85,7 +92,7 @@
|
||||
<listitem>
|
||||
<para>Beginning with Shorewall 4.6.0, ection headers are now preceded
|
||||
by '?' (e.g., '?SECTION ...'). If your configuration contains any bare
|
||||
'SECTION' entries, the following warning is issued: </para>
|
||||
'SECTION' entries, the following warning is issued:</para>
|
||||
|
||||
<programlisting>WARNING: 'SECTION' is deprecated in favor of '?SECTION' - consider running 'shorewall update -D' ...</programlisting>
|
||||
|
||||
@@ -111,7 +118,7 @@
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para> Beginning with Shorewall 4.5.0, FORMAT-1 actions and macros are
|
||||
<para>Beginning with Shorewall 4.5.0, FORMAT-1 actions and macros are
|
||||
deprecated and a warning will be issued for each FORMAT-1 action or
|
||||
macro found.</para>
|
||||
|
||||
@@ -119,8 +126,8 @@
|
||||
|
||||
<programlisting>WARNING: FORMAT-1 macros are deprecated and support will be dropped in a future release.</programlisting>
|
||||
|
||||
<para> To eliminate these warnings, add the following line before the
|
||||
first rule in the action or macro: </para>
|
||||
<para>To eliminate these warnings, add the following line before the
|
||||
first rule in the action or macro:</para>
|
||||
|
||||
<programlisting>?FORMAT 2</programlisting>
|
||||
|
||||
@@ -325,7 +332,7 @@
|
||||
<para>?ENDIF.</para>
|
||||
</blockquote>
|
||||
|
||||
<para></para>
|
||||
<para/>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
|
Reference in New Issue
Block a user