evilsocket / evilsocket/opensnitch

[Bug Report] Rule expiry is not honored after suspend and resume

Open
#1,663 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:
After a rule is created with the duration of X number of hours, and the device goes on standby, the rule remains in effect if the device is resumed after a longer period of time than X.

Include the following information:
- OpenSnitch version: 1.8.0
- OS: Fedora
- OS version: 43
- Window Manager: MATE
- Kernel version: Linux localhost 6.19.14-200.fc43.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 23 17:34:07 UTC 2026 x86_64 GNU/Linux

### To Reproduce:

Steps to reproduce the behavior:
1. Access whatever address that will throw the rule creation request.
2. Set the rule to expire after X many hours.
3. Standby the device.
4. Resume the device after longer than X many hours
5. See that the rule is still in effect

### Post error logs:

### Expected behavior (optional):
The rule expiry should be checked and applied correctly

### Screenshots:

### Additional context:

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.