evilsocket / opensnitch

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

[Bug] Missing Rule Still Displayed In UI #1056

Closed hbednar closed 8 months ago

hbednar commented 8 months ago

Describe the bug After doing a review of rules and deleting the ones that are no longer needed, i got the below error when trying to delete one. As this is an old rule it may have been deleted and for some reason is still showing in the UI.

Include the following information:

To Reproduce I found this out by accident when trying to delete a rule but, it may also happen when editing a rule that's missing.

Post error logs: 2023-55

gustavo-iniguez-goya commented 8 months ago

Hi @hbednar ,

Thank you for reporting this problem. I've managed to reproduce an (old) issue that was preventing rules from being refreshed. As the list of rules was not refreshed, when you clicked on an already deleted rule, the error you posted was usually displayed to the user.

With this fix this error should happen anymore. But if you apply the fix, or reproduce it again with the next release, please, reopen this issue.

Thank you!

hbednar commented 8 months ago

@gustavo-iniguez-goya Thank you for having a look into this, for info when does opensnitch refreshed the rule list.