[tor-bugs] #15261 [Tor]: torrc's SocksSocket breaks tor-service-defaults-torrc's SocksPort

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Mar 13 20:17:15 UTC 2015


#15261: torrc's SocksSocket breaks tor-service-defaults-torrc's SocksPort
------------------------+--------------------------------
     Reporter:  proper  |      Owner:
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  Tor: 0.2.6.x-final
    Component:  Tor     |    Version:  Tor: 0.2.6.4-rc
   Resolution:          |   Keywords:
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by nickm):

 Check out this part of the manpage:

 {{{
 By default, an option on the command line overrides an option found in the
 configuration file, and an option in a configuration file overrides one in
 the defaults file.

 This rule is simple for options that take a single value, but it can
 become
 complicated for options that are allowed to occur more than once: if you
 specify four SOCKSPorts in your configuration file, and one more SOCKSPort
 on
 the command line, the option on the command line will replace __all__ of
 the
 SOCKSPorts in the configuration file.  If this isn't what you want, prefix
 the option name with a plus sign, and it will be appended to the previous
 set
 of options instead.
 }}}

 So to make sure that the SocksPort in the torrc does what you want, write
 it as `+SocksPort` .

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


More information about the tor-bugs mailing list