opensnitch/daemon/rule
Gustavo Iñiguez Goia ae9aa40c37
deserialize rules operator list correctly
In b93051026e we disabled sending/parsing
list operators as JSON strings. Instead, now it's sent/parsed as
protobuf Rule, and saved to disk as JSON array, which ease the task of
manually creating new rules if needed.

This change was missing in the previous commit.

(cherry picked from commit 2fc9ed276b)
2024-06-21 14:35:15 +02:00
..
testdata rules: improved operator list parsing and conversion 2024-06-21 11:38:46 +02:00
loader.go rules: improved operator list parsing and conversion 2024-06-21 11:38:46 +02:00
loader_test.go updated rules tests 2024-06-21 14:11:54 +02:00
operator.go rules: fixed typo checking proc arguments 2024-01-15 21:56:55 +01:00
operator_lists.go rules: added more lists types to block/allow 2021-09-18 00:17:58 +02:00
operator_test.go rules: added operator unit tests 2022-01-27 00:17:46 +01:00
rule.go deserialize rules operator list correctly 2024-06-21 14:35:15 +02:00
rule_test.go deserialize rules operator list correctly 2024-06-21 14:35:15 +02:00