Commit graph

36 commits

Author SHA1 Message Date
Tad
82a0cd2e71 Cleanup descriptions 2018-08-13 22:35:05 -04:00
Tad
40330b246d Add descriptions to profiles, pulled from Ubuntu 18.04 2018-08-13 21:48:41 -04:00
Tad
e5aba00d01 Add disable-xdg.inc to ~100 profiles 2018-07-24 12:52:13 -04:00
Fred Barclay
2d8ff695ad
WIP: Blacklist common programming interpreters. (#1837)
* 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
2018-04-02 10:56:55 -05:00
netblue30
b4c84b85a0 profile updates 2017-10-18 09:15:19 -04:00
smitsohu
a6a8241c95 profile enhancements (mostly novideo) 2017-08-29 14:30:28 +02:00
Tad
104dde49c0 Fix nodvd placement 2017-08-13 15:53:04 -04:00
netblue30
647b6a220e added nodvd to most profiles 2017-08-13 07:36:06 -04:00
Tad
71f838b5ba Fix notv placement 2017-08-11 21:03:13 -04:00
netblue30
b97ca53e7b added notv to most profiles 2017-08-11 10:21:18 -04:00
Tad
9e3ba319be Unify all profiles 2017-08-07 01:22:08 -04:00
netblue30
dce9b9b9eb added /etc/firejail/globals.local for global customizations 2017-05-23 12:02:22 -04:00
netblue30
975c6f327f persistent support for all profile files 2017-02-09 10:53:33 -05:00
valoq
7165f68e34
private-tmp changes 2016-11-03 23:51:36 +01:00
netblue30
442655366f nosound 2016-07-08 09:00:27 -04:00
netblue30
66e7bdf167 profile update 2016-06-23 10:52:43 -04:00
netblue30
f5b452bc42 private-bin conversion 2016-06-10 11:22:24 -04:00
netblue30
e3abab47dc private-bin conversion 2016-06-10 10:41:57 -04:00
netblue30
3597df9bc0 merged Various #542 pull request from Fred-Barclay 2016-05-31 21:40:55 -04:00
The Fox in the Shell
845bd06665 profiles: Add nonewprivs where sensible 2016-05-25 15:01:13 +02:00
avoidr
1a42221c62 delete blacklist wine from profiles 2016-04-12 22:29:33 +02:00
netblue30
ec34ed78af introducing disable-passwdmgr.inc 2016-03-28 12:05:15 -04:00
netblue30
570f845a01 consolidated disable-terminals into disable-common 2016-03-27 09:13:22 -04:00
netblue30
1c56e0bdfa consolidating disable-mgmt and disable-sercret into disable-common 2016-03-26 21:16:48 -04:00
netblue30
f841cc971e profile work 2016-03-26 20:39:16 -04:00
netblue30
c93cca65a6 profile update 2016-03-12 08:17:40 -05:00
netblue30
d88a941d52 split out terminal blacklisting in disable-terminals.inc 2016-02-12 17:29:07 -05:00
netblue30
1365b0d41b tracelog fixes 2015-12-06 19:37:08 -05:00
netblue30
873b9d161f traclog added to various profiles 2015-12-06 13:11:00 -05:00
netblue30
77d23460d3 added disable-devel.inc 2015-11-01 08:15:01 -05:00
netblue30
1130cba621 merged disable-history.inc into disable-common.inc 2015-10-30 09:06:28 -04:00
netblue30
3db72d3753 enable --protocol by default in profiles 2015-10-28 13:52:29 -04:00
netblue30
9d3e1e24db disabled Wine and VirtualBox in default profiles 2015-09-24 08:25:27 -04:00
netblue30
abcc150ae3 fixes 2015-09-24 08:13:07 -04:00
netblue30
4f36b7246a security profile work 2015-09-24 08:03:57 -04:00
netblue30
1265803f63 Default profiles work 2015-09-16 07:33:08 -04:00