summaryrefslogtreecommitdiffstats
path: root/runtime/ruleset.c
Commit message (Collapse)AuthorAgeFilesLines
* refactor action disablingRainer Gerhards2013-11-061-5/+1
|
* make batches of 1 commit automatically after each actionRainer Gerhards2013-11-061-0/+3
| | | | | This improves failover handling and makes it consistent with doc (precise handling for batches of one).
* simplify submitToActionQ...() code pathRainer Gerhards2013-11-051-0/+6
|
* Merge branch 'master-ruleeng' into master-ruleeng-simdRainer Gerhards2013-11-051-1/+21
|\ | | | | | | | | | | | | Conflicts: runtime/ruleset.c required refactoring of (asnyc) call code
| * Merge branch 'master' into master-ruleengRainer Gerhards2013-11-051-1/+25
| |\ | | | | | | | | | | | | Conflicts: runtime/ruleset.c
| | * Merge branch 'v7-stable'Rainer Gerhards2013-11-051-1/+25
| | |\
| | | * Merge branch 'v7-stable-call-ruleset-queue' into v7-stableRainer Gerhards2013-11-051-1/+25
| | | |\ | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | | | * bugfix: call to ruleset with async queue did not use the queueRainer Gerhards2013-06-261-1/+25
| | | | | | | | | | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=443
| | | * | fix regression that caused freeInstance not to be correctly calledRainer Gerhards2013-07-151-2/+2
| | | |/ | | | | | | | | | | | | was introduced July, 5th 2013 by commit 8ee2b0b1610fbf4dff20453d188f379583410b42
* | | | support force termination in script engineRainer Gerhards2013-11-051-0/+5
| | | |
* | | | refactor: move pbShutdownImmediate to wti_tRainer Gerhards2013-11-051-2/+3
| | | |
* | | | cleanup: remove no longer needed codeRainer Gerhards2013-11-041-55/+0
| | | |
* | | | refactor script execution to work on one message at a timeRainer Gerhards2013-11-041-233/+72
| | | |
* | | | push bShutdownImmediate ptr down to commit processRainer Gerhards2013-11-041-3/+3
| | | |
* | | | experimentally split ruleset execution in exec and commit phaseRainer Gerhards2013-11-041-2/+11
| | | |
* | | | refactor: move batch "unrolling" up one layerRainer Gerhards2013-11-041-1/+16
| | | |
* | | | temporarily remove bExecWhenPrevWasSuspended handlingRainer Gerhards2013-11-021-0/+16
|/ / / | | | | | | | | | | | | | | | | | | also add comments on howto re-implement it inside the script engine (but we do not do this right now as we would like to do this together when we touch the script engine -- for now focussing on action handling).
* | | Merge branch 'master' into master-ruleengRainer Gerhards2013-10-291-3/+3
|\| |
| * | add debug output for global vars (unsupported!) during property filter ↵Rainer Gerhards2013-10-161-3/+3
| | | | | | | | | | | | evaluation
* | | milestone: calling sequence changed so that wti is passed to many functionsRainer Gerhards2013-10-261-23/+23
|/ /
* | fix VAR handling in script grammar and codeRainer Gerhards2013-10-231-1/+1
| | | | | | | | The $-var designator is now correctly stripped off the varname.
* | refactor: use common code for message property description processingRainer Gerhards2013-10-221-11/+10
| | | | | | | | in all cases except script var access -- this comes next...
* | work a bit toward string handling unificationRainer Gerhards2013-10-211-12/+5
| |
* | first shot at global variables (without proper sync so far)Rainer Gerhards2013-07-221-0/+5
| |
* | milestone: basic local variable functionality availableRainer Gerhards2013-07-171-0/+5
| | | | | | | | but some nits, like do not work with disk queues
* | fix regression that caused freeInstance not to be correctly calledRainer Gerhards2013-07-151-2/+2
| | | | | | | | was introduced July, 5th 2013 by commit 8ee2b0b1610fbf4dff20453d188f379583410b42
* | enable shuffling of crypto parameters down through queue definitionRainer Gerhards2013-05-101-4/+2
|/
* Merge branch 'v7-stable'Rainer Gerhards2013-04-081-5/+18
|\ | | | | | | | | | | Conflicts: grammar/rainerscript.c runtime/ruleset.c
| * bugfix: nested if/prifilt conditions did not work properlyRainer Gerhards2013-04-041-4/+17
| | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=415
* | optimize memory layout for much better cache hitsRainer Gerhards2013-01-151-12/+12
| | | | | | | | | | | | | | | | Moave element status out of batch_obj_t because we get a *much* better cache hit ratio this way. Note that this is really a HUGE saving, even if it doesn't look so (both profiler data as well as practical tests indicate that!).
* | optimize: re-use already computed value!Rainer Gerhards2013-01-141-2/+2
| |
* | Merge branch 'v7-stable'Rainer Gerhards2013-01-081-7/+18
|\|
| * bugfix: on termination, actions were incorrectly calledRainer Gerhards2012-12-201-7/+18
| | | | | | | | | | | | | | The problem was that incomplete fiter evaluation was done *during the shutdown phase*. This affected only the LAST batches being processed. No problem existed during the regular run. Could usually only happen on very busy systems, which were still busy during shutdown.
* | Merge branch 'v7-stable-newmsglock' into master-newmsglockRainer Gerhards2012-12-061-8/+17
|\| | | | | | | | | | | | | Conflicts: runtime/msg.c runtime/queue.c tools/syslogd.c
| * fix missing functionality: ruleset(){} could not specify ruleset queueRainer Gerhards2012-11-301-8/+17
| | | | | | | | | | | | | | | | | | | | The "queue.xxx" parameter set was not supported, and legacy ruleset config statements did not work (by intention). The fix introduces the "queue.xxx" parameter set. It has some regression potential, but only for the new functionality. Note that using that interface it is possible to specify duplicate queue file names, which will cause trouble. This will be solved in v7.3, because there is a too-large regression potential for the v7.2 stable branch.
* | queue: change generic msg ptr (pUsr) to be of msg_t typeRainer Gerhards2012-11-031-8/+7
| |
* | Merge branch 'v7-stable'Rainer Gerhards2012-10-241-2/+0
|\|
| * cleanupRainer Gerhards2012-10-241-2/+0
| |
* | refactor tpl processor so that date is queried once per templateRainer Gerhards2012-10-101-1/+2
|/ | | | Things like $YEAR, $MONTH required a time() call each.
* add "parser" parameter to ruleset(), so that parser chain can be configuredRainer Gerhards2012-10-021-8/+24
|
* bugfix: ruleset(){} directive errornously changed default rulesetRainer Gerhards2012-10-011-5/+1
| | | | | much like the $ruleset legacy conf statement. This potentially lead to statements being assigned to the wrong ruleset.
* implement RainerScript "call" statementRainer Gerhards2012-10-011-0/+5
|
* cleanupRainer Gerhards2012-10-011-1/+0
|
* Implement RainerScript ruleset() statementRainer Gerhards2012-09-281-3/+54
|
* fix invalid free caused by optimized script executionRainer Gerhards2012-09-251-1/+2
|
* fix compile problem due to error in last commitRainer Gerhards2012-09-211-1/+0
|
* Implement script optimization IF -> PRIFILTRainer Gerhards2012-09-211-10/+22
|
* Add skeleton for RainerScript optimizerRainer Gerhards2012-09-201-0/+34
| | | | actual optimization is not yet done
* new ruleengine: implement template type "subtree"Rainer Gerhards2012-09-181-1/+1
|
* new ruleengine: Implent "unset" statementRainer Gerhards2012-09-171-7/+22
|