summaryrefslogtreecommitdiffstats
path: root/grammar
Commit message (Collapse)AuthorAgeFilesLines
* cleanupRainer Gerhards2012-09-261-2/+0
|
* Merge branch 'v6-stable' into v6-develRainer Gerhards2012-09-211-1/+1
|\
| * Implemented different grammar for pri filtersRainer Gerhards2012-09-211-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 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.
* | Free configuration objects after useMiloslav Trmač2012-09-171-1/+2
| | | | | | | | Signed-off-by: Miloslav Trmač <mitr@redhat.com>
* | 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-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.
* | 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.
* | 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
| |
* | bugfix: expression-based filters with AND/OR could segfaultRainer Gerhards2012-06-111-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 situationsRainer Gerhards2012-06-051-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 bitRainer Gerhards2012-06-051-3/+2
| | | | | | | | so that we have cleaner code
* | cosmetic: removed autoconf warning messagesRainer Gerhards2012-06-041-4/+4
|/
* bugfix: number conversion in expression evaluation was not always correctRainer Gerhards2012-04-231-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 correctlyRainer Gerhards2012-02-012-2/+1
|
* added support for v6 config system to omfwdRainer Gerhards2011-10-111-2/+2
|
* bugfix: facility local<x> was not correctly interpreted in legacy filtersRainer Gerhards2011-09-281-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 themRainer Gerhards2011-09-151-1/+1
| | | | ...inside property-based filters. Thanks to Gerrit Seré for reporting this.
* milestone: queue object now has a param handler for new conf interfaceRainer Gerhards2011-07-223-3/+48
| | | | ... and action queue defs use this new interface (but not yet the main queues)
* need to handle legacy-legacy omusrmsg format stricterRainer Gerhards2011-07-221-1/+1
| | | | otherwise, the grammar for if-constructs was broken
* milestone: all syntaxes for new config handler implementedRainer Gerhards2011-07-222-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 systemRainer Gerhards2011-07-211-1/+1
|
* bugfix: abort in omfile (in brand-new code)Rainer Gerhards2011-07-213-1/+7
|
* fixing minor memory leaksRainer Gerhards2011-07-212-1/+46
|
* milestone: done plumbing to call plugin create action instance entry pointRainer Gerhards2011-07-201-2/+3
|
* milestone: size syntax implementedRainer Gerhards2011-07-191-0/+48
|
* milestone: glbl obj parameters settable via new conf interfaceRainer Gerhards2011-07-192-0/+3
|
* milestone: two syntaxes for get conf param implementedRainer Gerhards2011-07-192-4/+76
|
* milestone: first steps at global() conf obj implementationRainer Gerhards2011-07-193-0/+184
| | | | | also, the foundation for accessing conf file params has been laid. Still more work to do...
* removed some printf's left in lexerRainer Gerhards2011-07-151-4/+5
| | | | | may cause some mild confusion if someone actually uses the not-yet-officially-supported construct
* better check for config errorsRainer Gerhards2011-07-154-23/+63
|
* renamed exprret type to var in spite of more generic useRainer Gerhards2011-07-152-49/+55
|
* preparing for 6.3.3v6.3.3Rainer Gerhards2011-07-131-0/+1
|
* forgotten to support the discard action ("~")Rainer Gerhards2011-07-131-0/+1
|
* doc: v6 compatiblity doc addedRainer Gerhards2011-07-131-3/+4
|
* lexer bug: *.somewhat PRIs not detectedRainer Gerhards2011-07-131-1/+1
| | | | regression from last update
* removed emergency config, do error reporting on fatal config file errorRainer Gerhards2011-07-122-4/+5
|