[tor-bugs] #14859 [Onionoo]: Adapt Onionoo's parsing code for MaxMind's GeoLite2 City files to their new format

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 24 10:34:50 UTC 2015


#14859: Adapt Onionoo's parsing code for MaxMind's GeoLite2 City files to their new
format
-------------------------+--------------------------
     Reporter:  karsten  |      Owner:
         Type:  defect   |     Status:  needs_review
     Priority:  normal   |  Milestone:
    Component:  Onionoo  |    Version:
   Resolution:           |   Keywords:
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+--------------------------
Changes (by karsten):

 * status:  new => needs_review


Comment:

 Oh wow, it doesn't stop, does it?  Turns out that ASN database files are
 '''not''' UTF-8 encoded but ISO-8859-1 encoded.  I wrote a patch and unit
 tests for that and applied your patch with some tweaks.  Please review
 [https://gitweb.torproject.org/user/karsten/onionoo.git/log/?h=task-14859-2
 my branch task-14859-2].  I'm running this branch locally now to give it
 some testing.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14859#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list