[tor-bugs] #11612 [meek]: tbb bundle with meek takes (literally) hours to connect

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Sep 8 17:04:17 UTC 2014


#11612: tbb bundle with meek takes (literally) hours to connect
-----------------------------+-------------------------------
     Reporter:  cypherpunks  |      Owner:  dcf
         Type:  defect       |     Status:  needs_information
     Priority:  normal       |  Milestone:
    Component:  meek         |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+-------------------------------

Comment (by dcf):

 I think I found the cause of the problem. The Firefox helper requires the
 request from meek-client to be received all at once in one read; i.e., it
 doesn't buffer and concatenate multiple reads:
  * https://gitweb.torproject.org/pluggable-
 transports/meek.git/blob/b1f6a7ece3adaf8a781a5a97877fcf0f20c736a7:/firefox/components/main.js#l362
 During initial bootstrapping, there are several large requests (up to
 ~80000 bytes after base64) that the helper is required to read in one go.
 It's not surpising that the OS might split such a large payload across
 multiple packets, even on a localhost interface. If I modify meek-client
 to split its write into two writes, I can reproduce the bootstrapping
 failure.

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


More information about the tor-bugs mailing list