mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3466] [Question] About sandbox "X11" #2181
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#2181
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 @Nokia808 on GitHub (Jun 13, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3466
Hi dears.
I discover a very powerful feature in Firejail specially useful for Browsers & WineHQ. It is sandbox "X11" server.
I'm on Fedora & available to me "xpra".
I have only one query that confuse me. The needed command is:
$ firejail --x11 --net=eth0 program-and-arguments
My question is about "eth0". Is this always ? Or user need to select it's currently active network interface ?
On my system there is no "eth0" when I run "$ ip link show". This command show me other (one for LAN wire connection, other for WiFi, & 3rd one I do not know but may be for modem & I'm already disabled "ModemManager" & for that it appear to me of UNKNOWN state ...).
Kindly, appreciate that I'm not experience with network connections ...
@SkewedZeppelin commented on GitHub (Jun 13, 2020):
Your 3rd NIC is probably the bridge for libvirtd enabled by default on Fedora Workstation.
-----Original Message-----
From: Nokia808 notifications@github.com
Reply-To: netblue30/firejail reply@reply.github.com
To: netblue30/firejail firejail@noreply.github.com
Cc: Subscribed subscribed@noreply.github.com
Subject: [netblue30/firejail] [Question] About sandbox "X11" (#3466)
Date: Sat, 13 Jun 2020 12:44:14 -0700
Hi dears.
I discover a very powerful feature in Firejail specially useful for Browsers & WineHQ. It is sandbox "X11" server.
I'm on Fedora & available to me "xpra".
I have only one query that confuse me. The needed command is:
$ firejail --x11 --net=eth0 program-and-arguments
My question is about "eth0". Is this always ? Or user need to select it's currently active network interface ?
On my system there is no "eth0" when I run "$ ip link show". This command show me other (one for LAN wire connection, other for WiFi, & 3rd
one I do not know but may be for modem & I'm already disabled "ModemManager" & for that it appear to me of UNKNOWN state ...).
@Nokia808 commented on GitHub (Jun 13, 2020):
@SkewedZeppelin
I did not understood ! What I have to type, "eth0" or other thing ?
The output of "ip link show" on my system is:
I delete the addresses & replaced them by xxxxxxxx because I do not know if they have a security impact if become public ...
@Nokia808 commented on GitHub (Jun 14, 2020):
Note: I'm not on Fedora Workstation, but I'm on Fedora X64 bit Cinnamon edition.
I'm afraid now that this issue will converted from a "Question" into incompatibility issue with recent features of Fedora ...
@rusty-snake commented on GitHub (Jun 14, 2020):
Use
--net=enp0s25or--net=wlp4s0depending on your connection.@Nokia808 commented on GitHub (Jun 14, 2020):
@rusty-snake
This mean I should use:
firejail --x11 --net=wlp4s0 firefox
as long I'm using WiFi connection to connect to Internet. Issue fixed.
But please document this. I suggest on you to add the following: "the parameter that should used with --net= should be your ACTIVE network connection, that you using to connect to Internet. You can use ip link show to display your network interfaces & their states". Adding such explanation to your documentation on your site is useful.
Before closing this issue I need to know about the following:
@rusty-snake commented on GitHub (Jun 14, 2020):
No, you can/should sandbox everything you want. Programs with internet access have a higher attack surface, so you should first focus on them while hardening you system.
Sure, it is completely unrelated. However, if you connect later to the internet, you must restart the sandbox to have network access.
@Nokia808 commented on GitHub (Jun 14, 2020):
Thank you, though - because I'm not technician I can not understand how it utilizing network interface that used to connect to Internet, & being unrelated whether it is active or not !
Kindly, to add your statement "if you connect later to the internet, you must restart the sandbox to have network access." to site documentation with what I suggested to add before.