summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v4-stable' into v4-develRainer Gerhards2011-06-143-4/+12
|\
| * bugfix: memory leak in imtcp & subsystems under some circumstancesRainer Gerhards2011-06-143-4/+12
| | | | | | | | | | This leak is tied to error conditions which lead to incorrect cleanup of some data structures. [backport from v6, limited testing under v4]
* | Merge branch 'v4-stable' into v4-develRainer Gerhards2011-05-201-5/+0
|\|
| * cleanup: removed useless & undocumented config directive from imrelpRainer Gerhards2011-05-201-5/+0
| |
* | Merge branch 'v4-stable' into v4-develRainer Gerhards2011-05-112-2/+16
|\|
| * bugfix: invalid processing in QUEUE_FULL conditionRainer Gerhards2011-05-112-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | 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 'v4-stable' into v4-develRainer Gerhards2011-05-0915-21/+143
|\| | | | | | | | | | | | | Conflicts: tcpsrv.c tests/Makefile.am tests/tcpflood.c
| * bugfix: invalid storage type for config variablesRainer Gerhards2011-05-092-1/+2
| |
| * bugfix: stream driver mode was not correctly set on tcp ouput on big endian ↵Tomas Heinrich2011-05-092-1/+4
| | | | | | | | | | | | systems. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * bugfix: memory and file descriptor leak in stream processingRainer Gerhards2011-05-032-0/+17
| | | | | | | | | | | | | | | | 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
| * bugfix: TCP connection invalidly aborted when messages needed to be discardedRainer Gerhards2011-05-022-1/+3
| | | | | | | | due to QUEUE_FULL or similar problem
| * slightly more informative errmsg when TCP connection is abortedRainer Gerhards2011-05-023-5/+11
| |
| * bugfix: IPv6-address could not be specified in omrelpRainer Gerhards2011-04-143-2/+16
| | | | | | | | | | this was due to improper parsing of ":" closes: http://bugzilla.adiscon.com/show_bug.cgi?id=250
| * added new test for imfile to testbenchRainer Gerhards2011-03-116-4/+62
| |
| * improved tcpflood test tool to support many more connectionsRainer Gerhards2011-03-101-0/+14
| | | | | | | | | | | | even on platforms that place a low limit on the number of file descriptors per processes. The tool now increases the fd limit as required.
| * bugfix: omlibdbi did not use password from rsyslog.conRainer Gerhards2011-03-092-1/+3
| | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=203
| * bugfix: abort if imfile reads file line of more than 64KiBRainer Gerhards2011-02-102-1/+4
| | | | | | | | | | Thanks to Peter Eisentraut for reporting and analysing this problem. bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=221
| * imfile bugfix: potential duplication of log contentRainer Gerhards2011-01-102-13/+12
| | | | | | | | | | | | Under some circumstances an invalid truncation was detected. This code has now been removed, a file change (and thus resent) is only detected if the inode number changes.
| * forgot the actual patch with the last commit :(Rainer Gerhards2010-12-171-1/+1
| |
| * bugfix: imfile potentially duplicates linesRainer Gerhards2010-12-172-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This can happen when 0 bytes are read from the input file, and some writer appends data to the file BEFORE we check if a rollover happens. The check for rollover uses the inode and size as a criterion. So far, we checked for equality of sizes, which is not given in this scenario, but that does not indicate a rollover. From the source code comments: Note that when we check the size, we MUST NOT check for equality. The reason is that the file may have been written right after we did try to read (so the file size has increased). That is NOT in indicator of a rollover (this is an actual bug scenario we experienced). So we need to check if the new size is smaller than what we already have seen!
* | bugfix: a slightly more informative error message when a TCPRainer Gerhards2011-05-023-5/+11
| | | | | | | | connections is aborted
* | bugfix: PRI was invalid on Solaris for message from local log socketCorey Smith2011-03-242-3/+4
| | | | | | | | Signed-off-by: root <root@localhost.localdomain>
* | imudp: removing new scheduling priority setting codeRainer Gerhards2011-01-102-43/+0
| | | | | | | | | | as it had too many implications. This will now be part of v5 only.
* | added support for systems without epoll_create1()Rainer Gerhards2010-12-172-2/+20
| |
* | added $IMUDPSchedulingPolicy and $IMUDPSchedulingPriority config settingsRainer Gerhards2010-12-173-0/+44
| |
* | added $LocalHostName config directive & some bugfixingRainer Gerhards2010-12-166-14/+32
| | | | | | | | | | | | - added $LocalHostName config directive - bugfix: local hostname was pulled too-early, so that some config directives (namely FQDN settings) did not have any effect
* | cleanup of cosmetic nit (result of clang static code analyser run)Rainer Gerhards2010-12-161-1/+1
| |
* | Merge branch 'v4-stable' into v4-develRainer Gerhards2010-12-1618-39/+28
|\| | | | | | | | | Conflicts: runtime/parser.c
| * some cleanup based on clang static analyzer resultsRainer Gerhards2010-12-1614-32/+18
| |
| * Merge branch 'v3-stable' into v4-stableRainer Gerhards2010-12-163-3/+6
| |\ | | | | | | | | | | | | Conflicts: ChangeLog
| | * improved some code based on clang static analyzer resultsRainer Gerhards2010-12-163-3/+6
| | |
| * | typo fix (thanks to Björn Påhlsson for finding it!)Michael Biebl2010-11-302-4/+4
| | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | Fix the build system to build outisde CERN.Luis Fernando Muñoz Mejías2010-11-301-17/+35
| | | | | | | | | | | | | | | | | | | | | It should build against Oracle 11, too. Depending on the user's installation, either a single ORACLE_HOME environment variable or ORACLE_LIB_PATH and ORACLE_INCLUDE_PATH environment variables will be needed.
* | | Fix a potential missing '\0' on too long strings.Luis Fernando Muñoz Mejías2010-11-302-48/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By implementing a trivial strlcpy it's much easier to detect string truncations and react to them. This also gives a noticeable speedup in buffer handling (can be HUGE), since strlcpy() doesn't clear all the buffer entry before writing data. Converted all uses of strncpy() into strlcpy(). Also, we don't need to check for some null pointers, as there are no malloc-like operations in the doAction loop.
* | | bugfix: atomic increment for msg object may not work correct on all platforms.Chris Metcalf2010-11-252-1/+5
| | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | added forgotten testcase filesv4.7.3Rainer Gerhards2010-11-252-0/+25
| | |
* | | preparing for 4.7.3Rainer Gerhards2010-11-253-3/+3
| | |
* | | Merge branch 'v4-stable' into v4-develRainer Gerhards2010-11-251-5/+11
|\| | | | | | | | | | | | | | Conflicts: ChangeLog
| * | Merge branch 'v4.4.2a' into v4-stableRainer Gerhards2010-11-251-5/+7
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac plugins/imfile/imfile.c runtime/stream.c
| | * | patched version numberRainer Gerhards2010-10-151-1/+1
| | | |
| | * | bugfix: a couple of problems that imfile had on some platformsRainer Gerhards2010-10-152-5/+9
| | | | | | | | | | | | | | | | namely Ubuntu (not their fault, but occured there)
| | * | bugfix: imfile utilizes 32 bit to track offsetRainer Gerhards2010-10-153-4/+12
| | | | | | | | | | | | | | | | | | | | Most importantly, this problem can not experienced on recent Fedora 64 bit OS (which has 64 bit long's!)
| * | | final preparations for releasev4.6.5Rainer Gerhards2010-11-241-1/+1
| | | |
* | | | Merge branch 'v4-stable' into v4-develRainer Gerhards2010-11-242-0/+27
|\| | | | | | | | | | | | | | | | | | | Conflicts: configure.ac
| * | | Merge branch 'v3-stable' into v4-stableRainer Gerhards2010-11-243-1/+28
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | Conflicts: ChangeLog configure.ac
| | * | bugfix(important): problem in TLS handling could cause rsyslog to loopv3.22.3Rainer Gerhards2010-11-243-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | ... in a tight loop, effectively disabling functionality and bearing the risk of unresponsiveness of the whole system. Bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=194
* | | | doc/imfile: fixed small but important typoRainer Gerhards2010-10-201-1/+1
| | | |
* | | | imfile improvementsRainer Gerhards2010-10-243-18/+30
| | | | | | | | | | | | | | | | | | | | | | | | - added the $InputFilePersistStateInterval config directive to imfile - changed imfile so that the state file is never deleted (makes imfile more robust in regard to fatal failures)
* | | | Merge branch 'v4-stable' into v4-develRainer Gerhards2010-10-198-372/+84
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/cfsysline.c tools/ompipe.c
| * | | fixing some compile problems on FreeBSDRainer Gerhards2010-10-1910-376/+87
| | | |