This implements a small scripts which parses the ndpi_protocol_ids.h header (which is part of the public API of nDPI) and generates a Lua module with the parsed protocol, service, and content identifiers used by the nDPI library.
Also included there is a version of ndpi/protocol_ids.lua generated using the script, using the header for version 1.6 of nDPI.
This implements a small scripts which parses the
ndpi_protocol_ids.h
header (which is part of the public API of nDPI) and generates a Lua module with the parsed protocol, service, and content identifiers used by the nDPI library.Also included there is a version of
ndpi/protocol_ids.lua
generated using the script, using the header for version 1.6 of nDPI.This tackles issue #2