[tor-bugs] #10425 [Tor bundles/installation]: tor's geoip6 file is missing in TBB-3.5-rc1 and hardcoded to a gitian-builder path

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Dec 19 14:19:00 UTC 2013


#10425: tor's geoip6 file is missing in TBB-3.5-rc1 and hardcoded to a gitian-
builder path
------------------------------------------+-----------------------
     Reporter:  isis                      |      Owner:  mikeperry
         Type:  defect                    |     Status:  new
     Priority:  major                     |  Milestone:
    Component:  Tor bundles/installation  |    Version:
   Resolution:                            |   Keywords:
Actual Points:                            |  Parent ID:
       Points:                            |
------------------------------------------+-----------------------

Comment (by mcs):

 Replying to [comment:2 isis]:
 > One way to fix this is to add the geoip6 file as `Data/Tor/geoip6`,
 which should probably be done somewhere in the gitian descriptors, and
 then adding in to the torrc in TorLauncher. For the latter TorLauncher
 part, I've written [https://github.com/isislovecruft/tor-
 launcher/commit/91307c63be9c6c47b17000d6d47c7a80328b175e a patch].

 I think the patch will need to be modified to .append("geoip6") to a clone
 of dataDir, because .append("6") will create an nsIFile that points to
 .../Data/Tor/geoip/6.

 It would be nice if there was a tor config option that Tor Launcher could
 use to tell tor to simply look for all its configuration files under
 .../Data/Tor.  But I do not know enough about tor and the history behind
 the geoip files to know if that would be an appropriate way to do things.


 > gk noted on IRC, however, that this adds extra startup time while tor
 parses the geoip6 file, which not all users need. Not sure what to do
 here.

 How significant is the slowdown?  Should tor be modified to only load the
 geoip files when it needs them?

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


More information about the tor-bugs mailing list