I need to watch for new connections accept() TTL and collect them for further investigation.
tcpdump can show TTL for packets, but can't show only accept() connections. I've tried iovisor/bcc and tcpaccept is doing well, but doesn't show TTL.
Cloudflare has great post about extracting TTL from connection, but it works only with socket you've created.
Does anybody know how make this right?
UPDATED: not accept() but inet_csk_accept()