summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: comments inside objects (e.g. action()) were not properly handledRainer Gerhards2012-10-042-0/+2
|
* cosmetic: add few files to .gitignoreRainer Gerhards2012-10-041-0/+15
|
* Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-10-021-2/+2
|\
| * minor: disable debug support in complex1.sh testRainer Gerhards2012-10-021-2/+2
| |
* | Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-10-023-3/+5
|\|
| * cleanupRainer Gerhards2012-10-021-1/+1
| |
| * bugfix: fixed wrong bufferlength for snprintf in tcpflood.cAndre Lorbach2012-09-283-3/+5
| | | | | | | | | | The problem occured when using the -f (dynafiles) option, and caused some tests to fail.
* | Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-09-262-0/+9
|\| | | | | | | | | Conflicts: plugins/imrelp/imrelp.c
| * enable DNS resolution in imrelpApollon Oikonomopoulos2012-09-262-0/+9
| |
* | Remove no longer needed functionRainer Gerhards2012-09-231-5/+0
| | | | | | | | | | | | Thanks to Andreas Stieger from Novell/SUSE for alerting us. This function was introduced as part of the new config system, but never was actually used (aka "not needed").
* | 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-212-1/+5
| | | | | | | | | | | | 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.
* | SimplifyRainer Gerhards2012-09-201-4/+1
| |
* | Added missing iRet handler code into CheckConnection() in netstrm.cAndre Lorbach2012-09-201-1/+4
| |
* | doc: add last bugfix to ChangeLogRainer Gerhards2012-09-201-0/+5
| |
* | Fix missing Sysklogd templateMilan Bartos2012-09-201-0/+3
| | | | | | | | modified: runtime/rsconf.c
* | preparing for 6.4.2 releasev6.4.2Rainer Gerhards2012-09-204-3/+3
| |
* | testbench: do not run tests requiring root privs if non-rootRainer Gerhards2012-09-202-0/+8
| |
* | bugfix: config validation run did not always return correct return stateRainer Gerhards2012-09-202-0/+2
| |
* | bugfix: potential abort, if action queue could not be properly startedRainer Gerhards2012-09-193-2/+19
| | | | | | | | This most importantly could happen due to configuration errors.
* | Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-09-141-1/+1
|\|
| * Debug logging slightly improvedRainer Gerhards2012-09-141-1/+1
| |
* | 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.
* | Fix new testbench testRainer Gerhards2012-09-141-1/+1
| |
* | Add test for script-based contains filter to testbenchRainer Gerhards2012-09-143-0/+20
| |
* | Fixing string unescaping (new code from this morning's commit)Rainer Gerhards2012-09-131-1/+1
| |
* | Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-09-132-78/+87
|\| | | | | | | | | Conflicts: runtime/rule.c
| * bugfix: invalid property name in property-filter could cause abortRainer Gerhards2012-09-132-56/+67
| | | | | | | | | | | | ...if action chaining (& operator) was used http://bugzilla.adiscon.com/show_bug.cgi?id=355 Thanks to pilou@gmx.com for the bug report
* | bugfix: missing support for escape sequences in RainerScriptRainer Gerhards2012-09-135-2/+162
| | | | | | | | | | | | | | 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.
* | nit: correct messed-up ChangeLogRainer Gerhards2012-09-121-3/+5
| |
* | Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-09-122-5/+11
|\| | | | | | | | | Conflicts: ChangeLog
| * remove unused variables (if SCM_CREDENTIALS is not available)Cristian Ionescu-Idbohrn2012-09-122-1/+9
| |
| * imuxsock: remove incorrect socket option callCristian Ionescu-Idbohrn2012-09-121-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SCM_CREDENTIALS is not a socket option; its value is usually 0x2 which on most archs corresponds to socket option SO_REUSEADDR, but on mips-arch there is no socket option with value 0x2 and SO_REUSEADDR = 0x4, so the call will fail with ENOPROTOOPT 'Protocol not available'; skip it. There does not seem any other special setsockopt call is needed anyway, besides the above. In addition Jonny Törnbom commented: SCM_CREDENTIALS is a control message type, not a socket option, so using setsockopt(...SCM_CREDENTIALS...) is potentially dangerous and wrong and should be deleted from the code. (SCM_CREDENTIALS is used in conjuction with SO_PASSCRED which is the socket option to use.)
* | Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-09-111-3/+1
|\|
| * fix compile problem on FreeBSDBrad Davis2012-09-111-3/+1
| |
* | preparing for 6.4.1 releasev6.4.1Rainer Gerhards2012-09-064-7/+9
| |
* | Fixed TCP CheckConnection handling in omfwd.c.Andre Lorbach2012-08-257-9/+30
| | | | | | | | Interface needed to be changed in lower stream classes. Syslog TCP Sending is now resumed properly.
* | bugfix: omusrsmsg incorrect return state & config warning handlingRainer Gerhards2012-08-283-2/+26
| | | | | | | | | | | | | | | | | | | | | | During config file processing, Omusrmsg often incorrectly returned a warning status, even when no warning was present (caused by uninitialized variable). Also, the core handled warning messages incorrectly, and treated them as errors. As a result, omusrmsg (most often) could not properly be loaded. Note that this only occurs with legacy config action syntax. This was a regression caused by an incorrect merge in to the 6.3.x codebase. Thanks to Stefano Mason for alerting us of this bug.
* | doc: add incompatible patch info to ChangeLogRainer Gerhards2012-08-261-0/+12
| |
* | INCOMPATIBLE: Return {} for missing $!all-jsonMiloslav Trmač2012-08-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | %$!all-json% will return a {}-wrapped object if there are are any events, or when there is an attached (empty) pMsg->event, but an empty string if nothing is attached. Let it return an empty object "{}" in that case for consistency. In particular, this allows $template MongoTemplate,"{%hostname:::jsonf:sys%, %$!all-json:2:$:%" to always result in a valid JSON. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
* | INCOMPATIBLE: use :, not =, as separator for jsonfMiloslav Trmač2012-08-262-2/+2
| | | | | | | | | | | | | | JSON fields are "name":value, not "name"=value. Therefore change the jsonf flag to use a colon. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
* | Remove a no-effect ", NULL";Miloslav Trmač2012-08-261-1/+1
| | | | | | | | | | | | It does nothing, at is just confusing. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
* | Fix printing of some template optionsMiloslav Trmač2012-08-261-1/+4
| | | | | | | | Signed-off-by: Miloslav Trmač <mitr@redhat.com>
* | cleanup: remove left-over commented-out codeRainer Gerhards2012-08-251-10/+0
| |
* | Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-08-2521-105/+193
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c configure.ac doc/manual.html runtime/ruleset.c template.h threads.c tools/syslogd.c
| * Merge branch 'v5-stable' of git+ssh://git.adiscon.com/git/rsyslog into v5-stableRainer Gerhards2012-08-253-30/+48
| |\ | | | | | | | | | | | | Conflicts: template.c
| | * change template.[ch] to ASL 2.0, removing a GPLv3-only patchRainer Gerhards2012-08-253-30/+48
| | | | | | | | | | | | | | | see template.c file header for details Note that this functionality was almost never used in practice
| * | preparing for 5.10.0 releasev5.10.0Rainer Gerhards2012-08-224-4/+11
| | |
| * | Merge branch 'v5-stable' into v5-betaRainer Gerhards2012-08-221-2/+6
| |\| | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | * preparing for 5.8.13 releasev5.8.13Rainer Gerhards2012-08-223-3/+3
| | |