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

[tor-bugs] #7039 [Tor]: Client reports wrong circuit destroy reason to controller after truncated relay cell



#7039: Client reports wrong circuit destroy reason to controller after truncated
relay cell
------------------------+---------------------------------------------------
 Reporter:  arma        |          Owner:                    
     Type:  defect      |         Status:  new               
 Priority:  normal      |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor         |        Version:                    
 Keywords:  tor-client  |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------
 When a client sends an extend cell, it gets converted to a create cell. If
 the relay refuses the create cell (e.g. its onion queue is full) it sends
 back a destroy. The relay that receives the destroy converts it into a
 truncated relay cell and sends it back, complete with the reason in the
 destroy cell.

 The client then receives the truncated relay cell, and decides to tear
 down the circuit. But it discards the reason from the truncated relay
 cell, instead opting to declare that the circuit closed in all cases
 because of END_CIRC_REASON_OR_CONN_CLOSED.

 We should use the reason from the truncated relay cell.

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