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

Re: [tor-bugs] #24011 [Core Tor/Tor]: Attempt to open a stream on first hop of circuit



#24011: Attempt to open a stream on first hop of circuit
--------------------------+------------------------------------
 Reporter:  teor          |          Owner:  (none)
     Type:  defect        |         Status:  needs_information
 Priority:  Medium        |      Milestone:  Tor: 0.3.2.x-final
Component:  Core Tor/Tor  |        Version:  Tor: 0.3.2.2-alpha
 Severity:  Normal        |     Resolution:
 Keywords:  tor-circuit   |  Actual Points:
Parent ID:                |         Points:  1
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by dgoulet):

 From the warning, the previous hop on the circuit was indeed marked as a
 client that is:

 {{{
       const int client_chan = channel_is_client(or_circ->p_chan);
       if ((client_chan || ...)
 }}}

 There are two ways this can be done, through a
 `CREATE/CREATE_FAST/CREATE2` cell which in that case the previous hops is
 indeed a client or with a unauthenticated connection that is a client or
 bridge where the connection is marked when the NETINFO cell comes in.

 In both cases, the channel is indeed support to be a client and not end up
 with a `BEGIN` cell at a one hop Exit...

 I'm a bit puzzled here on how this can happen, I suspect that we might
 only see this with chutney (`TestingNetwork`) which could be related.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24011#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