Hello Everyone,<br><br>Firstly thank all of you so much for your concern. I really appreciate all effort which for anonymity by open source.<br><br>Mike, I&#39;m reading and trying to understand your changes on path and dir-spec. Could you say please why there isn&#39;t &quot;Wge&quot; integer value on list? Can&#39;t we select a node with exit flag for guard position? <br>
<br>Also could you please explain what is the condition of below statement on path-spec? ;<br><br>&quot;If we&#39;re using Guard nodes, the first node must be a Guard (see 5 below )&quot; <br><br>It says see 5 below but even i&#39;ve read 5. section i couldn&#39;t get what is the condition of this statement; &quot;if we&#39;re using Guard nodes&quot;.<br>
<br>Thanks in advance.<br>ilter<br><br><div class="gmail_quote">On Mon, Feb 15, 2010 at 4:18 AM, Mike Perry <span dir="ltr">&lt;<a href="mailto:mikeperry@fscked.org">mikeperry@fscked.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thus spake Nick Mathewson (<a href="mailto:nickm@freehaven.net">nickm@freehaven.net</a>):<br>
<div class="im"><br>
&gt; 2010/2/12 ilter yüksel &lt;<a href="mailto:ilteryuksel@gmail.com">ilteryuksel@gmail.com</a>&gt;:<br>
</div><div class="im">&gt; &gt; &quot;For circuits that do not need to be &quot;fast&quot;, when choosing among multiple<br>
&gt; &gt; candidates for a path element, we choose randomly. For &quot;fast&quot; circuits, we<br>
&gt; &gt; pick a given router as an exit with probability proportional to its<br>
&gt; &gt; bandwidth.&quot;<br>
&gt; &gt;<br>
&gt; &gt; Could anybody explain why Tor pick exit router with probability proportional<br>
&gt; &gt; to its bandwidth only for fast circuits? As far as i know Tor uses this<br>
&gt; &gt; technique for load-balance. But why it uses this technique only for fast<br>
&gt; &gt; circuits?<br>
&gt;<br>
&gt; First of all, &quot;Fast&quot; circuits are a bit misnamed as used in<br>
&gt; path-spec.txt.  Basically, &quot;fast&quot; means &quot;bandwidth-sensitive&quot;.  The<br>
&gt; only ones that aren&#39;t don&#39;t need to be &quot;fast&quot; in this sense are ones<br>
&gt; that are going to be used only for a tiny amount of traffic.<br>
&gt;<br>
&gt; That said, I think the statement in path-spec.txt may be poor.  It<br>
&gt; probably makes sense to weight all choices by bandwidth, now that<br>
&gt; bandwidth is measured rather than just being self-advertised.<br>
&gt;<br>
&gt; To see what the code is actually doing, the string to search for is<br>
&gt; need_capacity or NEED_CAPACITY.  The most interesting layer to look<br>
&gt; for this is at is where it&#39;s passed as a flag to<br>
&gt; circuit_launch_by_router() or circuit_launch_by_extend_info().<br>
<br>
</div>Ok, I&#39;ve gone ahead and fixed both the spec and the code in<br>
mikeperry/consensus-bw-weights4 in my git repo.<br>
<font color="#888888"><br>
--<br>
Mike Perry<br>
Mad Computer Scientist<br>
<a href="http://fscked.org" target="_blank">fscked.org</a> evil labs<br>
</font></blockquote></div><br>