Add tcp process detection with ebpf

This commit is contained in:
Vladimir Stoilov
2023-06-07 16:36:44 +03:00
parent efe8cd2fda
commit 0caa3e792c
16 changed files with 127082 additions and 5 deletions

View File

@@ -13,6 +13,8 @@ type Info struct {
Protocol IPProtocol
SrcPort, DstPort uint16
Src, Dst net.IP
PID uint32
}
// LocalIP returns the local IP of the packet.