From 67951721345716af90c3221727f49ebae68ae1c0 Mon Sep 17 00:00:00 2001 From: William Heimbigner Date: Mon, 29 Dec 2008 01:06:02 +0000 Subject: added a hack to reduce false positives on dnsbl checks --- modules/inspect.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') diff --git a/modules/inspect.pl b/modules/inspect.pl index c86fd25..b4972cb 100644 --- a/modules/inspect.pl +++ b/modules/inspect.pl @@ -37,6 +37,7 @@ sub inspect { # %aonx = (%monx, %conx); foreach $id (keys %aonx) { next unless ( grep { $event->{type} eq $_ } split(/[,:; ]+/, $aonx{$id}{type}) ); + next if ($aonx{$id}{class} eq 'dnsbl') && ($event->{host} =~ /(fastwebnet\.it|fastres\.net)$/); #this is a bad hack $dct{$id} = $aonx{$id} if $::classes->check($aonx{$id}{class}, $aonx{$id}, $id, $event, $chan, $rev); } } -- cgit v1.2.3