Packet filtering in Lua

“pflua is a high-performance network packet filtering library written in Lua. It supports filters written in pflang, the filter language of the popular tcpdump tool. It’s really fast: to our knowledge, it’s the fastest pflang implementation out there, by a wide margin…”

https://github.com/Igalia/pflua