evilsocket / opensnitch

OpenSnitch is a GNU/Linux interactive application firewall inspired by Little Snitch.
GNU General Public License v3.0
10.97k stars 512 forks source link

Error applying configuration /etc/opensnitchd/opensnitch.o no such file or directory #1060

Closed sha-265 closed 1 year ago

sha-265 commented 1 year ago

Describe the bug I'm trying to edit change OpenSnitch configuration via GUI (specifically trying to enable Debug invalid connections), and I get this error:

Error applying configuration /etc/opensnitchd/opensnitch.o no such file or directory

The changes are not saved.

To Reproduce Steps to reproduce the behavior:

  1. Open OpenSnitch GUI
  2. Open the preferences window
  3. Go to Nodes tab
  4. Check Debug invalid connections
  5. Click Apply button
  6. Look at the bottom of the window for the error

Post error logs: Nothing in logs

Screenshots image

gustavo-iniguez-goya commented 1 year ago

hi @sha-265 ,

This error was fixed on v1.5.9, but I think it never entered into Debian. So right now your options are: 1) install latest release v1.6.3 from github, or 2) install latest ebpf modules from the v1.5.2 release page.

You can download the modules from here: https://github.com/evilsocket/opensnitch/releases/download/v1.5.2/ebpf-modules-v1.5.x.tar.gz

Could you copy the file x86_64/opensnitch.o from the tgz to /etc/opensnitchd/ and let me know if it works?

The modules are the same than the ones packaged with the v1.5.2 .deb packages .

sha-265 commented 1 year ago

Could you copy the file x86_64/opensnitch.o from the tgz to /etc/opensnitchd/ and let me know if it works?

Yep, it did work. Thank you.

gustavo-iniguez-goya commented 1 year ago

Thank you @sha-265 ! We had some problems compiling the ebpf modules on the Debian's infra, that's why they're not present.