Create a User Access Table from LUA

asked 2020-10-27 16:58:17 +0000

Cilyan gravatar image

This is possibly rather a feature request.

Is it possible to register a UAT from LUA?

Use case: I'm writing a dissector that can register on multiple UDP ports. Depending on the port, it will search for a magic, extract a header and delegate the decoding of the payload to the protobuf dissector configured with a specific message type. I would have liked to let the user define several entries with UDP port (range)/magic to search/message type.

It seems that a UAT would have been perfect as a UI for this, but doesn't seem to be available from LUA. Alternative would be to have a csv-like string as pref (ugly for the user, but easy to implement), or create a C plugin (increases the complexity and dev time a lot).

edit retag flag offensive close merge delete

Comments

Wireshark Protobuf dissector supports UDP port(range) and message type UAT, please refer to https://gitlab.com/wireshark/wireshar...

Skison gravatar imageSkison ( 2020-11-20 11:08:29 +0000 )edit