changeset 95:b1f9df8bb084 maltfilter-0.19.3

Do not resubmit entries to DroneBL that are still at "submitted" OR "enqueued" status in case of caught new hits.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 31 Aug 2009 04:08:05 +0300
parents 02e3479a055c
children 989347cbe1a4
files README maltfilter
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/README	Sun Aug 30 23:07:07 2009 +0300
+++ b/README	Mon Aug 31 04:08:05 2009 +0300
@@ -1,4 +1,4 @@
-Malicious Attack Livid Termination Filter daemon (maltfilter) v0.19.2
+Malicious Attack Livid Termination Filter daemon (maltfilter) v0.19.3
 =====================================================================
 Programmed by Matti 'ccr' Hämäläinen <ccr@tnsp.org>
 (C) Copyright 2009 Tecnic Software productions (TNSP)
--- a/maltfilter	Sun Aug 30 23:07:07 2009 +0300
+++ b/maltfilter	Mon Aug 31 04:08:05 2009 +0300
@@ -13,7 +13,7 @@
 use LWP::UserAgent;
 use IO::Seekable;
 
-my $progversion = "0.19.2";
+my $progversion = "0.19.3";
 my $progbanner =
 "Malicious Attack Livid Termination Filter daemon (maltfilter) v$progversion\n".
 "Programmed by Matti 'ccr' Hamalainen <ccr\@tnsp.org>\n".
@@ -638,6 +638,10 @@
   return unless ($settings{"DRONEBL"} > 0);
   return if check_hosts_array(\@noaction_ips, $mip);
 
+  if (defined($statlist{$mip}) && defined($statlist{$mip}{"dronebl"})) {
+    return if ($statlist{$mip}{"dronebl"} > 0);
+  }
+
   if (!defined($dronebl{$mip})) {
     mlog(2, "[DroneBL] Queueing $mip \@ $mdate (type $mtype)\n");
     $dronebl{$mip}{"type"} = $mtype;