[tor-bugs] #20761 [Applications/Tor Launcher]: Tor Browser 6.5a4 is ignoring additional SocksPorts
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Dec 2 16:30:14 UTC 2016
#20761: Tor Browser 6.5a4 is ignoring additional SocksPorts
---------------------------------------+-----------------------------------
Reporter: gk | Owner: brade
Type: defect | Status: needs_information
Priority: Medium | Milestone:
Component: Applications/Tor Launcher | Version:
Severity: Normal | Resolution:
Keywords: TorBrowserTeam201612 | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
---------------------------------------+-----------------------------------
Comment (by arthuredelstein):
Replying to [comment:6 mcs]:
> Replying to [comment:4 arthuredelstein]:
> > As far as I know, the `+SocksPort ...` command-line argument doesn't
write anything permanent to the torrc file, but just temporarily adds a
SocksPort for the lifetime of the tor process being launched. So I don't
think you will be accumulating more than two SocksPorts at a time.
>
> Kathy and I saw that happen yesterday when we experimented with
+SocksPort. It happens without the + as well, at least with Tor
0.2.9.5-alpha. If you start Tor Browser and then make a change via Tor
Launcher's Network Settings window so that torrc gets written to disk
(e.g., enable allowed ports), you will see that ControlPort and SocksPort
lines are added. We only tested on OSX so far. I wonder what the intended
behavior is?
Oh, that's interesting. I guess that behavior is caused by the `SAVECONF`
command?
It seems clear we don't want to save an ephemeral `SocksPort
/one/time/path` line to the torrc file. So I suppose one (somewhat
awkward) option, instead of using `SAVECONF`, would be to load the
settings into a string using `GETINFO CONFIG-TEXT`, remove the line with
the unix-domain SocksPort (that was created for this session only), and
then write the torrc file directly from JavaScript.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20761#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list