Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine developed by the OISF and the Suricata community.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Victor Julien 46ac85dea6 output lua: expose flow logging api
Allow use of the Flow Logging API through Lua scripts.

Minimal script:

function init (args)
    local needs = {}
    needs["type"] = "flow"
    return needs
end

function setup (args)
end

function log(args)
    startts = SCFlowTimeString()
    ipver, srcip, dstip, proto, sp, dp = SCFlowTuple()
    print ("Flow IPv" .. ipver .. " src " .. srcip .. " dst " .. dstip ..
            " proto " .. proto .. " sp " .. sp .. " dp " .. dp)
end

function deinit (args)
end
11 years ago
benches
contrib
doc
lua output-lua: add SCPacketTimeString 11 years ago
m4
qa
rules stream: detect and filter out bad window updates 11 years ago
scripts
src output lua: expose flow logging api 11 years ago
.gitignore
.travis.yml
COPYING
ChangeLog Update Changelog for 2.1beta1 11 years ago
LICENSE
Makefile.am
Makefile.cvs
acsite.m4
autogen.sh
classification.config
config.rpath
configure.ac lua: improve configure checks 11 years ago
doxygen.cfg
reference.config
suricata.yaml.in streaming-loggers: add configuration 11 years ago
threshold.config