Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application Sandboxing>Making your own policies/profiles: Add crabsecco #2008

Open
dngray opened this issue Feb 18, 2023 · 4 comments
Open
Labels
c:guides full-length guides and content m:contributing relating to contributing/community status:approved issues that are immediately approved, submit a PR!

Comments

@dngray
Copy link
Member

dngray commented Feb 18, 2023

Discussed in https://github.com/privacyguides/privacyguides.org/discussions/1364

Originally posted by rusty-snake May 31, 2022
Name: crabsecco
Repository: https://codeberg.org/crabjail/crabsecco
Author: me (I also maintain the libseccomp-rs crate)
Where?: Application Sandboxing > Making your own policies/profiles
Description: crabsecco makes it easier to write and compile seccomp-bpf filters (as used by bubblewrap's --seccomp/--add-seccomp-fd arguments). It acts as a compiler which compiles seccomp-filters defined in a toml file to bpf/pfc filters which can be used with tools like bubblewrap/for debugging. This makes makes writing seccomp-bpf filters because you don't need to write (C-)code.

@dngray dngray added c:guides full-length guides and content status:approved issues that are immediately approved, submit a PR! m:contributing relating to contributing/community labels Feb 18, 2023
@dngray
Copy link
Member Author

dngray commented Feb 18, 2023

Initially I was thinking of doing #1861, however for most purposes (sandboxing user applications), I think a guide on this makes a lot more sense than creating AppArmor/SELinux policies.

Particularly with the direction of things like Flatpak, etc.

@dngray
Copy link
Member Author

dngray commented Dec 16, 2023

@rusty-snake would you be interested in contributing a blog article on how to use this tool.

I have not used this tool.

I think it could take the form, of an example article demonstrating usage.

@rusty-snake
Copy link
Contributor

Hi, just going through my github todo list. I've interest but unfortunately no time.

@dngray
Copy link
Member Author

dngray commented Jan 28, 2024

What I might do is an article sandboxing some example application, a bit like the hello world examples that Fedora does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:guides full-length guides and content m:contributing relating to contributing/community status:approved issues that are immediately approved, submit a PR!
Projects
None yet
Development

No branches or pull requests

2 participants