opensnitch/daemon/procmon
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
..
audit improved monitor method switching (audit) 2021-03-30 01:13:02 +02:00
ebpf disable (process) ebpf events when to many errors 2024-06-12 23:58:10 +02: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