SUSE / linux-security-sensor

Linux security sensor
Other
18 stars 9 forks source link

tcpsnoop: remove unused filtering code #100

Closed djoreilly closed 6 months ago

djoreilly commented 7 months ago

There is code to filter in connections by pid, uid and an array of local ports. But the global variables for these are not being set from userspace, so the code is never used and can be removed.

Removing the filter_ports array also fixes the 500+ line BTF load error warning that spams the log.