[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #14679 [- Select a component]: geoip seems to have problem with unmapped regions



#14679: geoip seems to have problem with unmapped regions
--------------------------------------+-------------------
     Reporter:  starlight             |      Owner:
         Type:  defect                |     Status:  new
     Priority:  normal                |  Milestone:
    Component:  - Select a component  |    Version:
   Resolution:                        |   Keywords:  geoip
Actual Points:                        |  Parent ID:
       Points:                        |
--------------------------------------+-------------------

Comment (by starlight):

 I have a `perl` script that I could easily modify to generate the IPv4
 `geoip` file from the RIR files and am willing to contribute.  It
 redistributes RIR blocks into correct CIDR ranges if `geoip` requires
 that.  If not it's a fairly trivial matter of coalescing adjacent country
 ranges (without the gaps, of course).

 Don't have an IPv6 flavor, but it's probably not hard to adapt from the
 IPv4 logic.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14679#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs