[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 17:57:09 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 infinity0):

 An alternative that does not require the timer/signal part of #15125, but
 would still require the keep-stdin-open part of it, is to have meek-http-
 helper close itself when it detects that its own stdin is closed.

 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.

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


More information about the tor-bugs mailing list