I need to analyze packet loss bursts in TCP streams. Given a number X a packet lost burst is when more then X consecutive packets got lost. So I have a pcap file and need to count how many bursts there were and what was the duration of each. Tried Tshark but the output is by seconds.
Is there a toll or a script? should I change Tshark code?