opensnitch/daemon/firewall/nftables
Gustavo Iñiguez Goia 26b8415925
force to reestablish non-local connections on start
When we start to intercept connections, we flush out the conntrack
table, to force already established connections reconnect again so we
can intercept them, and let the user choose if allow or deny them.

Since we no longer use conntrack states to intercept TCP connections, we
now close existing connections, leaving to the applications reestablish
them again.
Local connections are excluded, because it may cause problems with some
local servers.

Both options interfere with the established connections, so you may
experience ocasional network interruptions when enabling the
interception for the first time.

Discussion: #995
2023-07-25 01:42:54 +02:00
..
exprs sys fw: allow to use wildcards to match interfaces 2023-07-24 16:11:12 +02:00
nftest tests: better sys-fw log,meta and ip tests 2023-07-12 12:53:13 +02:00
testdata tests: added nftables/system tests 2023-07-01 22:41:04 +02:00
chains.go tests: added new sys fw tests 2023-07-07 00:46:09 +02:00
chains_test.go tests: updated sys fw tests 2023-07-06 14:27:54 +02:00
monitor.go force to reestablish non-local connections on start 2023-07-25 01:42:54 +02:00
monitor_test.go tests: updated sys fw tests 2023-07-06 14:27:54 +02:00
nftables.go sys fw: report errors to the GUI after reloading 2023-07-15 20:32:42 +02:00
parser.go sys,fw: export some internal utils. 2023-07-06 13:36:57 +02:00
rule_helpers.go sys,fw: check for errors when adding ports rules 2023-07-06 17:58:17 +02:00
rules.go force to reestablish non-local connections on start 2023-07-25 01:42:54 +02:00
rules_test.go tests: updated sys fw tests 2023-07-06 14:27:54 +02:00
system.go sys fw: report errors to the GUI after reloading 2023-07-15 20:32:42 +02:00
system_test.go tests: updated sys fw tests 2023-07-06 14:27:54 +02:00
tables.go tests: added new sys fw tests 2023-07-07 00:46:09 +02:00
tables_test.go tests: updated sys fw tests 2023-07-06 14:27:54 +02:00
utils.go sys,fw: export some internal utils. 2023-07-06 13:36:57 +02:00
utils_test.go tests: updated sys fw tests 2023-07-06 14:27:54 +02:00