Analyse UDP delay from tcpdump files

0

I have a video streamer (VLC) which is using RTP to stream video to a client. I have captured the packet trace from both the sender and the receiver side using tcpdump separately.

The streaming produces UDP packets. It is possible that some packets are missing/out of order on the receiver side. Assume that the clocks on both the machines are synchronized.

My task is to find the delay between the packets

Q : Is there any tool which can compare both the dump files and generate UDP statistics, specifically delay?

xavier666

Posted 2017-01-22T19:44:07.800

Reputation: 155

Any help? Anyone? – xavier666 – 2017-01-23T11:53:40.890

Answers

0

I had to do it manually. I wrote a python script which

  • extracts the packet from each pcap file (sender and receiver)
  • compares their payload
  • if it's a match and timestamps are causally correct, then delay is calculated
  • If a match is not found over a certain window size (I kept it as 100), the packet is assumed to be lost and we move to the next packet

I did this over the entire pcap file and made an average over all the delays. If somebody wants it, I can share the code.

xavier666

Posted 2017-01-22T19:44:07.800

Reputation: 155

0

Wireshark offers support for RTP Analysis.

See also these RTP-related Wireshark wiki pages: RTP, RTP Statistics.

Christopher Maynard

Posted 2017-01-22T19:44:07.800

Reputation: 386