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.
To support the 'eve-log' idea, we need to be able to force all log modules to be enabled by the master eve-log module, and need to be able to make all logs go into a single file. This didn't fit the API so far, so added the sub-module concept. A sub-module is a regular module, that registers itself as a sub- module of another module: OutputRegisterTxSubModule("eve-log", "JsonHttpLog", "http", OutputHttpLogInitSub, ALPROTO_HTTP, JsonHttpLogger); The first argument is the name of the parent. The 4th argument is the OutputCtx init function. It differs slightly from the non-sub one. The different is that in addition to it's ConfNode, it gets the OutputCtx from the parent. This way it can set the parents LogFileCtx in it's own OutputCtx. The runmode setup code will take care of all the extra setup. It's possible to register a module both as a normal module and as a sub- module, which can operate at the same time. Only the TxLogger API is handled in this patch, the rest will be updated later. |
11 years ago | |
---|---|---|
benches | ||
contrib | ||
doc | ||
m4 | ||
qa | 11 years ago | |
rules | 11 years ago | |
scripts | ||
src | 11 years ago | |
.gitignore | ||
COPYING | ||
ChangeLog | ||
LICENSE | ||
Makefile.am | ||
Makefile.cvs | ||
acsite.m4 | ||
autogen.sh | ||
classification.config | ||
config.rpath | ||
configure.ac | 11 years ago | |
doxygen.cfg | 11 years ago | |
reference.config | ||
suricata.yaml.in | 11 years ago | |
threshold.config |