summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* solved a recently introduced race during input thread shutdownRainer Gerhards2009-10-155-31/+72
| | | | | | | This was introduced when we re-enabled non-cancel thread termination a few commits ago. This code has never been released as a tarball, so that is no bugfix for a release but rather a WiP regression fix and thus does not need to be mentioned in the ChangeLog.
* improved imudp so that epoll can be used in more environmentsRainer Gerhards2009-10-153-3/+12
| | | | Fixed potential compile time problem if EPOLL_CLOEXEC is not available.
* updated project statusRainer Gerhards2009-10-151-4/+4
|
* Merge branch 'v4-devel'Rainer Gerhards2009-10-143-4/+9
|\
| * Merge branch 'v4-beta' into v4-develRainer 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 v4-develRainer Gerhards2009-10-142-1/+7
| |\| |
| * | | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-10-085-5/+15
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: tools/omfile.c
* | | | | doc[minor]: as requested by Adiscon, moved professional services info to webRainer Gerhards2009-10-141-102/+17
| | | | |
* | | | | Merge branch 'beta'Rainer Gerhards2009-10-144-1/+13
|\ \ \ \ \
| * \ \ \ \ 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
| | | | |
* | | | | enhanced omfile to support transactional interfaceRainer Gerhards2009-10-132-3/+22
| | | | | | | | | | | | | | | | | | | | This will increase performance in many cases.
* | | | | added multi-ruleset support to imudpRainer Gerhards2009-10-139-75/+128
| | | | | | | | | | | | | | | | | | | | | | | | | also bumped version number and corrected ChangeLog, where I merged some post 5.3.1 changes into the 5.3.1 section.
* | | | | removed no longer needed msg_t property "bParseHOSTNAME"Rainer Gerhards2009-10-1310-14/+1
| | | | |
* | | | | enhanced immark to support non-cancel input module terminationRainer Gerhards2009-10-122-2/+17
| | | | |
* | | | | re-enabled input thread termination handling that does avoid thread cancellationRainer Gerhards2009-10-123-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...where possible. This provides a more reliable mode of rsyslogd termination (canceling threads my result in not properly freed resouces and potential later hangs, even though we perform proper cancel handling in our code). This is part of an effort to reduce thread cnacellation as much as possible in rsyslog. NOTE: some comments indicated that there were problems with some code that has been re-activated. Testing did not show any issues. My current assumption is that these issues were related to some other code that has been removed/changed during the previous restructuring events. In any case, if there is a shutdown issue, one should carefully look at this change here!
* | | | | changed submitAndParseMsg() interface to be a wrapper around the new interfaceRainer Gerhards2009-10-122-317/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... for message creation/submission. This enables older plugins to be used together with the new interface. The removal also enables us to drop a lot of duplicate code, reducing complexity and increasing maintainibility.
* | | | | updated doc in imtemplate so that it no longer promotes legacy interfaceRainer Gerhards2009-10-121-29/+6
| | | | | | | | | | | | | | | | | | | | parseAndSubmitMsg will go away
* | | | | changed imuxsock to no longer use deprecated submitAndParseMsg() interfaceRainer Gerhards2009-10-123-17/+66
| | | | |
* | | | | updated project statusRainer Gerhards2009-10-121-4/+4
| | | | |
* | | | | Merge branch 'beta'Rainer Gerhards2009-10-0915-22/+134
|\| | | |
| * | | | 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
| | | | | |
* | | | | | updated project statusRainer Gerhards2009-10-051-4/+4
| | | | | |
* | | | | | preparing for 5.3.1v5.3.1Rainer Gerhards2009-10-051-1/+1
| | | | | |
* | | | | | Merge branch 'beta'Rainer Gerhards2009-10-054-4/+18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html tools/omfile.c
| * | | | | 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
* | | | | | Merge branch 'v4-devel' into tmpRainer Gerhards2009-10-0213-85/+238
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/rsyslog.h tcpsrv.c
| * | | | | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-10-0215-110/+309
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | * | | | 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
| | | |\ \ \ | | | | | |/ | | | | |/|