3705 Commits

Author SHA1 Message Date
Rainer Gerhards
5c84debabb Merge branch 'v5-beta-gtls-fix' into v5-beta 2011-03-06 14:57:29 +01:00
Rainer Gerhards
b8610a107e added first experimental skeleton of what is to become a testconfig generator
currently it generates only the power set, more work to do to make it
a real config generator.
2011-03-04 09:19:08 +01:00
Bojan Smojver
87f8ac6dc4 bugfix: regression: memory leak in module loader
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2011-03-04 07:55:53 +01:00
Rainer Gerhards
3018b443e7 preparing for 5.7.7 v5.7.7 2011-03-02 14:01:48 +01:00
Rainer Gerhards
bd73f263b3 bugfix: potential abort condition when $RepeatedMsgReduction set to on
as well as potentially in a number of other places where MsgDup() was
used. This only happened when the imudp input module was used and it
depended on name resolution not yet had taken place. In other words,
this was a strange problem that could lead to hard to diagnose
instability. So if you experience instability, chances are good that
this fix will help.
2011-03-01 14:23:21 +01:00
Rainer Gerhards
5b1cd33301 preparing for 5.7.6 v5.7.6 2011-02-25 14:43:30 +01:00
Rainer Gerhards
1ef709cc97 bugfix: fixed a memory leak and potential abort condition
this could happen if multiple rulesets were used and some output batches
contained messages belonging to more than one ruleset.
fixes: http://bugzilla.adiscon.com/show_bug.cgi?id=226
fixes: http://bugzilla.adiscon.com/show_bug.cgi?id=218
2011-02-25 14:14:17 +01:00
Rainer Gerhards
f46fa5ca00 cosmetic: removing commented-out testing aid 2011-02-25 12:37:03 +01:00
Rainer Gerhards
0d79a0304d Merge branch 'v5-beta' of git+ssh://git.adiscon.com/git/rsyslog into v5-beta 2011-02-25 11:13:50 +01:00
Rainer Gerhards
e9aca61ad3 Merge branch 'v5-stable' into v5-beta
Conflicts:
	ChangeLog
