Commit graph

3004 commits

Author SHA1 Message Date
Ondřej Nový
4c712cbaaf Hardend Zoom profile 2020-07-20 08:20:12 +02:00
glitsj16
ad12d90369
add element-desktop redirect profile (#3517)
* Create element-desktop.profile

* add element-desktop dirs to disable-programs.inc

* add element-desktop to firecfg.config

* Update RELNOTES
2020-07-16 22:32:00 +00:00
rusty-snake
ce462b6b1f fix #3501 2020-07-16 10:08:04 +02:00
Kishore96in
319f2dc8d6
Blacklist .local/share/kxmlgui5 and allow access only for applications which use it. (#3493)
* blacklist .local/share/kxmlgui5

KDE programs use this to store their toolbar config.

* noblacklist .local/share/kxmlgui5 in the relevant KDE applications.

* Whitelist kxmlgui file for okular.

* Use a glob to blacklist subfolders instead of the parent folder.

noblacklisting individual subdirectories works only if we do it this way
(tested by launching bash in the kate profile).

* Make directory, not file.

* noblacklist relevant subdirs for more KDE applications
2020-07-16 07:23:10 +00:00
rusty-snake
3bab1ae24c fix keepassxc 2020-07-14 17:14:33 +02:00
rusty-snake
deb6c12454
hardening some profiles (#3505)
* hardening some profiles

 - harden and fix flameshot
 - wruc: frogatto, ghostwriter
 - harden gnome-latex
 - add whitelist opt-in note to keepassxc
 - add comment to minetest
 - harden openarena, tremulous, xonotic
 - add profile for xonotic-sdl-wrapper

* followup
2020-07-09 10:49:17 +00:00
rusty-snake
470effe5b3
Update disable-common.inc (#3499)
* Update disable-common.inc

* Update disable-common.inc

[skip ci]
2020-07-09 10:44:14 +00:00
Kishore96in
f5fabe7637
Okular profile fixes (#3489)
* Whitelist some config files used by Okular.

These files are used to store the toolbar configurations.

* Whitelist files required for okular in firefox-common-addons.inc

Without this, okular does not follow the user configuration for toolbars
and keyboard shortcuts when launched inside the firefox sandbox (for
eg., while opening a downloaded PDF).

* Alphabetical sort

* Remove noblacklist for files which are not actually blacklisted.

I have blacklisted them in a separate pull request.
2020-07-07 15:51:22 +00:00
neirenoir
4436b2d2e8
Fixed Blender profile being unable to import numpy (#3497)
Co-authored-by: noir <noir@neire.dev>
2020-07-06 04:38:58 +00:00
Carlo Abelli
1628821fe9
Whitelist /usr/share/hplip for simple-scan (#3496)
hplip is required for scanning using HP printer/scanners.
2020-07-05 23:50:56 +00:00
rusty-snake
3c71607db4 typo 2020-07-05 15:23:24 +02:00
rusty-snake
24e08f13af fix com.github.dahenson.agenda.profile 2020-07-05 14:58:36 +02:00
rusty-snake
38dbc05377 fixup! Don't blacklist file used to save konversation notifications configuration. (#3490) 2020-07-04 20:40:09 +02:00
Kishore96in
d16e829777
Don't blacklist file used to save konversation notifications configuration. (#3490)
Without this, konversation doesn't remember the settings for
notifications.
2020-07-04 16:07:30 +00:00
glitsj16
924b556529
drop private-tmp from blender.profile
Blender autosaves to /tmp.
2020-07-04 14:09:50 +00:00
glitsj16
fa7ea9a11e
update comment for apparmor in thunderbird.profile
This should clarify how to configure for reading local mail after dfaf7a7660.
2020-07-04 12:33:16 +00:00
glitsj16
dfaf7a7660
clarify writing to /var/mail and /var/spool/mail in apparmor (#3487)
* clarify writing to /var/mail and /var/spool/mail in apparmor

Thunderbird seems to be our only mail client profile that enables the `apparmor` option. Users need this when they follow instructions on how to allow reading local mail.

* fix mail clients rule in firejail-default
2020-07-04 12:22:46 +00:00
glitsj16
4b56fd61f2
allow running kernel config check in zgrep.profile 2020-07-03 15:40:13 +00:00
glitsj16
467f69eb9b
allow running kernel config check in zcat.profile 2020-07-03 15:38:23 +00:00
rusty-snake
fcf14758b1 new profile: gapplication 2020-07-03 17:10:15 +02:00
glitsj16
816ce5ae03
fixes for /var/mail in mail clients (#3486)
* fix comment in email-common

* add writable-var to evolution.profile

* add writable-var to mutt.profile

* remove newline above writable-var in evolution.profile
2020-07-03 14:45:16 +00:00
Fred Barclay
b6ef77ddaf Fix #3481 - pandoc needs access to /etc/texmf 2020-06-28 14:02:41 -05:00
smitsohu
f369a7bb38
akonadi: update seccomp blacklist 2020-06-26 17:57:23 +02:00
rusty-snake
eb34c2d931 harden gradio.profile 2020-06-25 15:09:44 +02:00
rusty-snake
37e4d74dff new profiles 2020-06-25 15:06:02 +02:00
rusty-snake
1a47e5b9a5 fix apostrophe 2020-06-21 12:14:32 +02:00
glitsj16
3fdbdd2d85
add ${HOME}/.config/user-dirs.locale to whitelist-common.inc 2020-06-19 22:48:28 +00:00
glitsj16
45df1d6441
harden totem.profile
Totem saves screenshots of video to ${PICTURES}. Also adding tracelog to slightly harden things a bit.
2020-06-18 20:08:59 +00:00
glitsj16
e3c7474fe5
clean private-bin in gummi.profile 2020-06-18 19:59:11 +00:00
Christian Pinedo
feabde3803
Allow python3 in totem profile (#3470) 2020-06-18 19:56:18 +00:00
Fred Barclay
cb67995230
Fix #3464
Atom 1.48 requires a looser sandbox and no longer works with
noroot, nonewprivs, protocol, and seccomp

caps filter needed adjusting to keep sys_admin and sys_chroot
2020-06-12 17:56:53 -05:00
rusty-snake
9c138be9e8 mmapfail.sh fix
https://github.com/hannob/mmapfail
2020-06-11 22:21:39 +02:00
rusty-snake
91a2bedaf4 New profiles: apostrophe & quadrapassel 2020-06-11 22:11:35 +02:00
Amin Vakil
89d77cc341
Add strawberry profile (#3459)
* Add strawberry profile

* Fix comment

* Add to disable-programs.inc & firecfg.config

* Add /home/amin/.local/share/strawberry to profile and disable-programs

* Various hardening for strawberry profile

Signed-off-by: Amin Vakil <info@aminvakil.com>

* Change nodbus to dbus-system none in strawberry profile

* Add dbus-user none to strawberry profile

* Add whitelist-var-common, sort private-etc

* Sort, Add wruc, Add netlink to protocol in strawberry profile

* Remove dbus-user none to allow using gnome functions for various usage in strawberry profile
2020-06-11 08:36:14 +00:00
DiGitHubCap
a35d3c4d6b
Fix qt5ct colour schemes and QSS (#3463)
Applications using Qt5 need this to be whitelisted if the user is using a qt5ct colour scheme (such as "darker") or custom QSS.
2020-06-10 16:46:19 +00:00
Lior Stern
0a10ecff51 Ignore read-only mount of emacs configuration in the emacs profile.
solves #3454
2020-06-06 13:34:35 +03:00
glitsj16
821dd6c91a
drop kcmp from steam.profile
See https://github.com/netblue30/firejail/issues/3219#issuecomment-638823377
2020-06-05 12:10:08 +00:00
rusty-snake
2c914c7d25
disable-shell.inc (#3411)
* disable-shell.inc

* add disable-shell.inc to all profiles with a …

… private-bin line without bash/sh except profiles with redirect
profiles.

* add it to some more profiles

* exclude aria2c.profile
2020-06-04 11:55:32 +00:00
Amin Vakil
378d0e613a
Set quiet in w3m profile (#3444)
w3m is a text-based web browser as well as a pager like `more' or `less'. With w3m you can browse web pages through a terminal emulator window (xterm, rxvt or something like that).

As it outputs I suppose setting quiet in its profile is appropriate.
2020-06-02 17:31:30 +00:00
rusty-snake
d1dd36355a fix surf.profile, closes #3441 2020-06-01 23:48:19 +02:00
curiosityseeker
6a289235cd
Avoid dbus-*=filter breakage (#3432) 2020-06-01 13:42:53 +02:00
glitsj16
3d7a75b5e7
harden mpg123.profile (#3438)
* harden mpg123.profile

* drop nodvd from mpg123.profile
2020-05-27 18:23:44 +00:00
glitsj16
b67e9a9f5c
new profile: mocp (#3437)
* Create mocp.profile

* add mocp support to disable-programs.inc

* add mocp support in firecfg.config

* update RELNOTES for mocp

* fix configuration access for mocp

Thanks to @rusty-snake for spotting this.
2020-05-27 17:42:23 +00:00
rusty-snake
28c099bdc3 ${RUNUSER} blacklisting + typo 2020-05-27 12:07:09 +02:00
Karoshi42
63c44c7743
Update dino-im.profile (#3433)
* Update dino-im.profile

comment out the globals.local so it's not included twice

* Update dino-im.profile

add comment
2020-05-24 18:33:31 +00:00
Karoshi42
b8a80b0d60
Add profile for Ubuntu's renamed dino binary
Ubuntu named the dino instant messenger's binary ``dino-im``, so it needs to be present as profile and added to private-bin.
2020-05-22 18:25:55 +00:00
glitsj16
3d61f52d4d
cleanup wire-desktop.profile
After 76127399a5 the caps workaround is no longer needed.
2020-05-20 12:12:35 +00:00
glitsj16
76127399a5
fix seccomp in wire-desktop.profile
Fixes #3423.
2020-05-19 16:41:06 +00:00
Reiner Herrmann
2bda55b35a
better blacklist ordering 2020-05-16 12:26:01 +00:00
Reiner Herrmann
5e2d5aa5ff
Blacklist busybox by default
It's a collection of many tools, that might not be allowed individually.
When it's needed, it can easily be allowed again.
2020-05-16 12:24:22 +00:00