I have read that in order to obtain information about packets in LUA you have to use taps, but there only a few supported types. I want to have filters for different protocols (ARP, goose, etc) and get their individual Do I have to write a dissector for unsupported protocols? asked 11 May '16, 15:05 13utters edited 19 Jul '16, 10:44 cmaynard ♦♦ |
One Answer:
Have you looked at the Lua postdissectors? In the "Trivial" example provided, if you try to use
When I ran it, it displayed something like this:
If you're only interested in the last protocol in the stack, answered 19 Jul '16, 10:42 cmaynard ♦♦ |
pinfo.curr_proto returns < Missing Protocol Name> for HTTP packets too