opensnitch/daemon/procmon/ebpf
Gustavo Iñiguez Goia 871238e07a
on errors stop established conns monitor
There's a long running task that monitors established connections every
~2s.

When a connection is not found via ebpf or proc, sometimes it's found
there so we can use the inode to search for the process.

However on some systems the netlink call to dump the sockets may fail
continuously, wasting resources. It'll also fail if you block connections
to port 0 (common case for ICMP packets).

So if there're too many errors dumpng the sockets, stop this task for
these cases.
2024-01-21 11:13:07 +01:00
..
cache.go structs fields reorganized 2024-01-13 22:15:23 +01:00
debug.go ebpf: improved process detection/new events module 2022-06-24 01:09:45 +02:00
ebpf.go structs fields reorganized 2024-01-13 22:15:23 +01:00
events.go ebpf: fixed getting ppid, skip failed execve's 2024-01-09 11:53:23 +01:00
find.go strings concatenation improvements 2024-01-15 17:44:32 +01:00
monitor.go on errors stop established conns monitor 2024-01-21 11:13:07 +01:00
utils.go misc: changed the level of some messages 2023-05-28 16:23:39 +02:00