Wireshark-dev: Re: [Wireshark-dev] Dissector development- Problem with Conversation
First, regarding your example: A= Master, B= Slave
… in both cases you depict A -> B (Master to slave)
communication. I think you meant: A= Master, B= Slave
Anyway, rather than using A, B, etc., I’d rather
illustrate conversations with IP:PORT. For example, for a “normal”
conversation, you have this: IP1:PORT1 -------> IP2:PORT2 (Master to Slave) IP1:PORT1 <------- IP2:PORT2 (Slave to Master) Given that, I’m not sure if the following will work for
you or not, but Wireshark conversations allow you to do the following and still
count this as a single conversation: IP1:PORT1 -------> IP_ANY:PORT_ANY IP1:PORT1 <------- IP_ANY:PORT_ANY In your example below, C is the common component of the “conversation”
and is therefore represented above as the IP1:PORT1
pair. In other words, if any host sends a message to C, that must be the 1st
half of the conversation (i.e., the request), and if C sends a message to any
other host, that must be the 2nd half of the conversation (i.e., the
reply). You will need to look into the options argument to conversation_new(), in
particular NO_ADDR2 and NO_PORT2. Either/Both may help you here. Refer to doc/README.developer
section 2.2.2 for more details. - Chris P.S. It should be noted that I do not have much practical
experience with conversations myself, so the above advice should be taken with
a grain of salt. From:
wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Sumit Kalsait
CONFIDENTIALITY NOTICE: The contents of this email are confidential and for the exclusive use of the intended recipient. If you receive this email in error, please delete it from your system immediately and notify us either by email, telephone or fax. You should not copy, forward, or otherwise disclose the content of the email. |
- References:
- [Wireshark-dev] Dissector development- Problem with Conversation
- From: Sumit Kalsait
- [Wireshark-dev] Dissector development- Problem with Conversation
- Prev by Date: Re: [Wireshark-dev] Reassemble packets decoding - not proper
- Next by Date: [Wireshark-dev] buildbot failure in Wireshark (development) on Ubuntu-7.10-x86-64
- Previous by thread: [Wireshark-dev] Dissector development- Problem with Conversation
- Next by thread: [Wireshark-dev] frame_data.abs_ts and pcap timestamp reference
- Index(es):