Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The way to make this work is to change the CIGI C dissector to have the packet ID type be a dissector table, and then your Lua dissector could register a particular packet ID number in the locally defined range to a table value.

That's a reasonable enhancement for the dissector,but it would be a lot easier for someone else to implement with a sample file. If you can provide a sample, file an enhancement request at the GitLab project page for Wireshark.

The way to make this work is to change the CIGI C dissector to have the packet ID type be a dissector table, and then your Lua dissector could register a particular packet ID number in the locally defined range to a table value.

That's a reasonable enhancement for the dissector,but it would be a lot easier for someone else to implement with a sample file. If you can provide a sample, file an enhancement request at the GitLab project page for Wireshark.

Please see the following MR which implements a dissector table in the CIGI 3 dissector which will allow you to register a Lua function to one of user defined entries: https://gitlab.com/wireshark/wireshark/-/merge_requests/16580