opensnitch/daemon/rule
Gustavo Iñiguez Goia 211c864d76
allow to configure rules and config file paths
- Added cli option -config-file to specify an alternate path to the
   config file.
 - Allow to configure rules path from the configuration file (cli option
   takes precedence).
 - Default options are now /etc/opensnitchd/rules and
   /etc/opensnitchd/default-config.json. Previously the default rules
   directory was "rules" (relative path).

Closes #449
2023-12-17 00:22:07 +01:00
..
testdata rules: improved operator list parsing and conversion 2023-10-09 14:55:15 +02:00
loader.go allow to configure rules and config file paths 2023-12-17 00:22:07 +01:00
loader_test.go updated rules tests 2023-10-09 18:07:48 +02:00
operator.go getparents code reorganization 2023-10-04 00:58:17 +02:00
operator_lists.go rules: added more lists types to block/allow 2021-09-18 00:17:58 +02:00
operator_test.go updated rules tests 2023-09-22 01:21:27 +02:00
rule.go fixed leak serializing rules' operator 2023-12-09 19:06:40 +01:00
rule_test.go deserialize rules operator list correctly 2023-11-11 02:16:08 +01:00