[tor-bugs] #6609 [Tor Client]: Proposal to add tor-connect utility to tor-core distribution

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Aug 16 09:13:07 UTC 2012


#6609: Proposal to add tor-connect utility to tor-core distribution
-------------------------+--------------------------------------------------
 Reporter:  tri          |          Owner:     
     Type:  enhancement  |         Status:  new
 Priority:  normal       |      Milestone:     
Component:  Tor Client   |        Version:     
 Keywords:               |         Parent:     
   Points:               |   Actualpoints:     
-------------------------+--------------------------------------------------

Comment(by rransom):

 Replying to [comment:4 tri]:
 > Replying to [comment:3 rransom]:
 > > Tor communicates its SocksPort to Vidalia using the Tor control-port
 protocol (how ''that'' gets set up is rather ugly).  Vidalia then provides
 the SOCKS proxy port to TBB-Firefox by setting an environment variable.
 This technique cannot work for any process that is not started by Vidalia.
 >
 > I know.  However tor browser does write the socks configuration to disk
 so there aren't really too many security reasons not to store same
 information for example to some fixed file within tor browser tree in
 -r-------- mode.

 The part of that idea that I thought would be unpleasant was that tor-
 connect would have to find that file -- but I taught start-tor-browser to
 find itself (and the rest of TBB) in shell script, and it's much easier in
 C.  (`man 3 realpath`)

 So the remaining issues are (a) which process should write the file, (b)
 what format the file should have, and (c) which Git repo tor-connect
 should live in.  (Please read the description of
 ‘`ControlPortWriteToFile`’ in the tor(1) man page if you haven't already.
 But don't assume that that's the right format for a file containing Tor's
 SocksPort.)

 > But anyways. My main aim is to get the tool into tor distribution.
 Having it in tbb would be a big bonus.

 I'm not sure that the same program will be suitable for inclusion in both
 Tor and TBB.  (On the other hand, TBB applies patches to Vidalia and
 Firefox; applying a patch to a small tool in the Tor source tarball might
 be OK.)

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


More information about the tor-bugs mailing list