summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | | | | 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
| | | |_|_|_|_|_|_|/ | | |/| | | | | | |
| * | | | | | | | | Merge branch 'v5-stable' into betaRainer Gerhards2011-06-143-2/+10
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/nsd_gtls.c tcpsrv.c tests/Makefile.am
| | * | | | | | | | 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
| | | |_|_|_|/ / / | | |/| | | | | |
* | | | | | | | | bugfix: TLS-mode memory leak was not completely fixed with previous commitRainer Gerhards2011-06-141-2/+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.
* | | | | | | | | dnscache: bugfix, potentially grabagge data accessedRainer Gerhards2011-06-072-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a bug of the new implementation, never released code.
* | | | | | | | | added upper limit on # of dns cache entries to prevent DoSRainer Gerhards2011-06-072-4/+59
| | | | | | | | |
* | | | | | | | | added a first implementation of a DNS name cacheRainer Gerhards2011-06-065-136/+333
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this still has a couple of weaknesses, like no size limit, no expiration of entries, suboptimal algorithms -- but it should perform better than what we had previously. Implementation will be improved based on feedback during the next couple of releases
* | | | | | | | | cleaned-up umask handlingRainer Gerhards2011-06-012-14/+18
| | | | | | | | |
* | | | | | | | | regression fix: config validation code affected by recent changesRainer Gerhards2011-05-301-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | did not return with proper return value
* | | | | | | | | Merge branch 'beta'Rainer Gerhards2011-05-213-1/+22
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog plugins/imrelp/imrelp.c
| * | | | | | | | Merge branch 'v5-stable' into betaRainer Gerhards2011-05-201-1/+5
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html doc/rsyslog_conf_modules.html plugins/imrelp/imrelp.c
| | * | | | | | | 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.
| * | | | | | | Merge branch 'v5-stable' into betaRainer Gerhards2011-05-093-2/+21
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tools/omfwd.c
| | * | | | | | 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
* | | | | | | regression fix: activation for legacy modules handled incorrectlyRainer Gerhards2011-05-121-0/+1
| | | | | | |
* | | | | | | step: imuxsock changed to new config systemRainer Gerhards2011-05-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | now also properly works with privilege drop
* | | | | | | step: imtcp did not properly handle privilege dropRainer Gerhards2011-05-062-4/+4
| | | | | | |
* | | | | | | step: conf interface now natively supports priv dropRainer Gerhards2011-05-064-15/+84
| | | | | | |
* | | | | | | step: generalized new config interface for all module typesRainer Gerhards2011-05-064-35/+68
| | | | | | |
* | | | | | | step: imtcp moved to new config interfaceRainer Gerhards2011-05-054-1/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | as far as we know that new interface right now ;)
* | | | | | | step: imudp utilizes interim new input module interfaceRainer Gerhards2011-05-045-4/+11
| | | | | | |
* | | | | | | step: small improvements to input mod config plumbingRainer Gerhards2011-05-032-6/+11
| | | | | | |
* | | | | | | step: put plumbing in place for new input module config systemRainer Gerhards2011-05-036-53/+258
| | | | | | |
* | | | | | | step: action queues now activated only AFTER privilege dropRainer Gerhards2011-05-021-0/+1
| | | | | | |
* | | | | | | Merge branch 'v5-stable'Rainer Gerhards2011-05-021-2/+4
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | 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
* | | | | | step: moved main message queue activation to after priv dropRainer Gerhards2011-04-271-0/+21
| | | | | |
* | | | | | minor: some better debug instrumentationRainer Gerhards2011-04-271-2/+4
| | | | | |
* | | | | | step: config-specific module list used during config processingRainer Gerhards2011-04-274-28/+39
| | | | | |
* | | | | | step: added config-specific module listRainer Gerhards2011-04-277-51/+158
| | | | | |
* | | | | | step: $ModLoad handler no longe requries conf objRainer Gerhards2011-04-275-17/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | re-doing the interface, global var "loadConf" now holds that data. Makes things simpler with legacy handler, as well as new functionality.
* | | | | | step: shuffled module-related code from syslogd.c to rsconf.cRainer Gerhards2011-04-272-1/+174
| | | | | | | | | | | | | | | | | | | | | | | | ... plus some minor cleanup/code shuffle
* | | | | | step: outchannel list integrated into main config objectRainer Gerhards2011-04-263-0/+11
| | | | | |
* | | | | | step: moved config validation codeRainer Gerhards2011-04-261-9/+33
| | | | | |
* | | | | | shuffled even more config code from syslgod to config handlerRainer Gerhards2011-04-262-3/+115
| | | | | |