aboutsummaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAge
* WIP: Blacklist common programming interpreters. (#1837)Libravatar Fred Barclay2018-04-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use path variable instead of full path when blacklisting devel tools. * Part 1: blacklist python, perl, ruby, etc in disable-interpreters.inc * Part 2: allow access to java as needed * Typo: missing blacklist * Part 3: allow perl access as needed * typo * Add xreader thumbnailer and previewer profiles * Add xplayer audio-preview and thumbnailer profiles * Add atril thumbnailer and previewer profiles * More fixups after adding disable-interpreters.inc * Blacklist javac * More javac noblacklisting * Remove javac from dex2jar, libreoffice, multimc5, and pdfsam profiles * --nodbus, first draft for #1825 * dbus.c * rework akonadi integration the usr.sbin.mysqld-akonadi apparmor profile, enforced by default in ubuntu and debian testing (and probably opensuse), doesn't play well with a number of firejail options. the reason for this is that once the no_new_privs bit is set, apparmor profile transitions are forbidden. enforcing our own apparmor policy instead is also no solution, because these programs don't even start without d-bus. relaxing the kmail profile was necessary so that kmail can fire up akonadi itself, just in case akonadi has not been started earlier already by another program. this is always an issue when kmail is the only installed akonadi client, but there may be more circumstances. for reasons outlined above this doesn't help debian and ubuntu (opensuse?) users though :-/ a brief summary of the seccomp exceptions: chroot is needed for qt webengine, io_prioset for the akonadi indexing agent, io_getevents, io_submit, io_setup are needed for mysqld. when akonadi has an sqlite3 backend, less exceptions to the seccomp filter are necessary, but mysqld is the default. in the future all kontact suite profiles (itm only kmail, knotes) should probably be redirections to akonadi_control, but the issues with apparmor make this somewhat impractical for now (options like 'protocol' couldn't go to akonadi_control.local any more, if current kmail redirected to there). * Add nodbus to some profiles - part 1 * Spotify works with nodbus on Arch * Enable nodbus for keepassx and keepassxc profiles. I've tested on keepassxc but should work for keepassx as well. Settings are not immutable. * recalibrate dbus access, deploy nodbus option see #1822 and #1825. also systematically replaces 'blacklist /run/user/*/bus' with 'nodbus'. with contributions from @Fred-Barclay * various blacklist additions * Add a profile for ncdu, enable private-etc in Steam again, and fixup gnome-recipes * comment nodbus where it interferes with dconf pending further discussion * Add a disabled and extensive private-bin for Steam * Further improve private-bin in steam * comment apparmor, net where they interfere with dconf - #1843 * gnome-calculator fixup * spectre support for clang compiler * spectre clang support * enable/disable dbus handling in /etc/firejail/firejail.config * nodbus man pages, etc. * redirect knotes to kmail, some tweaks * testing * gimp fixup * Even more fixups after adding disable-interpreters.inc * AWS and GCP store credentials in local directories as part of project setup. Configuration for cloud providers is sensitive information; it should be in the default block list. I didn't see profiles for gcloud or awscli, so haven't added any exclusions. boto and kubectl are not provider-specific, but also store credentials for whichever platforms they happen to be being used with. * testing * consolidate makefiles * gitignore * Use path variable instead of full path when blacklisting devel tools. * Part 1: blacklist python, perl, ruby, etc in disable-interpreters.inc * Part 2: allow access to java as needed * Typo: missing blacklist * Part 3: allow perl access as needed * typo * More fixups after adding disable-interpreters.inc * Blacklist javac * More javac noblacklisting * Remove javac from dex2jar, libreoffice, multimc5, and pdfsam profiles * Cleanup rebase leftovers * imagej doesn't need javac access * Add cc to blacklisted compilers * Use wildcards when blacklisting some gcc paths * Blacklist lua in disable-interpreters * Correct blacklist for node.js * Fred Barclay note: some of these commits (all of the ones that don't affect files inside etc/) aren't mine but were added during a rebase + squash
* musixmatch: fix profileLibravatar Vincent432018-04-02
|
* transmission-gtk: disable mdweLibravatar Vincent432018-04-02
| | | Causes freeze during opening file dialog in Archlinux , see issue https://github.com/netblue30/firejail/issues/1855
* Merge pull request #1827 from intika/masterLibravatar netblue302018-04-02
|\ | | | | Add support for the devil musixmatch
| * Add support for the devil musixmatchLibravatar intika2018-03-23
| |
* | Fix private-lib again (#1852) for evinceLibravatar glitsj162018-04-01
| | | | | | | | | | | | | | | | | | | | | | | | * Fix private-lib During conversation around an [earlier attempt at fixing evince] (https://github.com/netblue30/firejail/pull/1829) and the entailing [revert-commit](https://github.com/netblue30/firejail/pull/1829/commits/45732a22d1ea4ec0ade0775be7243e8669b7f850) this slipped through the cracks. The fix is tested on Gnome Shell 3.26.2 and 3.28.0 (on Arch). * Remove irrelevant comment on private-lib * Update private-lib comments Done!
* | Merge pull request #1851 from glitsj16/gnome-calculatorLibravatar Fred Barclay2018-04-01
|\ \ | | | | | | Fix private-lib for gnome-calculator
| * | Fix the fixLibravatar glitsj162018-04-01
| | | | | | | | | Forgot to take out [libplotinus.so](https://github.com/p-e-w/plotinus). Something I use myself in all GTK apps, but which isn't needed whatsoever for gnome-calculator.
| * | Fix private-libLibravatar glitsj162018-04-01
| | | | | | | | | This fixes https://github.com/netblue30/firejail/issues/1841.
* | | Merge pull request #1849 from jelford/gcloud-profileLibravatar SkewedZeppelin2018-04-01
|\ \ \ | | | | | | | | Added a basic profile for gcloud
| * | | Remove /usr/local from gcloud.profileLibravatar Tad2018-04-01
| | | |
| * | | Added a basic profile for gcloudLibravatar James Elford2018-03-31
| | | | | | | | | | | | | | | | | | | | | | | | gcloud is the Google Cloud Platform's cli. It understands how to interact with GCP's endpoint, and it need to read config and creds from the user's $HOME, plus it integrates with docker-cli
* | | | Cleanup gnome-logsLibravatar Tad2018-04-01
| | | |
* | | | Fixup gnome-logsLibravatar Tad2018-04-01
| | | |
* | | | Create gnome-logs.profileLibravatar glitsj162018-04-01
| | | | | | | | | | | | New profile. A few harmless warnings do show, but nothing that doesn't also show without firejail.
* | | | Disable mdwe in bleachbit - fix #1850.Libravatar Fred-Barclay2018-03-31
|/ / /
* | | AWS and GCP store credentials in local directories as part of project setup.Libravatar James Elford2018-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | Configuration for cloud providers is sensitive information; it should be in the default block list. I didn't see profiles for gcloud or awscli, so haven't added any exclusions. boto and kubectl are not provider-specific, but also store credentials for whichever platforms they happen to be being used with.
* | | gimp fixupLibravatar smitsohu2018-03-30
| | |
* | | redirect knotes to kmail, some tweaksLibravatar smitsohu2018-03-30
| | |
* | | enable/disable dbus handling in /etc/firejail/firejail.configLibravatar netblue302018-03-30
| | |
* | | gnome-calculator fixupLibravatar smitsohu2018-03-30
| | |
* | | Merge branch 'master' into nodbusLibravatar smitsohu2018-03-30
|\ \ \
| * | | Further improve private-bin in steamLibravatar Tad2018-03-30
| | | |
| * | | Add a disabled and extensive private-bin for SteamLibravatar Tad2018-03-29
| | | |
| * | | Add a profile for ncdu, enable private-etc in Steam again, and fixup ↵Libravatar Tad2018-03-28
| | | | | | | | | | | | | | | | gnome-recipes
| * | | various blacklist additionsLibravatar smitsohu2018-03-28
| | | |
* | | | comment apparmor, net where they interfere with dconf - #1843Libravatar smitsohu2018-03-30
| | | |
* | | | comment nodbus where it interferes with dconfLibravatar smitsohu2018-03-29
| | | | | | | | | | | | | | | | pending further discussion
* | | | recalibrate dbus access, deploy nodbus optionLibravatar smitsohu2018-03-28
|/ / / | | | | | | | | | | | | | | | | | | see #1822 and #1825. also systematically replaces 'blacklist /run/user/*/bus' with 'nodbus'. with contributions from @Fred-Barclay
* | | Enable nodbus for keepassx and keepassxc profiles.Libravatar Fred-Barclay2018-03-26
| | | | | | | | | | | | I've tested on keepassxc but should work for keepassx as well. Settings are not immutable.
* | | Spotify works with nodbus on ArchLibravatar Fred-Barclay2018-03-26
| | |
* | | Add nodbus to some profiles - part 1Libravatar Fred-Barclay2018-03-26
|/ /
* | rework akonadi integrationLibravatar smitsohu2018-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the usr.sbin.mysqld-akonadi apparmor profile, enforced by default in ubuntu and debian testing (and probably opensuse), doesn't play well with a number of firejail options. the reason for this is that once the no_new_privs bit is set, apparmor profile transitions are forbidden. enforcing our own apparmor policy instead is also no solution, because these programs don't even start without d-bus. relaxing the kmail profile was necessary so that kmail can fire up akonadi itself, just in case akonadi has not been started earlier already by another program. this is always an issue when kmail is the only installed akonadi client, but there may be more circumstances. for reasons outlined above this doesn't help debian and ubuntu (opensuse?) users though :-/ a brief summary of the seccomp exceptions: chroot is needed for qt webengine, io_prioset for the akonadi indexing agent, io_getevents, io_submit, io_setup are needed for mysqld. when akonadi has an sqlite3 backend, less exceptions to the seccomp filter are necessary, but mysqld is the default. in the future all kontact suite profiles (itm only kmail, knotes) should probably be redirections to akonadi_control, but the issues with apparmor make this somewhat impractical for now (options like 'protocol' couldn't go to akonadi_control.local any more, if current kmail redirected to there).
* | Add atril thumbnailer and previewer profilesLibravatar Fred-Barclay2018-03-25
| |
* | Add xplayer audio-preview and thumbnailer profilesLibravatar Fred-Barclay2018-03-25
| |
* | Add xreader thumbnailer and previewer profilesLibravatar Fred-Barclay2018-03-25
| |
* | Merge pull request #1831 from glitsj16/eogLibravatar Fred Barclay2018-03-25
|\ \ | | | | | | private-lib fix
| * | more restrictive private-libLibravatar glitsj162018-03-24
| |/ | | | | Using Arch Linux (Gnome Shell 3.26.2, Mutter WM, as in [#1711](https://github.com/netblue30/firejail/issues/1711)). After playing with several Gnome apps and `private-lib` conditions, it looks like there's progress to report. I made a few PR's today on the same topic, usually leaving things commented as to leave room for more eyes to double-check. In this case I took the liberty to throw in an uncommented one for eog. Please respond or rectify if this was uncalled for.
* | Revert a2aaf6fb3829a2407ea4cb1329819c8c5e5d12caLibravatar Fred-Barclay2018-03-25
| |
* | Merge branch 'master' into masterLibravatar SkewedZeppelin2018-03-25
|\ \
| * | various profile hardeningLibravatar smitsohu2018-03-25
| | |
| * | Merge pull request #1829 from glitsj16/evinceLibravatar netblue302018-03-25
| |\ \ | | | | | | | | evince fixes
| | * | Revert "add whitelist-common.inc"Libravatar glitsj162018-03-24
| | | | | | | | | | | | | | | | This reverts commit 94468d6a3bea5ad6a6e0c2e92036e195c68d57d1.
| | * | Create evince-thumbnailer.profileLibravatar glitsj162018-03-24
| | | | | | | | | | | | On Arch Linux evince comes with 3 executables (evince, evince-previewer and evince-thumbnailer), of which only /usr/bin/evince is currently covered by firejail. Adding both others as redirects.
| | * | Create evince-previewer.profileLibravatar glitsj162018-03-24
| | | | | | | | | | | | On Arch Linux evince comes with 3 executables (evince, evince-previewer and evince-thumbnailer), of which only /usr/bin/evince is currently covered by firejail. Adding both others as redirects.
| | * | add whitelist-common.incLibravatar glitsj162018-03-24
| | |/
* | | Fixup blender-2.8 and thunderbird-betaLibravatar Tad2018-03-25
| | |
* | | fixLibravatar Your Name2018-03-24
|/ /
* | fix akonadi_control, enable it in firecfg for a better defaultLibravatar smitsohu2018-03-24
| |
* | cleanupLibravatar smitsohu2018-03-24
| |