Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Conversation tracking in LUA dissector

From: Andreas <AndreasSander1@xxxxxxx>
Date: Sun, 16 Jun 2019 21:15:47 +0200
> I have a protocol with several versions. Dependent on the negotiated
> protocol version at begin of the session the structure of the messages
> is different. While writing C++ dissectors I used the conversation
> member of pktinfo. How can I implement this in a LUA dissector?
> 
> Corresponding to
> https://www.wireshark.org/docs/wsdg_html/#lua_class_Pinfo the pktinfo
> should have a member conversation. But when I try to access it I get an
> error:
> "No such 'conversation' method/field for object type 'Pinfo'
> 
> It looks like there is already an open bug:
>  https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=15396
> 
> Do you have any other idea how to save information of a session?
> 

Is there any workaround for conversations in a LUA dissector?