diff options
author | Tad <tad@spotco.us> | 2017-07-05 09:40:54 -0400 |
---|---|---|
committer | Tad <tad@spotco.us> | 2017-08-02 00:13:42 -0400 |
commit | 0dba38435ef92ccc01cc9ff23b69df55489ec983 (patch) | |
tree | dfd1d8db02f579183fa77acdbde9aa315596220f /etc/ristretto.profile | |
parent | x11/xpra support (diff) | |
download | firejail-0dba38435ef92ccc01cc9ff23b69df55489ec983.tar.gz firejail-0dba38435ef92ccc01cc9ff23b69df55489ec983.tar.zst firejail-0dba38435ef92ccc01cc9ff23b69df55489ec983.zip |
Harden profiles
- Added 'disable-devel.conf' to many profiles
- Added 'disable-mnt' to many profiles
- Added 'noexec' to many profiles
- Removed 'netfilter' and 'net none' from profiles with 'protocol unix'
- Cleaned up profiles using defaults
Diffstat (limited to 'etc/ristretto.profile')
-rw-r--r-- | etc/ristretto.profile | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/etc/ristretto.profile b/etc/ristretto.profile index ca4b1a64d..5c72f9eb8 100644 --- a/etc/ristretto.profile +++ b/etc/ristretto.profile | |||
@@ -10,22 +10,23 @@ noblacklist ~/.Steam | |||
10 | noblacklist ~/.steam | 10 | noblacklist ~/.steam |
11 | 11 | ||
12 | include /etc/firejail/disable-common.inc | 12 | include /etc/firejail/disable-common.inc |
13 | include /etc/firejail/disable-programs.inc | 13 | include /etc/firejail/disable-devel.inc |
14 | include /etc/firejail/disable-passwdmgr.inc | 14 | include /etc/firejail/disable-passwdmgr.inc |
15 | include /etc/firejail/disable-programs.inc | ||
15 | 16 | ||
16 | caps.drop all | 17 | caps.drop all |
17 | netfilter | 18 | no3d |
19 | nogroups | ||
18 | nonewprivs | 20 | nonewprivs |
19 | noroot | 21 | noroot |
20 | protocol unix,inet,inet6 | 22 | nosound |
23 | novideo | ||
24 | protocol unix | ||
21 | seccomp | 25 | seccomp |
22 | |||
23 | # | ||
24 | # depending on your usage, you can enable some of the commands below: | ||
25 | # | ||
26 | nogroups | ||
27 | shell none | 26 | shell none |
28 | # private-bin program | 27 | |
29 | # private-etc none | ||
30 | private-dev | 28 | private-dev |
31 | # private-tmp | 29 | private-tmp |
30 | |||
31 | noexec ${HOME} | ||
32 | noexec /tmp | ||