opensnitch/daemon
Gustavo Iñiguez Goia d31c4e86bf
fixed adding interception rule on some kernels
On some kernels (4.19), adding the interception rule to the
inet-mangle-output chain failed.

According to the nftables wiki, the mangle-output chain have (must?) to
be of type Route:
"route type: ... mangle table ... for the output hook (for other
hooks use type filter instead)."

https://wiki.nftables.org/wiki-nftables/index.php/Configuring_chains#Base_chain_types

So if we fail adding the interception rule, we retry it with type Filter
instead of Route.

Related: #781 , ced9a24
2023-01-04 21:44:46 +01:00
..
conman find connections with connection fields swapped 2022-12-20 17:16:20 +01:00
core Bump ui and daemon versions to 1.6.0rc4 2022-12-22 10:20:36 +01:00
dns centralized ebpf modules loading 2022-11-18 20:38:52 +01:00
firewall fixed adding interception rule on some kernels 2023-01-04 21:44:46 +01:00
log loggers: improved remote_syslog logging 2022-05-25 17:46:27 +02:00
netfilter improvements to ui, ebpf, netfilter 2022-12-23 14:39:49 +01:00
netlink added initial support for ICMP and SCTP 2022-12-18 00:41:06 +01:00
netstat updated import paths 2020-12-09 18:18:42 +01:00
procmon improvements to ui, ebpf, netfilter 2022-12-23 14:39:49 +01:00
rule sys fw: added option to filter by MAC 2022-10-23 11:36:51 +02:00
statistics improvements to ui, ebpf, netfilter 2022-12-23 14:39:49 +01:00
ui sys fw: allow to change fw type from the GUI 2022-12-16 17:03:36 +01:00
.gitignore daemon -> opensnitchd (ref #118) 2018-04-10 18:38:04 +02:00
default-config.json added way to send events to syslog 2022-05-17 16:28:59 +02:00
go.mod bump nftables dependency version, packaging changes 2022-05-04 18:36:50 +02:00
Gopkg.toml fix: calling ftrace probe Reset in order to start from a clean state (fixes #159) 2018-04-18 02:00:12 +02:00
main.go sys fw: allow to change fw type from the GUI 2022-12-16 17:03:36 +01:00
Makefile daemon/Makefile: improvements to make distro packaging easier (#780) 2022-12-21 10:35:52 +01:00
opensnitchd.service systemd service: wait 10s to stop, otherwise kill daemon 2022-10-27 17:53:42 +02:00
system-fw.json better errors, fixed default sys fw conf 2022-12-16 17:09:37 +01:00