summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-03-291-1/+73
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/debug.c runtime/stream.c tests/Makefile.am tests/diskqueue.sh tests/nettester.c tools/omfile.c
| * preparing for 4.6.2v4.6.2Rainer Gerhards2010-03-261-1/+1
| |
| * new feature: $OMFileAsyncWriting directive addedRainer Gerhards2010-03-251-0/+2
| | | | | | | | it permits to specifiy if asynchronous writing should be done or not
| * bugfix(temporary): message-induced off-by-one error (potential segfault)Rainer Gerhards2010-03-251-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-251-0/+7
| | | | | | | | | | | | | | | | | | 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-251-0/+5
| | | | | | | | | | | | | | 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.
| * bugfix: potential re-use of free()ed file stream object in omfileRainer Gerhards2010-03-231-0/+5
| | | | | | | | | | | | | | when dynaCache is enabled, the cache is full, a new entry needs to be allocated, thus the LRU discarded, then a new entry is opend and that fails. In that case, it looks like the discarded stream may be reused improperly (based on code analysis, test case and confirmation pending)
| * bugfix(minor): BSD_SO_COMPAT query function had some global vars not ↵Rainer Gerhards2010-03-221-0/+4
| | | | | | | | | | | | | | properly initialized. However, in practice the loader initializes them with zero, the desired value, so there were no actual issue in almost all cases.
| * bugfix: invalid buffer write in (file) stream classRainer Gerhards2010-03-191-0/+5
| | | | | | | | | | | | | | currently being accessed buffer could be overwritten with new data. While this probably did not cause access violations, it could case loss and/or duplication of some data (definitely a race with no deterministic outcome)
| * bugfix: potential hang condition during filestream closeRainer Gerhards2010-03-191-0/+3
| | | | | | | | | | predicate was not properly checked when waiting for the background file writer
| * bugfix: improper synchronization when "$OMFileFlushOnTXEnd on" was usedRainer Gerhards2010-03-191-0/+3
| | | | | | | | | | Internal data structures were not properly protected due to missing mutex calls.
| * new feature: "." action type added to support writing files to relative pathesRainer Gerhards2010-03-171-0/+2
| | | | | | | | (this is primarily meant as a debug aid)
| * bugfix: recent patch to fix small memory leak could cause invalid free.Rainer Gerhards2010-03-161-0/+2
| | | | | | | | This could only happen during config file parsing.
| * bugfix(minor): handling of extremely large strings in dbgprintf() fixedRainer Gerhards2010-03-151-0/+4
| | | | | | | | | | | | Previously, it could lead to garbagge output and, in extreme cases, also to segfaults. Note: this was a problem only when debug output was actually enabled, so it caused no problem in production use.
| * bugfixes and testbench improvementRainer Gerhards2010-03-101-3/+10
| | | | | | | | | | | | | | | | | | | | - improved testbench - bugfix: potential data loss during file stream shutdown - bugfix: potential problems during file stream shutdown The shutdown/close sequence was not clean, what potentially (but unlikely) could lead to some issues. We have not been able to describe any fatal cases, but there was some bug potential. Sequence has now been straighted out.
| * bugfix: potential problem (loop, abort) when file write error occuredRainer Gerhards2010-03-091-0/+8
| | | | | | | | | | | | | | | | | | | | When a write error occured in stream.c, variable iWritten had the error code but this was handled as if it were the actual number of bytes written. That was used in pointer arithmetic later on, and thus could lead to all sorts of problems. However, this could only happen if the error was EINTR or the file in question was a tty. All other cases were handled properly. Now, iWritten is reset to zero in such cases, resulting in proper retries.
| * bugfix: $omfileFlushOnTXEnd was turned on when set to off and vice versaRainer Gerhards2010-03-091-0/+2
| |
* | Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-03-091-0/+10
|\| | | | | | | | | | | Conflicts: ChangeLog runtime/datetime.h
| * added new property replacer option "date-rfc3164-buggyday"Rainer Gerhards2010-03-081-0/+5
| | | | | | | | | | primarily to ease migration from syslog-ng. See property replacer doc for details. [backport from 5.5.3 because urgently needed by some]
* | preparing for 5.4.0v5.4.0Rainer Gerhards2010-03-081-1/+7
| |
* | Merge branch 'v4-stable' into betaRainer Gerhards2010-03-081-1/+19
|\| | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html tests/rt-init.c
| * prepared 4.6.1v4.6.1Rainer Gerhards2010-03-041-1/+1
| |
| * cosmetic: ChangeLog updateRainer Gerhards2010-03-041-0/+8
| | | | | | | | including proper credits to Mandriva team.
| * bugfix: potential (but very impropable) segfaults in omfileRainer Gerhards2010-03-021-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | - bugfix: potential segfault in omfile when a dynafile open failed In that case, a partial cache entry was written, and some internal pointers (iCurrElt) not correctly updated. In the next iteration, that could lead to a segfault, especially if iCurrElt then points to the then-partial record. Not very likely, but could happen in practice. - bugfix (theoretical): potential segfault in omfile under low memory condition. This is only a theoretical bug, because it would only happen when strdup() fails to allocate memory - which is highly unlikely and will probably lead to all other sorts of errors.
* | cosmetic: added bugentry to changelogRainer Gerhards2010-03-011-0/+4
| |
* | Merge branch 'v4-stable' into tmpRainer Gerhards2010-03-011-0/+13
|\|
| * cosmetic: bugfix in ChangeLog highlightedRainer Gerhards2010-03-011-0/+4
| |
| * Merge branch 'v3-stable' into v4-stableRainer Gerhards2010-03-011-0/+3
| |\ | | | | | | | | | | | | Conflicts: runtime/ctok.c
| | * bugfix: comment char ('#') in literal terminated script parsingRainer Gerhards2010-03-011-0/+3
| | | | | | | | | | | | | | | ...and thus could not be used. but tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=119
| * | bugfix: fixed problem that caused compilation on FreeBSD 9.0 to fail.Rainer Gerhards2010-02-281-0/+6
| | | | | | | | | | | | | | | bugtracker: http://bugzilla.adiscon.com/show_bug.cgi?id=181 Thanks to Christiano for reporting.
* | | Merge branch 'v4-stable' into 'v5-beta'Rainer Gerhards2010-02-251-0/+23
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html tools/syslogd.c
| * | doc bugfix: ChangeLog heading claimed that 4.6.0 was v4-betaRainer Gerhards2010-02-251-2/+6
| | | | | | | | | | | | while the rest of the entry correctly said it was stable.
| * | preparing for 4.6.0 releasev4.6.0Rainer Gerhards2010-02-241-0/+9
| | |
| * | message parser fixes and testbench enhancementsRainer Gerhards2010-02-221-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | - improved testbench to contain samples for totally malformed messages which miss parts of the message content - bugfix: some malformed messages could lead to a missing LF inside files or some other missing parts of the template content. - bugfix: if a message ended immediately with a hostname, the hostname was mistakenly interpreted as TAG, and localhost be used as hostname
| * | bugfix: message without MSG part could case a segfaultRainer Gerhards2010-02-221-0/+5
| | | | | | | | | | | | | | | | | | | | | [backported from v5 commit 98d1ed504ec001728955a5bcd7916f64cd85f39f] This actually was a "recent" regression, but I did not realize that it was introduced by the performance optimization in v4-devel. Shame on me for having two devel versions at the same time...
* | | Merge branch 'v4-beta' into betaRainer Gerhards2010-02-101-1/+12
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imuxsock/imuxsock.c template.c tests/Makefile.am tests/parsertest.sh
| * | preparing for 4.5.8v4.5.8Rainer Gerhards2010-02-101-1/+1
| | |
| * | several bugfixes for the property replacerRainer Gerhards2010-02-081-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - bugfix: property replacer returned invalid parameters under some (unusual) conditions. In extreme cases, this could lead to garbled logs and/or a system failure. - bugfix: invalid length returned (often) when using regular expressions inside the property replacer - bugfix: submatch regex in property replacer did not honor "return 0 on no match" config case
| * | integrated new PostgreSQL docRainer Gerhards2010-02-081-0/+2
| | | | | | | | | | | | converted to html, linked, etc...
| * | bugfix: imuxsock incorrectly stated inputname "imudp"Rainer Gerhards2010-02-061-0/+2
| | | | | | | | | | | | Thanks to Ryan Lynch for reporting this.
* | | bugfix: omruleset failed to work in many casesRainer Gerhards2010-02-081-0/+5
| | | | | | | | | | | | | | | bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=179 Thanks to Ryan B. Lynch for reporting this issue.
* | | Merge branch 'v4-beta' into betaRainer Gerhards2010-02-041-0/+2
|\| |
| * | Merge branch 'v4-stable' into v4-betaRainer Gerhards2010-02-041-0/+2
| |\ \
| | * | bugfix: several smaller bugs resolved after flexelint reviewvarmojfekoj2010-02-041-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | Merge branch 'v4-beta' into betaRainer Gerhards2010-02-031-0/+3
|\| | |
| * | | (slightly) enhanced support for FreeBSD by setting _PATH_MODDIR to the ↵Cristiano2010-02-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | correct value on FreeBSD. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | preparing for 5.3.7v5.3.7Rainer Gerhards2010-01-271-4/+1
| | | |
* | | | backporting bugfixes from 5.2.2Rainer Gerhards2010-01-271-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - bugfix: queues in direct mode could case a segfault, especially if an action failed for action queues. The issue was an invalid increment of a stack-based pointer which lead to destruction of the stack frame and thus a segfault on function return. Thanks to Michael Biebl for alerting us on this problem. [backport from 5.5.2] - bugfix: wrong memory assignment for a config variable (probably without causing any harm) [backport from 5.2.2]
* | | | Merge branch 'v4-beta' into betaRainer Gerhards2010-01-261-0/+20
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/queue.c
| * | | Merge branch 'v4-stable' into v4-betaRainer Gerhards2010-01-261-0/+2
| |\| | | | | | | | | | | | | | | | | | Conflicts: runtime/queue.c