Delivery-Date: Tue, 12 Aug 2014 08:03:19 -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_ADSP_CUSTOM_MED,
	DKIM_SIGNED,FREEMAIL_FROM,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 54CC91E0A76;
	Tue, 12 Aug 2014 08:03:18 -0400 (EDT)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id 084E530472;
	Tue, 12 Aug 2014 12:03:14 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id C197430280
 for <tor-talk@lists.torproject.org>; Tue, 12 Aug 2014 12:03:10 +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 1Nm-2sEEUOyv for <tor-talk@lists.torproject.org>;
 Tue, 12 Aug 2014 12:03:10 +0000 (UTC)
Received: from mail-we0-x22a.google.com (mail-we0-x22a.google.com
 [IPv6:2a00:1450:400c:c03::22a])
 (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 47DBF301FD
 for <tor-talk@lists.torproject.org>; Tue, 12 Aug 2014 12:03:10 +0000 (UTC)
Received: by mail-we0-f170.google.com with SMTP id w62so9846969wes.1
 for <tor-talk@lists.torproject.org>; Tue, 12 Aug 2014 05:03:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :content-type; bh=H31dyp+S/O3t83z0uXyktkks08pYWY/DQDQmvYs1fDc=;
 b=WoGnfGvW7ps4fxzsjdywHReJl6Vm5veLtb0SiHz6v/vaiDKi1tKseoLrBA8OuLmSEn
 CgFIhou6gOtkdcsJ6ksFeE41bvXbP5KUuehOnYeLjkBizIoTsusr18FKMqRHTvqOe+uK
 RUOYKBLN6qZqeRoBy7hAje9ufyY2p4M0ec2Tzv3RHkQwjWHv/Yhn5ijO+B7cdSehQ4IG
 fuen7GCZC0q1vq34nwU7coBQ9H0DXcdAmEDU+lecFJnnAbSl+SLlMaDcYDUkZjr9CPSz
 551RC6/frd5aylrbI0D2d6kFuJ1UG5k53rU1BSU85cym8/N8PThqDaFByoPxJB8pGvOI
 AvSg==
MIME-Version: 1.0
X-Received: by 10.180.107.65 with SMTP id ha1mr31678791wib.59.1407844987122;
 Tue, 12 Aug 2014 05:03:07 -0700 (PDT)
Received: by 10.180.221.12 with HTTP; Tue, 12 Aug 2014 05:03:07 -0700 (PDT)
In-Reply-To: <87sil2uigm.fsf@riseup.net>
References: <CAKMgAkSgH_3SR=z80is6RxUR=FVdvdYEDzxDn_MOPyzkyyGVXQ@mail.gmail.com>
 <87ppg6152h.fsf@riseup.net>
 <CAKMgAkS-aS+7Vte6QGKe+7xwSgOynHA9eXJrUNBOv=8NJD7dNQ@mail.gmail.com>
 <87sil2uigm.fsf@riseup.net>
Date: Tue, 12 Aug 2014 21:03:07 +0900
Message-ID: <CAKMgAkTgY7--NAWr_Grt9sOtLbq=9r+2o6cC_k+V=3cdpq8v+g@mail.gmail.com>
From: saurav dahal <dahal.saurav@gmail.com>
To: tor-talk@lists.torproject.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: Re: [tor-talk] About bandwidth weights selection
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,

The following is the default Tor network in shadow simulator:

Total BW of Guard flagged nodes=258.15 MB/S
Total BW of Middle nodes=23.69 MB/S
Total BW of Exit flagged nodes=13.23 MB/S
Total BW of Guard+Exit flagged nodes=213.4 MB/S

Now, I inserted 40 guard nodes and 40 exit nodes, each of 5 MB/S in above
Tor network and performed the simulation.

Following are the bandwidth weights derived from the consensus document
when Guard and Exit nodes of 5MB/S are added separately:


Wbd=1454 Wbe=0 Wbg=4882 Wbm=10000 Wdb=10000 Web=10000 Wed=7091 Wee=10000
Weg=7091 Wem=10000 Wgb=10000 Wgd=1454 Wgg=5118 Wgm=5118 Wmb=10000 Wmd=1454
Wme=0 Wmg=4882 Wmm=10000


Then again, I added 80 Guard-Exit (EE) nodes, each 5MB/S and perform the
simulation.


Following are the bandwidth weights derived from the consensus document
when EE nodes of 5MB/S are added:


Wbd=4722 Wbe=0 Wbg=0 Wbm=10000 Wdb=10000 Web=10000 Wed=4826 Wee=10000
Weg=4826 Wem=10000 Wgb=10000 Wgd=452 Wgg=10000 Wgm=10000 Wmb=10000 Wmd=4722
Wme=0 Wmg=0 Wmm=10000


I calculated catch probability in both cases and found that the 2nd case
yields more probability.


By examining the above weights, how it is possible that the catch
probability for EE nodes are much higher than those of guard and exit node
separately? OR is there any other reason for this?


On Tue, Aug 12, 2014 at 7:10 PM, George Kadianakis <desnacked@riseup.net>
wrote:

> saurav dahal <dahal.saurav@gmail.com> writes:
>
> > Under which condition, the client will choose Guard flagged node and
> > Guard+Exit flagged node for guard position?
> >
>
> Tor will consider any node with the Guard flag during guard selection
> (this also includes Guard+Exit nodes). As you noticed, it will apply
> different weights to nodes with the Guard flag and to nodes with the
> Guard+Exit flag.
>
> Please read the "Guard nodes" section of path-spec.txt:
> https://gitweb.torproject.org/torspec.git/blob/HEAD:/path-spec.txt
>
> --
> 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
>



-- 

Saurav Dahal,
Wireless communication and Networking lab,
Dept. of Computer Engineering,
Chosun University,
309 Pilmun-daero, Dong-gu
Gwangju, 501-759 S.KOREA
-- 
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

