eBPF tcp (ipv4) open connection monitoring Compile C sources into eBPF bytecode and generate Go bindings go generate install go install github.com/richardbizik/active-conn run (needs to set memlock rlimit hence we run it as a superuser) sudo active-conn