evilsocket / evilsocket/opensnitch

[Bug Report] Settings Dialog Apply and Save button problems

Open
#1,666 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
14.1k
Forks
665
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug:

The Settings dialog always causes an eBPF load error to appear, where opensnitch.o cannot be loaded when you click on the "Apply" button.

### How to reproduce

- Start opensnitch-ui
- Open Settings dialog
- Open Nodes view
- Open General tab
- Change "Default action when the GUI is disconnected" to "drop"
- Enable "Debug invalid connections"
- Click Apply

However, if you do the exact same thing, and click the "Save" button, it will successfully save the modified settings. If you then close the Settings dialog, open the same view/tab, and just click "Apply" in that new dialog, it works without a problem and seems to apply the correctly changed settings.

If you click only on Apply and close the Settings Dialog afterwards, it will not change the settings. Opening the Settings dialog again will show the old/unchanged settings.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue in opensnitch-ui through Settings > Nodes > General, comparing Apply with Save after changing the default disconnected action and enabling debug invalid connections. Trace the Apply and Save paths and the eBPF load error; done means Apply updates and persists the settings without the opensnitch.o error, including on a freshly opened dialog.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.