diff options
43 files changed, 315 insertions, 22 deletions
@@ -183,7 +183,7 @@ Fred-Barclay (https://github.com/Fred-Barclay) | |||
183 | - tighten keepassx | 183 | - tighten keepassx |
184 | - added Thunar profile | 184 | - added Thunar profile |
185 | - added mousepad, qpicview, and cvlc profiles | 185 | - added mousepad, qpicview, and cvlc profiles |
186 | - addedd BibleTime profile | 186 | - added BibleTime and profiles |
187 | G4JC (http://sourceforge.net/u/gaming4jc/profile/) | 187 | G4JC (http://sourceforge.net/u/gaming4jc/profile/) |
188 | - ARM support | 188 | - ARM support |
189 | - profile fixes | 189 | - profile fixes |
@@ -356,6 +356,8 @@ SpotComms (https://github.com/SpotComms) | |||
356 | - added PDFSam, Pithos, and Xonotic profiles | 356 | - added PDFSam, Pithos, and Xonotic profiles |
357 | - disabled Go, Rust, and OpenSSL in disable-devel.conf | 357 | - disabled Go, Rust, and OpenSSL in disable-devel.conf |
358 | - added dino profile | 358 | - added dino profile |
359 | - added Kodi profile | ||
360 | - lots of profile hardening | ||
359 | SYN-cook (https://github.com/SYN-cook) | 361 | SYN-cook (https://github.com/SYN-cook) |
360 | - keepass/keepassx browser fixes | 362 | - keepass/keepassx browser fixes |
361 | - disable-common.inc fixes | 363 | - disable-common.inc fixes |
@@ -196,4 +196,4 @@ simple-scan, skanlite, ssh-agent, tracker, transmission-cli, transmission-show, | |||
196 | xed, pluma, Cryptocat, Bless, Gnome 2048, Gnome Calculator, Gnome Contacts, JD-GUI, Lollypop, MultiMC5, | 196 | xed, pluma, Cryptocat, Bless, Gnome 2048, Gnome Calculator, Gnome Contacts, JD-GUI, Lollypop, MultiMC5, |
197 | PDFSam, Pithos, Xonotic, wireshark, keepassx2, QupZilla, FossaMail, Uzbl browser, xmms, iridium browser, | 197 | PDFSam, Pithos, Xonotic, wireshark, keepassx2, QupZilla, FossaMail, Uzbl browser, xmms, iridium browser, |
198 | Kino, Thunar, Geeqie, Engrampa, Scribus, mousepad, gpicview, keepassxc, cvlc, MediathekView, baloo_file, | 198 | Kino, Thunar, Geeqie, Engrampa, Scribus, mousepad, gpicview, keepassxc, cvlc, MediathekView, baloo_file, |
199 | Nylas, dino, BibleTime | 199 | Nylas, dino, BibleTime, viewnior |
@@ -36,7 +36,7 @@ firejail (0.9.46-rc1) baseline; urgency=low | |||
36 | * new profiles: Xonotic, wireshark, keepassx2, QupZilla, FossaMail, | 36 | * new profiles: Xonotic, wireshark, keepassx2, QupZilla, FossaMail, |
37 | * new profiles: Uzbl browser, iridium browser, Thunar, Geeqie, Engrampa, | 37 | * new profiles: Uzbl browser, iridium browser, Thunar, Geeqie, Engrampa, |
38 | * new profiles: Scribus, mousepad, gpicview, keepassxc, cvlc, MediathekView, | 38 | * new profiles: Scribus, mousepad, gpicview, keepassxc, cvlc, MediathekView, |
39 | * new profiles: baloo_file, Nylas, dino, BibleTime | 39 | * new profiles: baloo_file, Nylas, dino, BibleTime, viewnior |
40 | * bugfixes | 40 | * bugfixes |
41 | -- netblue30 <netblue30@yahoo.com> Fri, 7 Apr 2017 08:00:00 -0500 | 41 | -- netblue30 <netblue30@yahoo.com> Fri, 7 Apr 2017 08:00:00 -0500 |
42 | 42 | ||
diff --git a/etc/audacity.profile b/etc/audacity.profile index 4394416ff..779cd8cdb 100644 --- a/etc/audacity.profile +++ b/etc/audacity.profile | |||
@@ -11,7 +11,9 @@ include /etc/firejail/disable-passwdmgr.inc | |||
11 | include /etc/firejail/disable-programs.inc | 11 | include /etc/firejail/disable-programs.inc |
12 | 12 | ||
13 | caps.drop all | 13 | caps.drop all |
14 | net none | ||
14 | netfilter | 15 | netfilter |
16 | no3d | ||
15 | nogroups | 17 | nogroups |
16 | nonewprivs | 18 | nonewprivs |
17 | noroot | 19 | noroot |
@@ -23,3 +25,6 @@ tracelog | |||
23 | private-bin audacity | 25 | private-bin audacity |
24 | private-dev | 26 | private-dev |
25 | private-tmp | 27 | private-tmp |
28 | |||
29 | noexec ${HOME} | ||
30 | noexec /tmp | ||
diff --git a/etc/bleachbit.profile b/etc/bleachbit.profile index b406b9985..7ea55f505 100644 --- a/etc/bleachbit.profile +++ b/etc/bleachbit.profile | |||
@@ -9,17 +9,21 @@ include /etc/firejail/disable-devel.inc | |||
9 | include /etc/firejail/disable-passwdmgr.inc | 9 | include /etc/firejail/disable-passwdmgr.inc |
10 | 10 | ||
11 | caps.drop all | 11 | caps.drop all |
12 | net none | ||
12 | netfilter | 13 | netfilter |
14 | no3d | ||
13 | nogroups | 15 | nogroups |
14 | nonewprivs | 16 | nonewprivs |
15 | noroot | 17 | noroot |
16 | nosound | 18 | nosound |
17 | shell none | ||
18 | seccomp | ||
19 | protocol unix | 19 | protocol unix |
20 | seccomp | ||
21 | shell none | ||
20 | 22 | ||
21 | # private-bin | 23 | # private-bin |
22 | # private-dev | 24 | # private-dev |
23 | # private-tmp | 25 | # private-tmp |
24 | # private-etc | 26 | # private-etc |
25 | 27 | ||
28 | noexec ${HOME} | ||
29 | noexec /tmp | ||
diff --git a/etc/bless.profile b/etc/bless.profile index b8325de39..869f13cc0 100644 --- a/etc/bless.profile +++ b/etc/bless.profile | |||
@@ -17,8 +17,20 @@ include /etc/firejail/disable-devel.inc | |||
17 | 17 | ||
18 | #Options | 18 | #Options |
19 | caps.drop all | 19 | caps.drop all |
20 | net none | ||
20 | netfilter | 21 | netfilter |
22 | no3d | ||
23 | nogroups | ||
21 | nonewprivs | 24 | nonewprivs |
22 | noroot | 25 | noroot |
23 | protocol unix,inet,inet6 | 26 | nosound |
27 | protocol unix | ||
24 | seccomp | 28 | seccomp |
29 | shell none | ||
30 | |||
31 | private-dev | ||
32 | private-etc fonts,mono | ||
33 | private-tmp | ||
34 | |||
35 | noexec ${HOME} | ||
36 | noexec /tmp | ||
diff --git a/etc/deadbeef.profile b/etc/deadbeef.profile index 603d6345c..efd8b463b 100644 --- a/etc/deadbeef.profile +++ b/etc/deadbeef.profile | |||
@@ -11,7 +11,17 @@ include /etc/firejail/disable-devel.inc | |||
11 | include /etc/firejail/disable-passwdmgr.inc | 11 | include /etc/firejail/disable-passwdmgr.inc |
12 | 12 | ||
13 | caps.drop all | 13 | caps.drop all |
14 | netfilter | ||
15 | no3d | ||
16 | nogroups | ||
14 | nonewprivs | 17 | nonewprivs |
15 | noroot | 18 | noroot |
16 | protocol unix,inet,inet6 | 19 | protocol unix,inet,inet6 |
17 | seccomp | 20 | seccomp |
21 | shell none | ||
22 | |||
23 | private-dev | ||
24 | private-tmp | ||
25 | |||
26 | noexec ${HOME} | ||
27 | noexec /tmp | ||
diff --git a/etc/dino.profile b/etc/dino.profile index a71ab27d7..cec86812f 100644 --- a/etc/dino.profile +++ b/etc/dino.profile | |||
@@ -30,3 +30,6 @@ private-bin dino | |||
30 | #private-etc fonts #breaks server connection | 30 | #private-etc fonts #breaks server connection |
31 | private-dev | 31 | private-dev |
32 | private-tmp | 32 | private-tmp |
33 | |||
34 | noexec ${HOME} | ||
35 | noexec /tmp | ||
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index bad1f0263..e9ed47e38 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -124,6 +124,7 @@ blacklist ${HOME}/.config/totem | |||
124 | blacklist ${HOME}/.config/tox | 124 | blacklist ${HOME}/.config/tox |
125 | blacklist ${HOME}/.config/transmission | 125 | blacklist ${HOME}/.config/transmission |
126 | blacklist ${HOME}/.config/uGet | 126 | blacklist ${HOME}/.config/uGet |
127 | blacklist ${HOME}/.config/viewnior | ||
127 | blacklist ${HOME}/.config/vivaldi | 128 | blacklist ${HOME}/.config/vivaldi |
128 | blacklist ${HOME}/.config/vlc | 129 | blacklist ${HOME}/.config/vlc |
129 | blacklist ${HOME}/.config/wesnoth | 130 | blacklist ${HOME}/.config/wesnoth |
diff --git a/etc/eog.profile b/etc/eog.profile index c5afec7fa..7c2cd557c 100644 --- a/etc/eog.profile +++ b/etc/eog.profile | |||
@@ -11,7 +11,9 @@ include /etc/firejail/disable-devel.inc | |||
11 | include /etc/firejail/disable-passwdmgr.inc | 11 | include /etc/firejail/disable-passwdmgr.inc |
12 | 12 | ||
13 | caps.drop all | 13 | caps.drop all |
14 | net none | ||
14 | netfilter | 15 | netfilter |
16 | no3d | ||
15 | nogroups | 17 | nogroups |
16 | nonewprivs | 18 | nonewprivs |
17 | noroot | 19 | noroot |
@@ -24,3 +26,6 @@ private-bin eog | |||
24 | private-dev | 26 | private-dev |
25 | private-etc fonts | 27 | private-etc fonts |
26 | private-tmp | 28 | private-tmp |
29 | |||
30 | noexec ${HOME} | ||
31 | noexec /tmp | ||
diff --git a/etc/evince.profile b/etc/evince.profile index 94cefdd8b..ae50425b9 100644 --- a/etc/evince.profile +++ b/etc/evince.profile | |||
@@ -13,6 +13,7 @@ include /etc/firejail/disable-passwdmgr.inc | |||
13 | caps.drop all | 13 | caps.drop all |
14 | netfilter | 14 | netfilter |
15 | #net none - creates some problems on some distributions | 15 | #net none - creates some problems on some distributions |
16 | no3d | ||
16 | nogroups | 17 | nogroups |
17 | nonewprivs | 18 | nonewprivs |
18 | noroot | 19 | noroot |
@@ -27,3 +28,6 @@ private-dev | |||
27 | private-etc fonts | 28 | private-etc fonts |
28 | # evince needs access to /tmp/mozilla* to work in firefox | 29 | # evince needs access to /tmp/mozilla* to work in firefox |
29 | # private-tmp | 30 | # private-tmp |
31 | |||
32 | noexec ${HOME} | ||
33 | noexec /tmp | ||
diff --git a/etc/evolution.profile b/etc/evolution.profile index cb6615716..04bf480ff 100644 --- a/etc/evolution.profile +++ b/etc/evolution.profile | |||
@@ -9,6 +9,7 @@ noblacklist ~/.cache/evolution | |||
9 | noblacklist ~/.pki | 9 | noblacklist ~/.pki |
10 | noblacklist ~/.pki/nssdb | 10 | noblacklist ~/.pki/nssdb |
11 | noblacklist ~/.gnupg | 11 | noblacklist ~/.gnupg |
12 | noblacklist ~/.bogofilter | ||
12 | 13 | ||
13 | noblacklist /var/spool/mail | 14 | noblacklist /var/spool/mail |
14 | noblacklist /var/mail | 15 | noblacklist /var/mail |
@@ -20,6 +21,7 @@ include /etc/firejail/disable-passwdmgr.inc | |||
20 | 21 | ||
21 | caps.drop all | 22 | caps.drop all |
22 | netfilter | 23 | netfilter |
24 | no3d | ||
23 | nogroups | 25 | nogroups |
24 | nonewprivs | 26 | nonewprivs |
25 | noroot | 27 | noroot |
@@ -30,3 +32,6 @@ shell none | |||
30 | 32 | ||
31 | private-dev | 33 | private-dev |
32 | private-tmp | 34 | private-tmp |
35 | |||
36 | noexec ${HOME} | ||
37 | noexec /tmp | ||
diff --git a/etc/file-roller.profile b/etc/file-roller.profile index 804d20ce1..a3f687651 100644 --- a/etc/file-roller.profile +++ b/etc/file-roller.profile | |||
@@ -9,13 +9,15 @@ include /etc/firejail/disable-devel.inc | |||
9 | include /etc/firejail/disable-passwdmgr.inc | 9 | include /etc/firejail/disable-passwdmgr.inc |
10 | 10 | ||
11 | caps.drop all | 11 | caps.drop all |
12 | net none | ||
13 | netfilter | ||
14 | no3d | ||
12 | nogroups | 15 | nogroups |
13 | nonewprivs | 16 | nonewprivs |
14 | noroot | 17 | noroot |
15 | nosound | 18 | nosound |
16 | protocol unix | 19 | protocol unix |
17 | seccomp | 20 | seccomp |
18 | netfilter | ||
19 | shell none | 21 | shell none |
20 | tracelog | 22 | tracelog |
21 | 23 | ||
@@ -23,3 +25,6 @@ tracelog | |||
23 | # private-tmp | 25 | # private-tmp |
24 | private-dev | 26 | private-dev |
25 | # private-etc fonts | 27 | # private-etc fonts |
28 | |||
29 | noexec ${HOME} | ||
30 | noexec /tmp | ||
diff --git a/etc/firefox.profile b/etc/firefox.profile index 1bc3eb769..4d96c05c8 100644 --- a/etc/firefox.profile +++ b/etc/firefox.profile | |||
@@ -21,6 +21,7 @@ nonewprivs | |||
21 | noroot | 21 | noroot |
22 | protocol unix,inet,inet6,netlink | 22 | protocol unix,inet,inet6,netlink |
23 | seccomp | 23 | seccomp |
24 | shell none | ||
24 | tracelog | 25 | tracelog |
25 | 26 | ||
26 | whitelist ${DOWNLOADS} | 27 | whitelist ${DOWNLOADS} |
@@ -59,3 +60,6 @@ include /etc/firejail/whitelist-common.inc | |||
59 | #private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,xdg,gtk-2.0,gtk-3.0,X11,pango,fonts,firefox,mime.types,mailcap,asound.conf,pulse | 60 | #private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,xdg,gtk-2.0,gtk-3.0,X11,pango,fonts,firefox,mime.types,mailcap,asound.conf,pulse |
60 | private-dev | 61 | private-dev |
61 | private-tmp | 62 | private-tmp |
63 | |||
64 | noexec ${HOME} | ||
65 | noexec /tmp | ||
diff --git a/etc/gedit.profile b/etc/gedit.profile index 9f4eee9b3..07bdb1bbe 100644 --- a/etc/gedit.profile +++ b/etc/gedit.profile | |||
@@ -14,17 +14,22 @@ include /etc/firejail/disable-programs.inc | |||
14 | include /etc/firejail/disable-passwdmgr.inc | 14 | include /etc/firejail/disable-passwdmgr.inc |
15 | 15 | ||
16 | caps.drop all | 16 | caps.drop all |
17 | netfilter | ||
18 | net none | ||
19 | no3d | ||
17 | nogroups | 20 | nogroups |
18 | nonewprivs | 21 | nonewprivs |
19 | noroot | 22 | noroot |
20 | nosound | 23 | nosound |
21 | protocol unix | 24 | protocol unix |
22 | seccomp | 25 | seccomp |
23 | netfilter | ||
24 | shell none | 26 | shell none |
25 | tracelog | 27 | tracelog |
26 | 28 | ||
27 | # private-bin gedit | 29 | # private-bin gedit |
28 | private-tmp | ||
29 | private-dev | 30 | private-dev |
30 | # private-etc fonts | 31 | # private-etc fonts |
32 | private-tmp | ||
33 | |||
34 | noexec ${HOME} | ||
35 | noexec /tmp | ||
diff --git a/etc/gimp.profile b/etc/gimp.profile index 4088bd680..5f8ccb4fb 100644 --- a/etc/gimp.profile +++ b/etc/gimp.profile | |||
@@ -10,16 +10,18 @@ include /etc/firejail/disable-passwdmgr.inc | |||
10 | 10 | ||
11 | caps.drop all | 11 | caps.drop all |
12 | netfilter | 12 | netfilter |
13 | net none | ||
13 | nogroups | 14 | nogroups |
14 | nonewprivs | 15 | nonewprivs |
15 | noroot | 16 | noroot |
16 | nosound | 17 | nosound |
17 | protocol unix | 18 | protocol unix |
18 | seccomp | 19 | seccomp |
20 | shell none | ||
19 | 21 | ||
20 | # gimp plugins are installed by the user in ~/.gimp-2.8/plug-ins/ directory | 22 | # gimp plugins are installed by the user in ~/.gimp-2.8/plug-ins/ directory |
21 | # if you are not using external plugins, you can enable noexec statement below | 23 | # if you are not using external plugins, you can enable noexec statement below |
22 | # noexec ${HOME} | 24 | # noexec ${HOME} |
23 | 25 | ||
24 | noexec /tmp | 26 | noexec /tmp |
25 | 27 | ||
diff --git a/etc/gnome-calculator.profile b/etc/gnome-calculator.profile index 714a97650..e9366f07d 100644 --- a/etc/gnome-calculator.profile +++ b/etc/gnome-calculator.profile | |||
@@ -17,7 +17,20 @@ include /etc/firejail/whitelist-common.inc | |||
17 | #Options | 17 | #Options |
18 | caps.drop all | 18 | caps.drop all |
19 | netfilter | 19 | netfilter |
20 | #net none | ||
21 | no3d | ||
22 | nogroups | ||
20 | nonewprivs | 23 | nonewprivs |
21 | noroot | 24 | noroot |
25 | nosound | ||
22 | protocol unix,inet,inet6 | 26 | protocol unix,inet,inet6 |
23 | seccomp | 27 | seccomp |
28 | shell none | ||
29 | |||
30 | private-bin gnome-calculator | ||
31 | private-dev | ||
32 | private-etc fonts | ||
33 | private-tmp | ||
34 | |||
35 | noexec ${HOME} | ||
36 | noexec /tmp | ||
diff --git a/etc/hexchat.profile b/etc/hexchat.profile index 53f447f7e..d24f492d8 100644 --- a/etc/hexchat.profile +++ b/etc/hexchat.profile | |||
@@ -13,6 +13,7 @@ include /etc/firejail/disable-devel.inc | |||
13 | 13 | ||
14 | caps.drop all | 14 | caps.drop all |
15 | netfilter | 15 | netfilter |
16 | no3d | ||
16 | nogroups | 17 | nogroups |
17 | nonewprivs | 18 | nonewprivs |
18 | noroot | 19 | noroot |
@@ -30,3 +31,6 @@ private-bin hexchat | |||
30 | #debug note: private-bin requires perl, python, etc on some systems | 31 | #debug note: private-bin requires perl, python, etc on some systems |
31 | private-dev | 32 | private-dev |
32 | private-tmp | 33 | private-tmp |
34 | |||
35 | noexec ${HOME} | ||
36 | noexec /tmp | ||
diff --git a/etc/jd-gui.profile b/etc/jd-gui.profile index 2ba1a4380..6ff618187 100644 --- a/etc/jd-gui.profile +++ b/etc/jd-gui.profile | |||
@@ -16,8 +16,19 @@ include /etc/firejail/disable-devel.inc | |||
16 | 16 | ||
17 | #Options | 17 | #Options |
18 | caps.drop all | 18 | caps.drop all |
19 | net none | ||
19 | netfilter | 20 | netfilter |
21 | no3d | ||
22 | nogroups | ||
20 | nonewprivs | 23 | nonewprivs |
21 | noroot | 24 | noroot |
22 | protocol unix,inet,inet6 | 25 | nosound |
26 | protocol unix | ||
23 | seccomp | 27 | seccomp |
28 | shell none | ||
29 | |||
30 | private-dev | ||
31 | private-tmp | ||
32 | |||
33 | noexec ${HOME} | ||
34 | noexec /tmp | ||
diff --git a/etc/keepass.profile b/etc/keepass.profile index d269c3e8a..abe52eca3 100644 --- a/etc/keepass.profile +++ b/etc/keepass.profile | |||
@@ -15,14 +15,18 @@ include /etc/firejail/disable-devel.inc | |||
15 | include /etc/firejail/disable-passwdmgr.inc | 15 | include /etc/firejail/disable-passwdmgr.inc |
16 | 16 | ||
17 | caps.drop all | 17 | caps.drop all |
18 | netfilter | ||
19 | no3d | ||
18 | nogroups | 20 | nogroups |
19 | nonewprivs | 21 | nonewprivs |
20 | noroot | 22 | noroot |
21 | nosound | 23 | nosound |
22 | protocol unix,inet,inet6 | 24 | protocol unix,inet,inet6 |
23 | seccomp | 25 | seccomp |
24 | netfilter | ||
25 | shell none | 26 | shell none |
26 | 27 | ||
27 | private-tmp | ||
28 | private-dev | 28 | private-dev |
29 | private-tmp | ||
30 | |||
31 | noexec ${HOME} | ||
32 | noexec /tmp | ||
diff --git a/etc/keepassx.profile b/etc/keepassx.profile index 379b8a668..845a1bcc9 100644 --- a/etc/keepassx.profile +++ b/etc/keepassx.profile | |||
@@ -15,6 +15,7 @@ include /etc/firejail/disable-passwdmgr.inc | |||
15 | 15 | ||
16 | caps.drop all | 16 | caps.drop all |
17 | net none | 17 | net none |
18 | no3d | ||
18 | nogroups | 19 | nogroups |
19 | nonewprivs | 20 | nonewprivs |
20 | noroot | 21 | noroot |
@@ -28,3 +29,6 @@ private-bin keepassx | |||
28 | private-etc fonts | 29 | private-etc fonts |
29 | private-dev | 30 | private-dev |
30 | private-tmp | 31 | private-tmp |
32 | |||
33 | noexec ${HOME} | ||
34 | noexec /tmp | ||
diff --git a/etc/keepassx2.profile b/etc/keepassx2.profile index a21caf3f1..32dddc2fe 100644 --- a/etc/keepassx2.profile +++ b/etc/keepassx2.profile | |||
@@ -15,6 +15,7 @@ include /etc/firejail/disable-passwdmgr.inc | |||
15 | 15 | ||
16 | caps.drop all | 16 | caps.drop all |
17 | net none | 17 | net none |
18 | no3d | ||
18 | nogroups | 19 | nogroups |
19 | nonewprivs | 20 | nonewprivs |
20 | noroot | 21 | noroot |
@@ -24,6 +25,9 @@ seccomp | |||
24 | shell none | 25 | shell none |
25 | 26 | ||
26 | private-bin keepassx2 | 27 | private-bin keepassx2 |
27 | private-etc fonts | ||
28 | private-dev | 28 | private-dev |
29 | private-etc fonts | ||
29 | private-tmp | 30 | private-tmp |
31 | |||
32 | noexec ${HOME} | ||
33 | noexec /tmp | ||
diff --git a/etc/keepassxc.profile b/etc/keepassxc.profile index 654a30682..369d4a5ae 100644 --- a/etc/keepassxc.profile +++ b/etc/keepassxc.profile | |||
@@ -16,6 +16,7 @@ include /etc/firejail/disable-passwdmgr.inc | |||
16 | # To use KeePassHTTP, comment out `net none` | 16 | # To use KeePassHTTP, comment out `net none` |
17 | caps.drop all | 17 | caps.drop all |
18 | net none | 18 | net none |
19 | no3d | ||
19 | nogroups | 20 | nogroups |
20 | nonewprivs | 21 | nonewprivs |
21 | noroot | 22 | noroot |
@@ -25,6 +26,9 @@ seccomp | |||
25 | shell none | 26 | shell none |
26 | 27 | ||
27 | private-bin keepassxc | 28 | private-bin keepassxc |
28 | private-etc fonts | ||
29 | private-dev | 29 | private-dev |
30 | private-etc fonts | ||
30 | private-tmp | 31 | private-tmp |
32 | |||
33 | noexec ${HOME} | ||
34 | noexec /tmp | ||
diff --git a/etc/kodi.profile b/etc/kodi.profile new file mode 100644 index 000000000..45a8430f1 --- /dev/null +++ b/etc/kodi.profile | |||
@@ -0,0 +1,28 @@ | |||
1 | # This file is overwritten during software install. | ||
2 | # Persistent customizations should go in a .local file. | ||
3 | include /etc/firejail/kodi.local | ||
4 | |||
5 | # Firejail profile for kodi | ||
6 | noblacklist ${HOME}/.kodi | ||
7 | mkdir ${HOME}/.kodi | ||
8 | |||
9 | include /etc/firejail/disable-common.inc | ||
10 | include /etc/firejail/disable-passwdmgr.inc | ||
11 | include /etc/firejail/disable-programs.inc | ||
12 | include /etc/firejail/disable-devel.inc | ||
13 | |||
14 | caps.drop all | ||
15 | netfilter | ||
16 | nogroups | ||
17 | nonewprivs | ||
18 | noroot | ||
19 | protocol unix,inet,inet6,netlink | ||
20 | seccomp | ||
21 | shell none | ||
22 | tracelog | ||
23 | |||
24 | private-dev | ||
25 | private-tmp | ||
26 | |||
27 | noexec ${HOME} | ||
28 | noexec /tmp | ||
diff --git a/etc/libreoffice.profile b/etc/libreoffice.profile index 685073e7c..fb82195b3 100644 --- a/etc/libreoffice.profile +++ b/etc/libreoffice.profile | |||
@@ -17,7 +17,11 @@ nonewprivs | |||
17 | noroot | 17 | noroot |
18 | protocol unix,inet,inet6 | 18 | protocol unix,inet,inet6 |
19 | seccomp | 19 | seccomp |
20 | shell none | ||
20 | tracelog | 21 | tracelog |
21 | 22 | ||
22 | private-dev | 23 | private-dev |
23 | # whitelist /tmp/.X11-unix/ | 24 | # whitelist /tmp/.X11-unix/ |
25 | |||
26 | noexec ${HOME} | ||
27 | noexec /tmp | ||
diff --git a/etc/lollypop.profile b/etc/lollypop.profile index 06ed415d6..e84118b9e 100644 --- a/etc/lollypop.profile +++ b/etc/lollypop.profile | |||
@@ -18,7 +18,17 @@ include /etc/firejail/disable-devel.inc | |||
18 | #Options | 18 | #Options |
19 | caps.drop all | 19 | caps.drop all |
20 | netfilter | 20 | netfilter |
21 | no3d | ||
22 | nogroups | ||
21 | nonewprivs | 23 | nonewprivs |
22 | noroot | 24 | noroot |
23 | protocol unix,inet,inet6 | 25 | protocol unix,inet,inet6 |
24 | seccomp | 26 | seccomp |
27 | shell none | ||
28 | |||
29 | private-dev | ||
30 | private-etc fonts | ||
31 | private-tmp | ||
32 | |||
33 | noexec ${HOME} | ||
34 | noexec /tmp | ||
diff --git a/etc/multimc5.profile b/etc/multimc5.profile index 6b8946be3..12a7646ae 100644 --- a/etc/multimc5.profile +++ b/etc/multimc5.profile | |||
@@ -26,6 +26,15 @@ include /etc/firejail/whitelist-common.inc | |||
26 | #Options | 26 | #Options |
27 | caps.drop all | 27 | caps.drop all |
28 | netfilter | 28 | netfilter |
29 | nogroups | ||
29 | nonewprivs | 30 | nonewprivs |
30 | noroot | 31 | noroot |
31 | protocol unix,inet,inet6 | 32 | protocol unix,inet,inet6 |
33 | #seccomp | ||
34 | shell none | ||
35 | |||
36 | private-dev | ||
37 | private-tmp | ||
38 | |||
39 | noexec ${HOME} | ||
40 | noexec /tmp | ||
diff --git a/etc/mumble.profile b/etc/mumble.profile index d5405a6ae..c5c6a4d1a 100644 --- a/etc/mumble.profile +++ b/etc/mumble.profile | |||
@@ -18,6 +18,7 @@ include /etc/firejail/whitelist-common.inc | |||
18 | 18 | ||
19 | caps.drop all | 19 | caps.drop all |
20 | netfilter | 20 | netfilter |
21 | no3d | ||
21 | nonewprivs | 22 | nonewprivs |
22 | nogroups | 23 | nogroups |
23 | noroot | 24 | noroot |
@@ -28,3 +29,6 @@ tracelog | |||
28 | 29 | ||
29 | private-bin mumble | 30 | private-bin mumble |
30 | private-tmp | 31 | private-tmp |
32 | |||
33 | noexec ${HOME} | ||
34 | noexec /tmp | ||
diff --git a/etc/pdfsam.profile b/etc/pdfsam.profile index 37adabb39..dfe463c98 100644 --- a/etc/pdfsam.profile +++ b/etc/pdfsam.profile | |||
@@ -14,8 +14,19 @@ include /etc/firejail/disable-devel.inc | |||
14 | 14 | ||
15 | #Options | 15 | #Options |
16 | caps.drop all | 16 | caps.drop all |
17 | net none | ||
17 | netfilter | 18 | netfilter |
19 | no3d | ||
20 | nogroups | ||
18 | nonewprivs | 21 | nonewprivs |
19 | noroot | 22 | noroot |
20 | protocol unix,inet,inet6 | 23 | nosound |
24 | protocol unix | ||
21 | seccomp | 25 | seccomp |
26 | shell none | ||
27 | |||
28 | private-dev | ||
29 | private-tmp | ||
30 | |||
31 | noexec ${HOME} | ||
32 | noexec /tmp | ||
diff --git a/etc/pithos.profile b/etc/pithos.profile index 500e35989..c25b5772b 100644 --- a/etc/pithos.profile +++ b/etc/pithos.profile | |||
@@ -17,7 +17,16 @@ include /etc/firejail/whitelist-common.inc | |||
17 | #Options | 17 | #Options |
18 | caps.drop all | 18 | caps.drop all |
19 | netfilter | 19 | netfilter |
20 | no3d | ||
21 | nogroups | ||
20 | nonewprivs | 22 | nonewprivs |
21 | noroot | 23 | noroot |
22 | protocol unix,inet,inet6 | 24 | protocol unix,inet,inet6 |
23 | seccomp | 25 | seccomp |
26 | shell none | ||
27 | |||
28 | private-dev | ||
29 | private-tmp | ||
30 | |||
31 | noexec ${HOME} | ||
32 | noexec /tmp | ||
diff --git a/etc/ssh.profile b/etc/ssh.profile index b1ef6b27e..425841399 100644 --- a/etc/ssh.profile +++ b/etc/ssh.profile | |||
@@ -14,7 +14,18 @@ include /etc/firejail/disable-passwdmgr.inc | |||
14 | 14 | ||
15 | caps.drop all | 15 | caps.drop all |
16 | netfilter | 16 | netfilter |
17 | no3d | ||
18 | nogroups | ||
17 | nonewprivs | 19 | nonewprivs |
18 | noroot | 20 | noroot |
21 | nosound | ||
19 | protocol unix,inet,inet6 | 22 | protocol unix,inet,inet6 |
20 | seccomp | 23 | seccomp |
24 | shell none | ||
25 | tracelog | ||
26 | |||
27 | private-dev | ||
28 | #private-tmp #Breaks when exiting | ||
29 | |||
30 | noexec ${HOME} | ||
31 | noexec /tmp | ||
diff --git a/etc/steam.profile b/etc/steam.profile index b527589de..536588e4b 100644 --- a/etc/steam.profile +++ b/etc/steam.profile | |||
@@ -12,7 +12,13 @@ include /etc/firejail/disable-passwdmgr.inc | |||
12 | 12 | ||
13 | caps.drop all | 13 | caps.drop all |
14 | netfilter | 14 | netfilter |
15 | nogroups | ||
15 | nonewprivs | 16 | nonewprivs |
16 | noroot | 17 | noroot |
17 | protocol unix,inet,inet6,netlink | 18 | protocol unix,inet,inet6,netlink |
18 | seccomp | 19 | seccomp |
20 | shell none | ||
21 | tracelog | ||
22 | |||
23 | private-dev | ||
24 | private-tmp | ||
diff --git a/etc/totem.profile b/etc/totem.profile index 0b3942cf0..fadfbb00b 100644 --- a/etc/totem.profile +++ b/etc/totem.profile | |||
@@ -12,8 +12,18 @@ include /etc/firejail/disable-devel.inc | |||
12 | include /etc/firejail/disable-passwdmgr.inc | 12 | include /etc/firejail/disable-passwdmgr.inc |
13 | 13 | ||
14 | caps.drop all | 14 | caps.drop all |
15 | netfilter | ||
16 | nogroups | ||
15 | nonewprivs | 17 | nonewprivs |
16 | noroot | 18 | noroot |
17 | netfilter | ||
18 | protocol unix,inet,inet6 | 19 | protocol unix,inet,inet6 |
19 | seccomp | 20 | seccomp |
21 | shell none | ||
22 | |||
23 | private-bin totem | ||
24 | private-dev | ||
25 | private-etc fonts | ||
26 | private-tmp | ||
27 | |||
28 | noexec ${HOME} | ||
29 | noexec /tmp | ||
diff --git a/etc/viewnior.profile b/etc/viewnior.profile new file mode 100644 index 000000000..190c04e39 --- /dev/null +++ b/etc/viewnior.profile | |||
@@ -0,0 +1,30 @@ | |||
1 | # This file is overwritten during software install. | ||
2 | # Persistent customizations should go in a .local file. | ||
3 | include /etc/firejail/viewnior.local | ||
4 | |||
5 | # Firejail profile for viewnior | ||
6 | noblacklist ~/.config/viewnior | ||
7 | |||
8 | include /etc/firejail/disable-common.inc | ||
9 | include /etc/firejail/disable-programs.inc | ||
10 | include /etc/firejail/disable-devel.inc | ||
11 | include /etc/firejail/disable-passwdmgr.inc | ||
12 | |||
13 | blacklist ~/.bashrc | ||
14 | blacklist ~/.Xauthority | ||
15 | |||
16 | caps.drop all | ||
17 | net none | ||
18 | nogroups | ||
19 | nonewprivs | ||
20 | noroot | ||
21 | nosound | ||
22 | protocol unix | ||
23 | seccomp | ||
24 | shell none | ||
25 | tracelog | ||
26 | |||
27 | private-bin viewnior | ||
28 | private-dev | ||
29 | private-etc fonts | ||
30 | private-tmp | ||
diff --git a/etc/viking.profile b/etc/viking.profile new file mode 100644 index 000000000..2b68d731c --- /dev/null +++ b/etc/viking.profile | |||
@@ -0,0 +1,30 @@ | |||
1 | # This file is overwritten during software install. | ||
2 | # Persistent customizations should go in a .local file. | ||
3 | include /etc/firejail/viking.local | ||
4 | |||
5 | # Firejail profile for viking | ||
6 | |||
7 | noblacklist ${HOME}/.viking | ||
8 | noblacklist ${HOME}/.viking-maps | ||
9 | |||
10 | include /etc/firejail/disable-common.inc | ||
11 | include /etc/firejail/disable-programs.inc | ||
12 | include /etc/firejail/disable-passwdmgr.inc | ||
13 | include /etc/firejail/disable-devel.inc | ||
14 | |||
15 | caps.drop all | ||
16 | netfilter | ||
17 | no3d | ||
18 | nogroups | ||
19 | nonewprivs | ||
20 | noroot | ||
21 | nosound | ||
22 | protocol unix,inet,inet6 | ||
23 | seccomp | ||
24 | shell none | ||
25 | |||
26 | private-dev | ||
27 | private-tmp | ||
28 | |||
29 | noexec ${HOME} | ||
30 | noexec /tmp | ||
diff --git a/etc/vlc.profile b/etc/vlc.profile index 0c96f0108..21282dfbd 100644 --- a/etc/vlc.profile +++ b/etc/vlc.profile | |||
@@ -22,3 +22,6 @@ shell none | |||
22 | private-bin vlc,cvlc,nvlc,rvlc,qvlc,svlc | 22 | private-bin vlc,cvlc,nvlc,rvlc,qvlc,svlc |
23 | # private-dev | 23 | # private-dev |
24 | private-tmp | 24 | private-tmp |
25 | |||
26 | noexec ${HOME} | ||
27 | noexec /tmp | ||
diff --git a/etc/wget.profile b/etc/wget.profile index cd156a376..3ba97d95d 100644 --- a/etc/wget.profile +++ b/etc/wget.profile | |||
@@ -10,11 +10,11 @@ include /etc/firejail/disable-passwdmgr.inc | |||
10 | 10 | ||
11 | caps.drop all | 11 | caps.drop all |
12 | netfilter | 12 | netfilter |
13 | no3d | ||
14 | nogroups | ||
13 | nonewprivs | 15 | nonewprivs |
14 | noroot | 16 | noroot |
15 | nogroups | ||
16 | nosound | 17 | nosound |
17 | no3d | ||
18 | protocol unix,inet,inet6 | 18 | protocol unix,inet,inet6 |
19 | seccomp | 19 | seccomp |
20 | shell none | 20 | shell none |
@@ -22,7 +22,9 @@ shell none | |||
22 | blacklist /tmp/.X11-unix | 22 | blacklist /tmp/.X11-unix |
23 | 23 | ||
24 | # private-bin wget | 24 | # private-bin wget |
25 | # private-etc resolv.conf | ||
26 | private-dev | 25 | private-dev |
26 | # private-etc resolv.conf | ||
27 | private-tmp | 27 | private-tmp |
28 | 28 | ||
29 | noexec ${HOME} | ||
30 | noexec /tmp | ||
diff --git a/etc/wireshark.profile b/etc/wireshark.profile index 90909edf1..dc224b31c 100644 --- a/etc/wireshark.profile +++ b/etc/wireshark.profile | |||
@@ -18,6 +18,7 @@ include /etc/firejail/disable-passwdmgr.inc | |||
18 | #protocol unix,inet,inet6,netlink | 18 | #protocol unix,inet,inet6,netlink |
19 | 19 | ||
20 | netfilter | 20 | netfilter |
21 | no3d | ||
21 | nogroups | 22 | nogroups |
22 | nonewprivs | 23 | nonewprivs |
23 | nosound | 24 | nosound |
@@ -28,3 +29,6 @@ tracelog | |||
28 | #private-bin wireshark | 29 | #private-bin wireshark |
29 | private-dev | 30 | private-dev |
30 | private-tmp | 31 | private-tmp |
32 | |||
33 | noexec ${HOME} | ||
34 | noexec /tmp | ||
diff --git a/etc/xonotic.profile b/etc/xonotic.profile index f2690c6c3..6bfb26484 100644 --- a/etc/xonotic.profile +++ b/etc/xonotic.profile | |||
@@ -23,7 +23,16 @@ include /etc/firejail/whitelist-common.inc | |||
23 | #Options | 23 | #Options |
24 | caps.drop all | 24 | caps.drop all |
25 | netfilter | 25 | netfilter |
26 | nogroups | ||
26 | nonewprivs | 27 | nonewprivs |
27 | noroot | 28 | noroot |
28 | protocol unix,inet,inet6 | 29 | protocol unix,inet,inet6 |
29 | seccomp | 30 | seccomp |
31 | shell none | ||
32 | |||
33 | private-bin xonotic-sdl,xonotic-glx,blind-id | ||
34 | private-dev | ||
35 | private-tmp | ||
36 | |||
37 | noexec ${HOME} | ||
38 | noexec /tmp | ||
diff --git a/platform/debian/conffiles b/platform/debian/conffiles index 5f994128a..dca17bfbe 100644 --- a/platform/debian/conffiles +++ b/platform/debian/conffiles | |||
@@ -205,6 +205,7 @@ | |||
205 | /etc/firejail/unrar.profile | 205 | /etc/firejail/unrar.profile |
206 | /etc/firejail/unzip.profile | 206 | /etc/firejail/unzip.profile |
207 | /etc/firejail/uudeview.profile | 207 | /etc/firejail/uudeview.profile |
208 | /etc/firejail/viewnior.profile | ||
208 | /etc/firejail/vim.profile | 209 | /etc/firejail/vim.profile |
209 | /etc/firejail/virtualbox.profile | 210 | /etc/firejail/virtualbox.profile |
210 | /etc/firejail/vivaldi.profile | 211 | /etc/firejail/vivaldi.profile |
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 4a40402d7..27a34472d 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -140,6 +140,7 @@ simple-scan | |||
140 | skanlite | 140 | skanlite |
141 | spotify | 141 | spotify |
142 | totem | 142 | totem |
143 | viewnior | ||
143 | vlc | 144 | vlc |
144 | xfburn | 145 | xfburn |
145 | xmms | 146 | xmms |
diff --git a/src/firejail/fs.c b/src/firejail/fs.c index fa66da617..025e715e6 100644 --- a/src/firejail/fs.c +++ b/src/firejail/fs.c | |||
@@ -113,7 +113,7 @@ static void disable_file(OPERATION op, const char *filename) { | |||
113 | else { | 113 | else { |
114 | if (arg_debug) { | 114 | if (arg_debug) { |
115 | if (strcmp(filename, fname)) | 115 | if (strcmp(filename, fname)) |
116 | printf("Disable %s (requesterd %s)\n", fname, filename); | 116 | printf("Disable %s (requested %s)\n", fname, filename); |
117 | else | 117 | else |
118 | printf("Disable %s\n", fname); | 118 | printf("Disable %s\n", fname); |
119 | } | 119 | } |
diff --git a/test/utils/audit.exp b/test/utils/audit.exp index 566493947..f0c1906a0 100755 --- a/test/utils/audit.exp +++ b/test/utils/audit.exp | |||
@@ -35,7 +35,7 @@ expect { | |||
35 | after 100 | 35 | after 100 |
36 | 36 | ||
37 | 37 | ||
38 | send -- "firejail --audit=/usr/lib/firejail/faudit\r" | 38 | send -- "firejail --audit\r" |
39 | expect { | 39 | expect { |
40 | timeout {puts "TESTING ERROR 6\n";exit} | 40 | timeout {puts "TESTING ERROR 6\n";exit} |
41 | "Firejail Audit" | 41 | "Firejail Audit" |