[tor-bugs] #4473 [Tor Client]: Disallow ControlPort auto unless ControlPortWriteToFile also set?

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Nov 15 17:26:30 UTC 2011


#4473: Disallow ControlPort auto unless ControlPortWriteToFile also set?
------------------------+---------------------------------------------------
 Reporter:  arma        |          Owner:                    
     Type:  defect      |         Status:  new               
 Priority:  normal      |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Client  |        Version:                    
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------

Comment(by atagar):

 Nope, it won't. The problem is that making sense of a 'ControlPort auto'
 configuration requires that the controller knows where the torrc is
 located. However, this is a dynamic location for TBB.

 When no interface argument is present arm attempts to bootstrap via the
 default control port and socket path. If they're using a random port with
 a torrc in a random location then I'm kinda at a loss for how to connect.
 I suppose I could snag the netstat output for everything with 'tor' in the
 name and try all of those ports but... ewwww.

 My impression is that 'ControlPort auto' is a TBB-only hack that, like
 Vidalia's random controller password, excludes the use of other
 controllers. I'd be happy to be wrong, though. :)

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


More information about the tor-bugs mailing list