Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix missing functionality: ruleset(){} could not specify ruleset queue | Rainer Gerhards | 2012-11-30 | 2 | -0/+25 |
| | | | | | | | | | | 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. | ||||
* | silence some primarily cosmetic compiler warning messages | Rainer Gerhards | 2012-11-28 | 1 | -2/+4 |
| | |||||
* | improve $IncludeConfig error messages | Rainer Gerhards | 2012-11-20 | 1 | -4/+7 |
| | |||||
* | regression fix: rsyslog terminated when wild-card $includeFile did not find ↵ | Rainer Gerhards | 2012-11-20 | 1 | -2/+5 |
| | | | | | | files Unfortunately, this is often the case by default in many distros. | ||||
* | cleanup | Rainer Gerhards | 2012-11-20 | 1 | -1/+0 |
| | |||||
* | make sure inaccessible config file is not tried to be processed | Rainer Gerhards | 2012-11-14 | 1 | -3/+3 |
| | | | | | | | The processing loop was not terminated when an unaccessible file was detected, and so processing was done using unitialized data, which could lead to all sorts of problems. Also did some minor cleanup. | ||||
* | Silently ignore wildcard includes that match nothing | Georgi Georgiev | 2012-11-13 | 1 | -4/+16 |
| | | | | This will avoid an error message when including an empty directory. | ||||
* | Merge branch 'v6-stable' into v7-stable | Rainer Gerhards | 2012-11-09 | 1 | -16/+18 |
|\ | | | | | | | | | Conflicts: tests/Makefile.am | ||||
| * | bugfix: $IncludeConfig did not correctly process directories | Rainer Gerhards | 2012-11-09 | 1 | -18/+19 |
| | | | | | | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=376 The testbench was also enhanced to check for these cases. Thanks to Georgi Georgiev for the bug report. Also minor bugfix: no error msg on unreadable $IncludeConfig path | ||||
| * | Merge branch 'v6-stable' into v6-devel | Rainer Gerhards | 2012-10-04 | 1 | -0/+1 |
| |\ | |||||
* | \ | Merge branch 'v7.2.1-bugfix' into v7-stable | Rainer Gerhards | 2012-11-09 | 1 | -1/+1 |
|\ \ \ | |||||
| * | | | bugfix: potential segfault due to invalid param handling in comparisons | Rainer Gerhards | 2012-11-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This could happen in RainerScript comparisons (like contains); in some cases an unitialized variable was accessed, which could lead to an invalid free and in turn to a segfault. Closes: http://bugzilla.adiscon.com/show_bug.cgi?id=372 Thanks to Georgi Georgiev for reporting this bug and his great help in solving it. | ||||
* | | | | bugfix: potential segfault when re_match() function was used | oxpa | 2012-11-02 | 1 | -1/+0 |
|/ / / | | | | | | | | | | | | | Thanks to oxpa for the patch. closes: http://bugzilla.adiscon.com/show_bug.cgi?id=371 | ||||
* | | | bugfix: ruleset()-object did only support a single statement | Rainer Gerhards | 2012-10-27 | 1 | -1/+1 |
| | | | |||||
* | | | cleanup | Rainer Gerhards | 2012-10-24 | 1 | -1/+1 |
| | | | |||||
* | | | fix regression introduced by last commit | Rainer Gerhards | 2012-10-11 | 1 | -1/+1 |
| | | | | | | | | | | | | action object was created twice, resulting in memleak | ||||
* | | | bugfixes in regards to action() | Rainer Gerhards | 2012-10-11 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | - bugfix: small memory leak when processing action() statements - bugfix: unknown action() parameters were not reported | ||||
* | | | bugfix: some config processing warning messages were treated as errors | Rainer Gerhards | 2012-10-11 | 1 | -2/+6 |
| | | | |||||
* | | | add missing prototype | Rainer Gerhards | 2012-10-11 | 1 | -0/+1 |
| | | | |||||
* | | | bugfix: in (non)equal comparisons the position of arrays influenced result | Rainer Gerhards | 2012-10-09 | 1 | -1/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | This behaviour is OK for "contains"-type of comparisons (which have quite different semantics), but not for == and <>, which shall be commutative. This has been fixed now, so there is no difference any longer if the constant string array is the left or right hand operand. We solved this via the optimizer, as it keeps the actual script execution code small. | ||||
* | | | Merge branch 'v6-stable' into beta | Rainer Gerhards | 2012-10-04 | 1 | -0/+1 |
|\ \ \ | | |/ | |/| | |||||
| * | | bugfix: comments inside objects (e.g. action()) were not properly handled | Rainer Gerhards | 2012-10-04 | 1 | -0/+1 |
| | | | |||||
* | | | implement "continue" RainerScript statement | Rainer Gerhards | 2012-10-01 | 3 | -1/+9 |
| | | | |||||
* | | | bugfix: ruleset(){} directive errornously changed default ruleset | Rainer Gerhards | 2012-10-01 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | much like the $ruleset legacy conf statement. This potentially lead to statements being assigned to the wrong ruleset. | ||||
* | | | implement RainerScript "call" statement | Rainer Gerhards | 2012-10-01 | 4 | -4/+64 |
| | | | |||||
* | | | implement imtcp "permittedPeers" module-global parameter | Rainer Gerhards | 2012-10-01 | 2 | -5/+4 |
| | | | |||||
* | | | refactor: unify nodetypes | Rainer Gerhards | 2012-10-01 | 2 | -14/+14 |
| | | | |||||
* | | | fix: invalid free in array-based string comparisons | Rainer Gerhards | 2012-10-01 | 1 | -3/+7 |
| | | | |||||
* | | | implement string arrays for config objects | Rainer Gerhards | 2012-10-01 | 3 | -33/+134 |
| | | | | | | | | | | | | | | | as a tester, imudp now supports binding to multiple options based on a string array | ||||
* | | | cleanup | Rainer Gerhards | 2012-09-28 | 2 | -9/+0 |
| | | | |||||
* | | | implement RainerScript array-based string comparison operations | Rainer Gerhards | 2012-09-28 | 1 | -13/+77 |
| | | | |||||
* | | | rainerscript: add basic plumbing for arrays | Rainer Gerhards | 2012-09-28 | 4 | -5/+94 |
| | | | | | | | | | | | | | | | can be used in expressions, but always evaluate to the first element, only | ||||
* | | | Implement RainerScript ruleset() statement | Rainer Gerhards | 2012-09-28 | 5 | -5/+17 |
| | | | |||||
* | | | Merge branch 'v6-devel' | Rainer Gerhards | 2012-09-27 | 1 | -21/+108 |
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c grammar/grammar.y runtime/modules.h runtime/rsconf.c | ||||
| * | | bugfix: config errors did not always cause statement to fail | Rainer Gerhards | 2012-09-27 | 1 | -21/+108 |
| | | | | | | | | | | | | This could lead to startup with invalid parameters. | ||||
| * | | cleanup | Rainer Gerhards | 2012-09-26 | 1 | -2/+0 |
| | | | |||||
| * | | Merge branch 'v6-stable' into v6-devel | Rainer Gerhards | 2012-09-21 | 1 | -1/+1 |
| |\| | |||||
| * | | Free configuration objects after use | Miloslav Trmač | 2012-09-17 | 1 | -1/+2 |
| | | | | | | | | | | | | Signed-off-by: Miloslav Trmač <mitr@redhat.com> | ||||
* | | | fix invalid free in PoC == optimization | Rainer Gerhards | 2012-09-25 | 1 | -1/+3 |
| | | | |||||
* | | | slight optimization of == in string comparisons | Rainer Gerhards | 2012-09-25 | 1 | -9/+17 |
| | | | |||||
* | | | detect unreachable statements and emit warning message | Rainer Gerhards | 2012-09-25 | 1 | -0/+3 |
| | | | |||||
* | | | Merge branch 'master' into master-newruleset | Rainer Gerhards | 2012-09-25 | 1 | -1/+2 |
|\ \ \ | | | | | | | | | | | | | | | | | Conflicts: runtime/modules.c | ||||
| * | | | fix invalid free caused by optimized script execution | Rainer Gerhards | 2012-09-25 | 1 | -1/+2 |
| | | | | |||||
* | | | | fix small memory leak during script optimization | Rainer Gerhards | 2012-09-25 | 1 | -0/+2 |
| | | | | |||||
* | | | | fix optimizer-introduced memleak in action destruction | Rainer Gerhards | 2012-09-25 | 1 | -1/+1 |
| | | | | |||||
* | | | | Implement Script Optimizer: remove always-true PRIFILT | Rainer Gerhards | 2012-09-25 | 1 | -4/+44 |
| | | | | |||||
* | | | | cleanup & better debug output | Rainer Gerhards | 2012-09-24 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | | | - removed no longer needed function - debug log now contains action type for action objects | ||||
* | | | | Clean up implementation of omdiscard-->STOP optimization | Rainer Gerhards | 2012-09-24 | 1 | -2/+3 |
| | | | | |||||
* | | | | PoC: optimize omdicard --> STOP | Rainer Gerhards | 2012-09-24 | 1 | -2/+18 |
|/ / / | |||||
* | | | Improve script execution speed for important string-comparisons | Rainer Gerhards | 2012-09-21 | 1 | -2/+7 |
| | | |