Commit graph

8660 commits

Author SHA1 Message Date
Kelvin M. Klann
7db3e20f9d RELNOTES: add ci/docs
Relates to #5078 #5147 #5148.
2022-06-07 23:44:21 -03:00
Kelvin M. Klann
b079c89eaa RELNOTES: mention --tab option on its entry
Added on commit ddd7e6fec ("merges", 2022-02-20).

Relates to #4936.
2022-06-07 23:44:21 -03:00
Kelvin M. Klann
1c0242c5d2 RELNOTES: sort items by category (features/modifs)
Move the modif entries after the feature entries to be consistent with
the notes of the previous release (0.9.68): features, modifs/reworks,
removals, bugfixes, build, ci, docs, includes/profiles.
2022-06-07 23:44:18 -03:00
dependabot[bot]
28c88f78e3 build(deps): bump github/codeql-action from 2.1.11 to 2.1.12
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.11 to 2.1.12.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](a3a6c128d7...27ea8f8fe5)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 18:22:53 +00:00
netblue30
4a9f73bc8f
Merge pull request #5176 from kmk3/build-mkdeb-undo-apparmor
mkdeb.sh.in: stop enabling apparmor
2022-06-06 07:17:11 -04:00
netblue30
5b4593f645
Merge pull request #5174 from kmk3/revert-release-version
Revert "I am preparing a point release for next week, fixes and small…
2022-06-06 07:15:00 -04:00
Kelvin M. Klann
1ed4afb0d1 mkdeb.sh.in: stop enabling apparmor
Since `make deb-apparmor` already exists, use that for now instead of
changing what `make deb` does.

This fixes CI.

Added on commit 494b26d50 ("adding --enable-apparmor by default for make
deb - most Debian-based distros have apparmor enabled by default",
2022-06-03).

