[tor-bugs] #7261 [Tor]: Tor fails to create new controller circuits

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Oct 31 04:32:11 UTC 2012


#7261: Tor fails to create new controller circuits
--------------------+-------------------------------------------------------
 Reporter:  neena   |          Owner:                    
     Type:  defect  |         Status:  new               
 Priority:  normal  |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor     |        Version:                    
 Keywords:          |         Parent:                    
   Points:          |   Actualpoints:                    
--------------------+-------------------------------------------------------
Changes (by arma):

  * milestone:  => Tor: 0.2.4.x-final


Comment:

 The "Bug: " part of this is indeed a bug --
 circuit_launch_by_extend_info() gets asked for a
 CIRCUIT_PURPOSE_CONTROLLER circuit, asks circuit_find_to_cannibalize() if
 there's a general-purpose circuit it can use, the answer is yes, but then
 the switch() in circuit_launch_by_extend_info() is surprised to hear that
 we're wanting CIRCUIT_PURPOSE_CONTROLLER.

 Option one is to fix the switch() to add another case at the top for
 controller circs, and just return them as-is. Fine with me I guess. I'm
 not really sure what the poster here *expected* to have happen.

 Option two is to not call circuit_find_to_cannibalize() for purpose
 CIRCUIT_PURPOSE_CONTROLLER -- like how we don't call it for
 CIRCUIT_PURPOSE_TESTING currently. That way we're forced to build a new
 one when asked. Maybe that's more like what the poster here expected.

 What's the use case?

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7261#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list