Counting TCP retransmissions

Issue

I would like to know if there is a way to count the number of TCP retransmissions that occurred in a flow, in LINUX. Either on the client side or the server side.

Solution

You can see TCP retransmissions for a single TCP flow using Wireshark. The “follow TCP stream” filter will allow you to see a single TCP stream. And the tcp.analysis.retransmission one will show retransmissions.

For more details, this serverfault question may be useful: https://serverfault.com/questions/318909/how-passively-monitor-for-tcp-packet-loss-linux

Answered By – Christian Hudon

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published