Advanced packet dissection with LUA
Now, before moving on to packet dissection, let’s first understand it.
Packet dissection means analyzing a specific part of a data packet, such as TCP or IPv4, that contains multiple dissectors. These are written in old-school C language.
Dissector is simply a protocol parser that helps a lot while troubleshooting network-level packets, especially when all the data is in TCP and it is hard to understand application-level traffic.
So, till now, we have seen packets in readable formats to analyze packet formats, but there is some raw data available that depicts some text-level decryption says data of the application logs, and from there to understand what sort of packet that it is? Or what if we have to introduce a new protocol packet for easy analysis, such as an ECHO packet?
This is where packet dissection comes in very handy to analyze packets at the core level. The following diagram represents packet dissection in simple terms...