Project

General

Profile

Actions

Task #7486

open

lua: turn flowvars into lib

Added by Victor Julien 5 days ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
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


Related issues 3 (3 open0 closed)

Related to Suricata - Optimization #4753: lua: fix inconsistency in the init "needs" keyNewJason IshActions
Related to Suricata - Task #7487: lua: turn flowints into libNewOISF DevActions
Blocks Suricata - Story #7128: lua: sandboxed lua support with mimimum set of bindingsNewVictor JulienActions
Actions #1

Updated by Victor Julien 5 days ago

  • Blocks Story #7128: lua: sandboxed lua support with mimimum set of bindings added
Actions #2

Updated by Victor Julien 5 days ago

Actions #3

Updated by Victor Julien 5 days ago

  • Related to Task #7487: lua: turn flowints into lib added
Actions

Also available in: Atom PDF