Wireshark mailing list archives

Re: Handling TCP packets reordering


From: Mikko Saarnivala <mikko.saarnivala () sensinode com>
Date: Wed, 04 May 2011 14:16:55 +0300

Oon perjantaina toimistolla.

Mikko

Max Dmitrichenko <dmitrmax () gmail com> wrote:

Hi!

I'm continue to write dissector for an encrypted protocol. Everything
works fine until I receive an out-of-order TCP segment, i.e. previous
was lost.
Since I'm trying to decrypt it, I fail with it and break the whole
decryption context. Is there any way to:
1) Detect that this packet is out of order in given conversation?
2) Ask the TCP dissector to feed this packet later again when all
previous segments will be retransmitted?

And as far as I understand, there can be a situation when packet is
duplicated. This should be handled too. How?

--
 Max
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
        mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: