[tor-bugs] #17615 [Tor Browser]: Tor Browser sets network.proxy.socks_port in an inappropriate way

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 14 08:32:46 UTC 2015


#17615: Tor Browser sets network.proxy.socks_port in an inappropriate way
-------------------------+--------------------------
 Reporter:  infinity0    |          Owner:  tbb-team
     Type:  defect       |         Status:  new
 Priority:  Medium       |      Milestone:
Component:  Tor Browser  |        Version:
 Severity:  Normal       |     Resolution:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
  Sponsor:               |
-------------------------+--------------------------

Comment (by gk):

 Replying to [comment:2 infinity0]:
 > Yes, I see that problem with my original suggestion. Here is an
 alternate one:
 >
 > Immediately after setting `network.proxy.socks_port` from envvar
 `TOR_SOCKS_PORT`, register a shutdown hook (e.g. a signal handler for
 HUP/INT/TERM/etc and whatever else the language gives you) to reset it to
 the previous value (or no value, if there was no previous).
 >
 > Does that work better?

 I think so. Patches welcome.

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


More information about the tor-bugs mailing list