This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Hello All,

I am working on a capture with UDP packet, as a part of problem isolation i need to find if there are any duplicate packets or packet loss. Concerned traffic is passing through multiple service provider / MPLS links and I have sniffer traces from Server as well as Client to conclude on this as we cannot have service provider end sniffer traces for sure :-).

Since concerned application is running on UDP the only way I can think to compare captures is with IP Identification field. I have already noticed that its not been changed by firewall in between.

Here are my queries.

  1. Is there a way to find out HOW MANY PACKETS and WHICH ONE are been sent across with same IP identification number in the capture? Please note, there are no fragmentation i have already checked that using ip.flags.mf==1. So, if there are packets with same identification filed we can conclude there are duplicate packets in network for that source and destination. Once we get the concerned IP.id we can apply filter and conclude on which one and after what duration, after some bps, or tailoring etc etc.

  2. After going through to close to few thousands packet i can notice that IP Identification filed is getting incremented as 1 on every packet like 18700, 18701 etc. I have analyzed that by creating a column. Now I would like to know is there a way to check if any specific IP ID is missing in capture.

I am open to run script if needed.

Regards,

-Deepak

This question is marked "community wiki".

asked 17 Jul '11, 09:34

Deepak's gravatar image

Deepak
31225
accept rate: 25%


(1) could probably be solved using MATE. As an example, this is a MATE "script" I used to use to detect SCTP retransmissions (that is, multiple packets with the same TSN number):

   Pdu sctp_pdu Proto sctp Transport ip {
            //Extract addr From ip.addr;
            //Extract port From sctp.port;
            Extract vtag From sctp.verification_tag;
            Extract tsn From sctp.data_tsn;
            //Extract sctp_chunk From sctp.chunk_type;
    };

    Gop sctpretrans On sctp_pdu Match (vtag, tsn) {
            Start();
            Stop(never);
    };

    Done;
permanent link

answered 19 Jul '11, 10:08

JeffMorriss's gravatar image

JeffMorriss ♦
6.2k572
accept rate: 27%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×178
×7

question asked: 17 Jul '11, 09:34

question was seen: 7,261 times

last updated: 19 Jul '11, 10:08

p​o​w​e​r​e​d by O​S​Q​A