diff options
| author | 2008-12-29 01:06:02 +0000 | |
|---|---|---|
| committer | 2008-12-29 01:06:02 +0000 | |
| commit | 67951721345716af90c3221727f49ebae68ae1c0 (patch) | |
| tree | e04654d086174a7438fda39f70e546bb7d67e731 /modules | |
| parent | 14f2ccaa90a00b2317016ef4daf0e00f23d1a5b5 (diff) | |
added a hack to reduce false positives on dnsbl checks
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/inspect.pl | 1 |
1 files changed, 1 insertions, 0 deletions
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); } } |
