Wireshark mailing list archives

Re: Get data from previous request packet in subsequent reply packet


From: Richard van der Hoff <rav () faith sw1v org>
Date: Thu, 26 Aug 2010 14:37:03 +0100 (BST)

On Thu, 26 Aug 2010, Frank Lahm wrote:

2010/8/26 Frank Lahm <franklahm () googlemail com>:
Hi list,

I'm trying to find a way to get at data from a previous request packet
in order to correctly dissect the current packet.

Frank,

I only skimmed your code, so it may be that you have this covered already, 
but do remember that your dissector will not always be called with the 
packets in sequential order. (It will be called with each packet in turn 
initially, but will then be called again for each packet the user clicks 
on). So if there's more than one request in the conversation, you need to 
make sure that you are cross-referencing to the right one when dissecting 
responses.

Cheers

Richard
___________________________________________________________________________
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: