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.
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.