Changeset 32 for trunk/dnsbl/dnsbl.cgi


Ignore:
Timestamp:
03/25/11 17:16:38 (13 years ago)
Author:
Kris Deugau
Message:

/trunk/dnsbl

Changeset to improve export speed on DNSBL database. By keeping
IP counts for each block, and directly tracking the parent of
each block and IP, an export taking ~90 seconds can be brought
down under 20.

  • updated initial tabledef SQL
  • Add addparents.sql SQL tabeldef and setparents.pl data update script
  • Tweak reporting of IP since it now requires the parent block(s) so the parent field can be filled in

Also add delist-ip script and Makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dnsbl/dnsbl.cgi

    r29 r32  
    9696
    9797  my $err = '';
    98   my $count = $dnsbl->report($webvar{ip});
    9998  my $org0id = $dnsbl->orgexists($webvar{org0});
    10099  if (!$org0id) {
     
    132131    }
    133132  }
     133  my $count = $dnsbl->report($webvar{ip});
    134134
    135135  $page->param(ip => $webvar{ip});
Note: See TracChangeset for help on using the changeset viewer.