[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-dev] Entry guards, primary guards, dir guards
- To: Ola Bini <obini@xxxxxxxxxxxxxxxx>
- Subject: Re: [tor-dev] Entry guards, primary guards, dir guards
- From: George Kadianakis <desnacked@xxxxxxxxxx>
- Date: Wed, 10 Feb 2016 15:49:45 +0200
- Cc: Reinaldo Junior <rjunior@xxxxxxxxxxxxxxxx>, Fan Jiang <fanjiang@xxxxxxxxxxxxxxxx>, Tania Silva <tsilva@xxxxxxxxxxxxxxxx>, Ivan Pazmino <ipazmino@xxxxxxxxxxxxxxxx>, tor-dev@xxxxxxxxxxxxxxxxxxxx
- Delivered-to: archiver@xxxxxxxx
- Delivery-date: Wed, 10 Feb 2016 08:50:35 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1455112221; bh=j8rRbCA6MO1Mjkb1yC73tHlpC36iMRcgrM2Ix0J+3xw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=OxA2IwrRXkZkwjL8pgE4b88hQMiEr2TAPZHSsDF0wYWzRXaTPvgs8tghWR2I0+m3J kVBA0H48XxgU6jfHNfuX+NRsOX/zxI+WXMePAumuUvLq0B8ozq2MElJkmsWL6HL+0R 59C0CBmri5HrIbasG4w0dO2e+LEvhKF8OJGKs0pI=
- In-reply-to: <20160209162137.GD9106@hidden> (Ola Bini's message of "Tue, 9 Feb 2016 11:21:37 -0500")
- List-archive: <http://lists.torproject.org/pipermail/tor-dev/>
- List-help: <mailto:tor-dev-request@lists.torproject.org?subject=help>
- List-id: discussion regarding Tor development <tor-dev.lists.torproject.org>
- List-post: <mailto:tor-dev@lists.torproject.org>
- List-subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev>, <mailto:tor-dev-request@lists.torproject.org?subject=subscribe>
- List-unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-dev>, <mailto:tor-dev-request@lists.torproject.org?subject=unsubscribe>
- References: <20160208195529.GA25190@hidden> <87lh6ulxws.fsf@xxxxxxxxxx> <20160208210700.GD25190@hidden> <8737t2ho0o.fsf@xxxxxxxxxx> <20160209145531.GA9106@hidden> <87lh6t7tbw.fsf@xxxxxxxxxx> <20160209162137.GD9106@hidden>
- Reply-to: tor-dev@xxxxxxxxxxxxxxxxxxxx
- Sender: "tor-dev" <tor-dev-bounces@xxxxxxxxxxxxxxxxxxxx>
Ola Bini <obini@xxxxxxxxxxxxxxxx> writes:
> Hi,
>
>> So maybe the simple answer here is that if prop247 is enabled (this could be a
>> NumGuards=N argument to our algorithm), instead of always returning the first
>> reachable guard, we instead build a list of the first N reachable guards, and
>> randomly choose one of them. Could this work? (see #12466 for a weird behavior
>> that will make us skip bugs if NumEntryGuards != 1)
> Ah, I understand. We could definitely do that. I think the easiest way
> is to just have a parameter to the existing algorithm with
> ExcludeNodes. We can then repeat it N times sending in the previous
> nodes chosen as ExcludeNodes. This will generate the N reachable first
> guards. Then, we can just choose randomly from them.
>
> Does that sound reasonable?
>
Yes, that sounds like a reasonable way to achieve this.
Maybe N_PRIMARY_GUARDS should also scale up in that case, so that N_PRIMARY_GUARDS >= N.
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev