Comments (14)
Does it work if you launch torbrowser from your terminal like:
TOR_CONTROL_PORT=9151 TOR_SOCKS_PORT=9150 torbrowser
What's the output of
env | grep TOR_
from torbrowser-overlay.
> env | grep TOR_
TOR_CONTROL_HOST=127.0.0.1
TOR_CONTROL_PORT=9051
TOR_SOCKS_HOST=127.0.0.1
TOR_SOCKS_PORT=9050
torbrowser literally ignores TOR_SOCKS_HOST and TOR_SOCKS_PORT. torbrowser manages its own internal socks port number that I can configure in preferences.
I cannot configure TOR_CONTROL_PORT in torbrowser.
from torbrowser-overlay.
Does it work if you launch torbrowser from your terminal like:
TOR_CONTROL_PORT=9151 TOR_SOCKS_PORT=9150 torbrowser
How about that? Maybe the variables are not exported to your desktop environment.
from torbrowser-overlay.
I can not reproduce your issue. All the variables in /etc/env.d/99torbrowser
do work here.
from torbrowser-overlay.
Maybe the variables are not exported to your desktop environment.
It's exported to my i3 session. I checked it in a terminal emulator in my i3 session.
from torbrowser-overlay.
I executed
env TOR_CONTROL_PORT=9051 TOR_SOCKS_PORT=9050 torbrowser
torbrowser's internal socks proxy configuration overrides environment variables. Environment variables are ignored.
You can find internal socks proxy configuration at
Preferences -> General -> Network Proxy -> Settings
Perhaps, you didn't try to change tor ports. The default socks proxy port is 9150 in torbrowser.
from torbrowser-overlay.
torbrowser's internal socks proxy configuration overrides environment variables. Environment variables are ignored.
I've changed nothing in torbrowser's internal configuration and the environment variables are honoured. So I guess you have to use either way to configure torbrowser to your liking.
Perhaps, you didn't try to change tor ports. The default socks proxy port is 9150 in torbrowser.
I actually use TOR_SOCKS_IPC_PATH=/var/run/tor/socks
and TOR_CONTROL_IPC_PATH=/var/run/tor/control
in /etc/env.d/99torbrowser
and it's working just fine.
from torbrowser-overlay.
I deleted
- ~/.mozilla/torbrowser
- ~/.cache
Suddenly, torbrowser starts allowing environment variables to override internal settings.
How weird. It seems that settings from torbrowser-launcher break torbrowser.
from torbrowser-overlay.
It seems that settings from torbrowser-launcher breaks torbrowser.
That might be, I don't know. I personally don't use torbrowser-launcher
from torbrowser-overlay.
This issue seems solved. Do you use cookie authentication for control port?
It seems to me that any authentication method that exposes the credential as an environment variable is not safe.
from torbrowser-overlay.
Do you use cookie authentication for control port?
TOR_SOCKS_IPC_PATH=/var/run/tor/socks
and TOR_CONTROL_IPC_PATH=/var/run/tor/control
in conjuction with
SocksPort unix:/var/run/tor/socks GroupWritable
ControlPort unix:/var/run/tor/control GroupWritable
as my tor config.
from torbrowser-overlay.
What are the user and the group of tor instance for torbrowser?
from torbrowser-overlay.
I have the same issue with the following uses:
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for www-client/torbrowser-115.7.0_p13009:
U I
+ + X : Add support for X11
+ + clang : Use Clang compiler instead of GCC
+ + dbus : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
- - hardened : Activate default security enhancements for toolchain (gcc, glibc, binutils)
+ + pulseaudio : Add sound server support via media-libs/libpulse (may be PulseAudio or PipeWire)
+ + system-av1 : Use the system-wide media-libs/dav1d and media-libs/libaom library instead of bundled
+ + system-harfbuzz : Use the system-wide media-libs/harfbuzz and media-gfx/graphite2 instead of bundled
+ + system-icu : Use the system-wide dev-libs/icu instead of bundled
+ + system-jpeg : Use the system-wide media-libs/libjpeg-turbo instead of bundled
+ + system-libevent : Use the system-wide dev-libs/libevent instead of bundled
+ + system-libvpx : Use the system-wide media-libs/libvpx instead of bundled
+ + system-png : Use the system-wide media-libs/libpng instead of bundled (requires APNG patches)
- - system-python-libs : Use system's python site instead of bundled python libraries
+ + system-webp : Use the system-wide media-libs/libwebp instead of bundled
- - wayland : Enable dev-libs/wayland backend
Tor Browser will not use environment variables for SOCKS5 proxy, no matter if I use TCP SOCKS5 or UNIX socket SOCKS5. I can see in /proc/pid/environ that the environment variables are indeed set for tor browser, but in about:config I can see that it still uses port 9150 for connections which are then refused.
Any ideas?
from torbrowser-overlay.
Did you try with a fresh profile as mentioned in #34 (comment)?
The new locations are:
~/.torproject/torbrowser/
~/.cache/torproject/
from torbrowser-overlay.
Related Issues (20)
- onionshare 0.6 ebuild HOT 2
- Why not to add to the main Portage tree? HOT 2
- Why not to add to the main Portage tree?
- www-client/torbrowser-78.10.0_p10016 keeps crashing on many websites. HOT 12
- Tor Browser fails to start: "libxul.so: undefined symbol: gdk_wayland_display_get_wl_compositor" HOT 10
- Tor Browser opens 86 tabs on start-up. HOT 8
- "www-client/torbrowser" and "www-client/torbrowser-launcher" file-collide HOT 2
- net-libs/stem-1.8.1 fails to build. HOT 2
- Configure on arm64 errors: --disable-eme is not available in this configuration HOT 3
- [www-client/torbrowser-91.8.0_p11010] Fails to emerge HOT 5
- =www-client/torbrowser-91.10.0_p11014::torbrowser fails to build HOT 4
- Torbrowser-launcher and qt HOT 4
- torbrowser-launcher does not init and install the browser HOT 9
- /usr/bin/torbrowser not POSIX compliant HOT 1
- Fonts are messed up HOT 19
- CJK letters look broken on www-client/torbrowser-102.14.0_p12502-r1 HOT 4
- error: declaration of 'mozilla::profiler::ThreadRegistration::OnThreadRef::RWOnT hreadWithLock mozilla::profiler::ThreadRegistration::OnThreadRef::LockedRWOnThread()' changes meaning of 'LockedRWOnThread' HOT 13
- Cannot install the launcher because of slot conflict HOT 1
- www-client/torbrowser-115.4.0_p13001: icu 74.1 incompatibility HOT 1
- www-client/torbrowser ignores cursor theme. HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torbrowser-overlay.