-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
Does opensnitch support nftables? #370
Comments
I see that you use Debian 10.2. Unless something has changed, iptables is a symbolic link to nftables (iptables-nft) and should work just fine. Did you try to insert the problematic rule manually? |
As you can see this doesn't work because I'm using nftables (the |
nftables support is WIP, I hope to add it in the comming weeks. |
You can count on me to test it. |
Added nftables support da23c82. If any of you can compile latest sources you can test it. |
It looks like some additional packages are needed to build opensnitch, which aren't packaged by debian. I think it needs the following: https://github.com/google/nftables So I'll have to build these manually. Does opensnitch need some other deps? |
mmh, those deps are added to the go.mod file, how are you compiling it? if |
Basically I get the following:
I'm using the Debian pbuilder/dpkg-buildpackage tools. So I have to install all needed deps manually before the build process starts. I'll try to make deb packages for the missing components. |
ah ok, then yes, you're right. I was using dh-golang + gbp to build the packages before adding eBPF support. But as the iovisor packages were not available in Debian I had to switch to dpkg-buildpackage + go mod vendor:
You'll need the ebpf module by the way, and put it inside |
nftables support added da23c82 |
The opensnitch system daemon starts without issues:
The GUI also works, but there's nothing there (just empty tables).
In the
/var/log/opensnitchd.log
file, I can see the following:So it looks like it tries to put
iptables
rules and those aren't compatible withnftables
. Is there anything that can be done here? Does opensnitch support nftables?Opensnitch was installed via the deb package provided here on github. All other deps were installed from the Debian Sid official repo (the ones required to be installed via pip).
The text was updated successfully, but these errors were encountered: