Commit graph

3130 commits

Author SHA1 Message Date
rusty-snake
096d0de5f8 from my overrides
- add seccomp.block-secondary to a lot profiles
 - add wruc to firefox-common and ignore it in TB and
   firefox-common-addons
 - harden dia, gnome-keyring, libreoffice, megaglest, pngquant,
   ghostwriter, rhythmbox, sqlitebrowser
2020-11-16 11:41:35 +01:00
rusty-snake
bd539dab77 Add XAUTHORITY file of sddm from openSUSE Tumblew…
…eed to wruc
2020-11-13 15:01:41 +01:00
Tad
c77ae3a05b add gvfs-metadata to disable-common.inc
- this might need to be looked into
2020-11-13 07:29:27 -05:00
glitsj16
6b2ec89054
fix dbus
At least on Ubuntu 16.04 LTS we need an additional own.
2020-11-12 23:43:47 +00:00
Davide Beatrici
506655ae58
minetest.profile: whitelist /usr/share/games/minetest (#3740)
It's the path to the game's data in the official Debian package.
2020-11-11 23:12:37 +00:00
smitsohu
a43dd9822b
update konsole/plasma blacklist 2020-11-11 22:47:10 +01:00
smitsohu
1280363757
adding /dev/mqueue to disable-exec.inc 2020-11-11 22:30:15 +01:00
glitsj16
d323913e55
add alsa/group to private-etc
fix for #3737.
2020-11-10 22:39:06 +00:00
glitsj16
bbfcd814d7
fix #3736
Added ${HOME}/.alsaequal.bin to fix #3736
2020-11-10 22:35:40 +00:00
rusty-snake
f3585e5393 fixes, closes, enhances, improvements, and so on
- .github/ISSUE_TEMPLATE/bug_report.md: get ride off spanish,
   french, ... error messages
 - etc/inc/firefox-common-addons.inc: support ff2mpv
 - etc/profile-a-l/gimp.profile: note about xsane
 - etc/profile-m-z/min.profile: prettify
 - etc/profile-m-z/mpsyt.profile: fix, add lua
 - etc/profile-m-z/qbittorrent.profile: add note for tray-icons; this
   will get a better note once I investigated and audited all the D-Bus
   tray stuff.
 - etc/profile-m-z/transmission-daemon.profile: fix, add protocol packet

close #3686 - mps-youtube needs lua
close #3701 - Firefox native messaging regression in 0.9.62.4 -> 0.9.64rc1
close #3636 - transmission-daemon fills log with error
close #3640 - Gimp - add note how to enable scanning (xsane)
close #3707 - qBittorrent tray icon missing from notification panel when running it with firejail
2020-11-09 20:57:33 +01:00
rusty-snake
796b4cf335 disable private-etc in zoom, close #3726 2020-11-09 18:54:10 +01:00
glitsj16
27d8f6a205
fix min.profile
As per https://github.com/netblue30/firejail/pull/3688#discussion_r511290714 min needs wusc. Runs fine with wruc too so let's fix min for users.
2020-11-09 16:56:10 +00:00
rusty-snake
594300374d
rework chromium (#3688)
* rework chromium

 + 516d0811 has removed fundamental security features.
   (remove caps.drop=all, nonewprivs, noroot, seccomp, protocol; add
caps.keep)
   Though this is only necessary if running under a kernel which
disallow
   unprivileged userns clones. Arch's linux-hardened and debian kernel
are
   patched accordingly. Arch's linux and linux-lts kernels support this
   restriction via sysctk (kernel.unprivileged_userns_clone=0) as users
opt-in.
   Other kernels such as mainline or fedora/redhat always support
unprivileged
   userns clone and have no sysctl parameter to disable it. Debian and
Arch
   users can enable it with 'sysctl kernel.unprivileged_userns_clone=1'.
   This commit adds a chromium-common-hardened.inc which can be included
in
   chromium-common to enhance security of chromium-based programs.

 + chromium-common.profile: add private-cache

 + chromium-common.profile: add wruc and wusc, but disable it for the
   following
   profiles until tested. tests welcome.

    - [ ] bnox, dnox, enox, inox, snox
    - [ ] brave
    - [ ] flashpeak-slimjet
    - [ ] google-chrome, google-chrome-beta, google-chrome-unstable
    - [ ] iridium
    - [ ] min
    - [ ] opera, opera-beta

 + move vivaldi-snapshot paths from vivaldi-snapshot.profile to vivaldi.
   /usr/bin/vivaldi is a symlink to /etc/alternatives/vivaldi which can
be
  vivaldi-stable, vivaldi-beta or vivaldi-snapshot.
vivaldi-snapshot.profile
  missed also some features from vivaldi.profile, solve this by making
it
  redirect to vivaldi.profile. TODO: exist new paths such as
.local/lib/vivaldi
  also for vivaldi-snapshot?

 + create chromium-browser-privacy.profile (closes #3633)

* update 1

 + add missing 'ignore whitelist /usr/share/chromium'

 + revert 'Move drm-relaktions in vivaldi.profile behind
   BROWSER_ALLOW_DRM.'. This breaks not just DRM, it break things such
   as AAC too. In addition vivaldi shows a something is broken pop-up,
   we would have a lot of 'does not work with firejail' issues.

* update 2

* update 3

fixes #3709
2020-11-09 16:08:48 +00:00
Dara Adib
ca3c2fa528
Update linphone profile (#3734)
linphone 4.0 changed the location of config and database files
to respect freedesktop standards.
2020-11-08 05:40:13 +00:00
rusty-snake
f3c3ed0dcc second #3728 [skip ci] 2020-11-06 12:29:32 +01:00
rusty-snake
eddd3cdbdf profile fixes
- update README.md and RELNOTES
 - add 'blacklist ${RUNUSER}/.flatpak-cache' to disable-common.inc
 - fix #3728, fonts in openSUSE KDE with wc / wusc
 - fix gnome-todo
 - fix xournalpp MathTeX whitelist
2020-11-06 10:35:14 +01:00
glitsj16
4ab9d6e74e Allow lua in minetest.profile
Closes #3723
Introduced in 388826683c
2020-11-03 22:30:48 -05:00
glitsj16
ffcce77940
fix ${HOME}/.ssh access in filezilla.profile
This fixes #3722.
2020-11-03 17:15:37 +00:00
Neo00001
9377a80fd6
Add spectacle's profile (#3717)
* Update firecfg.config

* Update disable-programs.inc

* Create spectacle.profile
2020-11-02 10:30:41 +00:00
David Hyrule
220766f629 Remove nou2f in ssh profile 2020-11-01 05:20:27 +01:00
glitsj16
4bf6e4e5a7
Allow webcam access in zoom.profile
This fixes #3711.
2020-10-31 18:44:22 +00:00
rusty-snake
ba62f0e29d keepassxc dbus, closes #3713 [skip ci] 2020-10-31 16:45:02 +01:00
rusty-snake
883433dda8 firefox d-bus (#2953) & fix xournalpp 2020-10-29 12:06:04 +01:00
netblue30
65911742d7 added bluetooth to the list of protocols allowed by seccomp 2020-10-28 09:18:18 -04:00
netblue30
305aa40922 profile fixes 2020-10-28 08:16:05 -04:00
blockbandit
c2f4072417
Update okular.profile to support cbr files (#3704)
* Update okular.profile

okular has support for reading cbr (rar-compressed comic book). without unrar or unar  in private-bin, okular fails to decompress the files for viewing.

* Sorted private-bin
2020-10-27 12:06:28 +00:00
glitsj16
8f130383e1
Remove redundant read-only item (#3703)
* remove read-only item redundancy

'read-only ${HOME}/.config/mimeapps.list' is already part of disable-common.inc

* remove read-only item redundancy

'read-only ${HOME}/.config/mimeapps.list' is already part of disable-common.inc, which is included in the redirect profile

* remove read-only item redundancy

'read-only ${HOME}/.config/mimeapps.list' is already part of disable-common.inc, which is included in the redirect profile
2020-10-27 03:05:01 +00:00
glitsj16
b57b66bc16
fix assogiate.profile
The user mime database needs to be writable.
2020-10-27 02:41:53 +00:00
rusty-snake
388826683c add missing paths to disable-interpreters.inc
and update allow-xxx.inc

Fedora uses /usr/lib64 for arch specifiy files and /usr/lib for arch
independent files. php, py2, ruby may have also paths there.
2020-10-26 15:43:53 +01:00
rusty-snake
08586e5694
Merge pull request #3700 from rusty-snake/fix-3699
fix #3699 -- Firefox can't inhibit screensavers/screen blanking
2020-10-26 14:06:44 +00:00
rusty-snake
2f665cf4a7 fix #3699 2020-10-26 11:56:57 +01:00
Neo00001
fb6b7d4361
Update celluloid.profile 2020-10-26 10:06:05 +00:00
Neo00001
62bd606bda
Update celluloid.profile
liblua is needed for celluloid & otherwise at least on arch it's showing this error - "celluloid: error while loading shared libraries: liblua5.2.so.5.2: cannot open shared object file: Permission denied"
2020-10-25 21:18:46 +00:00
netblue30
e4d053e907 merges 2020-10-25 08:51:18 -04:00
netblue30
bd1819a864
Merge pull request #3607 from kortewegdevries/wemail
Switch mails to whitelisting
2020-10-25 07:17:01 -05:00
rusty-snake
582ae38e81 harden peek; update README.md; add gnome-sound-…
…recorder to firecfg.config
2020-10-23 14:06:37 +02:00
Jan Sonntag
3d897add55 Fix vlc blu-ray playback with libaacs 2020-10-20 20:23:38 +02:00
Bundy01
1d354d7665 Update virtualbox.profile 2020-10-19 18:15:10 +02:00
rusty-snake
bedf6387d1 update firefox fedora private-bin [skip ci] 2020-10-16 17:44:54 +02:00
rusty-snake
87f7778616 flameshot has changed it's APP-ID
closes #3643
2020-10-16 16:42:57 +02:00
rusty-snake
d08fb3b5db
Merge pull request #3667 from Neo00001/patch-2
Update wire-desktop.profile (again)
2020-10-13 13:22:18 +00:00
Neo00001
924804cbf6
Update wire-desktop.profile 2020-10-13 13:09:51 +00:00
netblue30
8efb4d3a7e merges, fix for #3662 etc. 2020-10-13 08:55:35 -04:00
Neo00001
aacaab5358
Update wire-desktop.profile (again)
On arch,wire-desktop is now depending on electron9. Using wildcard for this sorta packages would be better.
2020-10-13 12:04:48 +00:00
Kristóf Marussy
bba750c734
Fix AppArmor 3.0 support (closes #3659)
AppArmor introduces the @{run} variable, which is used in
<abstractions/dbus-strict> and <abstractions/dbus-session-strict> among
other places. Thus, we follow suit of the built-in profiles and #include
<tunables/global>, which includes <tunables/run> in AppArmor 3.0,
defining the variable.

As <tunables/global> exists in previous versions of AppArmor, too, this
patch does not introduce a backward-compatibility issue with Apparmor
2.x.
2020-10-10 16:13:39 +02:00
Neo00001
9caa8bb30f
Update vmware.profile
With private-etc enabled vmware-tools doesn't get installed. Existing VM with an installed vmware-tools works as usual. For the time being keep it commented.
2020-10-06 15:57:50 +00:00
rusty-snake
9ae80f5f4e New profile: equalx 2020-10-03 14:52:48 +02:00
rusty-snake
af0f2ed9d6 chromium-freeworld profile (#3633) 2020-10-03 14:52:48 +02:00
netblue30
18eb42fdfd splitting up media players whitelists in whitelist-players.inc 2020-10-02 10:48:15 -04:00
rusty-snake
b45762423f new profile: xournalpp 2020-09-25 11:47:35 +02:00