summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: missing whitespace after property-based filter was not detectedRainer Gerhards2011-10-212-1/+2
|
* bugfix: $OMFileFlushInterval period was doubled - now using correct valueRainer Gerhards2011-10-181-1/+1
|
* bugfix: race condition when extracting structured data and PROCIDRainer Gerhards2011-10-131-3/+21
| | | | same issue as previous commit for PROGNAME and APPNAME
* bugfix: race condition when extracting program name and APPNAMERainer Gerhards2011-10-131-4/+24
| | | | could lead to invalid characters e.g. in dynamic file names
* bugfix: imfile did invalid system call under some circumstancesRainer Gerhards2011-10-071-4/+6
| | | | | | when a file that was to be monitored did not exist BUT the state file actually existed. Mostly a cosmetic issue. Root cause was incomplete error checking in stream.c; so patch may affect other code areas.
* bugfix: omfile returns fatal error code for things that go really wrongRainer Gerhards2011-09-261-1/+0
| | | | | previously, RS_RET_RESUME was returned, which lead to a loop inside the rule engine as omfile could not really recover.
* removed debug code from action.c and runtime/queue.c after testingAndre Lorbach2011-08-181-4/+0
|
* bugfix: fixed incorrect state handling for Discard Action (transactions)Andre Lorbach2011-08-181-0/+13
|
* Added debug output into message parsers needed for bugtrackingAndre Lorbach2011-08-121-0/+5
| | | | Changed version to 5.8.5-pre1
* bugfixes for tag emulationRainer Gerhards2011-08-111-2/+5
| | | | | - bugfix: potential hang condition during tag emulation - bugfix: too-early string termination during tag emulation
* Fixed BUG in MsgDup (msg.c), the NULL Byte was not copied for the SyslogTagAndre Lorbach2011-08-101-1/+1
| | | | | The syslogtag of the duplicated message could get contain garbage at the end as the string terminating NULL Byte was missing.
* Merge branch 'v5-stable-msgidfix' into v5-stableAndre Lorbach2011-08-101-3/+10
|\
| * Cosmetic changeAndre Lorbach2011-07-271-2/+2
| |
| * Fixed a stupid return bug introduced by the last commitAndre Lorbach2011-07-271-1/+2
| |
| * Experimentally added mutex lock in getMSGID in order to fix bug 275.Andre Lorbach2011-07-261-3/+9
| |
* | Merge branch 'v4-stable' into v5-stableRainer Gerhards2011-08-091-1/+1
|\ \
| * | bugfix: memcpy overflow can occur in allowed sender checkingMarius Tomaschewski2011-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | | ...if a host name is resolved to IPv4-mapped-on-IPv6 address. Found by Ismail Dönmez at suse. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * | Merge branch 'v3-stable' into v4-stableAndre Lorbach2011-08-051-7/+7
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/msg.c
| | * | bugfix: potential misadressing in property replacerAndre Lorbach2011-08-051-7/+7
| | | |
* | | | bugfix: potential misadressing in property replacerAndre Lorbach2011-08-051-7/+9
| |_|/ |/| |
* | | added warning message for old-style outchannel syntaxRainer Gerhards2011-07-111-0/+1
| | |
* | | bugfix: mutex was invalidly left unlocked during action processingv5.8.2Rainer Gerhards2011-06-211-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | At least one case where this can occur is during thread shutdown, which may be initiated by lower activity. In most cases, this is quite unlikely to happen. However, if it does, data structures may be corrupted which could lead to fatal failure and segfault. I detected this via a testbench test, not a user report. But I assume that some users may have had unreproducable aborts that were cause by this bug.
* | | bugfix: problems in failover action handlingRainer Gerhards2011-06-201-1/+0
| | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=254
* | | Merge branch 'v4-stable' into v5-stableRainer Gerhards2011-06-161-1/+1
|\| |
| * | Merge branch 'v3-stable' into v4-stableRainer Gerhards2011-06-161-1/+1
| |\| | | | | | | | | | | | | Conflicts: runtime/datetime.c
| | * bugfix: timestamp was incorrectly calculated for timezones with minute offsetRainer Gerhards2011-06-161-1/+1
| | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=271
| * | bugfix: memory leak in imtcp & subsystems under some circumstancesRainer Gerhards2011-06-141-0/+3
| | | | | | | | | | | | | | | This leak is tied to error conditions which lead to incorrect cleanup of some data structures. [backport from v6, limited testing under v4]
* | | bugfix: problems in failover action handlingRainer Gerhards2011-06-161-3/+9
| | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=270 (not yet confirmed!)
* | | bugfix/improvement:$WorkDirectory now gracefully handles trailing slashesRainer Gerhards2011-06-152-1/+23
| | |
* | | bugfix: TLS-induced smaller memory still existed, now fixedRainer Gerhards2011-06-141-0/+3
| | |
* | | bugfix: memory leak in imtcp & subsystems under some circumstancesRainer Gerhards2011-06-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This leak is tied to error conditions which lead to incorrect cleanup of some data structures. Note: this is a backport from v6. In v5, we currently do not have the toolchain to verify the original problem and that it is solved. So this patch is preliminary and subject to change as work progresses.
* | | somewhat improved debug loggingRainer Gerhards2011-06-101-0/+6
| | |
* | | Merge branch 'v4-stable' into v5-stableRainer Gerhards2011-05-111-1/+5
|\| | | | | | | | | | | | | | Conflicts: runtime/queue.c
| * | bugfix: invalid processing in QUEUE_FULL conditionRainer Gerhards2011-05-111-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the the multi-submit interface was used and a QUEUE_FULL condition occured, the failed message was properly destructed. However, the rest of the input batch, if it existed, was not processed. So this lead to potential loss of messages and a memory leak. The potential loss of messages was IMHO minor, because they would have been dropped in most cases due to the queue remaining full, but very few lucky ones from the batch may have made it. Anyhow, this has now been changed so that the rest of the batch is properly tried to be enqueued and, if not possible, destructed.
* | | bugfix: $LocalHostName was not honored under all circumstancesRainer Gerhards2011-05-091-0/+6
| | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=258
* | | Merge branch 'v4-stable' into v5-stableRainer Gerhards2011-05-031-0/+11
|\| |
| * | bugfix: memory and file descriptor leak in stream processingRainer Gerhards2011-05-031-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | Leaks could occur under some circumstances if the file stream handler errored out during the open call. Among others, this could cause very big memory leaks if there were a problem with unreadable disk queue files. In regard to the memory leak, this closes: http://bugzilla.adiscon.com/show_bug.cgi?id=256
* | | Merge branch 'v4-stable' into v5-stableRainer Gerhards2011-05-021-2/+4
|\| | | | | | | | | | | | | | Conflicts: tcpsrv.c
| * | slightly more informative errmsg when TCP connection is abortedRainer Gerhards2011-05-021-2/+4
| | |
| * | bugfix: abort if imfile reads file line of more than 64KiBRainer Gerhards2011-02-101-1/+1
| | | | | | | | | | | | | | | Thanks to Peter Eisentraut for reporting and analysing this problem. bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=221
* | | bugfix: $myhostname not available in RainerScript (and no error message)Rainer Gerhards2011-04-143-5/+21
| | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=233
* | | cleanup: initially thought temporary debug message made durable ;)Rainer Gerhards2011-04-121-2/+2
| | | | | | | | | | | | | | | It has proven to be very valuable, so now it is properly formatted inside the source.
* | | bugfix: race condition in deferred name resolutionRainer Gerhards2011-04-081-115/+117
| | | | | | | | | | | | | | | | | | Note that this actually is a very small change, but I needed to shuffle a lot of code around in order to make it compile (due to required define order...).
* | | stop adding data to DA queue when low watermark has been reachedRainer Gerhards2011-03-301-0/+4
| | | | | | | | | | | | | | | potentially closes: http://bugzilla.adiscon.com/show_bug.cgi?id=241 But needs more verification.
* | | bugfix: PRI was invalid on Solaris for message from local log socketCorey Smith2011-03-241-3/+3
| | | | | | | | | | | | Signed-off-by: root <root@localhost.localdomain>
* | | enhance: added $BOM system property to ease writing byte order masksRainer Gerhards2011-03-222-0/+11
| | |
* | | backporting patch for clean make distcheckRainer Gerhards2011-03-161-0/+3
| | |
* | | Fall back to epoll_create() if epoll_create1() is not availableMichael Biebl2011-03-141-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | epoll_create1() was introduced in Linux kernel 2.6.27. If rsyslog was compiled on a newer kernel but run on a kernel older than 2.6.27, remote syslog fails. Apply a runtime check for epoll_create1() and fall back to epoll_create() in this case. Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617996
* | | Merge branch 'v5-beta-gtls-fix' into v5-betaRainer Gerhards2011-03-0610-4/+85
|\ \ \
| * | | bugfix: regression: memory leak in module loaderBojan Smojver2011-03-042-13/+21
| | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>