summaryrefslogtreecommitdiffstats
path: root/runtime/modules.c
Commit message (Collapse)AuthorAgeFilesLines
* add freeWrkrInstance to output module interfaceRainer Gerhards2013-10-291-0/+1
|
* move all builtin-modules to new wrkr activation interface; make this mandatoryRainer Gerhards2013-10-291-5/+1
| | | | This intentionally breaks build of modules not yet converted.
* milestone: action engine changed to partially support wrkr instance action ↵Rainer Gerhards2013-10-281-0/+6
| | | | interface
* Merge branch 'v7-stable'Rainer Gerhards2013-05-061-1/+5
|\
| * bugfix: potential segfault on startup when builtin module was specified in ↵Rainer Gerhards2013-05-061-1/+5
| | | | | | | | | | | | module() statement. Thanks to Marius Tomaschewski for reporting the bug.
* | add output module interface to facilitate cooperative shutdownRainer Gerhards2013-04-081-0/+4
|/ | | | | | ... in more complex cases (where receiving SIGTTIN is not sufficient). See also: http://blog.gerhards.net/2013/04/rsyslog-output-plugin-wrangling.html
* Merge branch 'v6-devel'Rainer Gerhards2012-09-271-10/+60
|\ | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c grammar/grammar.y runtime/modules.h runtime/rsconf.c
| * Do not load module if it had errorneous parametersRainer Gerhards2012-09-271-9/+52
| |
| * input stmt: add core engine plumbingRainer Gerhards2012-09-261-1/+8
| |
* | fix invalid free caused by optimized script executionRainer Gerhards2012-09-251-1/+2
|/
* Merge branch 'v6-stable'Rainer Gerhards2012-08-251-4/+4
|\ | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac runtime/ruleset.c tools/syslogd.c
| * Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-08-251-4/+4
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c configure.ac doc/manual.html runtime/ruleset.c template.h threads.c tools/syslogd.c
| | * changed TRUE/FALSE to RSTRUE/RSFALSERainer Gerhards2012-08-221-4/+4
| | | | | | | | | | | | This is done to prevent name claches with libraries.
* | | modules: call new-style entry point only when new-style stmt is usedRainer Gerhards2012-06-261-2/+4
| | | | | | | | | | | | | | | This provides a way for modules to differentiate between old- and new- style config, so that they can react accordingly.
* | | implemented freeCnf() module interface & fixed some mem leaksRainer Gerhards2012-06-251-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | The interface was actually not present in older versions, even though some modules already used it. The implementation was now done, and not in 6.3/6.4 because the resulting memory leak was ultra-slim and the new interface handling has some potential to seriously break things. Not the kind of thing you want to add in late beta state, if avoidable.
* | | milestone: module() config statement basically worksRainer Gerhards2012-06-211-12/+37
| | | | | | | | | | | | some nits to iron out, only omfile actually support module params
* | | milestone: module() can load module in legacy modeRainer Gerhards2012-06-201-3/+49
|/ /
* | Merge branch 'v5-beta' into betaRainer Gerhards2012-06-061-27/+4
|\| | | | | | | | | Conflicts: runtime/modules.c
| * Merge branch 'v5-stable' into v5-betaRainer Gerhards2012-06-061-27/+4
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/modules.c
| | * bugfix: potential hang due to mutex deadlockRainer Gerhards2012-06-061-27/+4
| | | | | | | | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=316 Thanks to Andreas Piesk for reporting&analyzing this bug as well as providing patches and other help in resolving it.
* | | Merge branch 'v6-stable'Rainer Gerhards2012-01-191-4/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/conf.c runtime/modules.c runtime/modules.h
| * | | removing the newScope/resumeScope macro interfacesRainer Gerhards2012-01-191-4/+0
| | | | | | | | | | | | | | | | to make using pre-v6-plugins even easier
* | | | Merge branch 'v5-devel'Rainer Gerhards2011-12-161-38/+51
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imuxsock/imuxsock.c runtime/modules.c
| * | | enhanced module loader to not rely on PATH_MAXRainer Gerhards2011-12-161-34/+46
| | |/ | |/|
* | | fixing minor memory leaksRainer Gerhards2011-07-211-2/+2
| | |
* | | milestone: new output plugin interface call addedRainer Gerhards2011-07-211-18/+40
| | |
* | | milestone: done plumbing to call plugin create action instance entry pointRainer Gerhards2011-07-201-1/+21
| | |
* | | milestone: on the way to a new action conf interface to plugins...Rainer Gerhards2011-07-201-5/+9
| | |
* | | milestone: added module config namesRainer Gerhards2011-07-201-2/+9
| | |
* | | regression fix: activation for legacy modules handled incorrectlyRainer Gerhards2011-05-121-0/+1
| | |
* | | step: conf interface now natively supports priv dropRainer Gerhards2011-05-061-2/+9
| | |
* | | step: generalized new config interface for all module typesRainer Gerhards2011-05-061-12/+32
| | |
* | | step: imudp utilizes interim new input module interfaceRainer Gerhards2011-05-041-1/+1
| | |
* | | step: put plumbing in place for new input module config systemRainer Gerhards2011-05-031-14/+26
| | |
* | | step: config-specific module list used during config processingRainer Gerhards2011-04-271-10/+23
| | |
* | | step: added config-specific module listRainer Gerhards2011-04-271-24/+100
| | |
* | | step: shuffled module-related code from syslogd.c to rsconf.cRainer Gerhards2011-04-271-1/+1
| | | | | | | | | | | | ... plus some minor cleanup/code shuffle
* | | step: config handler setting from syslogd.c moved to rsconf.cRainer Gerhards2011-04-211-4/+5
| |/ |/|
* | Merge branch 'v5-beta'Rainer Gerhards2011-03-111-4/+52
|\| | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/omlibdbi/omlibdbi.c tests/Makefile.am tests/diag.sh
| * bugfix: regression: memory leak in module loaderBojan Smojver2011-03-041-10/+18
| | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * added work-around for bug in gtls, which causes fd leak when using TLSBojan Smojver2011-02-231-4/+44
| | | | | | | | | | | | | | | | The capability has been added for module to specify that they do not like being unloaded. related bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=222 Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | milestone commit: output plugin interface changes (may NOT run)Rainer Gerhards2010-07-271-2/+5
|/ | | | | | | The output interface has been changed, but we do not yet utilize the new interface. Also, it looks like a regression was introduced. But before hunting it down, I'd like to make a commit (what also easys the regresion hunt).
* first implementation of strgen interfaceRainer Gerhards2010-06-011-5/+31
| | | | | and a first built-in strgen module. Some tweaks and more default strgens are needed, but the code doesn't look too bad ;)
* enhanced module debug outputRainer Gerhards2009-11-251-3/+27
| | | | | ... and addes some (later-to-be-removed) debug code to support finding a problem in transaction handling.
* finalized parser module calling interfaceRainer Gerhards2009-11-041-1/+5
| | | | | looks like we are almost done and need only to add the ruleset parser-specific config options.
* one step closer to dynamically loadable parsersRainer Gerhards2009-11-031-3/+28
| | | | | This is a milestone commit, which adds new code that breaks nothing, but also does not add any visible change. Just prep work...
* more cleanup and working towards a parser module calling interfaceRainer Gerhards2009-11-031-0/+6
| | | | | | I cleaned up a lot of config variable access along the way. This version compiles and runs, but does not yet offer any enhanced functionality. pmrfc5424 is just a dummy that is not yet being used.
* Merge branch 'v4-beta' into betaRainer Gerhards2009-10-051-1/+1
|\
| * bugfix[minor]: CHKiRet improperly usedRainer Gerhards2009-10-021-1/+1
| |
* | bugfix: discard action caused segfaultRainer Gerhards2009-07-301-3/+5
| |