[tor-bugs] #18989 [Metrics/Onionoo]: No Country image for Lativa
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon May 9 08:11:14 UTC 2016
#18989: No Country image for Lativa
-----------------------------+---------------------
Reporter: alenan | Owner: phw
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Metrics/Onionoo | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-----------------------------+---------------------
Changes (by karsten):
* component: Metrics/Atlas => Metrics/Onionoo
Comment:
Actually, this is a bug/edge case in Onionoo. It reports `"country":""`
for that relay even though the Onionoo spec says "Omitted if the relay IP
address could not be found in the GeoIP database." And while this relay's
IP address is contained in the GeoIP file, it's not specified with a
country:
{{{
94.140.120.0/23,6255148,458258,,0,0,,47.0000,8.0000
6255148,en,EU,Europe,,,,,,,,,Europe/Vaduz
}}}
Onionoo should simply leave out the country field in this case, just like
it doesn't include a country name, region name, or city name. I wrote a
patch that I'm testing locally and that I'll apply as soon as it works as
expected.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18989#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list