[tor-bugs] #8304 [Vidalia]: When multiple `SocksPort` options are written in Vidalia's `torrc` dialog window, only the last one is actually written to disk.

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Dec 5 15:59:06 UTC 2013


#8304: When multiple `SocksPort` options are written in Vidalia's `torrc` dialog
window, only the last one is actually written to disk.
-------------------------+--------------------------------
     Reporter:  meitar   |      Owner:  chiiph, malaparte_
         Type:  defect   |     Status:  needs_review
     Priority:  normal   |  Milestone:
    Component:  Vidalia  |    Version:  Vidalia: 0.2.21
   Resolution:           |   Keywords:
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+--------------------------------

Comment (by mparte):

 Just a quick summary.

 "SocksPort" is functioning as the Key in a Hash Table of all the the Tor
 config options.

 .insert() will over write the value held by this key

 .insertMulti() will allow you to write multiple values to the key

 Which is the desired behavior as Tor allows you multiple SocksPort values.

 Vidalia then sends this to Tor and says "rewrite your Torrc".

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


More information about the tor-bugs mailing list