opensnitch/daemon/procmon/ebpf
Gustavo Iñiguez Goia 8895d6f024
disable (process) ebpf events when to many errors
if an invalid opensnitch-procs.o module was loaded, we were flooding
the log with errors.
In these cases stop processing events after 20 errors (random, we should
have no errors).

This may occur if the module is malformed (valid .o ebpf module but
different structs, etc), or when loading modules from other versions.

(cherry picked from commit 0a911ef791)
2024-06-12 23:58:10 +02: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 disable (process) ebpf events when to many errors 2024-06-12 23:58:10 +02: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