Kind of relates to #5154.
2022-06-05 14:31:28 -03:00
glitsj16
135e99ffe9
Add comment for enabling D-Bus desktop notifications to transmission-{gtk,qt} (#5175)
* add comment for enabling desktop notifications

* add comment for enabling desktop notifications
2022-06-05 16:51:05 +00:00
Kelvin M. Klann
68dc790639 Revert "I am preparing a point release for next week, fixes and small number of new features. Check in everything you have out."
This reverts commit e8cb03cde8.

More specifically: s/0.9.68.1/0.9.69/.

The current development version contains not only new features, but also
breaking changes (see "modif:" on the RELNOTES).  Ensure at least a
minor (rather than only a patch) version bump (to 0.9.70 on the final
version) to avoid breaking user expectations.
2022-06-04 20:56:30 -03:00
smitsohu
193b69f865 harden blacklist 2022-06-03 20:32:11 +02:00
netblue30
494b26d504 adding --enable-apparmor by default for make deb - most Debian-based distros have apparmor enabled by default 2022-06-03 09:52:23 -04:00
netblue30
e8cb03cde8 I am preparing a point release for next week, fixes and small number of new features. Check in everything you have out. 2022-06-03 08:38:27 -04:00
netblue30
a1f6bdf414 removed enforcement of nonewprivs for --noprofile 2022-06-03 07:52:49 -04:00
netblue30
dc7217582a more relnotes 2022-06-03 07:19:34 -04:00
netblue30
1692857804 relnotes 2022-06-03 07:18:10 -04:00
netblue30
f504f07496 --nettrace only available when running the sandbox as root 2022-06-03 07:11:32 -04:00
netblue30
6d0ff0c7db enforce nonewprivs for --noprofile option 2022-06-03 07:02:31 -04:00
netblue30
37ac02d478
Merge pull request #5172 from kmk3/ds-add-ids-paths
disable-shell.inc: add global shell paths from ids.config
2022-06-03 06:53:30 -04:00
netblue30
46618df409 fixes 2022-06-02 21:32:03 -04:00
netblue30
741aaa4f59 firemon rework 2022-06-02 17:03:36 -04:00
netblue30
4f592ed011 speed up firemon 2022-06-02 09:29:04 -04:00
Kelvin M. Klann
03af910fdc disable-shell.inc: add global shell paths from ids.config
Since /etc/profile is present, add the other shell-related paths in /etc
that are listed on ids.config.

Suggestion by @rusty-snake[1].

Relates to #5167 #5170.

[1] https://github.com/netblue30/firejail/pull/5167#pullrequestreview-989621852
2022-06-02 00:28:10 -03:00
Kelvin M. Klann
2183171767 ids.config: sort global shell paths 2022-06-02 00:21:55 -03:00
netblue30
fab6225687
Merge pull request #5170 from kmk3/ids-add-sh-paths
ids.config: add missing global shell paths
2022-05-31 13:47:07 -04:00
netblue30
6b248aae0f
Merge pull request #5167 from kmk3/mv-sh-profile-blacklist
profiles: move blacklist of /etc/profile.d & blacklist /etc/profile
2022-05-31 13:46:33 -04:00
Kelvin M. Klann
8fe1b93629 ids.config: add missing global shell paths
Add missing paths for bash, ksh and zsh.

Environment: Artix Linux
2022-05-30 22:36:32 -03:00
Kelvin M. Klann
2e0727f62a disable-shell.inc: blacklist /etc/profile
Since /etc/profile.d is already being blacklisted.
2022-05-30 14:45:27 -03:00
Kelvin M. Klann
66dc2643ac disable-common.inc: move blacklist of /etc/profile.d
To disable-shell.inc.

Interactive shells can be executed from certain development-related
programs (such as IDEs) and the shells themselves are not blocked by
default, but this shell startup directory currently is.  To avoid
running a shell without access to potentially needed startup files, only
blacklist /etc/profile.d when interactive shells are also blocked.

Note that /etc/profile.d should only be of concern to interactive
shells, so a profile that includes both disable-shell.inc and
allow-bin-sh.inc (which likely means that it needs access to only
non-interactive shells) should not be affected by the blacklisting.

Relates to #3411 #5159.
2022-05-30 14:45:21 -03:00
Kelvin M. Klann
c7fde57d12 kate.profile: add missing include comment
This amends commit b6b3f3b38 ("kate.profile: allow common development
file access", 2022-05-28) / PR #5159.

See etc/templates/profile.template.
2022-05-30 14:25:38 -03:00
netblue30
74876f2b4e Merge branch 'master' of ssh://github.com/netblue30/firejail 2022-05-30 11:45:24 -04:00
netblue30
ba614a0b75 merges 2022-05-30 11:45:12 -04:00
netblue30
7ab6c49b43
Merge pull request #5154 from kmk3/build-clean-up-dist
mkdeb.sh.in: pass remaining arguments to ./configure
2022-05-30 11:34:32 -04:00
netblue30
61bb616b76
Merge pull request #5158 from hknaack/seamonkey-support-enigmail-gpg
seamonkey.profile: support enigmail/gpg
2022-05-30 11:32:56 -04:00
netblue30
774b1e85eb
Merge pull request #5159 from hknaack/kate-fixes
Kate fixes
2022-05-30 11:31:31 -04:00
Kelvin M. Klann
9a0fbbd719 mkdeb.sh.in: pass remaining arguments to ./configure
Currently, mkdeb.sh (which is used to make a .deb package) runs
./configure with hardcoded options (some of which are automatically
detected based on configure-time variables).  To work around the
hardcoding, contrib/fj-mkdeb.py is used to add additional options by
rewriting the actual call to ./configure on mkdeb.sh.  For example, the
following invocation adds --disable-firetunnel to mkdeb.sh:

    $ ./configure && ./contrib/fj-mkdeb.py --disable-firetunnel

To avoid depending on another script and to avoid re-generating
mkdeb.sh, just let the latter pass the remaining arguments (the first
one is an optional package filename suffix) to ./configure directly.
Example:

    $ make distclean && ./configure && make dist &&
      ./mkdeb.sh "" --disable-firetunnel

Additionally, change contrib/fj-mkdeb.py to do roughly the same as the
above example, by simply forwarding the arguments that it receives to
./mkdeb.sh (which then forwards them to ./configure).  Also, remove the
--only-fix-mkdeb option, since the script does not change mkdeb.sh
anymore.  With these changes, the script's usage (other than when using
--only-fix-mkdeb) should remain the same.

Note: To clean the generated files and then make a .deb package using
the default configuration, the invocation is still the same:

    $ make distclean && ./configure && make deb

Note2: Running ./configure in the above examples is only needed for
generating Makefile/mkdeb.sh from Makefile.in/mkdeb.sh.in after running
distclean, so that running `make` / `./mkdeb.sh` afterwards works.

Should fully fix #772.

Relates to #1205 #3414 #5148.
2022-05-29 18:59:13 -03:00
Hartmut Knaack
7da1793c3b seamonkey.profile: support enigmail/gpg
Changes inspired by Thunderbird profile.
2022-05-28 22:12:58 +02:00
Hartmut Knaack
759b496fd2 kate.profile: drop tracelog
When starting kate and loading into a session containing a git repository, tracelog caused about 30 seconds of delay until the project structure appeared in the projects sidebar. Error message on console:
QProcess: Destroyed while process ("/usr/bin/git") is still running.

Drop tracelog to mitigate the delay and error message.
2022-05-28 22:10:02 +02:00
Hartmut Knaack
a934eb1c5d kate.profile: allow access to kwinrc
When starting Kate, a blacklist violation from accessing the kwinrc config file is reported. As a KDE application, it should be fine for Kate to access it.

blacklist violation - sandbox 13410, name kate, exe kate, syscall access, path /home/user/.config/kwinrc
2022-05-28 22:09:48 +02:00
Hartmut Knaack
b231244560 kate.profile: enable bash completion in terminal
A side effect of including disable-common.inc is loosing access to /etc/profile.d, where Bash completion is located.
Explicitly enable access to console scripts in /etc/profile.d, so that Kate's built-in Konsole instance can be used without limitations.

Minor side effect: the spawned Bash tries to access /etc/init.d
blacklist violation - sandbox 17317, name kate, exe bash, syscall stat, path /etc/init.d
2022-05-28 22:09:15 +02:00
Hartmut Knaack
b6b3f3b385 kate.profile: allow common development file access
Kate has grown support for software development, making it a light IDE. Some version control modules exist, and when using the Git module, a blacklist violation is reported:
blacklist violation - sandbox 13902, name kate, exe git, syscall access, path /home/user/.gitconfig
Including support for common development file access mitigates this violation issue.
2022-05-28 22:08:30 +02:00
glitsj16
069defab64
minor fixes for git.profile (#5165) 2022-05-28 14:34:52 +00:00
Kelvin M. Klann
b4d0b24c53 fj-mkdeb.py: run distclean before ./configure
This (mostly) restores the behavior from before commit 1fb814e51
("Makefile.in: stop running distclean on dist", 2022-05-13) / PR #5142.
./configure still has to be called before calling ./contrib/fj-mkdeb.py
(to generate Makefile from Makefile.in before calling `make distclean`).
2022-05-27 18:21:08 -03:00
Kelvin M. Klann
5247a6c7b5 mkdeb.sh.in: remove unused PACKAGE_TARNAME/TOP vars
PACKAGE_TARNAME was added on commit 87e7b3139 ("Configure Debian package
with AA and SELinux options", 2020-05-13) / PR #3414.

TOP was added on commit ed4a24ce7 ("porting make deb-apparmor from LTS
build", 2019-01-26).
2022-05-27 18:21:08 -03:00
netblue30
880f2c98a1 Removed IDS feature from the default build. To enable it, use --enable-ids at compile time. 2022-05-25 07:36:42 -04:00
dependabot[bot]
d0c5400419 build(deps): bump github/codeql-action from 2.1.10 to 2.1.11
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.10 to 2.1.11.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2f58583a1b...a3a6c128d7)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 16:30:03 +00:00
netblue30
9041294b83 config guide (firecfg --guide) man page 2022-05-23 07:59:42 -04:00
smitsohu
41e151242f unbound: seccomp cleanup 2022-05-21 18:21:37 +02:00
smitsohu
29d6ae46aa netlock: restore environment for terminal 2022-05-21 18:00:36 +02:00
netblue30
8070cf6c63
Merge pull request #5141 from kmk3/nvim-add-xdg-state-home
nvim: add XDG_STATE_HOME path
2022-05-20 10:57:14 -04:00
netblue30
1ceb61ca0a Merge branch 'master' of ssh://github.com/netblue30/firejail 2022-05-20 10:50:35 -04:00