Wireshark mailing list archives

Conversation tracking in LUA dissector


From: Helge Kruse <Helge.Kruse () gmx net>
Date: Sat, 25 May 2019 18:55:39 +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?

Best regards,
Helge
___________________________________________________________________________
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: