Ask Your Question

Revision history [back]

Apply protocol when start frame is recognized

Hello everybody!

I made a dissector in lua for a custom protocol. I can apply my dissector when it recognizes the port it is registered to.

Now I have a PCAP trace file with only the no., timestamp, length and data.

The data always starts with a specific hex byte ("0x2F"). How can I apply my dissector on this data? Is there a way to let it recognize this specific start frame?

Kind regards, Tom