[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-talk] GEOIP's



On 06/09/14 15:54, Mike Fikuart wrote:
> Yes, thanks this is useful.
> 
> The current database lists 94566 IP/CC listings.
> Is this a cut down version of the full database just for Tor and only listing bridges and routers, or what do those geoips relate to?

It's MaxMind's full database, not a subset.  Each entry represents an IP
address range, and apparently 94K ranges are necessary to cover the
entire assigned IPv4 address space.

> More relevant for me for Tor and it’s improvement over the years, does the algorithm for routing or circuit creation use the geoip and is it attributable to the improved performance of Tor in recent years?

No, geoip information is not used for routing or circuit creation.  It's
quite possible that this was discussed as an option, but I'm not aware
of current plans to implement this.

> I seem to remember (but now cannot find the reference) that the geoip’s have been responsible for improving the routing of data or selection of relays for circuits.  Is this correct and how does this work?

That's not the case, as far as I can tell.

(Subsequent questions look like duplicates from an earlier draft, though
with an incorrect number of entries.)

Hope that helps.

All the best,
Karsten


> The geoip file has 82,363 different Country Code entries listed.
> What do they relate to, as this would far exceed the bridges and
> relays?
> 
> I seem to remember (but now cannot find the reference) that the
> geoip’s have been responsible for improving the routing of data or
> selection of relays for circuits.  Is this correct and how does this
> work?
> 
> 
> https://gitweb.torproject.org/tor.git/blob/HEAD:/src/config/geoip
> 
> The first few lines tell you how this file is generated:
> 
> # Last updated based on August 7 2014 Maxmind GeoLite2 Country
> # wget
> https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz
> # gunzip GeoLite2-Country.mmdb.gz
> # python mmdb-convert.py GeoLite2-Country.mmdb
> 
> See also the MaxMind website for details what's contained in their database.
> 
> Regarding database size, here's what happens when I compress the geoip file:
> 
> -rw-r--r--  1 karsten  staff   2.2M Sep  5 21:18 geoip
> -rw-r--r--  1 karsten  staff   678K Sep  5 21:18 geoip.bz2
> -rw-r--r--  1 karsten  staff   688K Sep  5 21:18 geoip.gz
> -rw-r--r--  1 karsten  staff   402K Sep  5 21:18 geoip.xz
> 
> Not sure if this answers all your questions, but maybe it's a start.
> 
> All the best,
> Karsten
> --
> tor-talk mailing list - tor-talk@xxxxxxxxxxxxxxxxxxxx<mailto:tor-talk@xxxxxxxxxxxxxxxxxxxx>
> To unsubscribe or change other settings go to
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk
> 

-- 
tor-talk mailing list - tor-talk@xxxxxxxxxxxxxxxxxxxx
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk