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.
|
13 years ago | |
|---|---|---|
| benches | 17 years ago | |
| contrib | 13 years ago | |
| doc | 14 years ago | |
| m4 | 17 years ago | |
| qa | 13 years ago | |
| rules | 13 years ago | |
| scripts | 14 years ago | |
| src | 13 years ago | |
| .gitignore | 13 years ago | |
| COPYING | 17 years ago | |
| ChangeLog | 13 years ago | |
| LICENSE | 17 years ago | |
| Makefile.am | 13 years ago | |
| Makefile.cvs | 17 years ago | |
| acsite.m4 | 17 years ago | |
| autogen.sh | 14 years ago | |
| classification.config | 17 years ago | |
| config.rpath | 13 years ago | |
| configure.ac | 13 years ago | |
| doxygen.cfg | 13 years ago | |
| reference.config | 15 years ago | |
| suricata.yaml.in | 13 years ago | |
| threshold.config | 14 years ago | |