forked from extern/shorewall_code
Clarify how Shorewall-shell works with 'restore'
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9416 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
f8fdfcfa9e
commit
04691679bc
@ -87,12 +87,14 @@
|
|||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><filename>start</filename> -- invoked after the firewall has
|
<para><filename>start</filename> -- invoked after the firewall has
|
||||||
been started or restarted.</para>
|
been started or restarted. The script is also invoked by
|
||||||
|
Shorewall-shell after a successful 'restore'.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><filename>started</filename> -- invoked after the firewall has
|
<para><filename>started</filename> -- invoked after the firewall has
|
||||||
been marked as 'running'.</para>
|
been marked as 'running'. The script is also invoked by
|
||||||
|
Shorewall-shell after a successful 'restore'.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
@ -214,7 +216,12 @@ esac</programlisting><caution>
|
|||||||
<command>run_iptables</command> will run the iptables utility passing
|
<command>run_iptables</command> will run the iptables utility passing
|
||||||
the arguments to <command>run_iptables</command> and if the command
|
the arguments to <command>run_iptables</command> and if the command
|
||||||
fails, the firewall will be stopped (or restored from the last
|
fails, the firewall will be stopped (or restored from the last
|
||||||
<command>save</command> command, if any).</para>
|
<command>save</command> command, if any). Note that when
|
||||||
|
Shorewall-shell invokes this script during <command>restore</command>,
|
||||||
|
The <command>run_iptables</command> function does nothing; calls to
|
||||||
|
that function are effectively ignored. <command>run_iptables</command>
|
||||||
|
should not be called from the <filename>started</filename> or
|
||||||
|
<filename>restored</filename> scripts.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
@ -420,6 +427,12 @@ esac</programlisting><caution>
|
|||||||
|
|
||||||
<entry>refreshed</entry>
|
<entry>refreshed</entry>
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry></entry>
|
||||||
|
|
||||||
|
<entry>restored</entry>
|
||||||
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
</informaltable></para>
|
</informaltable></para>
|
||||||
|
Loading…
Reference in New Issue
Block a user