[tor-bugs] #30229 [Core Tor/sbws]: Automatically set the scanner country using Tor's GeoIP

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 22 02:07:31 UTC 2019


#30229: Automatically set the scanner country using Tor's GeoIP
---------------------------+-----------------------------------
 Reporter:  teor           |          Owner:  (none)
     Type:  defect         |         Status:  new
 Priority:  Medium         |      Milestone:  sbws: unspecified
Component:  Core Tor/sbws  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+-----------------------------------

Comment (by teor):

 Replying to [comment:1 juga]:
 > This adds more complexity to the code. Irl proposed to add the ASN in
 #30196.

 Does the Tor control port let you look up a country from any IP address?
 It doesn't let you look up an AS.

 I suggest that the complexity is worth it, to get a correct answer.

 > Another issue is that in debian stable there is python3-geoip2 (i think
 the one that ooni uses), but it uses Maxmind files, not tor-geoip.

 tor-geoip is a summary of the Maxmind database, using a python script:
 https://gitweb.torproject.org/tor.git/tree/src/config/mmdb-convert.py

 > I don't think we have a python script for tor-geoip?.

 No, we don't.

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


More information about the tor-bugs mailing list