Delivery-Date: Tue, 07 Oct 2014 22:04:50 -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 748791E0FA7;
	Tue,  7 Oct 2014 22:04:48 -0400 (EDT)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id B314230886;
	Wed,  8 Oct 2014 02:04:44 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id BF3C73080C
 for <tor-talk@lists.torproject.org>; Wed,  8 Oct 2014 02:04:40 +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 kCpYQWk8f1eg for <tor-talk@lists.torproject.org>;
 Wed,  8 Oct 2014 02:04:40 +0000 (UTC)
Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com
 [IPv6:2a00:1450:400c:c05::22c])
 (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 80D13307A0
 for <tor-talk@lists.torproject.org>; Wed,  8 Oct 2014 02:04:40 +0000 (UTC)
Received: by mail-wi0-f172.google.com with SMTP id n3so9467300wiv.17
 for <tor-talk@lists.torproject.org>; Tue, 07 Oct 2014 19:04:37 -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=OrdJDG8+xaU0uPYHbLLLomgLog2ass82mvsok6JThxo=;
 b=rh9aJQGSLcoDJBjJKdXa5URNbKn+dLE20mUAdcnnj+06rWCo7mDG8fZmQbHhn9wYfJ
 uZPVoYGly0JisLaiwp0Pibl1KJYcQSF+5/PChzMGrnrjLo9vRRBoKxdF/Mttdk7ofgR5
 c4WCHndZm5HdwHEB4lppSqpySP0/C18e3l0agh9BYKjyu0dNXASKhb1bvMmwo0jxepwP
 SMAqupA4Ca9QHfDFpj05RVxwJU3DVLlqoF7W4agbBmeChniZ4InvPIWZfH35wnij3u4p
 U4ZjxIM/tZaIM+kKjCAF/rRWioF+3VIU5TFcbfIfnr5xpXyQNQWt4RQcEVWupSfjawvQ
 U9Dw==
X-Received: by 10.194.220.7 with SMTP id ps7mr8941567wjc.28.1412733877088;
 Tue, 07 Oct 2014 19:04:37 -0700 (PDT)
Received: from karstens-air.multi.box
 (dyndsl-031-150-237-245.ewe-ip-backbone.de. [31.150.237.245])
 by mx.google.com with ESMTPSA id td9sm341212wic.15.2014.10.07.19.04.35
 for <multiple recipients>
 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
 Tue, 07 Oct 2014 19:04:35 -0700 (PDT)
Message-ID: <54349BB1.1050708@torproject.org>
Date: Wed, 08 Oct 2014 04:04:33 +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: <54346FEA.3030307@eff.org>
In-Reply-To: <54346FEA.3030307@eff.org>
Subject: Re: [tor-talk] Double-checking a couple questions about node churn
 rate
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="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: tor-talk-bounces@lists.torproject.org
Sender: "tor-talk" <tor-talk-bounces@lists.torproject.org>

Hello Jeremy,

On 08/10/14 00:57, Jeremy Gillula wrote:
> I have a couple questions which I could probably find the answer to on
> my own by writing up some scripts and doing a little research, but I
> figured I'd ask here first in case anyone already knows the answer and
> can take 30 seconds to reply:
> 
> 1. Does anyone have an idea of what the usual churn rate is for Tor
> nodes? (I'm guessing fairly low for most nodes, but if anyone has even
> rough numbers, that would help...)

As one random starting point for your research, take a look at Figure
4.5 on page 83 (page 106 in the PDF, 2.9M):

http://freehaven.net/anonbib/cache/loesing2009thesis.pdf

> 2. How common is it for a node to change its exit policy and go from
> being a relay-only node to an exit node (and vice versa)? If a node did
> change, how quickly would that be reflected in Onionoo? (I'm guessing
> the answers are rare and at most an hour after the change, respectively.)

My *guess* is that this doesn't happen very often, but I don't have any
numbers.  And yes, Onionoo should know it after at most two hours.

> I realize these are vague questions, so even
> order-of-magnitude-rough-guess answers would be appreciated!

If you want to do some more analysis, fetch the latest consensus
tarball(s) and write a script that compares contained fingerprints ("r"
lines) for the churn question and exit policy summaries ("p" lines) for
the exit-policy-change question:

https://collector.torproject.org/archive/relay-descriptors/consensuses/

Example:

[...]
valid-after 2014-10-08 01:00:00
[...]
r gabelmoo 8gREE9rC4C49a89HNaGbyh3pcoE VFtJRYsyCcBUlLVV6wow2hh/Y5g
2014-10-07 10:01:26 131.188.40.189 443 80
s Authority HSDir Running Stable V2Dir Valid
v Tor 0.2.5.8-rc
w Bandwidth=20 Unmeasured=1
p reject 1-65535
[...]

Parsing libraries are available here:

https://collector.torproject.org/#libraries

If you have some interesting results, please feel free to share them here!

All the best,
Karsten

-- 
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

