Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement RainerScript prifield() function | Rainer Gerhards | 2012-09-20 | 2 | -3/+67 |
| | |||||
* | Implement RainerScript field() function | Rainer Gerhards | 2012-09-20 | 2 | -8/+107 |
| | |||||
* | new ruleengine: implement native JSON in RainerScript | Rainer Gerhards | 2012-09-18 | 2 | -9/+48 |
| | |||||
* | new ruleengine: implement script concatenation (& operator) | Rainer Gerhards | 2012-09-17 | 3 | -1/+12 |
| | |||||
* | Merge branch 'master-newruleset' | Rainer Gerhards | 2012-09-17 | 4 | -1/+58 |
|\ | |||||
| * | cleanup | Rainer Gerhards | 2012-09-17 | 1 | -6/+2 |
| | | |||||
| * | Add set/unset stmt to grammar & AST | Rainer Gerhards | 2012-09-13 | 4 | -1/+62 |
| | | | | | | | | ... but not yet to executing engine | ||||
* | | Merge branch 'v6-devel' | Rainer Gerhards | 2012-09-14 | 1 | -2/+2 |
|\ \ | |/ |/| | |||||
| * | Merge branch 'v6-stable' into v6-devel | Rainer Gerhards | 2012-09-14 | 1 | -2/+2 |
| |\ | | | | | | | | | | | | | Conflicts: runtime/rule.c | ||||
| | * | Fix length calculation for script string constants | Rainer Gerhards | 2012-09-14 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | This could lead to various problems, like if-filters not working. Note this is a regression from yesterdays escape fix, so there exist no released version with this problem. | ||||
* | | | Merge branch 'v6-devel' | Rainer Gerhards | 2012-09-13 | 3 | -2/+147 |
|\| | | | | | | | | | | | | | | Conflicts: ChangeLog | ||||
| * | | Merge branch 'v6-stable' into v6-devel | Rainer Gerhards | 2012-09-13 | 3 | -2/+147 |
| |\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog grammar/rainerscript.c grammar/rainerscript.h runtime/rule.c | ||||
| | * | Fixing string unescaping (new code from this morning's commit) | Rainer Gerhards | 2012-09-13 | 1 | -1/+1 |
| | | | |||||
| | * | bugfix: missing support for escape sequences in RainerScript | Rainer Gerhards | 2012-09-13 | 3 | -2/+148 |
| | | | | | | | | | | | | | | | | | | | | | Only \' was supported. Now the usual set is supported. Note that v5 used \x as escape where x was any character (e.g. "\n" meant "n" and NOT LF). This also means there is some incompatibility to v5 for well-know sequences. Better break it now than later. | ||||
* | | | bugfix: abort when invalid property name was configured | Rainer Gerhards | 2012-09-12 | 1 | -1/+3 |
| | | | |||||
* | | | cleanup | Rainer Gerhards | 2012-09-12 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'v6-devel' | Rainer Gerhards | 2012-09-12 | 1 | -1/+1 |
|\| | | | | | | | | | | | | | | | | | Conflicts: grammar/grammar.y grammar/lexer.l | ||||
| * | | forward-compatibility patch for $ruleset processing | Rainer Gerhards | 2012-09-12 | 2 | -0/+5 |
| | | | | | | | | | | | | | | | v7 needs a different handling, it's easer in the long term if we introduce this in v6 as well. Non-intrusive change. | ||||
* | | | new ruleengine: properly handle $ruleset directive | Rainer Gerhards | 2012-09-12 | 2 | -2/+7 |
| | | | |||||
* | | | new ruleengine: fix memory leaks & a little cleanup | Rainer Gerhards | 2012-09-10 | 2 | -8/+5 |
| | | | |||||
* | | | new ruleengine: more cleanup | Rainer Gerhards | 2012-09-10 | 3 | -210/+3 |
| | | | |||||
* | | | new ruleengine: properly freeing stmt tree | Rainer Gerhards | 2012-09-06 | 3 | -4/+52 |
| | | | |||||
* | | | new ruleengine: restore action iterator functionality | Rainer Gerhards | 2012-09-06 | 2 | -3/+3 |
| | | | |||||
* | | | new ruleengine: implement rainerscript execution engine | Rainer Gerhards | 2012-09-06 | 3 | -2/+3 |
| | | | |||||
* | | | new ruleengine: legacy action object properly constructed | Rainer Gerhards | 2012-09-04 | 3 | -6/+28 |
| | | | |||||
* | | | new ruleengine: v6+ action object properly constructed | Rainer Gerhards | 2012-09-04 | 3 | -1/+20 |
| | | | |||||
* | | | new ruleengine: PROP and PRI legacy filter structures properly created | Rainer Gerhards | 2012-09-04 | 4 | -23/+112 |
| | | | |||||
* | | | new ruleengine: skeleton for reading conf file in place | Rainer Gerhards | 2012-09-04 | 2 | -35/+14 |
| | | | | | | | | | | | | code still does not work, actual functions not implemented | ||||
* | | | new ruleengine: script block correctly built | Rainer Gerhards | 2012-09-04 | 4 | -47/+83 |
| | | | |||||
* | | | Merge branch 'master' into master-newruleset | Rainer Gerhards | 2012-09-04 | 1 | -1/+2 |
|\ \ \ | |||||
| * | | | Free configuration objects after use | Miloslav Trmač | 2012-09-04 | 1 | -1/+2 |
| |/ / | | | | | | | | | | Signed-off-by: Miloslav Trmač <mitr@redhat.com> | ||||
* | | | new ruleengine: add &-operator (legacy action list) | Rainer Gerhards | 2012-09-04 | 3 | -7/+11 |
| | | | |||||
* | | | new ruleengine: first code for stmt handling | Rainer Gerhards | 2012-09-04 | 4 | -21/+110 |
| | | | |||||
* | | | new ruleengine: first shot at grammar | Rainer Gerhards | 2012-09-03 | 2 | -15/+27 |
|/ / | |||||
* | | add capability to configure outname for constant (inside template) | Rainer Gerhards | 2012-08-25 | 1 | -6/+4 |
| | | | | | | | | also some cleanup | ||||
* | | milestone: LIST-type templates work, but no all options yet present | Rainer Gerhards | 2012-08-25 | 2 | -6/+21 |
| | | |||||
* | | milestone: base plumbing for LIST-type templates mostly in place | Rainer Gerhards | 2012-08-25 | 3 | -7/+72 |
| | | |||||
* | | add base plumbing for template() config object to grammar | Rainer Gerhards | 2012-08-24 | 3 | -2/+23 |
| | | |||||
* | | milestone: module() can load module in legacy mode | Rainer Gerhards | 2012-06-20 | 1 | -1/+0 |
| | | |||||
* | | bugfix: small static memory leak in expression based filters | Rainer Gerhards | 2012-06-14 | 1 | -0/+1 |
| | | | | | | | | function names were not freed upon config shutdown | ||||
* | | fixing memory leaks in expression-based filters | Rainer Gerhards | 2012-06-14 | 2 | -0/+75 |
| | | | | | | | | most recently added by re_match() function | ||||
* | | re_match() function now also executes | Rainer Gerhards | 2012-06-13 | 1 | -4/+16 |
| | | | | | | | | | | things now basically work. however, there is at least a (small) memory leak and the code needs to be further reviewed | ||||
* | | milestone: regex is compiled from script based filter | Rainer Gerhards | 2012-06-12 | 2 | -3/+60 |
| | | |||||
* | | Merge branch 'master-regexp' | Rainer Gerhards | 2012-06-12 | 2 | -2/+18 |
|\ \ | |/ |/| | |||||
| * | first experiments with regexp'es in RainerScript | Rainer Gerhards | 2012-05-29 | 2 | -2/+18 |
| | | |||||
* | | bugfix: expression-based filters with AND/OR could segfault | Rainer Gerhards | 2012-06-11 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | due to a problem with boolean shortcut operations. From the user's perspective, the segfault is almost non-deterministic (it occurs when a shortcut is used). Thanks to Lars Peterson for providing the initial bug report and his support in solving it. | ||||
* | | regression fix: last memleak bugfix caused abort in some situations | Rainer Gerhards | 2012-06-05 | 1 | -1/+3 |
| | | | | | | | | | | The problem was introduced by the fix I did roughly an hour ago. Obviously, no released version is affected. | ||||
* | | restructured cfsysline handling a bit | Rainer Gerhards | 2012-06-05 | 1 | -3/+2 |
| | | | | | | | | so that we have cleaner code | ||||
* | | cosmetic: removed autoconf warning messages | Rainer Gerhards | 2012-06-04 | 1 | -4/+4 |
|/ | |||||
* | bugfix: number conversion in expression evaluation was not always correct | Rainer Gerhards | 2012-04-23 | 1 | -2/+4 |
| | | | | | was invalid when the property was no string. Currently all props are strings, so this bug never could hit in practice. |