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

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Oct 4 03:48:36 UTC 2012


#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


More information about the tor-bugs mailing list