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

Use iptables trough iptc, enables rootless operation #82

Merged
merged 1 commit into from
Jun 2, 2017

Conversation

adisbladis
Copy link
Contributor

Reviving my PR #41 and
polishing it up a bit for easier usage.

The wrapper script makes running without root as easy as sudo opensnitch and that will check the SUDO_USER environment variable by default or the argument --user

Why this is needed:
I was working on getting D-bus based IPC working and wanted to do my dev work using the D-Bus Session Bus (the one running in my desktop session).
Running something in my users session bus is very tricky from the root account and not something I feel comfortable expecting from users even at this point.
Using the System Bus is also out of the question for now since it needs to be provided by a .service file on systemd based distros (which is great for us since it solves the issue of some malware impersonating opensnitch).
I want us to transition to using the System Bus in the future but Session Bus is easier for now.

Reviving my PR #41 and
polishing it up a bit for easier usage
@evilsocket evilsocket merged commit 059ddf5 into master Jun 2, 2017
gustavo-iniguez-goya added a commit that referenced this pull request Dec 9, 2020
Parameters passed by command line must overwrite the options configured
in the config file.

closes #82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants