<div dir="ltr">Thanks for the replies! <div><br><div>1. About the name: </div></div><div>Thanks for the headsup! We'll definitely pay attention to the trademark rules when we publish our results. We are not planning to roll out our own version of Tor. I think our most important goal is probably: demonstrate a possibility of UDP-based protocol to solve some of TOR's hard performance problems. And hope that you guys would consider using it in future versions. </div><div>This leads me to a question about licensing: I believe TOR and QUIC have different (conflicting) licenses. Would it even be a possibility that QUIC ever makes it into TOR? </div><div><br></div><div>2. About our network config and clarification: </div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"></blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><font color="#783f04"><span style="font-size:12.8px">What do you mean by a "real network"?<br></span><span style="font-size:12.8px">Do you mean a test network with your own authorities on non-localhost IP addresses?</span></font></blockquote><div>Yes, our testing framework is using EmuLab with customized bandwidth, latency, queue size and drop rate. </div><div>From Tor's perspective, we are still using "<span style="font-size:12.8px">TestingTorNetwork</span>". </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span style="font-size:12.8px"><font color="#783f04">I also wonder why you need to use path restrictions at all.</font></span></blockquote><div>3. For path restriction, we have our own implementation. We parse the config file and use the nickname in choose_good_*() functions to return the corresponding nodes. We have to use this because restricting the middle node<u> is very important to us for testing HOL blocking problem.</u> (We have to manually create 1-hop overlapping path for two clients and test the interference.) </div><div><br></div><div>4. Regarding the issue, it's probably not entry guard problem, because: 1) Shouldn't that give "failed to select hop 0" instead of hop 1? 2) I can see in our debugging log that we failed on the extending info with the second node. The node returned by choose_good_middle_server is not NULL but the routerinfo_t pointer is NULL. Any idea why? </div><div>My guess is that consensus is a little short for some reasons, how do I validate this guess? Does the global router list contain everything on the consensus? </div><div><br></div><div>5. More observation on this issue: </div><div>For both tor and our tor, when I decrease the size of the network (i.e. number of relays in the network), the hanging issue resolves itself.. </div><div><br></div><div>I'll try rebase back to an official release today. </div><div><br></div><div><br></div><div>Thanks, </div><div>Li. </div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 6, 2016 at 8:57 AM, Tim Wilson-Brown - teor <span dir="ltr"><<a href="mailto:teor2345@gmail.com" target="_blank">teor2345@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On 6 May 2016, at 21:52, Roger Dingledine <<a href="mailto:arma@mit.edu">arma@mit.edu</a>> wrote:<br>
><br>
>> (Normally, a client won't re-use any of its 3 guards as a middle or<br>
>> exit. TestingTorNetwork disables this behaviour.<br>
><br>
> Tim: I think this statement might be wrong? Tor picks its exit first,<br>
> then picks a current guard that doesn't overlap with the exit, then<br>
> picks a middle that doesn't overlap with either of them.<br>
><br>
> See e.g. choose_good_middle_server().<br>
<br>
</span>Apologies, I didn't remember or explain the details of path selection very well.<br>
<br>
When tor is selecting an entry node for CIRCUIT_PURPOSE_TESTING in choose_good_entry_server(), it excludes all guard nodes, and excludes the exit. This can mean that 1 exit, 3 (or more) directory guards, and possibly another 3 (or more) entry guards are excluded. The entry guards are not necessarily the same as the directory guards (this can happen if the directory guards do not have descriptors, or the entry guards are not directories).<br>
<br>
So if you're excluding 7 or more nodes in a small network, this can cause path selection failures.<br>
Of course, it could be that entry guard selection is failing for other reasons, like a lack of nodes in the consensus.<br>
<br>
Without context from the logs, it's hard to tell whether it's testing circuits or standard circuits that are causing the path failures.<br>
<div class="HOEnZb"><div class="h5"><br>
Tim<br>
<br>
Tim Wilson-Brown (teor)<br>
<br>
teor2345 at gmail dot com<br>
PGP 968F094B<br>
ricochet:ekmygaiu4rzgsk6n<br>
<br>
<br>
<br>
</div></div><br>_______________________________________________<br>
tor-dev mailing list<br>
<a href="mailto:tor-dev@lists.torproject.org">tor-dev@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev" rel="noreferrer" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev</a><br>
<br></blockquote></div><br></div>