Actions
Task #7486
openlua: turn flowvars into lib
Effort:
Difficulty:
Label:
Description
Turn flowvars into a proper lua lib implementation.
local flowvar = require “suricata.flowvar”
function thread_init
-- translates name into a handle (so really an ID)
myvar = flowvar.get("my special name")
end
function match
-- get data for handle
flowvar_data = myvar:data()
-- some inspection of flowvar_data
end
Actions