Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Create a User Access Table from LUA

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).