Top level LUA Objects
The LUA API is built around functions and objects
- The Trisul platform will call functions you write at the appropriate times
- It will make available to you various objects you can use to navigate and access information
- Using some other objects you can inject various information and metrics into Trisul
List of objects
The objects are
-
T– a global table calledTthat contains various utilities and state information -
Buffer– wraps a byte buffer -
Packet– represents a packet which in turn contains many protocol layers -
Layer– a protocol layer -
Engine– the Trisul platform stream engine you can add information to this -
Flow– represents a network flow -
HTTPHeader- methods to work with HTTP Headers -
AC– Utility for multi string matching. Aho-Corasick -
RE2– Utility for Regex. Wraps the Google RE2 library