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/cherrytree.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/cherrytree.profile')
-rw-r--r-- | etc/cherrytree.profile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/etc/cherrytree.profile b/etc/cherrytree.profile index 0ac71ca3c..b1acd78f2 100644 --- a/etc/cherrytree.profile +++ b/etc/cherrytree.profile | |||
@@ -9,18 +9,28 @@ include /etc/firejail/cherrytree.local | |||
9 | noblacklist /usr/bin/python2* | 9 | noblacklist /usr/bin/python2* |
10 | noblacklist /usr/lib/python3* | 10 | noblacklist /usr/lib/python3* |
11 | noblacklist ${HOME}/.config/cherrytree | 11 | noblacklist ${HOME}/.config/cherrytree |
12 | |||
12 | include /etc/firejail/disable-common.inc | 13 | include /etc/firejail/disable-common.inc |
13 | include /etc/firejail/disable-programs.inc | 14 | include /etc/firejail/disable-programs.inc |
14 | include /etc/firejail/disable-devel.inc | 15 | include /etc/firejail/disable-devel.inc |
15 | include /etc/firejail/disable-passwdmgr.inc | 16 | include /etc/firejail/disable-passwdmgr.inc |
16 | 17 | ||
17 | caps.drop all | 18 | caps.drop all |
19 | #ipc-namespace | ||
18 | netfilter | 20 | netfilter |
21 | no3d | ||
19 | nogroups | 22 | nogroups |
20 | nonewprivs | 23 | nonewprivs |
21 | noroot | 24 | noroot |
22 | nosound | 25 | nosound |
23 | novideo | 26 | novideo |
24 | seccomp | ||
25 | protocol unix,inet,inet6,netlink | 27 | protocol unix,inet,inet6,netlink |
28 | seccomp | ||
29 | shell none | ||
26 | tracelog | 30 | tracelog |
31 | |||
32 | private-dev | ||
33 | private-tmp | ||
34 | |||
35 | noexec ${HOME} | ||
36 | noexec /tmp | ||