forked from extern/shorewall_code
Add 'logdrop' and 'logreject' commands for dynamic blacklisting with logging
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3716 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
f0372d9209
commit
fd4db81725
@ -15,10 +15,10 @@
|
||||
</author>
|
||||
</authorgroup>
|
||||
|
||||
<pubdate>2005-08-28</pubdate>
|
||||
<pubdate>2006-03-23</pubdate>
|
||||
|
||||
<copyright>
|
||||
<year>2002-2005</year>
|
||||
<year>2002-2006</year>
|
||||
|
||||
<holder>Thomas M. Eastep</holder>
|
||||
</copyright>
|
||||
@ -191,6 +191,27 @@ ipset -B Blacklist 206.124.146.177 -b SMTP</programlisting>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para>If you are running Shorewall 3.2.0 Beta2 or later, there are two
|
||||
additional commands:</para>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>logdrop <emphasis><ip address list></emphasis> - causes
|
||||
packets from the listed IP addresses to be dropped and logged by the
|
||||
firewall. Logging will occur at the level specified by the
|
||||
BLACKLIST_LOGLEVEL setting at the last [re]start (logging will be at
|
||||
the 'info' level if no BLACKLIST_LOGLEVEL was given).</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>logreject <emphasis><ip address list></emphasis> - causes
|
||||
packets from the listed IP addresses to be rejected and logged by the
|
||||
firewall. Logging will occur at the level specified by the
|
||||
BLACKLIST_LOGLEVEL setting at the last [re]start (logging will be at
|
||||
the 'info' level if no BLACKLIST_LOGLEVEL was given).</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para>Dynamic blacklisting is not dependent on the
|
||||
<quote>blacklist</quote> option in
|
||||
<filename>/etc/shorewall/interfaces</filename>.</para>
|
||||
|
@ -843,6 +843,18 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>logdrop</term>
|
||||
|
||||
<listitem>
|
||||
<para><command>shorewall logdrop <address>
|
||||
...</command></para>
|
||||
|
||||
<para>Causes packets from the specified
|
||||
<<emphasis>address</emphasis>> to be ignored and logged</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>logwatch</term>
|
||||
|
||||
@ -857,6 +869,19 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>logreject</term>
|
||||
|
||||
<listitem>
|
||||
<para><command>shorewall logreject <address>
|
||||
...</command></para>
|
||||
|
||||
<para>Causes packets from the specified
|
||||
<<emphasis>address</emphasis>> to be rejected and
|
||||
logged</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>refresh</term>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user