summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarDoug Freed <dwfreed@mtu.edu>2015-08-06 05:24:58 +0400
committerLibravatarDoug Freed <dwfreed@mtu.edu>2015-08-06 05:24:58 +0400
commit792c33c3fe0dcbca05f9101e5632c48058991ba1 (patch)
tree702cad5c25524844c9a5f1d555ab395bbb639568
parent055f4b41f0918abd0e11c118db94c35c126a58d6 (diff)
Removed some DNSBL hacks
-rw-r--r--modules/classes.pl2
-rw-r--r--modules/inspect.pl1
2 files changed, 1 insertions, 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); }