From 792c33c3fe0dcbca05f9101e5632c48058991ba1 Mon Sep 17 00:00:00 2001 From: Doug Freed Date: Thu, 6 Aug 2015 05:24:58 +0400 Subject: Removed some DNSBL hacks --- modules/classes.pl | 2 +- modules/inspect.pl | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/classes.pl b/modules/classes.pl index d1cab71..1054f63 100644 --- a/modules/classes.pl +++ b/modules/classes.pl @@ -198,7 +198,7 @@ sub dnsbl my $strip; if (@dnsbl) { $strip = sprintf("%s.%s.%s.%s", @dnsbl); - ASM::Util->dprint("found host (rev $rev) in $chk->{content} - $strip", 'dnsbl') unless ($strip eq '216.234.246.150'); + ASM::Util->dprint("found host (rev $rev) in $chk->{content} - $strip", 'dnsbl'); } if ((@dnsbl) && (defined($::dnsbl->{query}->{$chk->{content}}->{response}->{$strip}))) { $::lastlookup=$::dnsbl->{query}->{$chk->{content}}->{response}->{$strip}->{content}; diff --git a/modules/inspect.pl b/modules/inspect.pl index 7e4e98f..ea287ff 100644 --- a/modules/inspect.pl +++ b/modules/inspect.pl @@ -48,7 +48,6 @@ sub inspect { next if ((defined($::channels->{channel}->{$chan}->{monitor})) and ($::channels->{channel}->{$chan}->{monitor} eq "no")); 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 if (defined($response)) { if ($aonx{$id}{class} ne 'urlcrunch') { next; } #don't run our regular checks if this is being called from a URL checking function else { $xresult = $::classes->check($aonx{$id}{class}, $aonx{$id}, $id, $event, $chan, $response); } -- cgit v1.2.3