[tor-bugs] #6666 [Stem]: Stem wrapper method for the EXTENDCIRCUIT control command

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Nov 25 13:57:38 UTC 2012


#6666: Stem wrapper method for the EXTENDCIRCUIT control command
------------------------+---------------------------------------------------
 Reporter:  neena       |          Owner:  neena   
     Type:  task        |         Status:  assigned
 Priority:  normal      |      Milestone:          
Component:  Stem        |        Version:          
 Keywords:  controller  |         Parent:          
   Points:              |   Actualpoints:          
------------------------+---------------------------------------------------

Comment(by robinson):

 My testing shows that this code works, as is, with limitations.  First,
 purpose= was added before tor 0.1.1.15-rc, so it is not likely to be a
 problem.

 However, the EXTENDCIRCUIT syntax changed between 0.2.1.x and 0.2.2.y (y >
 9), specifically, commit ac68704f07c2b703.  Before 0.2.2.8-alpha,
 ServerSpec was a required parameter to EXTENDCIRCUIT.  After
 0.2.2.9-alpha, ServerSpec is optional.  So, response 512 (missing
 parameter) or 552 (unknown router) in 0.2.1.x, depending whether purpose=
 is included.

 The "551 Couldn't start circuit" in 0.2.2.y and later seems to be a
 transitory error.  Sometimes the daemon fails to open a new circuit, it
 happens.  Try running the Controller ONLINE tests multiple times and some
 methods fail some times.

 So, at worst, do we need a version check in extend_circuit to give more
 explicit exceptions for an obsolete version of tor?

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


More information about the tor-bugs mailing list