[tor-bugs] #6004 [Tor bundles/installation]: Settings are lost when opening/saving torrc in TBB 2.2.35-13 on windows XP SP3

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed May 30 07:19:00 UTC 2012


#6004: Settings are lost when opening/saving torrc in TBB 2.2.35-13 on windows XP
SP3
--------------------------------------+-------------------------------------
 Reporter:  runa                      |          Owner:  erinn
     Type:  defect                    |         Status:  new  
 Priority:  normal                    |      Milestone:       
Component:  Tor bundles/installation  |        Version:       
 Keywords:                            |         Parent:       
   Points:                            |   Actualpoints:       
--------------------------------------+-------------------------------------
 A user reports a bug when opening/saving settings in torrc in TBB
 2.2.35-13 on windows XP SP3:

 There is a certain bug in vidalia control panel takes place when
 saving/opening torrc file were all settings are not saved and sometime the
 windows shows blank (although torrc file is not empty)

 1. Start with new copy of TBB
 2. Open vidalia control panel click [settings]
 3. Select advanced tab
 4. Click [edit current torrc] button

 By default it will shows the following:

 {{{
 # This file was generated by Tor; if you edit it, comments will not be
 preserved

 # The old torrc file was renamed to torrc.orig.1 or similar, and Tor will
 ignore it

 AvoidDiskWrites 1
 ControlPort 9051
 DataDirectory .\Data\Tor
 DirReqStatistics 0
 GeoIPFile .\Data\Tor\geoip
 Log notice stdout
 SocksListenAddress 127.0.0.1
 }}}

 5. Click OK
 6. Select Network tab from top
 7. Check-on option (''My firewall only lets me connect to certain ports'')
 and enter 80, 443
 8. Check-on option (''my ISP blocks connection to the tor network'')
 9. Add 3 or 4 bridge values, for example 1.1.1.1:1, 2.2.2.2:2, 3.3.3.3:3,
 4.4.4.4:4 and click OK
 10. Again on Vidalia control panel click [settings]
 11. Select advanced tab
 12. Click [edit current torrc] button

 It will show the following (as expected)

 {{{
 # This file was generated by Tor; if you edit it, comments will not be
 preserved

 # The old torrc file was renamed to torrc.orig.1 or similar, and Tor will
 ignore it

 AvoidDiskWrites 1
 Bridge 1.1.1.1:1
 Bridge 2.2.2.2:2
 Bridge 3.3.3.3:3
 Bridge 4.4.4.4:4
 ControlPort 9051
 DataDirectory .\Data\Tor
 DirReqStatistics 0
 GeoIPFile .\Data\Tor\geoip
 Log notice stdout
 ReachableAddresses *:80,*:443
 ReachableAddresses reject *:*
 SocksListenAddress 127.0.0.1
 UpdateBridgesFromAuthority 1
 UseBridges 1
 }}}

 Now the bug takes place when clicking [OK] to re-save

 13. Click click [edit current torrc] button

 The result will now be:

 {{{
 # This file was generated by Tor; if you edit it, comments will not be
 preserved

 # The old torrc file was renamed to torrc.orig.1 or similar, and Tor will
 ignore it

 AvoidDiskWrites 1
 Bridge 4.4.4.4:4
 ControlPort 9051
 DataDirectory .\Data\Tor
 DirReqStatistics 0
 GeoIPFile .\Data\Tor\geoip
 Log notice stdout
 ReachableAddresses reject *:*
 SocksListenAddress 127.0.0.1
 UpdateBridgesFromAuthority 1
 UseBridges 1
 }}}

 So settings for selected ports and number of bridges are lost.

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


More information about the tor-bugs mailing list