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