Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Comparing two Wireshark capture files

I want to use iperf to send some packets and receive the same at the client (which might have gone through different OSI layer processings). I want to check the packets sent are same as the received ones.

  1. Can I use Wireshark to capture the streams?
  2. Is there any way to compare them with the wireshark?

Or is there any other better way of doing this?

like image 444
pdk Avatar asked Sep 28 '11 16:09

pdk


1 Answers

You can use Wireshark to perform the capture, select the packets of each stream and export to text files (one per stream):

File -> Export -> as "Plain Text" file:
    - Check "Selected packet only"
    - Check "Packet summary line"
    - Check "Packet details: All expanded"

Then perform the diff with regular text tools as gnu diff, WinMerge or gvimdiff.

like image 196
mMontu Avatar answered Jan 23 '23 12:01

mMontu