2011-02-25 11:07:47 +01:00
Rainer Gerhards
dfa88369d4 bugfix: memory leak when $RepeatedMsgReduction on was used
bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=225
2011-02-25 11:05:57 +01:00
Rainer Gerhards
0ed775c9ed Merge branch 'v5-beta' of git+ssh://git.adiscon.com/git/rsyslog into v5-beta 2011-02-24 14:42:56 +01:00
Rainer Gerhards
876294adac bugfix: testbench failed when omuxsock was not selected in ./configure 2011-02-24 14:42:14 +01:00
Rainer Gerhards
bc5c178cfb bugfix: testbench failed when imptcp was not selected 2011-02-24 12:33:16 +01:00
Rainer Gerhards
7bccae395b fixed compile problems on Solaris 2011-02-23 16:22:17 +00:00
Bojan Smojver
d1eb6e0edc added work-around for bug in gtls, which causes fd leak when using TLS
The capability has been added for module to specify that they do not
like being unloaded.
related bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=222

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2011-02-23 11:25:43 +01:00
Rainer Gerhards
ee065f1cb5 fixed testsuite problems during make distcheck v5.7.5 2011-02-23 09:01:57 +01:00
Rainer Gerhards
e867cb4137 added debug support for trying to find well-hidden bug 2011-02-23 08:54:31 +01:00
Rainer Gerhards
095a7ec738 preparing for 5.7.5 release 2011-02-23 08:45:34 +01:00
Rainer Gerhards
de898fd589 bugfix (minor): warning message suggested invalid compatibility mode 2011-02-22 17:33:40 +01:00
Rainer Gerhards
87bffff894 added one more test for imuxsock to autmatted test suite
control character escaping is now also being tested
2011-02-22 16:10:21 +01:00
Rainer Gerhards
b7ee1de6b0 the last fix introduced another regression, fixed now
The previous fix left variable lenMsg in an inconsistent state when
sanitization actually happend. This could lead to message truncation.
2011-02-22 15:35:52 +01:00
Rainer Gerhards
70bd55d51b bugfix: imuxsock does not sanitization at all (regression)
This also causes problems when NUL characters are present inside
the message (as is the case with spamd).
2011-02-22 11:55:12 +01:00
Rainer Gerhards
36c1649fc1 improved testbench, added tests for imuxsock 2011-02-21 14:08:37 +01:00
Rainer Gerhards
314d353210 fixed dumb but important typo in code...
thanks to Michael Biebl for alterting me
2011-02-21 11:41:50 +01:00
Rainer Gerhards
026f59388a bugfix: imuxsock did no longer remove trailing LF
This was a regression from the imuxsock partial rewrite. Happened
because the message is no longer run through the standard parsers.
Now imuxsock does this sanitization itself.
bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=224
2011-02-21 09:10:45 +01:00
Rainer Gerhards
4d35185317 regression: fixed compile error with --enable-debug 2011-02-21 08:14:01 +01:00
Rainer Gerhards
2f1ef6164a enhance: imfile did not yet support multiple rulesets, now added
we do this directly in the beta because a) it does not affect existing
functionality and b) one may argue that this missing functionality is
close to a bug.
2011-02-18 16:04:50 +01:00
Rainer Gerhards
9f1e195f3d Merge branch 'v5-beta' of git+ssh://git.adiscon.com/git/rsyslog into v5-beta 2011-02-17 15:13:20 +01:00
Rainer Gerhards
39406781e5 bugfix: minor race condition in action.c - considered cosmetic
This is considered cosmetic as multiple threads tried to write exactly
the same value into the same memory location without sync. The method
has been changed so this can no longer happen.
2011-02-17 15:12:54 +01:00
Rainer Gerhards
c550907139 preparing for 5.7.4 release v5.7.4 2011-02-17 14:25:43 +01:00
Rainer Gerhards
84c9bbaffc Merge branch 'v5-stable' into v5-beta 2011-02-17 13:40:57 +01:00
Rainer Gerhards
237df37a86 bugfix: testbench was not activated if no Java was present on system
... what actually was a left-over. Java is no longer required.
2011-02-17 12:42:37 +01:00
Dražen Kačar
7052d3c378 bugfix: fixed compile problem due to empty structs
this occured only on some platforms/compilers. thanks to Dražen Kačar
for the fix

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2011-02-16 18:20:59 +01:00
Rainer Gerhards
772e0ae846 cleanup: no longer parameter in iminternal system removed 2011-02-16 11:46:56 +01:00
Rainer Gerhards
49c2bc380c improved error reporting for $WorkDirectory
non-existance and other detectable problems are now reported,
and the work directory is NOT set in this case
2011-02-15 11:06:15 +01:00
Rainer Gerhards
f3d354da3e bugfix: very long running actions could prevent shutdown under some circumstances
This has now been solved, at least for common situations.
2011-02-11 17:47:30 +01:00
Rainer Gerhards
6a18d25cbe removed no longer needed code 2011-02-11 17:06:20 +01:00
Rainer Gerhards
121f5ab4ec bugfix: queue engine did not properly slow down inputs in FULL_DELAY mode...
...when in disk-assisted mode. This especially affected imfile, which
created unnecessarily queue files if a large set of input file data was
to process.
2011-02-11 14:56:02 +01:00
Rainer Gerhards
2d67035d1b doc: added recent changes to changelog 2011-02-11 11:45:13 +01:00
Rainer Gerhards
c90079aaf0 fixed some compile issues in recent systemd patch 2011-02-11 11:25:06 +01:00
Marius Tomaschewski
1b84d59989 Improved systemd socket activation support
Support for multiple unix sockets and activation in forking mode

Signed-off-by: Marius Tomaschewski <mt@suse.de>
2011-02-11 11:13:46 +01:00
David Lang
a9736c6215 bugfix in pmsnare
when removing text from the message, decrement the length when you increment
the pointer through the message. there were a number of places where this was
missed.

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2011-02-11 07:44:09 +01:00
Rainer Gerhards
2c1021a01f enhanced imfile to support non-cancel input termination 2011-02-10 18:23:34 +01:00
Rainer Gerhards
1f66eb6efa bugfix: abort if imfile reads file line of more than 64KiB
Thanks to Peter Eisentraut for reporting and analysing this problem.
bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=221
2011-02-10 17:50:41 +01:00
Rainer Gerhards
df6bad70d4 cosmetic: making comments in stream.c a bit more readable 2011-02-10 17:46:04 +01:00
David Lang
fce5fe5127 pmcisconames: bugfix for short timestamps
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2011-02-10 07:36:34 +01:00
Rainer Gerhards
7de7360ede fixed invalid help strings in configure.ac
Thanks to Michael Biebl for mentioning this problem!
2011-02-08 18:01:17 +01:00
Rainer Gerhards
ff686d8021 prepare for new version 2011-02-08 12:16:25 +01:00
David Lang
fa89eef48e added pmsnare parser module
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2011-02-08 11:46:05 +01:00