Opened 3 years ago

Last modified 21 months ago

#17967 needs_information defect

Tor searches GeoIP file in wrong location by default (at least in some cases)

Reported by: germn Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: GeoIP, GeoIP6
Cc: mcs Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


What I see, when I start tor with "ExitNodes" param, without manually set "GeoIPFile":

[warn] Failed to open GEOIP file C:\Users\my_username\AppData\Roaming\tor\geoip.

Where "geoip" & "geoip6" files actually are:

c:\Program Files (x86)\Tor Browser\Browser\TorBrowser\Data\Tor\

Windows 10, latest Tor vesion. I don't remember when I installed Tor and what options I choosed (for all or just me), but I used official installer.

This issue is related to others already closed:

In case files can be in different places, may be it's better to search it in list of directories? I mean if Tor didn't find files in "AppData\", it can also look in "Data\Tor\".

Child Tickets

Change History (3)

comment:1 Changed 3 years ago by germn

I just saw, that in "torrc" locations are correct:

GeoIPFile C:\Program Files (x86)\Tor Browser\Browser\TorBrowser\Data\Tor\geoip

comment:2 in reply to:  1 Changed 3 years ago by mcs

Replying to germn:

I just saw, that in "torrc" locations are correct:

Does this mean that the tor daemon is ignoring the GeoIPFile directive?
That is surprising, but if tor is ignoring that config directive then this ticket should be switched to component=Tor instead of component=Tor Browser.

If Tor Browser/Tor Launcher is specifying the wrong path for GeoIPFile then this ticket should stay as a Tor Browser one.

comment:3 Changed 21 months ago by mcs

Cc: mcs added
Status: newneeds_information

Does this problem still occur?
How are you starting tor.exe and/or Tor Browser (firefox.exe)?

Note: See TracTickets for help on using tickets.