[nwebe] How to track TCP socket variables? (cwnd, ssthresh)
Knocke
knockefreebsd at o2.pl
Sat Apr 10 04:23:26 PDT 2004
Hi!
I'm about to get a bit deeper into TCP world, recently experienced a problem - I need to have a real-time image of actual active TCP socket state, its most important variables like: cwnd, ssthresh, S and R windows, etc,
I thought I'd be possible to see using tcpdump, but as far as I know it;s only a packet dumper based on datalink layer, so it knows nothing about current machine's socket states. I've been searching the Internet for a quite long time, and couldn't find anything smarter than different packet analysers etc.
Could somebode give me hint what to do? Is there any tool to connect to existing TCP socket and dump its state per each segment sent or received? Or any other way to achive the goal? It could be also a kind of dedicated benchmark tool (lice ttcp) that comes togehter with what i need, I don't necesarly need to track existing sshd or apache owned sockets.
kh
More information about the freebsd-net
mailing list