evilsocket / evilsocket/opensnitch

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

Đang mở
#1,663 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
14.1k
Fork
665
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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:

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Reproduce the issue with the listed steps, using the opensnitchd daemon and checking /var/log/opensnitchd.log for relevant behavior. Start by tracing how rule expiry is handled across standby and resume; done means a rule created for X hours is no longer effective after resuming beyond X hours.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
linux, python
Lĩnh vực
networking, security
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
68/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.