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 Add option on Tile-Gx for logging for fast.log alerts over PCIe 12 years ago
doc Update docs from wiki 13 years ago
lua output-lua: add SCPacketTimeString 11 years ago
m4
qa prscript: update URL 11 years ago
rules stream: detect and filter out bad window updates 11 years ago
scripts fix regression in 'make distclean' due to commit cd305c3a 12 years ago
src output lua: expose flow logging api 11 years ago
.gitignore unittest: make check use a qa/log dir for logging 13 years ago
.travis.yml travis-ci: use make check 11 years ago
COPYING
ChangeLog Update Changelog for 2.1beta1 11 years ago
LICENSE
Makefile.am make install-full: get correct version of ET 12 years ago
Makefile.cvs
acsite.m4
autogen.sh OpenBSD 5.2 build fixes, Unit test fix. 13 years ago
classification.config
config.rpath Add file needed for some autotools version. 13 years ago
configure.ac lua: improve configure checks 11 years ago
doxygen.cfg doxygen: add source browser 12 years ago
reference.config
suricata.yaml.in streaming-loggers: add configuration 11 years ago
threshold.config threshold: improve comments of shipped threshold.config, add links to wiki. 13 years ago