[tor-bugs] #5438 [Tor Client]: SocksListenAddress is deprecated but still used in default/sample torrc

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Mar 26 11:06:02 UTC 2012


#5438: SocksListenAddress is deprecated but still used in default/sample torrc
-------------------------+--------------------------------------------------
 Reporter:  cypherpunks  |          Owner:                     
     Type:  defect       |         Status:  new                
 Priority:  major        |      Milestone:  Tor: 0.2.3.x-final 
Component:  Tor Client   |        Version:  Tor: 0.2.3.12-alpha
 Keywords:               |         Parent:                     
   Points:               |   Actualpoints:                     
-------------------------+--------------------------------------------------
Changes (by arma):

  * priority:  minor => major


Comment:

 Ok. For reference the current torrc.sample stanza is:
 {{{
 ## Replace this with "SocksPort 0" if you plan to run Tor only as a
 ## relay, and not make any local application connections yourself.
 SocksPort 9050 # what port to open for local application connections
 SocksListenAddress 127.0.0.1 # accept connections only from localhost
 #SocksListenAddress 192.168.0.1:9100 # listen on this IP:port also
 }}}

 What's the new behavior we want? Perhaps something like
 {{{
 ## What address/port to open for local application connections.
 ## Replace this with "SocksPort 0" if you plan to run Tor only as a
 ## relay, and not make any local application connections yourself.
 SocksPort 9050 # binds to localhost if address isn't specified
 #SocksPort 192.168.0.1:9100 # listen on this IP:port also
 }}}

 I don't think we should have "socksport 127.0.0.1:9050" as default-on in
 the torrc file, because that limits us in the future about where we want
 it to bind. Do we want 9050 to be enabled by default in the torrc at all?
 It already is the default in the code -- see calls to parse_port_config().

 Hm.

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


More information about the tor-bugs mailing list