mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-07 16:24:01 +01:00
Audit: use new headers
Signed-off-by: Tuomo Soini <tis@foobar.fi>
This commit is contained in:
parent
b4ca4b52fe
commit
fcf435bc16
@ -139,9 +139,8 @@
|
|||||||
|
|
||||||
<para>Example:</para>
|
<para>Example:</para>
|
||||||
|
|
||||||
<programlisting>#SOURCE DEST POLICY LOG
|
<programlisting>#SOURCE DEST POLICY
|
||||||
# LEVEL
|
net $FW DROP:audit</programlisting>
|
||||||
net fw DROP:audit</programlisting>
|
|
||||||
|
|
||||||
<para>It is allowed to also specify a log level on audited policies
|
<para>It is allowed to also specify a log level on audited policies
|
||||||
resulting in both auditing and logging.</para>
|
resulting in both auditing and logging.</para>
|
||||||
@ -170,8 +169,8 @@ net fw DROP:audit</programlisting>
|
|||||||
|
|
||||||
<para>Example:</para>
|
<para>Example:</para>
|
||||||
|
|
||||||
<programlisting>#ACTION SOURCE DEST PROTO
|
<programlisting>#ACTION SOURCE DEST PROTO
|
||||||
A_ACCEPT:info loc net ...</programlisting>
|
A_ACCEPT:info loc net ...</programlisting>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
@ -330,12 +329,12 @@ A_ACCEPT:info loc net ...</programlisting>
|
|||||||
<para> The parameters can be passed in the POLICY column of the policy
|
<para> The parameters can be passed in the POLICY column of the policy
|
||||||
file. </para>
|
file. </para>
|
||||||
|
|
||||||
<programlisting>SOURCE DEST POLICY
|
<programlisting>#SOURCE DEST POLICY
|
||||||
net all DROP:Drop(audit):audit #Same as DROP:A_DROP:audit
|
net all DROP:Drop(audit):audit #Same as DROP:A_DROP:audit
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
|
||||||
<programlisting>SOURCE DEST POLICY
|
<programlisting>#SOURCE DEST POLICY
|
||||||
net all DROP:Drop(-,DROP) #DROP rather than REJECT Auth
|
net all DROP:Drop(-,DROP) #DROP rather than REJECT Auth
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
|
||||||
<para>The parameters can also be specified in shorewall.conf: </para>
|
<para>The parameters can also be specified in shorewall.conf: </para>
|
||||||
|
Loading…
Reference in New Issue
Block a user