opensnitch/daemon/procmon
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
..
audit improved monitor method switching (audit) 2021-03-30 01:13:02 +02:00
ebpf on errors stop established conns monitor 2024-01-21 11:13:07 +01:00
monitor allow to configure ebpf modules path 2024-01-08 23:49:36 +01:00
activepids.go strings concatenation improvements 2024-01-15 17:44:32 +01:00
activepids_test.go ebpf: improved process detection/new events module 2022-06-24 01:09:45 +02:00
cache.go strings concatenation improvements 2024-01-15 17:44:32 +01:00
cache_test.go cache of PIDs: added new tests, fixed rare crash 2021-08-11 14:19:43 +02:00
details.go strings concatenation improvements 2024-01-15 17:44:32 +01:00
find.go strings concatenation improvements 2024-01-15 17:44:32 +01:00
find_test.go cache improvements 2021-03-19 19:05:45 +01:00
parse.go lower error message to debug 2023-02-22 23:07:11 +01:00
process.go structs fields reorganized 2024-01-13 22:15:23 +01:00
process_test.go ebpf: improved process detection/new events module 2022-06-24 01:09:45 +02:00