bug_29623 (https://gitweb.torproject.org/user/gk/tor-browser-build.git/log/?h=bug_29623) has all the things needed for Marionette in Linux nightly builds. However, I don't put the yet-to-be squashed version in review yet because using Marionette is not working right now. Selecting the transport just results in Tor Browser sitting in the networkstatus consensus retrieval step.
Here is the log output (Tor Browser)
Mar 04 07:34:59.000 [notice] Bootstrapped 3% (conn_proxy): Connecting to proxy
Mar 04 07:34:59.000 [notice] Bootstrapped 4% (conn_done_proxy): Connected to proxy
Mar 04 07:34:59.000 [warn] Managed proxy at './TorBrowser/Tor/PluggableTransports/marionette' reported: 2019/03/04 07:34:59 Connecting to Marionette server: 165.227.39.255
Mar 04 07:34:59.000 [warn] Managed proxy at './TorBrowser/Tor/PluggableTransports/marionette' reported: 2019/03/04 07:34:59 Connected!
Mar 04 07:34:59.000 [notice] Bootstrapped 10% (conn_done): Connected to a relay
Mar 04 07:34:59.000 [warn] Managed proxy at './TorBrowser/Tor/PluggableTransports/marionette' reported: 2019/03/04 07:34:59 Proxying stream to connection
Mar 04 07:35:10.000 [notice] Bootstrapped 14% (handshake): Handshaking with a relay
Mar 04 07:35:23.000 [notice] Bootstrapped 15% (handshake_done): Handshake with a relay done
Mar 04 07:35:23.000 [notice] Bootstrapped 20% (onehop_create): Establishing an encrypted directory connection
Mar 04 07:35:40.000 [notice] Bootstrapped 25% (requesting_status): Asking for networkstatus consensus
And here is the Marionette log on the client side:
2019/03/04 07:34:59 Connecting to Marionette server: 165.227.39.255
2019/03/04 07:34:59 Connected!
2019/03/04 07:34:59 Proxying stream to connection
I left Tor Browser waiting for 10 minutes and then aborted the experiment.
Note: you need to add -log-file marionette-client.log manually to torrc-default to enabled Marionette logging as I omitted that in my patch. I was under the assumption client logging is not needed as everything works out of the box. :)
The file is at tor-browser_en-US/Browser/TorBrowser/Data/Tor/.
I moved some resources around after our conversation on irc about shelving this for now.
I'll keep the bridge up and running in case anyone wants to look at it, but it has a new IP and less resources allocated to it. The new line in bridge_prefs.js should be: