mirror of https://github.com/OISF/suricata
cybersecurityidsintrusion-detection-systemintrusion-prevention-systemipsnetwork-monitornetwork-monitoringnsmsecuritysuricatathreat-hunting
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.
Support TLS in lua output scripts (Feature #1568). function init (args) local needs = {} needs["protocol"] = "tls" return needs end function setup (args) filename = SCLogPath() .. "/" .. "lua_tls.log" file = assert(io.open(filename, "a")) end function log (args) ts = SCPacketTimeString() ipver, srcip, dstip, proto, sp, dp = SCFlowTuple() version, subject, issuer, fingerprint = TlsGetCertInfo(); if version == nil then return 0 end file:write(ts .. " " .. srcip .. ":" .. sp .. " -> " .. dstip .. ":" .. dp .. " TLS: " .. "Subject='" .. subject .. "' " .. "Issuerdn='" .. issuer .. "\n") file:flush() end function deinit (args) file:close(file) end |
11 years ago | |
|---|---|---|
| benches | ||
| contrib | 11 years ago | |
| doc | 11 years ago | |
| lua | 12 years ago | |
| m4 | ||
| qa | 11 years ago | |
| rules | 11 years ago | |
| scripts | 11 years ago | |
| src | 11 years ago | |
| .gitignore | 13 years ago | |
| .travis.yml | 12 years ago | |
| COPYING | ||
| ChangeLog | 11 years ago | |
| LICENSE | ||
| Makefile.am | 11 years ago | |
| Makefile.cvs | ||
| acsite.m4 | ||
| autogen.sh | 14 years ago | |
| classification.config | ||
| config.rpath | 13 years ago | |
| configure.ac | 11 years ago | |
| doxygen.cfg | 12 years ago | |
| reference.config | 11 years ago | |
| suricata.yaml.in | 11 years ago | |
| threshold.config | 14 years ago | |