Changeset 453


Ignore:
Timestamp:
07/29/10 17:45:02 (14 years ago)
Author:
Kris Deugau
Message:

/trunk

Only one lurking bug found in a modest scan for IPv6 problems;
rWHOIS export didn't export since it expected subnets with mask
lengths /30 or shorter. SQL fixed so that v4 blocks will still
only drill down to /30, but v6 blocks will display down to /56
(nominally the minimum size actual netblock an ISP should allocate
to a customer). See #22.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/extras/db2rwhois.pl

    r437 r453  
    7474        "not (cidr <<= '10.0.0.0/8') and ".
    7575        "not (type = 'wr') and ".
    76         "masklen(cidr) <=30 and ".
     76        "((masklen(cidr) <=30 and family(cidr)=4) or (masklen(cidr) <=56 and family(cidr)=6)) and ".
    7777        "cidr <<= ?");
    7878
Note: See TracChangeset for help on using the changeset viewer.