Thomas,
ASSP version 2.1.2(11283)
URIBL checking is broken. In URIBLok, $this->{uribldone} = 1;, then
URIBLok_Run is called. Before any work is done in URIBLok_Run, it checks
return 1 if $this->{uribldone}; so it never happens.
===============================
sub URIBLok {
my ( $fh, $bd, $thisip,$done ) = @_;
my $this = $Con{$fh};
return 1 if !$TLDSRE;
return 1 if !$CanUseURIBL;
my $ValidateURIBL = $ValidateURIBL; # copy the global to local -
using local from this point
if ($this->{overwritedo}) {
$ValidateURIBL = $this->{overwritedo}; # overwrite requ by Plugin
delete $this->{uribldone};
}
return 1 if $this->{uribldone};
$this->{uribldone} = 1;
return 1 if !$ValidateURIBL;
return URIBLok_Run($fh, $bd, $thisip,$done);
}
===============================
sub URIBLok_Run snippet
===============================
sub URIBLok_Run {
.
.
.
my $ValidateURIBL = $ValidateURIBL; # copy the global to local -
using local from this point
if ($this->{overwritedo}) {
$ValidateURIBL = $this->{overwritedo}; # overwrite requ by Plugin
delete $this->{uribldone};
}
return 1 if $this->{uribldone};
$this->{uribldone} = 1;
===============================
--
Michael Thomas
Mathbox
978-687-3300
Toll Free: 1-877-MATHBOX (1-877-628-4269)
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test