[tor-bugs] #12716 [meek]: Make meek-client-torbrowser take the firefox command as a parameter

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Apr 1 20:52:19 UTC 2015


#12716: Make meek-client-torbrowser take the firefox command as a parameter
------------------------+----------------------------
     Reporter:  dcf     |      Owner:  dcf
         Type:  defect  |     Status:  needs_revision
     Priority:  minor   |  Milestone:
    Component:  meek    |    Version:
   Resolution:          |   Keywords:
Actual Points:          |  Parent ID:
       Points:          |
------------------------+----------------------------

Comment (by mcs):

 Replying to [comment:21 infinity0]:
 > However, this is not trivial. I am not an expert in the extensions API,
 but I could not find a direct API for looking at firefox's stdin. The
 closest I could think of is using js-ctypes to call C functions directly
 to look at it, but the documentation for that is non-existent. I did find
 a relatively good and complete example of how to use it to do useful
 things here: https://github.com/bit/subprocess/blob/master/subprocess.jsm
 but it would still take a fair bit of work to implement the behaviour we
 want. But perhaps I can find someone who knows a lot about js-ctypes to
 help me with this.

 The js-ctypes unit test code might be helpful if you need examples of how
 to declare C types and functions (and use them):

 http://mxr.mozilla.org/mozilla-
 esr31/source/toolkit/components/ctypes/tests/unit/test_jsctypes.js

 Note that at one point Mike Perry removed js-ctypes support from Tor
 Browser (more secure not to have it), but we ended up re-enabling it
 because some internal Mozilla code relies on it.

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


More information about the tor-bugs mailing list