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/dia.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/dia.profile')
-rw-r--r-- | etc/dia.profile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/etc/dia.profile b/etc/dia.profile index 4e009afd7..67cd2ca63 100644 --- a/etc/dia.profile +++ b/etc/dia.profile | |||
@@ -7,23 +7,24 @@ include /etc/firejail/dia.local | |||
7 | 7 | ||
8 | noblacklist ~/.dia | 8 | noblacklist ~/.dia |
9 | include /etc/firejail/disable-common.inc | 9 | include /etc/firejail/disable-common.inc |
10 | include /etc/firejail/disable-devel.inc | ||
10 | include /etc/firejail/disable-programs.inc | 11 | include /etc/firejail/disable-programs.inc |
11 | include /etc/firejail/disable-passwdmgr.inc | 12 | include /etc/firejail/disable-passwdmgr.inc |
12 | 13 | ||
13 | caps.drop all | 14 | caps.drop all |
14 | netfilter | 15 | no3d |
16 | nogroups | ||
15 | nonewprivs | 17 | nonewprivs |
16 | noroot | 18 | noroot |
19 | nosound | ||
17 | novideo | 20 | novideo |
18 | protocol unix,inet,inet6 | 21 | protocol unix |
19 | seccomp | 22 | seccomp |
20 | |||
21 | # | ||
22 | # depending on your usage, you can enable some of the commands below: | ||
23 | # | ||
24 | nogroups | ||
25 | shell none | 23 | shell none |
26 | # private-bin program | 24 | |
27 | # private-etc none | ||
28 | private-dev | 25 | private-dev |
29 | private-tmp | 26 | private-tmp |
27 | disable-mnt | ||
28 | |||
29 | noexec ${HOME} | ||
30 | noexec /tmp | ||