Wireshark-dev: Re: [Wireshark-dev] Handling TCP packets reordering

From: Mikko Saarnivala <mikko.saarnivala@xxxxxxxxxxxxx>
Date: Wed, 04 May 2011 14:16:55 +0300
Oon perjantaina toimistolla.

Mikko

Max Dmitrichenko <dmitrmax@xxxxxxxxx> 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@xxxxxxxxxxxxx>
>Archives:    http://www.wireshark.org/lists/wireshark-dev
>Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>         mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.