mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #642] Tor browser returns fatal error if using firejail and Tor's meek protocol #446
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#446
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @igor2x on GitHub (Jul 23, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/642
SUMMARY
Test 1 - Tor using Firejail and Tor's meek protocol A PROBLEM.
Test 2 - Tor using Firejail and Tor's obfs4 protocol WORKS FINE.
Test 3 - Tor WITHOUT Firejail and Tor's meek protocol WORKS FINE.
Bellow are details how to reproduce a problem.
INSTALLATION
On Ubuntu 16.04 Desktop 32-bit I have downloaded Firejail from:
http://sourceforge.net/projects/firejail/files/firejail/firejail_0.9.40_1_i386.deb
I installed Firejail:
sudo dpkg -i <deb_file>Check the firejail version:
firejail --versionfirejail version 0.9.40
I downloaded Tor browser from:
https://www.torproject.org/dist/torbrowser/6.0.2/tor-browser-linux32-6.0.2_en-US.tar.xz
Untar the file to /opt/tor/ directory. It is not requirement to untar it there, you can untar it where ever you like.
TEST 1 - THE PROBLEM
cd /opt/tor/firejail /opt/tor/start-tor-browser.desktopAfter few seconds the following error appears:
Tor failed to establish a Tor network connection.
Connecting to a relay directory failed (missing pluggable transport - 0.0.2.0:2)
Note: The same problem with meek-azure and meek-google protocols.
It does look like a Firejail problem. Why? See next two tests bellow.
TEST 2 - WORK-AROUND USING OBFS4 PROTOCOL WITH FIREJAIL
All steps the same as in TEST 1 except step 5: select: Connect with provided bridges and Transport type select: obfs4 (recommended) and Next button
Step 6 is the same.
Tor browser starts-up without a problem.
TEST 3 - WORK-AROUND USING MEEK-AMAZON WITHOUT! FIREJAIL
cd /opt/tor//opt/tor/start-tor-browser.desktopAll other steps are the same as in TEST 1.
Tor browser starts-up without a problem.
ADDITIONAL INFO
I tried to start-up Tor browser with Firejail with debug option like:
firejail --debug /opt/tor/start-tor-browser.desktop
I see firejail's default.profile is used.
But after step 3 in TEST 1 and TEST 2 there is no text displayed in terminal. So no what ever is selected in Tor wizard no info is displayed in terminal.
I don't know if this is Firejail version 0.9.40 regression or it is an old problem, because I have never used meek-amazon (and other meek-azure and meek-google) protocol with Tor before.
@netblue30 commented on GitHub (Jul 24, 2016):
I'll take a look, thanks.
@chiraag-nataraj commented on GitHub (Aug 19, 2018):
Is this still an issue @igor2x?
@igor2x commented on GitHub (Aug 21, 2018):
I rechecked this ancient bug report and problem does not appear anymore.