Wireshark-dev: Re: [Wireshark-dev] Conversation tracking

From: "RUOFF, LARS (LARS)" <lars.ruoff@xxxxxxxxxxxxxxxxxx>
Date: Fri, 11 May 2012 17:33:43 +0200
Hi Tobi, 
I don't understand your concern. (but that may be due to my weird understanding of English)
If those packets are part of the same stream, i.e. they are being identified as belonging to the same conversation (by whatever means, eg adress-port mapping etc.), then the whole point of conversation tracking is that you will get the *same* conversation object for all those packets.
So you can store things in there and retrieve them when dissecting another packet of that same conversation.

Regards,
Lars



________________________________

From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Tobias Weiss
Sent: vendredi 11 mai 2012 16:30
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Conversation tracking



Right now I'm puzzled: I wanted to use conversation tracking in order to save information about the state of the communication across packet dissection. 

The dissector is called completely out of order (which is reasonable) but I get always the same conversation, even when dissecting an older packet than the last one. So saving the state of the communication is completely pointless if the same conversation is used for dissecting random packets. Here is an example just in case you don't understand my possibly weird English ;-) 

I have a stream of 10 packets and something interesting was send in packet number 3. Now I want to save this information in the conversations data in order to reuse it when dissecting future packets. But the dissector is called randomly (which is ok) but always with the same conversation (which is absolutely not ok in this case). 

I simply cannot rely on the saved information. So how am I supposed to use conversation tracking in a sane way (as far as I can see I can't _track_ anything)??? 

Tobi 




Tobias Weiss <tweiss@xxxxxxxxxxxxxxx> 
Sent by: wireshark-dev-bounces@xxxxxxxxxxxxx 

05/10/2012 06:03 PM 
Please respond to
Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>


To
	Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx> 
cc
	
Subject
	Re: [Wireshark-dev] Conversation tracking

	





Section 2.2.3 (The example conversation code using se_alloc'd memory) from the trunk. 

Tobi 




Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx> 
Sent by: wireshark-dev-bounces@xxxxxxxxxxxxx 

05/10/2012 05:59 PM 

Please respond to
Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>

To
	Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx> 
cc
	
Subject
	Re: [Wireshark-dev] Conversation tracking


	






---- On Thu, 10 May 2012 15:54:44 -0600 Tobias Weiss  wrote ---- 

>
>Thanks, this is working just fine. 
> 
>But in that case I suggest an update to README.developer as I copied the buggy source-code from there. 

Which section(s) were you copying the source code from?

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