Ethereal-dev: Re: [Ethereal-dev] [patch] stun dissector

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Martin Regner" <martin.regner@xxxxxxxxx>
Date: Mon, 17 Jan 2005 21:05:29 +0100
Jon Ringle wrote:
> I took a look at the capture, and it seems to me that the problem is that 
> ethereal can't handle having multiple conversations across time that happen 
> to use the same src/dest tuple.
> 
> I am quite new to the ethereal source code, so my understanding of it is a bit 
> limited right now, but it looks like this might be resolved globally by 
> changing the conversation_t structure to include the frame number of the 
> packet that created a conversation. Then in the find_conversation() function 
> add a parameter that passes in the frame number of the currently dissecting 
> packet, and find the conversation that has the largest frame number in the 
> conversation_t structure, but smaller than the current dissecting frame 
> number. This would allow multiple conversations to be registered that happen 
> to use the same src/dest tuple within the same capture.
> 

Yes, there has been discussions about changing the conversation code to indicate
start/stop. Besides that you would need to do chnges in SDP/H.245 dissectors. 
For H.245 you would need to match OpenLogicalChannel message with the
OpenLogicalChannelAck and so on ...
It's possible to do it, but maybe not so easy...