Commit graph

28 commits

Author SHA1 Message Date
Kelvin M. Klann
167a0ea74a Fix misc whitespace
Command used to check for whitespace errors:

    $ git diff --check 0.9.78..
2026-02-23 13:20:38 -03:00
netblue30
c13331305c adding apparmor profiles for --nettrace option 2026-02-11 09:17:22 -05:00
glitsj16
42ef45b5db
firejail-local: be less restrictive with torbrowser-launcher
Cfr. https://github.com/netblue30/firejail/issues/6269#issuecomment-2002021790.
2024-03-16 15:49:07 +00:00
glitsj16
d506bbe7e2
torbrowser-launcher fixes (#6270)
Apparently Tor Browser 13.0.11 (based on Mozilla Firefox 115.8.0esr)
changed a few things. The former versions installed under
`${HOME}/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser`
and now under
`${HOME}/.local/share/torbrowser/tbb/x86_64/tor-browser/Browser`.

All of our tor-browser-foo.profile profiles redirect to
torbrowser-launcher.profile and are covered by the fixes.

torbrowser.profile was not tested. It redirects to
firefox-common.profile and seems to be Gentoo-specific.

Fixes #6269.
2024-03-09 16:44:30 +00:00
glitsj16
e4913eb9cb
Create mullvad-browser.profile (#5887)
Homepage: https://mullvad.net/en/download/browser/linux

mullvad-browser: don't use restrict-namespaces

mullvad-browser: cover both installation paths

Suggested in review by @kmk3.
2023-07-22 12:38:28 +00:00
glitsj16
a8110dfa62
firejail-local: fix examples 2023-03-07 10:04:59 +00:00
glitsj16
0f9a4c8d0c
AppArmor: add more examples to firejail-local (#5493)
* AppArmor: add more examples to firejail-local

* comments fixes
2022-12-01 12:12:16 +00:00
Азалия Смарагдова
9109f60151
Fixed an AppArmor profile denial issue with ptrace and signals (#5317) 2022-08-18 01:12:37 +00:00
slowpeek
2d10e60342
Update firejail-default
Allow access to avahi-daemon socket in the apparmor profile.
2022-04-02 23:52:44 +03:00
Bundy01
fc06f34bc9 Update firejail-local for Brave + ipfs 2021-11-14 22:05:03 +00:00
smitsohu
0022048aaa apparmor base drop-in: remove chroot/overlay paths
As the upstream AppArmor base abstraction does not
contain references to paths in /run/firejail/mnt/oroot
there is not much point to have them in our drop-in
2021-11-01 16:59:23 +01:00
smitsohu
9267904112 add basic Firejail support to AppArmor base abstraction (#3226) 2021-10-21 00:32:03 +02:00
a1346054
6eafbfdfcc
trim excess whitespace 2021-09-25 19:09:14 +00:00
glitsj16
fb4c90155a
unblock tor support in brave (#4200)
* opt-in for brave's native tor support

* fix brave's native tor support

* warn about potential tor breakage when using apparmor

* update comment for opting in to tor

* move brave's tor apparmor fix in brave.profile
2021-04-18 04:44:04 +00:00
glitsj16
d2c04424dc
Add examples to allow running programs from specific home dir 2021-03-30 21:44:00 +00:00
glitsj16
0991b70e73
Recommend doing overrides in local apparmor dir 2021-03-30 21:33:31 +00:00
netblue30
3fbdc9f59a apparmor capabilities fix 2021-02-21 08:47:45 -05:00
smitsohu
f767f82bd5 refresh capabilities (#3945) 2021-02-19 00:40:46 +01:00
glitsj16
029a67a089
add note for torbrowser-launcher opt-in 2021-02-15 21:07:43 +00:00
glitsj16
47e3e450bb
revert torbrowser-launcher rule
See https://github.com/netblue30/firejail/pull/3990#discussion_r576404417.
2021-02-15 21:05:04 +00:00
glitsj16
5789d97945
Allow access to torbrowser-launcher under ${HOME}
Follow up for https://github.com/netblue30/firejail/pull/3988. We need to allow access to torbrowser-launcher executables installed under ${HOME}. Thanks @rusty-snake and @Vincent43 for motivational input.
2021-02-15 07:20:02 +00:00
netblue30
65911742d7 added bluetooth to the list of protocols allowed by seccomp 2020-10-28 09:18:18 -04: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
netblue30
1bd36a035a renamed /etc/apparmor.d/local/firejail-local to /etc/apparmor.d/local/firejail.default - merge form 0.9.62.4 2020-08-22 07:07:41 -04: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
curiosityseeker
6a289235cd
Avoid dbus-*=filter breakage (#3432) 2020-06-01 13:42:53 +02:00
netblue30
caeee856bf small fixes 2020-04-21 18:13:14 -04:00
netblue30
018d75775e reorganize github etc directory 2020-04-21 08:24:28 -04:00