opensnitch/daemon/netlink
Gustavo Iñiguez Goia e5b54f0a6b eBPF: ignore netlink errors if there're no connections
When enabling the eBPF monitor method we dump the active connections,
but in some cases there're no active connections, and because of this
we're failing enabling this monitor method.

If there're no connections established, netlink returns 0 entries. It's
not clear if it's an indication of error in some cases or the expected
result.

Either way:
- fail only if we're unable to load the eBPF module.
- dump TCP IPv6 connections only if IPv6 is enabled in the syste,-
2021-05-29 00:16:18 +02:00
..
socket.go Fix random typos 2020-12-23 13:24:59 -05:00
socket_linux.go eBPF: ignore netlink errors if there're no connections 2021-05-29 00:16:18 +02:00