Delivery-Date: Sat, 06 Sep 2014 13:46:00 -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 5D6CB1E0AD6;
	Sat,  6 Sep 2014 13:45:58 -0400 (EDT)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id B094B2507C;
	Sat,  6 Sep 2014 17:45:54 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id B8CFB24F8F
 for <tor-talk@lists.torproject.org>; Sat,  6 Sep 2014 17:45:50 +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 UNjDJ2-Z-P-k for <tor-talk@lists.torproject.org>;
 Sat,  6 Sep 2014 17:45:50 +0000 (UTC)
Received: from exch-2010-smtp-out-03.livemail.co.uk
 (exch-smtp-out.livemail.co.uk [213.171.216.25])
 by eugeni.torproject.org (Postfix) with ESMTP id 66CFA22876
 for <tor-talk@lists.torproject.org>; Sat,  6 Sep 2014 17:45:50 +0000 (UTC)
Received: by exch-2010-smtp-out-03.livemail.co.uk (Postfix, from userid 500)
 id 1BA86262CC1; Sat,  6 Sep 2014 18:41:59 +0100 (BST)
Received: from exch2-ht01.email2.local (mail213-171-216-56.livemail.co.uk
 [213.171.216.56])
 by exch-2010-smtp-out-03.livemail.co.uk (Postfix) with ESMTP id C06BA262CD3
 for <tor-talk@lists.torproject.org>; Sat,  6 Sep 2014 18:41:58 +0100 (BST)
Received: from EXCH2-MB06.email2.local ([fe80::c8b9:7294:42b4:c26b]) by
 exch2-ht01.email2.local ([fe80::5cba:b5d5:2214:132b%17]) with mapi id
 14.02.0387.000; Sat, 6 Sep 2014 18:41:59 +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+oCAAD05AIAAAmqA
Date: Sat, 6 Sep 2014 17:41:58 +0000
Message-ID: <433B898B-BE97-4D0B-BA6A-8DC5E5B959A6@fikuart.com>
References: <4C50B076-9535-4149-82DB-DAD05466AD50@fikuart.com>
 <540A0D29.9010605@torproject.org>
 <2B523C6E-4C6E-4AFF-A73C-8CAA286CA6BB@fikuart.com>
 <540B4562.4090409@torproject.org>
In-Reply-To: <540B4562.4090409@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]
Content-ID: <8CE4B5C2D5088843AD04765E5F53D889@email2.local>
MIME-Version: 1.0
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>

Clear on that now.  Thanks for your guidance.

Great work support group!

Mike

On 6 Sep 2014, at 18:33, Karsten Loesing <karsten@torproject.org> wrote:

> 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 li=
sting 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=92s improvement over the years, does=
 the algorithm for routing or circuit creation use the geoip and is it attr=
ibutable 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=92=
s have been responsible for improving the routing of data or selection of r=
elays 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=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.mmd=
b.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 datab=
ase.
>> =

>> Regarding database size, here's what happens when I compress the geoip f=
ile:
>> =

>> -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@li=
sts.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

-- =

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

