summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* preparing for version 5.2.0v5.2.0Rainer Gerhards2009-11-024-2/+51
|
* Merge branch 'v4-beta' into betaRainer Gerhards2009-10-212-4/+7
|\
| * Merge branch 'v4-stable' into v4-betaRainer Gerhards2009-10-212-3/+6
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imrelp/imrelp.c
| | * bumped version numberRainer Gerhards2009-10-203-4/+6
| | |
| | * added imported bugfix to changelogRainer Gerhards2009-10-201-0/+2
| | |
| | * Merge branch 'v3-stable' into v4-stableRainer Gerhards2009-10-202-2/+1
| | |\
| | | * bugfix: potential hang condition on queue shutdownRainer Gerhards2009-10-202-2/+1
| | | |
| | * | Merge branch 'v3-stable' into v4-stableRainer Gerhards2009-10-143-5/+9
| | |\| | | | | | | | | | | | | | | | | Conflicts: plugins/imrelp/imrelp.c
| | * | preparing for 4.4.2 releasev4.4.2Rainer Gerhards2009-10-091-1/+1
| | | |
| * | | Merge branch 'aaron' into v4-betaRainer Gerhards2009-10-211-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | * | | preparing for 4.5.5v4.5.5Rainer Gerhards2009-10-211-1/+1
| | | | |
* | | | | prepared for 5.1.6, corrected typov5.1.6Rainer Gerhards2009-10-152-2/+2
| | | | |
* | | | | Merge branch 'v4-beta' into betaRainer Gerhards2009-10-143-4/+9
|\| | | |
| * | | | Merge branch 'v3-stable' into v4-betaRainer Gerhards2009-10-143-4/+9
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | Conflicts: plugins/imrelp/imrelp.c
| | * | | enhance: imrelp now also provides remote peer's IP addressRainer Gerhards2009-10-143-4/+9
| | | | | | | | | | | | | | | | | | | | [if librelp != 1.0.0 is used]
* | | | | Merge branch 'v4-beta' into betaRainer Gerhards2009-10-142-1/+7
|\| | | |
| * | | | bugfix(minor): diag function returned wrong queue memeber countRainer Gerhards2009-10-142-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...for the main queue if an active DA queue existed. This had no relevance to real deployments (assuming they are not running the debug/diagnostic module...), but sometimes caused grief and false alerts in the testbench.
* | | | | added one more parser test caseRainer Gerhards2009-10-092-0/+6
| | | | |
* | | | | bugfix: potential segfault on messages with empty MSG part.Rainer Gerhards2009-10-092-7/+14
| | | | | | | | | | | | | | | | | | | | This was a recently introduced regression.
* | | | | Merge branch 'v4-beta' into betaRainer Gerhards2009-10-082-1/+3
|\| | | |
| * | | | Merge branch 'aaron' into v4-betaRainer Gerhards2009-10-082-1/+3
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | bugfix: debug string larger than 1K were improperly displayed.Rainer Gerhards2009-10-082-1/+3
| | | | | | | | | | | | | | | | | | | | Max size is now 32K.
* | | | | bugfix and testbench improvementsRainer Gerhards2009-10-0712-8/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - bugfix: solved potential (temporary) stall of messages when the queue was almost empty and few new data added (caused testbench to sometimes hang!) - fixed some race condition in testbench - added more elaborate diagnostics to parts of the testbench - solved a potential race inside the queue engine
* | | | | bugfix and testbench improvementRainer Gerhards2009-10-073-4/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | made shutdown more reliable by makeing sure that the main queue DA worker is only cancelled if this is actually unavoidable. Also moved down the deletion of rsyslogd's pid file to immediately before termination, so that absence of the file is a proper indication that rsyslogd has finished (in the past, e.g. the testbench accidently ran two intances as the pid file was deleted too early). Also some improvments to the testbench, namely to handle aborts more intelligently (but still not perfect).
* | | | | bugfix: potential race condition when queue worker threads were terminatedRainer Gerhards2009-10-063-2/+13
| | | | |
* | | | | Merge branch 'v4-beta' into betaRainer Gerhards2009-10-054-4/+12
|\| | | |
| * | | | Merge branch 'aaron' into v4-betaRainer Gerhards2009-10-054-4/+12
| |\| | |
| | * | | bugfix: invalid storage class selected for some size config parameters.Rainer Gerhards2009-10-053-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This resulted in wrong values. The most prominent victim was the directory creation mode, which was set to zero in some cases. For details, see related blog post: http://blog.gerhards.net/2009/10/another-note-on-hard-to-find-bugs.html This replaces the improper bugfix from two commits ago with a proper one.
| | * | | bugfix[minor]: CHKiRet improperly usedRainer Gerhards2009-10-021-1/+1
| | | | |
| | * | | DirCreateMode was always zero. work-around now is to do a...Rainer Gerhards2009-10-021-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | one-time write to the mode, then all works. However, if no such write is done, the variable always remains zero. I have used the memory debugger as well as shuffled the code around and used guard variables nothing changed. The problem always moved with the changes I did. So I now consider the one-time write a usable work-around, because it definitely fixes the issue even though it does not explain why it happens.
* | | | | Merge branch 'v4-beta' into betaRainer Gerhards2009-10-0213-81/+238
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/rsyslog.h tcpsrv.c
| * | | | bumped version numberRainer Gerhards2009-10-023-2/+9
| | | | |
| * | | | Merge branch 'aaron' into v4-betaRainer Gerhards2009-10-028-3/+39
| |\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| | * | | bumped version number, corrected error message code (minor nit)Rainer Gerhards2009-10-014-3/+4
| | | | |
| | * | | added $InputTCPServerNotifyOnConnectionClose config directiveRainer Gerhards2009-10-015-1/+36
| | | | |
| * | | | Merge branch 'v4-stable' into v4-betaRainer Gerhards2009-10-011-1/+1
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h tools/syslogd.c
| | * | | RFC5424 formatted messages with only structured data and no MSG part were ↵Rainer Gerhards2009-10-013-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | improperly handled. This was a regression of one of the last bugfixes, so no previously released version contained this bug (thus it does not show up in the ChangeLog).
| * | | | Merge branch 'v4-stable' into v4-beta & BUGFIXRainer Gerhards2009-10-019-77/+185
| |\| | | | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac doc/manual.html runtime/datetime.h runtime/parser.c runtime/rsyslog.h tools/syslogd.c v4-stable had a bug with RFC5424-formatted structured data, which showed was detected by the enhanced automatted testbench of v4-beta.
| | * | Merge branch 'v3-stable' into v4-stableRainer Gerhards2009-09-302-3/+8
| | |\|
| | | * Merge branch 'v2-stable' into v3-stableRainer Gerhards2009-09-302-4/+9
| | | |\
| | | | * doc bugfix: default for $DirCreateMode incorrectly statedRainer Gerhards2009-09-302-4/+9
| | | | |
| | * | | bugfix: zero-sized UDP messages are no longer processedRainer Gerhards2009-09-292-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now, they were forwarded to processing, but this makes no sense Also, it looks like the system seems to provide a zero return code on a UDP recvfrom() from time to time for some internal reasons. These "receives" are now silently ignored.
| | * | | bugfix: invalid handling of zero-sized messagesRainer Gerhards2009-09-292-2/+6
| | | | | | | | | | | | | | | | | | | | could lead to mis-addressing and potential memory corruption/segfault
| | * | | bumped version numberRainer Gerhards2009-09-292-2/+2
| | | | |
| | * | | bugfix: random data could be appended to message, possibly causing segfaultsRainer Gerhards2009-09-246-80/+160
| | | | |
* | | | | Merge branch 'v4-beta' into betaRainer Gerhards2009-09-295-32/+85
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | | | minor cleanup & preparation for 4.5.4v4.5.4Rainer Gerhards2009-09-292-10/+1
| | | | |
| * | | | bugfix: this morning's race patch was incomplete, completing nowRainer Gerhards2009-09-241-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we needed to release ALL resources (including file handles!) only after the the async writer thread has terminated (else it may access them). In this case, we had a file handle leak, because the handle was sometimes only opened in the async writer, but the close was attempted before the writer even started (in some cases).
| * | | | (temporary?) removal of very conservative locks in stream.cRainer Gerhards2009-09-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...after we seem to have identified the root cause of the segfault. I leave them commented out so that we can re-activate it if need arises (aka "get some practice drill first").
| * | | | bugfix: potential segfault in stream writer on destructionRainer Gerhards2009-09-242-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most severely affected omfile. The problem was that some buffers were freed before the asynchronous writer thread was shut down. So the writer thread accessed invalid data, which may even already be overwritten. Symptoms (with omfile) were segfaults, grabled data and files with random names placed around the file system (most prominently into the root directory). Special thanks to Aaron for helping to track this down.