Delivery-Date: Sat, 06 Sep 2014 09:54:29 -0400
Return-Path: <tor-talk-bounces@lists.torproject.org>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on moria.seul.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED,
	RP_MATCHES_RCVD autolearn=ham version=3.3.1
X-Original-To: archiver@seul.org
Delivered-To: archiver@seul.org
Received: from eugeni.torproject.org (eugeni.torproject.org [38.229.72.13])
	(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by khazad-dum.seul.org (Postfix) with ESMTPS id AECF61E0480;
	Sat,  6 Sep 2014 09:54:27 -0400 (EDT)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id 21B8D2CFA1;
	Sat,  6 Sep 2014 13:54:23 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id 158ED2CF7F
 for <tor-talk@lists.torproject.org>; Sat,  6 Sep 2014 13:54:19 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at eugeni.torproject.org
Received: from eugeni.torproject.org ([127.0.0.1])
 by localhost (eugeni.torproject.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id FN2lwDc1dk9J for <tor-talk@lists.torproject.org>;
 Sat,  6 Sep 2014 13:54:19 +0000 (UTC)
Received: from exch-2010-smtp-out-04.livemail.co.uk
 (exch-smtp-out.livemail.co.uk [213.171.216.25])
 by eugeni.torproject.org (Postfix) with ESMTP id A539B2CEFD
 for <tor-talk@lists.torproject.org>; Sat,  6 Sep 2014 13:54:18 +0000 (UTC)
Received: by exch-2010-smtp-out-04.livemail.co.uk (Postfix, from userid 500)
 id AB474AE5A1F; Sat,  6 Sep 2014 14:54:14 +0100 (BST)
Received: from exch2-ht02.email2.local (mail213-171-216-56.livemail.co.uk
 [213.171.216.56])
 by exch-2010-smtp-out-04.livemail.co.uk (Postfix) with ESMTP id 5E4C6AE56CC
 for <tor-talk@lists.torproject.org>; Sat,  6 Sep 2014 14:54:14 +0100 (BST)
Received: from EXCH2-MB06.email2.local ([fe80::c8b9:7294:42b4:c26b]) by
 exch2-ht02.email2.local ([fe80::7c27:1a98:86e:56ac%21]) with mapi id
 14.02.0387.000; Sat, 6 Sep 2014 14:54:14 +0100
From: Mike Fikuart <mike@fikuart.com>
To: "tor-talk@lists.torproject.org" <tor-talk@lists.torproject.org>
Thread-Topic: [tor-talk] GEOIP's
Thread-Index: AQHPySrW3hGAAHRzqU6C7wDMv4Rwzpvy2gOAgAE2+oA=
Date: Sat, 6 Sep 2014 13:54:13 +0000
Message-ID: <2B523C6E-4C6E-4AFF-A73C-8CAA286CA6BB@fikuart.com>
References: <4C50B076-9535-4149-82DB-DAD05466AD50@fikuart.com>
 <540A0D29.9010605@torproject.org>
In-Reply-To: <540A0D29.9010605@torproject.org>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [81.133.55.217]
MIME-Version: 1.0
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: Re: [tor-talk] GEOIP's
X-BeenThere: tor-talk@lists.torproject.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: tor-talk@lists.torproject.org
List-Id: "all discussion about theory, design,
 and development of Onion Routing" <tor-talk.lists.torproject.org>
List-Unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=unsubscribe>
List-Archive: <http://lists.torproject.org/pipermail/tor-talk/>
List-Post: <mailto:tor-talk@lists.torproject.org>
List-Help: <mailto:tor-talk-request@lists.torproject.org?subject=help>
List-Subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=subscribe>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
Errors-To: tor-talk-bounces@lists.torproject.org
Sender: "tor-talk" <tor-talk-bounces@lists.torproject.org>

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 listi=
ng bridges and routers, or what do those geoips relate to?

More relevant for me for Tor and it=92s improvement over the years, does th=
e algorithm for routing or circuit creation use the geoip and is it attribu=
table to the improved performance of Tor in recent years?

I seem to remember (but now cannot find the reference) that the geoip=92s h=
ave been responsible for improving the routing of data or selection of rela=
ys for circuits.  Is this correct and how does this work?


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=92s 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@lists.torproject.org<mailto:tor-talk@lists=
.torproject.org>
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk

-- =

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

