]> git.ipfire.org Git - thirdparty/suricata.git/commit
output-lua: packet logger support
authorVictor Julien <victor@inliniac.net>
Thu, 20 Feb 2014 08:36:16 +0000 (09:36 +0100)
committerVictor Julien <victor@inliniac.net>
Fri, 15 Aug 2014 11:58:25 +0000 (13:58 +0200)
commitb60e28e1a492bd9f49d44cdb5fa34373624421cd
treedff7016093406796b834419f51a24302ad9a081e
parent0bd4b9beca02fc9c29270953bd84a2aa63fe22aa
output-lua: packet logger support

Through 'needs' the script init function can indicate it wants to
see packets and select a condition function. Currently only alerts
is an option:

    function init (args)
        local needs = {}
        needs["type"] = "packet"
        needs["filter"] = "alerts"
        return needs
    end
src/output-lua.c