Ignore:
Timestamp:
01/05/18 18:06:47 (6 years ago)
Author:
Kris Deugau
Message:

/trunk/dnsbl

Add exclusion flagging and block-comment handling to IP list tools. Exclusion
flags can be set or unset on each submit; netblock comments can be added,
updated, or removed (or at least "set empty") on each submit.

Note this is focused on the CIDR (rbldnsd) export format, and may produce
excitingly weird results with the default "classful"/tinydns mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dnsbl/export-dnsbl

    r53 r66  
    7575  foreach (sort ipcmp keys %iplist) {
    7676    my $entry;
     77    if ($iplist{$_} == -1) {
     78      print "!$_\n";
     79      next;
     80    }
    7781    if ($iplist{$_} >= 256) {
    7882      if ($iplist{$_} >= 65536) {
Note: See TracChangeset for help on using the changeset viewer.