Delivery-Date: Mon, 04 Aug 2014 15:17:14 -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 84F471E0C5B;
	Mon,  4 Aug 2014 15:17:12 -0400 (EDT)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id 8B0F62F794;
	Mon,  4 Aug 2014 19:17:10 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id 7F1FC2F778
 for <tor-talk@lists.torproject.org>; Mon,  4 Aug 2014 19:17:07 +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 hLxj6V_JAwzT for <tor-talk@lists.torproject.org>;
 Mon,  4 Aug 2014 19:17:07 +0000 (UTC)
Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com
 [IPv6:2a00:1450:400c:c00::233])
 (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 392F82CA2D
 for <tor-talk@lists.torproject.org>; Mon,  4 Aug 2014 19:17:07 +0000 (UTC)
Received: by mail-wg0-f51.google.com with SMTP id b13so8168956wgh.22
 for <tor-talk@lists.torproject.org>; Mon, 04 Aug 2014 12:17:04 -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=qpq4LiZC5LQYfhHguAIZ0MswA9aIrAnuJxjIW6kjYoA=;
 b=GzZXJIoQAkz1O5hVEHUQ6l1UBy3wcN4reEyclFoljNTzpCZDuxXjwETRmCiDiVHeJi
 H5oJquQOEzpjc9Bhp0O88UV5b0Cg/s4sOhyVRL8qx9OZ7F0n3YZ9XMsMYs9FDCn2sRfz
 ayVM6kAqpIFg5hvGoiUgL8nbkpQLOpU372jRtigi0+5I29pNNj5OFnSkkizNQqEyNW4T
 h1SUamhp3z0i+Te5AEUKfEZjpy+/sghJAKlxgeqz0He7wlla+wKFIpoYPHJR2tJibFKr
 1OkDJrH66MmMXeIe4oIDNRix4ic3k8YOwIE5Dnr3lbJy/olmrpNxExiO43kVCBgYkRQI
 W4lg==
X-Received: by 10.180.7.163 with SMTP id k3mr32365948wia.0.1407179823862;
 Mon, 04 Aug 2014 12:17:03 -0700 (PDT)
Received: from karstens-air.multi.box
 (dyndsl-031-150-213-236.ewe-ip-backbone.de. [31.150.213.236])
 by mx.google.com with ESMTPSA id eh7sm43452818wjd.32.2014.08.04.12.17.02
 for <multiple recipients>
 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
 Mon, 04 Aug 2014 12:17:03 -0700 (PDT)
Message-ID: <53DFDC2A.8030206@torproject.org>
Date: Mon, 04 Aug 2014 21:16:58 +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: <53DAB8B4.1080403@bitmessage.ch> <53DFDBC1.40200@torproject.org>
In-Reply-To: <53DFDBC1.40200@torproject.org>
X-Enigmail-Version: 1.6
Subject: Re: [tor-talk] understanding metrics bw graphs
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>

On 04/08/14 21:15, Karsten Loesing wrote:
> On 31/07/14 23:44, Nusenu wrote:
>> Hi,
>>
>> I would have a question regarding the bw-flags graphs on metrics.tpo [1]
>>
>> "guard bw history"
>> a) Does this include the entire accumulated traffic of relays having
>> the guard flag? (which would include the traffic of a guard relay
>> acting as a middle or exit relay - if it also has the exit flag)
>>
>> or
>>
>> b) Does this only and exclusively include the entire accumulated
>> traffic that *enters* the tor network via all guard relays?
>> (to actually do that the traffic accounting on relays would have to do
>> accounting accordingly on a per connection type level)
> 
> a) is correct.
> 
> Minor nitpick: a relay can exit even if it doesn't have the Exit flag;
> that flag is only assigned for load-balancing purposes.
> 
> There's no data available for b).
> 
>> Which would bring me to the next question (which would be required to
>> actually do the required accounting for (b)): Is a relay able to tell
>> whether it is being used as first or second hop solely by looking at
>> packets (not their source)?
> 
> Looking at the packet source and comparing it to the list of known
> relays would probably be the most reliable way for counting bytes as
> first or second hop.  But this is not implemented, and there are plans
> to implement this, to the best of my knowledge.

Erm, "there are *no* plans to implement this" is what I meant to say there.

>> Same question applies to: "exit bw history"
> 
> a).
> 
>> Does your answer also apply to [2]?
> 
> Yes, except that [2] distinguishes between Guard only and Guard & Exit.
> 
> All the best,
> Karsten
> 
>> [1] https://metrics.torproject.org/bandwidth.html#bandwidth-flags
>>
>> [2] https://metrics.torproject.org/bandwidth.html#bwhist-flags
> 

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

