evilsocket / evilsocket/opensnitch

Rule doesn't work if both regular and regex list of domain are chosen

Open
#1,530 1 comment 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

If both following lists are set then the entire rule is ignored
```
To this list of domains
```
```
To this list of domains (regular expressions)
```
- OpenSnitch version: 1.8.0
- OS: Fedora
- OS version: 43
- Window Manager: GNOME
- Kernel version: Linux 6.18.9-200.fc43.x86_64

Steps to reproduce the behavior:
1. Create a rule to whitelist connections:
- Enable
- Priority rule
- Allow
- From the executable (e.g. /app/grayjay/.*)
- is regular expression `true`
- Set folder for `To this list of domains`
- Set folder for `To this list of domains (regular expressions)`
2. Create a rule blocking all the rest
3. Now all requests are blocked by second rule

### Expected behavior (optional):
URLs mentioned in both folders work

### Additional context:
Worth to mention:
- rules are in separate folders
- both lists work if set one w/o another

Suggestion:
I understand making both rules work most likely is not that demanding, but if **UI could notify me** - say, by disabling one list when the other is selected—that would save me time.

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.