opensnitch/daemon/firewall
Gustavo Iñiguez Goia 54ac5a3549
fw: allow to configure config file/ check interval
- Allow to configure system firewall configuration file path:
   * via cli (-fw-config-file).
   * via global configuration file.
 - Allow to configure fw rules check interval.

The system fw config file contains regular iptables/nftables rules.
Previously it was hardcoded to /etc/opensnitchd/system-fw.json

The interval to check if the interception rules were added was also
hardcoded to 10 seconds. Now it's possible to configure it.
A value of "0s" disables the interval, while "" defaults to 10 seconds.
2023-12-20 21:32:45 +01:00
..
common fw: allow to configure config file/ check interval 2023-12-20 21:32:45 +01:00
config fw: allow to configure config file/ check interval 2023-12-20 21:32:45 +01:00
iptables fw: allow to configure config file/ check interval 2023-12-20 21:32:45 +01:00
nftables fw: allow to configure config file/ check interval 2023-12-20 21:32:45 +01:00
rules.go fw: allow to configure config file/ check interval 2023-12-20 21:32:45 +01:00