Appid is a passive application protocol identification library that implements a state machine for efficient pattern matching of regex-like application content signatures.
It uses the excellent Ragel finite state machine compiler to compile multiple patterns into a single combined machine for one-pass evaluation of a given input stream.
For more information about the signature format, library internals, and general hacking, see the HACKING file in this distribution.
Appid is an open-source contribution of Arbor Networks' technology to the community many of its developers came from.