[tor-bugs] #3077 [Vidalia]: Vidalia needs to obtain SocksPort and ControlPort from tor

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Jun 2 22:31:36 UTC 2011


#3077: Vidalia needs to obtain SocksPort and ControlPort from tor
-----------------------+----------------------------------------------------
 Reporter:  mikeperry  |          Owner:  chiiph
     Type:  defect     |         Status:  new   
 Priority:  normal     |      Milestone:        
Component:  Vidalia    |        Version:        
 Keywords:             |         Parent:  #2264 
   Points:             |   Actualpoints:        
-----------------------+----------------------------------------------------

Comment(by arma):

 Tor 0.2.2.26-beta now has a ControlPortWriteToFile config option (and
 ControlPortFileGroupReadable if that's useful).

 So Vidalia could be taught to launch Tor with that config option set
 (assuming the first launch of Tor, to learn its version, says that the
 config option should work), then poll for the file and use that control
 port.

 Once you've got the control port, you can getinfo net/listeners/socks to
 figure out the socks port.

 Then you can set the right env vars for firefox (and thus for Torbutton)
 before you launch it.

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


More information about the tor-bugs mailing list