[tor-bugs] #10924 [Tor]: Include instructions on generating geoip and geoip6 files

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Feb 16 21:39:12 UTC 2014


#10924: Include instructions on generating geoip and geoip6 files
-------------------------+------------------------------------
 Reporter:  karsten      |          Owner:
     Type:  enhancement  |         Status:  new
 Priority:  normal       |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor          |        Version:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
-------------------------+------------------------------------
 nickm said on #10910:
 > Also, I would like an improved README.geoip if possible, to explain how
 the geoip files are generated now. Should I open a new ticket for that?

 If we just want to note the commands necessary to generate the files, how
 about we write them to the header of `geoip` and `geoip6` files, which is
 what we did before the A1 madness started.  For example, here's how the
 first lines of `geoip` could look like:

 {{{
 # Last updated based on February 7 2014 Maxmind GeoLite2 Country
 # wget
 http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz
 # gunzip GeoLite2-Country.mmdb.gz
 # python mmdb-convert.py GeoLite2-Country.mmdb
 16777216,16777471,AU
 }}}

 Or we could write these commands to a small `README.geoip`.  In this case,
 is there anything else we'd want to include in this file?  The downside,
 however, would be that `README.geoip` would only go into master and not
 into maint-0.2.3 or maint-0.2.4.

 Let me know what you prefer, and I'll write a patch.

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


More information about the tor-bugs mailing list