this uses ebpf btw, nix-based, might suit your purpose https://github.com/0xB10C/peer-observer
yeah I already forked that into bitcointap, which is a bit simpler to use imo
Please Login to reply.
here's what a bitcointap script looks like: