opensnitch/daemon/firewall
Gustavo Iñiguez Goia dd39fe3060
make connections flushing configurable
By default when adding the interception rules, we were killing all
existing connections, to force them go to the netfilter queue.

However in some environments this is not acceptable, so now it's configurable.

Besides, we were doing this only for nftables, so now it also works for
iptables.

This option will only take effect if FlushConnsOnStart is true, and the
user has (re)configured the ProcMonitorMethod option (typically on
start, or when changing it manually).

cherry picked from commits:
  8e9c1d2178
  8935bfe6b0

related commits:
  661e3da48f
  1e6d2d464b
2025-04-25 23:48:11 +02:00
..
common sys fw: report errors to the GUI after reloading 2023-07-15 20:32:42 +02:00
config structs fields reorganized 2024-01-13 22:15:23 +01:00
iptables structs fields reorganized 2024-01-13 22:15:23 +01:00
nftables make connections flushing configurable 2025-04-25 23:48:11 +02:00
rules.go sys fw: report errors to the GUI after reloading 2023-07-15 20:32:42 +02:00