Delivery-Date: Sun, 17 Aug 2014 15:57:04 -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 078F61E0B8D;
	Sun, 17 Aug 2014 15:57:00 -0400 (EDT)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id 614DD30DBA;
	Sun, 17 Aug 2014 19:56:56 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id 9DDAC30DB5
 for <tor-talk@lists.torproject.org>; Sun, 17 Aug 2014 19:56:53 +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 9p-zfHLS9ADQ for <tor-talk@lists.torproject.org>;
 Sun, 17 Aug 2014 19:56:53 +0000 (UTC)
Received: from mail-vc0-x22c.google.com (mail-vc0-x22c.google.com
 [IPv6:2607:f8b0:400c:c03::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 7829830DB3
 for <tor-talk@lists.torproject.org>; Sun, 17 Aug 2014 19:56:53 +0000 (UTC)
Received: by mail-vc0-f172.google.com with SMTP id im17so4920891vcb.31
 for <tor-talk@lists.torproject.org>; Sun, 17 Aug 2014 12:56:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=port.ac.uk; s=google-20130730;
 h=mime-version:from:date:message-id:subject:to:content-type;
 bh=dFNidbplgMFJmYu8oJ5E3S3Hf1Hr3oEkFfcl7S0jWqo=;
 b=WTPZrtiwuvb7aoXqk3a7c97h1oPt+fRqNnGq0B7Z9c1DVvT2o2exvnj6QDyUGkcs0/
 4FbzfCUADvIS+uIMRfODC/Ruh+G31gxeUHJqeJMzEL6ubvZcfcZ43/igbh+zbl5CHOmC
 WZEvdWANDKtwkwoHk4AfMriC3Jq8/1nFUiSiQ=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to
 :content-type;
 bh=dFNidbplgMFJmYu8oJ5E3S3Hf1Hr3oEkFfcl7S0jWqo=;
 b=KHmw1NW0otabl1rQT9LzPHeLw5DZ9zZbUOO/nXoSzMgvSvz0fDkb5/3FyGTS3Be5m6
 lBVLuvX32YtnvesZ63rhJ+MdBBnrGkcw2wKZFErrI8CYTbbwpiq8ebFR+nTezQfi9cbM
 3lv5GYWWnxBGZ0dOeXfNHRYDpLvybUd4tVeq6AEZIwmrTNEkMUqTXv5mbmVIOdsaUE7z
 waQd51+7IV6h0YPwDKtz8FmKhD1e0LanGbGlmjKWPcCSkTlra113iyC8usHkqQFiSc+/
 FUd+tClw4TDnLZvjTp14OIAdDXDT6ULcEwis6iLeXC1e3duuPa8qvcfoCXIugqWYOYOT
 r7NQ==
X-Gm-Message-State: ALoCoQm+vPk8/Tajt6/51ax0POUqocENg8XBNGMazCdcd5xRLTe/2zUbP6NCjtI5fWFgBT3Vg/ev
X-Received: by 10.52.246.198 with SMTP id xy6mr6164655vdc.7.1408305410832;
 Sun, 17 Aug 2014 12:56:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.144.5 with HTTP; Sun, 17 Aug 2014 12:56:30 -0700 (PDT)
From: Gareth Owen <gareth.owen@port.ac.uk>
Date: Sun, 17 Aug 2014 20:56:30 +0100
Message-ID: <CAOXPy3zfVW+O=0ATLcDtx4VtrKdQbnZ-6mMymA6b+6=GZJcgMg@mail.gmail.com>
To: tor-talk@lists.torproject.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: Re: [tor-talk] Is there a known tool/script for analyzing the Tor
 consensus files?
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>

There's also the tor-research-framework

https://github.com/drgowen/tor-research-framework

there's an example of using the consensus here:

https://github.com/drgowen/tor-research-framework/blob/master/src/main/java/tor/examples/ConsensusExample.java

It maintains a parsed copy of the consensus in the HashMap
Consensus.routers - it should be fairly in Java to copy this, and then diff
it at a later time with a new copy by using set difference/intersection.

Best
Gareth


> And just to be pedantically clear, the data on metrics.torproject.org is
> computed from the collecTor historical consensus files?
> -V
> On Wednesday, August 13, 2014, Virgil Griffith <i at virgil.gr
> <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk>> wrote:
> >
> * Or, if I were to dream, to highlight the differences between two Tor *>
> * consensus files? *>
> >
> * -V *>
-- 
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

