Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | 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 | |
| | | | ||||||
* | | | Merge branch 'v6-stable' into master-newruleset | Rainer Gerhards | 2012-09-21 | 1 | -1/+1 | |
|\ \ \ | | |/ | |/| | | | | | | | Conflicts: grammar/lexer.l | |||||
| * | | Implemented different grammar for pri filters | Rainer Gerhards | 2012-09-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | The method introduced by the previous commit caused issues in v7 as it was too generic. Most importantly, it permitted simple words (like "stop") to (invalidly) be detected as pri filters. Now, the grammar is close to the initial one, and each pri filter must at least have a comma or a period inside it, which does not conflict with simple words. | |||||
* | | | Merge branch 'v6-stable' into master-newruleset | Rainer Gerhards | 2012-09-21 | 1 | -1/+1 | |
|\| | | | | | | | | | | | | | | Conflicts: grammar/lexer.l | |||||
| * | | bugfix: some valid legacy PRI filters were flagged as errornous | Rainer Gerhards | 2012-09-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=358 This happend to filters of the style "local0,local1.*", where the multiple facilities were comma-separated. | |||||
* | | | Implement script optimization IF -> PRIFILT | Rainer Gerhards | 2012-09-21 | 2 | -19/+65 | |
| | | | ||||||
* | | | Implement script optimizer basic constant folding & NOP removal | Rainer Gerhards | 2012-09-21 | 1 | -31/+164 | |
| | | | ||||||
* | | | Add skeleton for RainerScript optimizer | Rainer Gerhards | 2012-09-20 | 2 | -0/+84 | |
| | | | | | | | | | | | | actual optimization is not yet done | |||||
* | | | 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 | |
|/ / |