Wireshark mailing list archives

Re: Conversation tracking in LUA dissector


From: Andreas <AndreasSander1 () gmx net>
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?


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: