Implemented CustomFlowLuaScript.cpp engine

This commit is contained in:
Luca Deri 2022-11-20 20:30:49 +01:00
parent 80db634bfe
commit 309d17b6b8
6 changed files with 209 additions and 20 deletions

View file

@ -0,0 +1,7 @@
function flow_key()
return "[ ".. flow.protocol() .. " ]" .. flow.cli() .. ":" .. flow.cli_port() .. " <-> ".. flow.srv() .. ":" .. flow.srv_port()
end
io.write(flow_key() .. " [bytes: ".. flow.bytes().."]\n")
return(0)