This example shows how to use the 12Sided Capture Environment's Lua packet processing API to:
- Consume packets from the inbound packet queue
- Handle the payload/contents of the message
- Act on the contents to update state
- Pass a summary message on to the output message queue.
This example is not necessarily fit for production use, since it has not been sufficiently thoroughly tested. Rather, this is solely intended to act as a demonstration of the various components of the Lua packet processing API.
Contact support to get access to the Lua Packet Processing environment tutorial and documentation, as well as the foundation libraries.