Ask Your Question

Revision history [back]

Is there a simple LUA script as an example for simple pcaps?

Hi, I am very much a newbie to dissectors (though a longtime user of WireShark and LUA).

I have a tool that records a simple serial protocol (3 to 7 bytes - the first byte being a device address the rest being device data) as a pcap file. There are NO UDP/TCP/USB headers.

I have played about with a couple of LUA dissectors, but they assume the data is preceded by a UDP/TCP header and work well with the appropriate pcap file.

Is there an example of a LUA script that I might use to figure out how to do this?

TIA Dave