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

asked 2018-05-18 21:24:59 +0000

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

edit retag flag offensive close merge delete

Comments

What's the link layer type of your pcap file?

cmaynard gravatar imagecmaynard ( 2018-05-21 13:57:25 +0000 )edit