[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
Sun Mar 3 18:50:34 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         
     Type:  defect   |         Status:  new            
 Priority:  normal   |      Milestone:                 
Component:  Vidalia  |        Version:  Vidalia: 0.2.21
 Keywords:           |         Parent:                 
   Points:           |   Actualpoints:                 
---------------------+------------------------------------------------------

Comment(by malaparte_):

 by changing line 123 from settings.insert(key,val); to
 settings.insertMulti(key,val); I've at least gotten it to fail with the
 correct error message instead of randomly discarding the additional
 SocksPort without warning.

 It now throws an error dialogue with"Unacceptable option value: Invalid
 !SocksPort/SocksListenAddress configuration"

 I will explore further.

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


More information about the tor-bugs mailing list