[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #21084 [Core Tor/Tor]: sometimes we call circuit has_opened() more than 2 times on client side



#21084: sometimes we call circuit has_opened() more than 2 times on client side
--------------------------+------------------------------------
 Reporter:  s7r           |          Owner:  dgoulet
     Type:  defect        |         Status:  needs_information
 Priority:  Medium        |      Milestone:  Tor: 0.3.0.x-final
Component:  Core Tor/Tor  |        Version:  Tor: 0.3.0.1-alpha
 Severity:  Normal        |     Resolution:
 Keywords:  tor-hs        |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by s7r):

 In that case, it should reuse the same circuit (a 3 hops circuit) and just
 re-extend it to another intro point, so the circuit path has to be exactly
 the same with just one hop added.

 Above we have two different 5 hops circuits with different middle hops (2
 and 3) but the same endpoints, for which `circuit has_opened()` was called
 3 times. Since that log line is totally missing, the client may not have
 received a NACK. I am thinking of some weird race conditions, because we
 are only able to catch this behavior when quite a large amount of isolated
 requests are sent to the same hidden service in a very short period of
 time.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21084#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs