aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z
diff options
context:
space:
mode:
authorLibravatar Tad <tad@spotco.us>2022-07-23 13:18:09 -0400
committerLibravatar Tad <tad@spotco.us>2022-07-23 13:18:13 -0400
commit89441e48e8f0388f376cd4fcc24ddbd99f7cc858 (patch)
tree6a5c709f1f040c6895b8e944f7db45cb1359e59b /etc/profile-m-z
parentviewnior.profile: allow accessing its /usr/share directory (#5270) (diff)
downloadfirejail-89441e48e8f0388f376cd4fcc24ddbd99f7cc858.tar.gz
firejail-89441e48e8f0388f376cd4fcc24ddbd99f7cc858.tar.zst
firejail-89441e48e8f0388f376cd4fcc24ddbd99f7cc858.zip
Deny Tor related profiles access to /sys/class/net
This directory contains the MAC address for connections available Tested working with torbrowser-launcher and onionshare Signed-off-by: Tad <tad@spotco.us>
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r--etc/profile-m-z/onionshare-gui.profile2
-rw-r--r--etc/profile-m-z/torbrowser-launcher.profile1
-rw-r--r--etc/profile-m-z/torbrowser.profile1
3 files changed, 4 insertions, 0 deletions
diff --git a/etc/profile-m-z/onionshare-gui.profile b/etc/profile-m-z/onionshare-gui.profile
index fbf4c3ef0..db923056a 100644
--- a/etc/profile-m-z/onionshare-gui.profile
+++ b/etc/profile-m-z/onionshare-gui.profile
@@ -11,6 +11,8 @@ noblacklist ${HOME}/.config/onionshare
11# Allow python (blacklisted by disable-interpreters.inc) 11# Allow python (blacklisted by disable-interpreters.inc)
12include allow-python3.inc 12include allow-python3.inc
13 13
14blacklist /sys/class/net
15
14include disable-common.inc 16include disable-common.inc
15include disable-devel.inc 17include disable-devel.inc
16include disable-exec.inc 18include disable-exec.inc
diff --git a/etc/profile-m-z/torbrowser-launcher.profile b/etc/profile-m-z/torbrowser-launcher.profile
index 700a10be8..9d66c5fa4 100644
--- a/etc/profile-m-z/torbrowser-launcher.profile
+++ b/etc/profile-m-z/torbrowser-launcher.profile
@@ -16,6 +16,7 @@ include allow-python2.inc
16include allow-python3.inc 16include allow-python3.inc
17 17
18blacklist /srv 18blacklist /srv
19blacklist /sys/class/net
19 20
20include disable-common.inc 21include disable-common.inc
21include disable-devel.inc 22include disable-devel.inc
diff --git a/etc/profile-m-z/torbrowser.profile b/etc/profile-m-z/torbrowser.profile
index fc579b973..15ca5b550 100644
--- a/etc/profile-m-z/torbrowser.profile
+++ b/etc/profile-m-z/torbrowser.profile
@@ -13,6 +13,7 @@ noblacklist ${HOME}/.cache/mozilla
13noblacklist ${HOME}/.mozilla 13noblacklist ${HOME}/.mozilla
14 14
15blacklist /usr/libexec 15blacklist /usr/libexec
16blacklist /sys/class/net
16 17
17mkdir ${HOME}/.cache/mozilla/torbrowser 18mkdir ${HOME}/.cache/mozilla/torbrowser
18mkdir ${HOME}/.mozilla 19mkdir ${HOME}/.mozilla