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 f830cb8026 output: introduce concept of sub-modules
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 Initial add of the files. 17 years ago
contrib Add one shot run option to suri-graphite. 13 years ago
doc Update docs from wiki 14 years ago
m4 Prelude plugin: add detection in configure script 17 years ago
qa Bug 1083 and 1084: add valgrind suppressions 13 years ago
rules dns: add event for when memcap is reached 13 years ago
scripts suricatasc: fix make distcheck. 14 years ago
src output: introduce concept of sub-modules 13 years ago
.gitignore unittest: make check use a qa/log dir for logging 13 years ago
COPYING Initial add of the files. 17 years ago
ChangeLog Update Changelog for 2.0beta2 13 years ago
LICENSE import of gplv2 LICENSE 17 years ago
Makefile.am dns: rules files was not installed 13 years ago
Makefile.cvs Initial add of the files. 17 years ago
acsite.m4 Added C99 defs/macros to acsite.m4 for CentOS 17 years ago
autogen.sh OpenBSD 5.2 build fixes, Unit test fix. 14 years ago
classification.config Import of classification.config 17 years ago
config.rpath Add file needed for some autotools version. 13 years ago
configure.ac prelude: fix configure and cleanup 13 years ago
doxygen.cfg doxygen: document all code 13 years ago
reference.config Add md5 to reference.config. 15 years ago
suricata.yaml.in Add "united" JSON files output 13 years ago
threshold.config threshold: improve comments of shipped threshold.config, add links to wiki. 14 years ago