[Prelude Universal SIM system] #345: prelude-correlator - ERROR: LUA error - attempt to call a nil value
"Prelude Universal SIM system" <[email protected]> Thu, 05 Mar 2009 09:13:35 -0000
| Newsgroups | gmane.comp.security.ids.prelude.devel |
|---|---|
| Message-ID | <[email protected]> |
#345: prelude-correlator - ERROR: LUA error - attempt to call a nil value
--------------------------------------+-------------------------------------
Reporter: jobano | Type: defect
Status: new | Priority: normal
Milestone: Prelude-Correlator 0.9.0 | Component: prelude-correlator
Version: devel | Severity: normal
Keywords: |
--------------------------------------+-------------------------------------
Hi,[[BR]]
[[BR]]
I'm trying to build a new lua rule following the wiki[[BR]]
I'm using debian lenny repo prelude-correlator 0.9.0~beta3-1[[BR]]
[[BR]]
When launching prelude-correlator I got:[[BR]]
{{{
05 Mar 10:00:43 (process:6907) INFO: LUA plugin loaded 6 rulesets.
05 Mar 10:00:43 (process:6907) INFO: Connecting to 127.0.0.1:4690 prelude
Manager server.
05 Mar 10:00:43 (process:6907) INFO: TLS authentication succeed with
Prelude Manager.
05 Mar 10:00:43 (process:6907) ERROR: LUA error on 'test': attempt to call
a nil value. (lua.c:148 lua_run)
05 Mar 10:00:43 (process:6907) ERROR: LUA error on 'test': attempt to call
a nil value. (lua.c:148 lua_run)
05 Mar 10:00:43 (process:6907) ERROR: LUA error on 'test': attempt to call
a nil value. (lua.c:148 lua_run)
}}}
[[BR]]
and my rule test.lua is so basic...[[BR]]
{{{
function my_rule(INPUT)
local classification = INPUT:get("alert.classification.text")
print("*** " .. classification)
end
}}}
Hope it's just a syntax detail !
--
Ticket URL: <https://trac.prelude-ids.org/ticket/345>
Prelude Universal SIM system <http://www.prelude-ids.com>
Prelude Universal SIM system
_______________________________________________
Prelude-devel site list
[email protected]
http://lists.prelude-ids.org/mailman/listinfo/prelude-devel