summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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!
* 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>
* | 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 '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
* | | fixing some compile problems on FreeBSDRainer Gerhards2010-10-1910-376/+87
| | |
* | | better error messages in testbenchRainer Gerhards2010-10-221-2/+2
| | |
* | | fixed incomplete mergeRainer Gerhards2010-10-151-0/+1
| | |
* | | imfile: bugfixes in regard to large files (> 2GB)Rainer Gerhards2010-10-153-10/+19
| | | | | | | | | | | | | | | | | | | | | | | | - bugfix: a couple of problems that imfile had on some platforms, namely Ubuntu (not their fault, but occured there) - bugfix: imfile utilizes 32 bit to track offset. Most importantly, this problem can not experienced on Fedora 64 bit OS (which has 64 bit long's!)
* | | minor doc fix: updated tls doc to match new gnutls toolsetTom Bergfeld2010-09-081-1/+11
| | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | preparing for 4.6.4v4.6.4Rainer Gerhards2010-08-053-3/+3
| | |
* | | Merge branch 'v3-stable' into v4-stableRainer Gerhards2010-08-054-117/+4
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html doc/professional_support.html
| * | preparing for 3.22.2v3.22.2Rainer Gerhards2010-08-055-94/+5
| | |
* | | Merge branch 'v3-stable' into v4-stableRainer Gerhards2010-08-052-1/+5
|\| | | | | | | | | | | | | | Conflicts: runtime/conf.c
| * | program name filter ! in the configuration cannot be resetKiss Gabor (Bitman)2010-08-052-2/+3
| | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | bugfix: zero-sized (empty) messages were processed by imtcpRainer Gerhards2010-07-282-2/+11
| | | | | | | | | | | | they are now dropped as they always should have been
* | | bumped version numberRainer Gerhards2010-07-071-0/+2
| | |
* | | preparing for 4.6.3v4.6.3Rainer Gerhards2010-07-073-3/+3
| | |
* | | bugfix: segfault on HUP when "HUPIsRestart" was set to "on"varmojfekoj2010-07-052-0/+3
| | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | some doc fixes; incorrect config samples could cause confusionRainer Gerhards2010-05-203-3/+4
| | | | | | | | | | | | thanks to Anthony Edwards for pointing the problems out
* | | solving a number of minor (but annoying) issues in the build systemRainer Gerhards2010-04-126-9/+10
| | |
* | | added new configure option that permits to disable and enable an extended ↵Rainer Gerhards2010-04-124-2/+27
| | | | | | | | | | | | testbench
* | | doc bugfix: $OMFileFlushOnTXEnd wrongly documentedRainer Gerhards2010-04-071-2/+2
| | |
* | | bugfix: default for $OMFileFlushOnTXEnd was wrong ("off").Rainer Gerhards2010-04-072-2/+7
| | | | | | | | | | | | | | | | | | This, in default mode, caused buffered writing to be used, what means that it looked like no output were written or partial lines. Thanks to Michael Biebl for pointing out this bug.
* | | improvded testbench: added test with truly random data received via syslog ↵Rainer Gerhards2010-04-017-36/+284
| | | | | | | | | | | | to test robustness
* | | temporary bugfix replaced by permanent one for...Rainer Gerhards2010-03-315-17/+25
| | | | | | | | | | | | | | | | | | ...message-induced off-by-one error (potential segfault) (see 4.6.2) The analysis has been completed and a better fix been crafted and integrated.
* | | bugfix: testbench failed when not executed in UTC+1 timezoneRainer Gerhards2010-03-295-5/+12
| | | | | | | | | | | | | | | accidently, the time zone information was kept inside some to-be-checked-for responses
* | | preparing for 4.6.2v4.6.2Rainer Gerhards2010-03-264-5/+4
| | |
* | | $OMFileAsyncWriting directive did not work properlyRainer Gerhards2010-03-251-1/+1
| | |
* | | disable testcases affected by temporary bugfix in commit ↵Rainer Gerhards2010-03-252-9/+13
| | | | | | | | | | | | | | | | | | a3e48b697fa664110567fcd0027d24ea5a239041 ... so that the testbench continues to work
* | | new feature: $OMFileAsyncWriting directive addedRainer Gerhards2010-03-2520-35/+91
| | | | | | | | | | | | it permits to specifiy if asynchronous writing should be done or not
* | | minor: add INSTALL file to gitRainer Gerhards2010-03-251-0/+365
| | | | | | | | | | | | | | | some versions of autotools seem to require it. The file itself is NOT of interest for the project
* | | undo experimental commit dccadb677c5a6b8379f631e4c1f14c8c4089d4a6Rainer Gerhards2010-03-251-9/+0
| | | | | | | | | | | | | | | | | | | | | Further testing turned out that the rsyslog core works correctly and this fix is not needed. The concurrency we saw was actually caused by other actions (even processes) during directory creation. See commit 9e5b31fc44136dbcc1e443cfe7714e9daf97d844 for further details.
* | | bugfix(temporary): message-induced off-by-one error (potential segfault)Rainer Gerhards2010-03-252-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some types of malformed messages could trigger an off-by-one error (for example, \0 or \n as the last character, and generally control character escaption is questionable). This is due to not strictly following a the \0 or string counted string paradigm (during the last optimization on the cstring class). As a temporary fix, we have introduced a proper recalculation of the size. However, a final patch is expected in the future. See bug tracker for further details and when the final patch will be available: http://bugzilla.adiscon.com/show_bug.cgi?id=184 Note that the current patch is considered sufficient to solve the situation, but it requires a bit more runtime than desirable.
* | | bugfix: potential segfault in dynafile cacheRainer Gerhards2010-03-252-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | This bug was triggered by an open failure. The the cache was full and a new entry needed to be placed inside it, a victim for eviction was selected. That victim was freed, then the open of the new file tried. If the open failed, the victim entry was still freed, and the function exited. However, on next invocation and cache search, the victim entry was used as if it were populated, most probably resulting in a segfault.
* | | bugfix: race condition during directory creationRainer Gerhards2010-03-252-6/+31
| | | | | | | | | | | | | | | | | | | | | If multiple files try to create a directory at (almost) the same time, some of them may fail. This is a data race and also exists with other processes that may create the same directory. We do now check for this condition and gracefully handle it.