summaryrefslogtreecommitdiffstats
path: root/grammar
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge branch 'v6-stable' into master-newrulesetRainer Gerhards2012-09-211-1/+1
|\| | | | | | | | | | | | | | Conflicts: grammar/lexer.l
| * | bugfix: some valid legacy PRI filters were flagged as errornousRainer Gerhards2012-09-211-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 -> PRIFILTRainer Gerhards2012-09-212-19/+65
| | |
* | | Implement script optimizer basic constant folding & NOP removalRainer Gerhards2012-09-211-31/+164
| | |
* | | Add skeleton for RainerScript optimizerRainer Gerhards2012-09-202-0/+84
| | | | | | | | | | | | actual optimization is not yet done
* | | Implement RainerScript prifield() functionRainer Gerhards2012-09-202-3/+67
| | |
* | | Implement RainerScript field() functionRainer Gerhards2012-09-202-8/+107
| | |
* | | new ruleengine: implement native JSON in RainerScriptRainer Gerhards2012-09-182-9/+48
| | |
* | | new ruleengine: implement script concatenation (& operator)Rainer Gerhards2012-09-173-1/+12
| | |
* | | Merge branch 'master-newruleset'Rainer Gerhards2012-09-174-1/+58
|\ \ \
| * | | cleanupRainer Gerhards2012-09-171-6/+2
| | | |
| * | | Add set/unset stmt to grammar & ASTRainer Gerhards2012-09-134-1/+62
| | | | | | | | | | | | | | | | ... but not yet to executing engine
* | | | Merge branch 'v6-devel'Rainer Gerhards2012-09-141-2/+2
|\ \ \ \ | |/ / / |/| | / | | |/ | |/|
| * | Merge branch 'v6-stable' into v6-develRainer Gerhards2012-09-141-2/+2
| |\| | | | | | | | | | | | | Conflicts: runtime/rule.c
| | * Fix length calculation for script string constantsRainer Gerhards2012-09-141-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 Gerhards2012-09-133-2/+147
|\| | | | | | | | | | | | | | Conflicts: ChangeLog
| * | Merge branch 'v6-stable' into v6-develRainer Gerhards2012-09-133-2/+147
| |\| | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog grammar/rainerscript.c grammar/rainerscript.h runtime/rule.c
| | * Fixing string unescaping (new code from this morning's commit)Rainer Gerhards2012-09-131-1/+1
| | |
| | * bugfix: missing support for escape sequences in RainerScriptRainer Gerhards2012-09-133-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 configuredRainer Gerhards2012-09-121-1/+3
| | |
* | | cleanupRainer Gerhards2012-09-121-1/+1
| | |
* | | Merge branch 'v6-devel'Rainer Gerhards2012-09-121-1/+1
|\| | | | | | | | | | | | | | | | | Conflicts: grammar/grammar.y grammar/lexer.l
| * | forward-compatibility patch for $ruleset processingRainer Gerhards2012-09-122-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 directiveRainer Gerhards2012-09-122-2/+7
| | |
* | | new ruleengine: fix memory leaks & a little cleanupRainer Gerhards2012-09-102-8/+5
| | |
* | | new ruleengine: more cleanupRainer Gerhards2012-09-103-210/+3
| | |
* | | new ruleengine: properly freeing stmt treeRainer Gerhards2012-09-063-4/+52
| | |
* | | new ruleengine: restore action iterator functionalityRainer Gerhards2012-09-062-3/+3
| | |
* | | new ruleengine: implement rainerscript execution engineRainer Gerhards2012-09-063-2/+3
| | |
* | | new ruleengine: legacy action object properly constructedRainer Gerhards2012-09-043-6/+28
| | |
* | | new ruleengine: v6+ action object properly constructedRainer Gerhards2012-09-043-1/+20
| | |
* | | new ruleengine: PROP and PRI legacy filter structures properly createdRainer Gerhards2012-09-044-23/+112
| | |
* | | new ruleengine: skeleton for reading conf file in placeRainer Gerhards2012-09-042-35/+14
| | | | | | | | | | | | code still does not work, actual functions not implemented
* | | new ruleengine: script block correctly builtRainer Gerhards2012-09-044-47/+83
| | |
* | | Merge branch 'master' into master-newrulesetRainer Gerhards2012-09-041-1/+2
|\ \ \
| * | | Free configuration objects after useMiloslav Trmač2012-09-041-1/+2
| |/ / | | | | | | | | | Signed-off-by: Miloslav Trmač <mitr@redhat.com>
* | | new ruleengine: add &-operator (legacy action list)Rainer Gerhards2012-09-043-7/+11
| | |
* | | new ruleengine: first code for stmt handlingRainer Gerhards2012-09-044-21/+110
| | |
* | | new ruleengine: first shot at grammarRainer Gerhards2012-09-032-15/+27
|/ /
* | add capability to configure outname for constant (inside template)Rainer Gerhards2012-08-251-6/+4
| | | | | | | | also some cleanup
* | milestone: LIST-type templates work, but no all options yet presentRainer Gerhards2012-08-252-6/+21
| |
* | milestone: base plumbing for LIST-type templates mostly in placeRainer Gerhards2012-08-253-7/+72
| |
* | add base plumbing for template() config object to grammarRainer Gerhards2012-08-243-2/+23
| |
* | milestone: module() can load module in legacy modeRainer Gerhards2012-06-201-1/+0
| |
* | bugfix: small static memory leak in expression based filtersRainer Gerhards2012-06-141-0/+1
| | | | | | | | function names were not freed upon config shutdown
* | fixing memory leaks in expression-based filtersRainer Gerhards2012-06-142-0/+75
| | | | | | | | most recently added by re_match() function
* | re_match() function now also executesRainer Gerhards2012-06-131-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 filterRainer Gerhards2012-06-122-3/+60
| |
* | Merge branch 'master-regexp'Rainer Gerhards2012-06-122-2/+18
|\ \ | |/ |/|
| * first experiments with regexp'es in RainerScriptRainer Gerhards2012-05-292-2/+18
| |