| Main Archive Page > Month Archives > snort-devel archives |
Hi,
I was trying to write some analyze stuff with LUA on snortsp platform.
If you take a look at snort.lua you'll find that the function lsniff is
commented.
-- This function will instantiate a data source and an engine, link
This line inside the function:
eng.lua_setup("e3", "/etc/snort_funcs.lua", "lua_analyzer")
include the lua file /etc/snort_funcs.lua where you can set callbacks to
analyze packets.
But if you uncomment the lsniff function and try to execute it inside
snortsp:
/etc/snortsp/snort.lua:90: attempt to call field 'lua_setup' (a nil value)
It seems that lua_setup is not yet implemented, I can't find it at platform/engine_manager.c
Is there a way to set callbacks to analyze traffic with LUA?
Maybe it isn't implemented yet....
Regards
--
Jaime Blasco
www.ossim.com
www.alienvault.com
Email: jaime.blasco@alienvault.com