[tor-bugs] #32301 [Applications/Tor Browser]: Update Tor GeoIp Files for Android

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Oct 28 19:47:52 UTC 2019


#32301: Update Tor GeoIp Files for Android
----------------------------------------------+--------------------------
 Reporter:  sisbell                           |          Owner:  tbb-team
     Type:  defect                            |         Status:  new
 Priority:  Medium                            |      Milestone:
Component:  Applications/Tor Browser          |        Version:
 Severity:  Normal                            |     Resolution:
 Keywords:  tbb-mobile, TorBrowserTeam201911  |  Actual Points:
Parent ID:                                    |         Points:  .25
 Reviewer:                                    |        Sponsor:
----------------------------------------------+--------------------------

Comment (by sisbell):

 Replying to [comment:2 sysrqb]:
 > As mentioned in #30518, we don't use GeoIP on Android. Tor currently has
 the default:
 > {{{
 >   V(GeoIPFile,                   FILENAME,
 >     SHARE_DATADIR PATH_SEPARATOR "tor" PATH_SEPARATOR "geoip"),
 >   V(GeoIPv6File,                 FILENAME,
 >     SHARE_DATADIR PATH_SEPARATOR "tor" PATH_SEPARATOR "geoip6"),
 > }}}
 >
 > and the current tor binary does not override the default SHARE_DATADIR,
 so tor will only find the GeopIPFiles if they are in
 `/usr/local/share/tor/geoip` (which will never be the case on Android).

 In the case of setting exit nodes, we use the controlConnection. Does
 setting the geoIp file also not work through the control connection? If it
 does work, we can still support geoIp.


 {{{
 controlConnection.setConf("GeoIPFile",
 config.getGeoIpFile().getCanonicalPath());
 controlConnection.setConf("GeoIPv6File",
 config.getGeoIpv6File().getCanonicalPath
                         ());
 }}}

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


More information about the tor-bugs mailing list