aboutsummaryrefslogtreecommitdiff
path: root/share/provision/files/tor-transproxy/tbb/user.js
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-01-23 16:33:56 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-01-23 16:33:56 -0300
commitc1eff16d2396bffc184a3a9b313cace731306215 (patch)
treef37357efa0b329424b6deac08b51c5f845aff008 /share/provision/files/tor-transproxy/tbb/user.js
parent480055af9dc335fb1b290b8ffb3a3548f879f3f5 (diff)
downloadkvmx-c1eff16d2396bffc184a3a9b313cace731306215.tar.gz
kvmx-c1eff16d2396bffc184a3a9b313cace731306215.tar.bz2
Feat: provision: tor-transproxy: Tor Browser support
Diffstat (limited to 'share/provision/files/tor-transproxy/tbb/user.js')
-rw-r--r--share/provision/files/tor-transproxy/tbb/user.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/share/provision/files/tor-transproxy/tbb/user.js b/share/provision/files/tor-transproxy/tbb/user.js
new file mode 100644
index 0000000..f8d9c0d
--- /dev/null
+++ b/share/provision/files/tor-transproxy/tbb/user.js
@@ -0,0 +1,20 @@
+// Preferences for system-installed Tor Browser
+// Needs either
+//
+// * Setting TOR_CONTROL_PASSWORD at ~/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/start-tor-browser
+// * Passing TOR_CONTROL_PASSWORD to start-tor-browser via the command line
+//
+// See https://trac.torproject.org/projects/tor/wiki/TorBrowserBundleSAQ
+//
+user_pref("network.security.ports.banned", "9050,9052");
+user_pref("network.proxy.socks", "127.0.0.1");
+user_pref("network.proxy.socks_port", 9050);
+user_pref("extensions.torbutton.inserted_button", true);
+user_pref("extensions.torbutton.launch_warning", false);
+user_pref("extensions.torbutton.loglevel", 2);
+user_pref("extensions.torbutton.logmethod", 0);
+user_pref("extensions.torlauncher.control_port", 9052);
+user_pref("extensions.torlauncher.loglevel", 2);
+user_pref("extensions.torlauncher.logmethod", 0);
+user_pref("extensions.torlauncher.prompt_at_startup",false);
+user_pref("extensions.torlauncher.start_tor", false);