[tor-bugs] #20111 [Applications/Tor Browser]: use Unix domain sockets for SOCKS port by default

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Oct 18 13:22:25 UTC 2016


#20111: use Unix domain sockets for SOCKS port by default
-------------------------------------------------+-------------------------
 Reporter:  mcs                                  |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:
                                                 |  needs_review
 Priority:  Medium                               |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-torbutton, tbb-security, tbb-    |  Actual Points:
  sandboxing, TorBrowserTeam201610R              |
Parent ID:  #14270                               |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by gk):

 After testing a bit it seems to me that we can't shut down the browser by
 clicking on the "x" in the upper right corner. At least not while I am
 loading a page. This is what I get before I have to kill Tor Browser if I
 e.g. go to cnn.com:
 {{{
 [10-18 13:13:43] TorLauncher NOTE: Disconnecting from tor process (pid
 9679)
 Oct 18 15:13:43.000 [notice] Owning controller connection has closed --
 exiting now.
 Oct 18 15:13:43.000 [notice] Catching signal TERM, exiting cleanly.
 [10-18 13:13:43] Torbutton INFO: Component returned failure code:
 0x80070057 (NS_ERROR_ILLEGAL_VALUE)
 [mozIThirdPartyUtil.getFirstPartyURIFromChannel]
 [10-18 13:13:43] Torbutton INFO: tor SOCKS isolation catchall:
 http://edition.i.cdn.cnn.com/.a/fonts/cnn/3.0.0/cnnsans-lightit.woff via
 --unknown--:a5401a33241f0f5b727475faebb590bf
 [10-18 13:13:43] Torbutton INFO: Component returned failure code:
 0x80070057 (NS_ERROR_ILLEGAL_VALUE)
 [mozIThirdPartyUtil.getFirstPartyURIFromChannel]
 [10-18 13:13:43] Torbutton INFO: tor SOCKS isolation catchall:
 http://edition.i.cdn.cnn.com/.a/fonts/cnn/3.0.0/cnnsans-regular.woff via
 --unknown--:a5401a33241f0f5b727475faebb590bf
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 99 NEW 0
 pixel.quantserve.com:80 SOURCE_ADDR=/home/thomas/Arbeit/Tor/debugging/20
 111/tor-brows PURPOSE=USER
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 100 NEW 0
 flapi1.rubiconproject.com:80
 SOURCE_ADDR=/home/thomas/Arbeit/Tor/debugging/20 111/tor-brows
 PURPOSE=USER
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 101 NEW 0
 flapi2.rubiconproject.com:80
 SOURCE_ADDR=/home/thomas/Arbeit/Tor/debugging/20 111/tor-brows
 PURPOSE=USER
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 102 NEW 0
 optimized-by.rubiconproject.com:80
 SOURCE_ADDR=/home/thomas/Arbeit/Tor/debugging/20 111/tor-brows
 PURPOSE=USER
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 103 NEW 0
 flapi1.rubiconproject.com:80
 SOURCE_ADDR=/home/thomas/Arbeit/Tor/debugging/20 111/tor-brows
 PURPOSE=USER
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 104 NEW 0
 flapi2.rubiconproject.com:80
 SOURCE_ADDR=/home/thomas/Arbeit/Tor/debugging/20 111/tor-brows
 PURPOSE=USER
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 105 NEW 0
 flapi1.rubiconproject.com:80
 SOURCE_ADDR=/home/thomas/Arbeit/Tor/debugging/20 111/tor-brows
 PURPOSE=USER
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 106 NEW 0
 flapi2.rubiconproject.com:80
 SOURCE_ADDR=/home/thomas/Arbeit/Tor/debugging/20 111/tor-brows
 PURPOSE=USER
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 107 NEW 0
 optimized-by.rubiconproject.com:80
 SOURCE_ADDR=/home/thomas/Arbeit/Tor/debugging/20 111/tor-brows
 PURPOSE=USER
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 108 NEW 0
 flapi1.rubiconproject.com:80
 SOURCE_ADDR=/home/thomas/Arbeit/Tor/debugging/20 111/tor-brows
 PURPOSE=USER
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 109 NEW 0
 flapi2.rubiconproject.com:80
 SOURCE_ADDR=/home/thomas/Arbeit/Tor/debugging/20 111/tor-brows
 PURPOSE=USER
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 39 CLOSED 6
 104.16.26.190:80 REASON=DONE
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 106 CLOSED 0
 flapi2.rubiconproject.com:80 REASON=DONE
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 103 CLOSED 0
 flapi1.rubiconproject.com:80 REASON=DONE
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 98 CLOSED 0
 d2lv4zbk7v5f93.cloudfront.net:80 REASON=DONE
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 104 CLOSED 0
 flapi2.rubiconproject.com:80 REASON=DONE
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 100 CLOSED 0
 flapi1.rubiconproject.com:80 REASON=DONE
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 101 CLOSED 0
 flapi2.rubiconproject.com:80 REASON=DONE
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 107 CLOSED 0
 optimized-by.rubiconproject.com:80 REASON=DONE
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 108 CLOSED 0
 flapi1.rubiconproject.com:80 REASON=DONE
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 105 CLOSED 0
 flapi1.rubiconproject.com:80 REASON=DONE
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 102 CLOSED 0
 optimized-by.rubiconproject.com:80 REASON=DONE
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 109 CLOSED 0
 flapi2.rubiconproject.com:80 REASON=DONE
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 110 NEW 0
 i2.cdn.turner.com:80 SOURCE_ADDR=/home/thomas/Arbeit/Tor/debugging/20 111
 /tor-brows PURPOSE=USER
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 111 NEW 0
 i2.cdn.turner.com:80 SOURCE_ADDR=/home/thomas/Arbeit/Tor/debugging/20 111
 /tor-brows PURPOSE=USER
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 112 NEW 0
 i2.cdn.turner.com:80 SOURCE_ADDR=/home/thomas/Arbeit/Tor/debugging/20 111
 /tor-brows PURPOSE=USER
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 113 NEW 0
 i2.cdn.turner.com:80 SOURCE_ADDR=/home/thomas/Arbeit/Tor/debugging/20 111
 /tor-brows PURPOSE=USER
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 88 CLOSED 6
 173.222.116.20:80 REASON=DONE
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 114 NEW 0
 i2.cdn.turner.com:80 SOURCE_ADDR=/home/thomas/Arbeit/Tor/debugging/20 111
 /tor-brows PURPOSE=USER
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 111 CLOSED 0
 i2.cdn.turner.com:80 REASON=DONE
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 115 NEW 0
 i2.cdn.turner.com:80 SOURCE_ADDR=/home/thomas/Arbeit/Tor/debugging/20 111
 /tor-brows PURPOSE=USER
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 112 CLOSED 0
 i2.cdn.turner.com:80 REASON=DONE
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 116 NEW 0
 i2.cdn.turner.com:80 SOURCE_ADDR=/home/thomas/Arbeit/Tor/debugging/20 111
 /tor-brows PURPOSE=USER
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 97 CLOSED 0
 i2.cdn.turner.com:80 REASON=DONE
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 117 NEW 0
 i2.cdn.turner.com:80 SOURCE_ADDR=/home/thomas/Arbeit/Tor/debugging/20 111
 /tor-brows PURPOSE=USER
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 117 CLOSED 0
 i2.cdn.turner.com:80 REASON=DONE
 [10-18 13:13:43] Torbutton INFO: controlPort >> 650 STREAM 118 NEW 0
 i2.cdn.turner.com:80 SOURCE_ADDR=/home/thomas/Arbeit/Tor/debugging/20 111
 /tor-brows PURPOSE=USER
 }}}
 Those `woff` resources seem to be interesting in particular as they are
 put on the catch all circuit by Torbutton, probably because the windows is
 gone. Not sure whether network requests are still ongoing after that but I
 somehow doubt it.

 This only happens when using unix domain sockets for the socks port.

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


More information about the tor-bugs mailing list