evilsocket / opensnitch

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

opensnitch-ui default options not being saved #1176

Closed odomingao closed 4 days ago

odomingao commented 1 month ago

Describe the bug I tried to change the default duration of the action to "once" rather than "until reboot", however the setting does not save

Include the following information:

To Reproduce Describe in detail as much as you can what happened.

Steps to reproduce the behavior:

  1. Change the default option from "until reboot" to "once"
  2. Save/apply
  3. Close opensnitch-ui
  4. Open opensnitch-ui
  5. Verify that the change was not saved

Expected behavior (optional) The settings to be saved and retained after the application is closed

gustavo-iniguez-goya commented 5 days ago

hi @odomingao ,

Where did you change this option? on the Preferences->Nodes tab, or from a popup?

odomingao commented 5 days ago

From the preferences menu, yes.

gustavo-iniguez-goya commented 4 days ago

Ok, thank you.

That daemon option is not used right now. I removed the hability to configure it from the GUI on v1.7.0 (master branch). The one that can be configured from Preferences -> Nodes tab, the option from Preferences -> Pop-ups tab is valid.

The DefaultAction configured is used when there's no GUI connected, or when the user takes no action on a pop-up, or when we're already asking the user to take an action.

But the DefaultDuration is not used.