Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'v6-stable' into v6-devel | 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 |
| | | |||||
* | | 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 |
|\| | |||||
| * | 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. | ||||
| * | 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. | ||||
* | | Free configuration objects after use | Miloslav Trmač | 2012-09-17 | 1 | -1/+2 |
| | | | | | | | | Signed-off-by: Miloslav Trmač <mitr@redhat.com> | ||||
* | | 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-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. | ||||
* | | 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. | ||||
* | | 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. | ||||
* | conf file: bufgix: legacy parsing of some filters did not work correctly | Rainer Gerhards | 2012-02-01 | 2 | -2/+1 |
| | |||||
* | added support for v6 config system to omfwd | Rainer Gerhards | 2011-10-11 | 1 | -2/+2 |
| | |||||
* | bugfix: facility local<x> was not correctly interpreted in legacy filters | Rainer Gerhards | 2011-09-28 | 1 | -1/+1 |
| | | | | | Was only accepted if it was the first PRI in a multi-filter PRI. Thanks to forum user Mark for bringing this to our attention. | ||||
* | bugfix: config parser did not support properties with dashes in them | Rainer Gerhards | 2011-09-15 | 1 | -1/+1 |
| | | | | ...inside property-based filters. Thanks to Gerrit Seré for reporting this. | ||||
* | milestone: queue object now has a param handler for new conf interface | Rainer Gerhards | 2011-07-22 | 3 | -3/+48 |
| | | | | ... and action queue defs use this new interface (but not yet the main queues) | ||||
* | need to handle legacy-legacy omusrmsg format stricter | Rainer Gerhards | 2011-07-22 | 1 | -1/+1 |
| | | | | otherwise, the grammar for if-constructs was broken | ||||
* | milestone: all syntaxes for new config handler implemented | Rainer Gerhards | 2011-07-22 | 2 | -1/+131 |
| | | | | | | so far, mostly compile-time tested. Real testing happens as side-activity when implementing other parts of the new config system | ||||
* | omusrmsg now supports the new config system | Rainer Gerhards | 2011-07-21 | 1 | -1/+1 |
| | |||||
* | bugfix: abort in omfile (in brand-new code) | Rainer Gerhards | 2011-07-21 | 3 | -1/+7 |
| | |||||
* | fixing minor memory leaks | Rainer Gerhards | 2011-07-21 | 2 | -1/+46 |
| | |||||
* | milestone: done plumbing to call plugin create action instance entry point | Rainer Gerhards | 2011-07-20 | 1 | -2/+3 |
| | |||||
* | milestone: size syntax implemented | Rainer Gerhards | 2011-07-19 | 1 | -0/+48 |
| | |||||
* | milestone: glbl obj parameters settable via new conf interface | Rainer Gerhards | 2011-07-19 | 2 | -0/+3 |
| | |||||
* | milestone: two syntaxes for get conf param implemented | Rainer Gerhards | 2011-07-19 | 2 | -4/+76 |
| | |||||
* | milestone: first steps at global() conf obj implementation | Rainer Gerhards | 2011-07-19 | 3 | -0/+184 |
| | | | | | also, the foundation for accessing conf file params has been laid. Still more work to do... | ||||
* | removed some printf's left in lexer | Rainer Gerhards | 2011-07-15 | 1 | -4/+5 |
| | | | | | may cause some mild confusion if someone actually uses the not-yet-officially-supported construct | ||||
* | better check for config errors | Rainer Gerhards | 2011-07-15 | 4 | -23/+63 |
| | |||||
* | renamed exprret type to var in spite of more generic use | Rainer Gerhards | 2011-07-15 | 2 | -49/+55 |
| | |||||
* | preparing for 6.3.3v6.3.3 | Rainer Gerhards | 2011-07-13 | 1 | -0/+1 |
| | |||||
* | forgotten to support the discard action ("~") | Rainer Gerhards | 2011-07-13 | 1 | -0/+1 |
| |