opensnitch/daemon/rule
Gustavo Iñiguez Goia 2a68561557
exclude disabled rules from the active rules
Disabled rules were part of the active rules. The fields were not
evaluated, but we still went through the entire list.

Not adding them to the list of active rules improves matching time,
especially when there're a lot of disabled rules.

It mainly affected when matching rules that were non-priority or
ordered alphabetically, with action Allow.
2025-02-08 15:12:11 +01:00
..
testdata rules: improved operator list parsing and conversion 2023-10-09 14:55:15 +02:00
loader.go exclude disabled rules from the active rules 2025-02-08 15:12:11 +01:00
loader_test.go exclude disabled rules from the active rules 2025-02-08 15:12:11 +01:00
operator.go allow to use lists of md5s to block connections 2025-01-24 00:47:02 +01:00
operator_lists.go allow to use lists of md5s to block connections 2025-01-24 00:47:02 +01:00
operator_test.go updated rules tests 2023-09-22 01:21:27 +02:00
rule.go fixed loading rules when Created field is a timestamp 2024-06-10 23:54:54 +02:00
rule_test.go deserialize rules operator list correctly 2023-11-11 02:16:08 +01:00