Opened 10 months ago

Closed 5 months ago

#29623 closed defect (wontfix)

Deploy Marionette in Linux nightly builds

Reported by: gk Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: Marionette tor-pt, tbb-rbm
Cc: dcf, ahf, gk, cohosh, gaba Actual Points:
Parent ID: #26920 Points:
Reviewer: Sponsor:

Description

Supporting Linux is probably easiest, so we start with Marionette support in nightly builds there.

Child Tickets

Change History (6)

comment:1 Changed 10 months ago by gk

Keywords: tbb-rbm added

comment:2 Changed 9 months ago by gk

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.

To reproduce you can find the bundle I used at

https://people.torproject.org/~gk/testbuilds/tor-browser-linux64-tbb-nightly_en-US_29623.tar.xz
https://people.torproject.org/~gk/testbuilds/tor-browser-linux64-tbb-nightly_en-US_29623.tar.xz.asc

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/.

comment:3 Changed 9 months ago by cohosh

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:

pref("extensions.torlauncher.default_bridge.marionette.1", "marionette 68.183.200.16:8081 C6345F09C3ECCE5DAE37E8D1EC8495A4577CA356");

comment:4 Changed 9 months ago by gk

Keywords: TorBrowserTeam201903 GeorgKoppen201903 removed

comment:5 Changed 9 months ago by gaba

Cc: gaba added

comment:6 Changed 5 months ago by ahf

Resolution: wontfix
Status: newclosed

This is no longer something we are planning on doing.

Note: See TracTickets for help on using tickets.