Changeset 98


Ignore:
Timestamp:
09/18/25 18:14:31 (2 days ago)
Author:
Kris Deugau
Message:

/trunk/uribl

Bump version slightly and add octet value 16, for "High-risk domains" to
export. Note this is not exposed in the UI.

Location:
trunk/uribl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/uribl/Makefile

    r97 r98  
    77
    88PKGNAME=uridb
    9 VERSION=0.2.0
     9VERSION=0.2.1
    1010
    1111# bloody stupid Debian config puts OS-provided packaged sitelib under
  • trunk/uribl/URIdb.pm

    r89 r98  
    5151        4 => "Grey",
    5252        8 => "Abused URL shortener/redirector"
     53        16 => "High-risk domain",
    5354);
    5455
     
    216217      print $blfh ".$uri\n";
    217218    }
     219    print $blfh ":127.0.0.16:High-risk domain\n";
     220    $sth = $dbh->prepare("SELECT uri FROM urilist WHERE list=16");
     221    $sth->execute;
     222    while (my ($uri) = $sth->fetchrow_array) {
     223      print $blfh ".$uri\n";
     224    }
    218225  } elsif ($target eq 'tinydns') {
    219226    print $blfh "Z$blzone:$blzone:$bladmin::600:600:600:600\n";
     
    237244        "+$uri.$blzone:127.0.0.8:900::\n";
    238245    }
     246    $sth = $dbh->prepare("SELECT uri FROM urilist WHERE list=16");
     247    $sth->execute;
     248    while (my ($uri) = $sth->fetchrow_array) {
     249      print $blfh "'$uri.$blzone:High-risk domain:900::\n".
     250        "+$uri.$blzone:127.0.0.16:900::\n";
     251    }
    239252  } elsif ($target eq 'bind') {
    240253  } else {
Note: See TracChangeset for help on using the changeset viewer.