Delivery-Date: Sat, 06 Sep 2014 13:33:40 -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.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID 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 DA5AA1E0AD6;
	Sat,  6 Sep 2014 13:33:38 -0400 (EDT)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id ED2A623F84;
	Sat,  6 Sep 2014 17:33:31 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id CEF3323F83
 for <tor-talk@lists.torproject.org>; Sat,  6 Sep 2014 17:33:28 +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 QVUCGyxvz5Ll for <tor-talk@lists.torproject.org>;
 Sat,  6 Sep 2014 17:33:28 +0000 (UTC)
Received: from mail-wg0-x22f.google.com (mail-wg0-x22f.google.com
 [IPv6:2a00:1450:400c:c00::22f])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (not verified))
 by eugeni.torproject.org (Postfix) with ESMTPS id 8C97E2397E
 for <tor-talk@lists.torproject.org>; Sat,  6 Sep 2014 17:33:28 +0000 (UTC)
Received: by mail-wg0-f47.google.com with SMTP id z12so13122076wgg.30
 for <tor-talk@lists.torproject.org>; Sat, 06 Sep 2014 10:33:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:message-id:date:from:user-agent:mime-version:to:subject
 :references:in-reply-to:content-type:content-transfer-encoding;
 bh=M79t6/RdnpsbpITXlTrAe6hbT/9q7sP6jN6wpZXeHCU=;
 b=UwqjPcp+C5Rdt9Sc3zr3OAxmKbLSwFyWg8gWlhU5y36PDKbzRGb/F6ARtZ0kUJ0dIP
 NqW9uEccUInxSbufcB2AQkBpQTbMmOiH/GnSfTt09Ye+91bief51DOb9i6IllAAUx67E
 wTXKhGADz9bBFObzA2I+LcMtRscmKbHf8UIkYuBtofmXZCj7Qsr8kYpm2V/z5KODvDuh
 +kHo3hBZxEidROTI3XB2IgDiyMSMyK39SooFMGmqFw+Wpju0kL0Eml5Ak9DPRgO2Q3HF
 f8iqgbEhuhJHFZdtbIDWOL/OCvhyyQuK6o8JiNUF3a/2yj1d2Q0x1tfBsDntvW8gwIuG
 K8aA==
X-Received: by 10.194.193.10 with SMTP id hk10mr690482wjc.70.1410024805595;
 Sat, 06 Sep 2014 10:33:25 -0700 (PDT)
Received: from karstens-air.multi.box
 (dyndsl-031-150-154-207.ewe-ip-backbone.de. [31.150.154.207])
 by mx.google.com with ESMTPSA id iy10sm5783682wic.8.2014.09.06.10.33.23
 for <multiple recipients>
 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
 Sat, 06 Sep 2014 10:33:24 -0700 (PDT)
Message-ID: <540B4562.4090409@torproject.org>
Date: Sat, 06 Sep 2014 19:33:22 +0200
From: Karsten Loesing <karsten@torproject.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9;
 rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: tor-talk@lists.torproject.org
References: <4C50B076-9535-4149-82DB-DAD05466AD50@fikuart.com>
 <540A0D29.9010605@torproject.org>
 <2B523C6E-4C6E-4AFF-A73C-8CAA286CA6BB@fikuart.com>
In-Reply-To: <2B523C6E-4C6E-4AFF-A73C-8CAA286CA6BB@fikuart.com>
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>

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 lis=
ting 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 attri=
butable 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=92s=
 have been responsible for improving the routing of data or selection of re=
lays 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.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 databa=
se.
> =

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

> -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@lis=
ts.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

