Hi I've currently got a problem where traffic is being delivered out of sequence over an MPLS link. The traffic is UDP and the only way that I can see the OOS packets is by the IP Identification field. However as the link is a WAN link and the problem is intermitent then there is a lot a lot of traffic to work through. Therefore does anyone now how to apply a display filter that will identify any OOS packets based on the IP Identification number? Any thoughts appreciated. Thanks Malcolm asked 14 Jun '13, 03:36 Malcolm edited 15 Jun '13, 20:11 grahamb ♦ |
3 Answers:
If I get you right, you want to have a display filter for packets having OOS IP ID right? I'm not aware of anything like that due to wireshark being unable to filter for something like "ip.id < (lastframe ip.id)" or other conditional stuff. As a quick workaround for those cases, I always filter for the source IP I'm interested in, apply a coloumn for IP ID in that case -> and export the whole bunch to a .csv file. With this one you can use e.g. excel to quickly build a "delta" coloumn for IP IDs, displaying the difference to the line above and by that spot OOS very quickly. answered 14 Jun '13, 04:16 Landi |
A Lua script might be able to do that. Or tshark with some cli-fu:
Running this on an UDP trace I have results in output like this:
Of course if you have multiple sessions in your trace, you either need to do some session housekeeping in awk or you can loop over all sessions with a little script. answered 14 Jun '13, 04:46 SYN-bit ♦♦ edited 14 Jun '13, 04:47 |
Either use one of the already mentioned methods (@Landi or @SYN-bit), or capture at both sides of the MPLS (you just need the IP header, not the full payload), then run tshark (command below) and compare the tshark output with diff (Linux) or WinMerge (OpenSource Windows tool).
Then compare the files site-a.txt and site-b.txt.
Or use WinMerge on Windows. Regards answered 14 Jun '13, 04:56 Kurt Knochner ♦ edited 14 Jun '13, 06:28 |
Hi
Thanks for your responses. I used the CSV approach and exported it excel and then looked for differences and it worked really well.
Thanks again for your help.
Malcolm
If a supplied answer resolves your question can you please "accept" it by clicking the checkmark icon next to it. This highlights good answers for the benefit of subsequent users with the same or similar questions.