summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | fix recently introduced minor nit in Makefile for testbenchRainer Gerhards2010-03-151-1/+0
| | | | | |
| | * | | | bugfix(minor): handling of extremely large strings in dbgprintf() fixedRainer Gerhards2010-03-152-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | | | added more parser test casesRainer Gerhards2010-03-113-2/+147
| | | | | | | | | | | | | | | | | | | | | | | | also improved testing tools to support new testcase structure
| | * | | | added more tests to testbench and improved testing toolsRainer Gerhards2010-03-1115-8/+200
| | | | | |
| | * | | | added ability to work with larger message sizes to testbench toolsRainer Gerhards2010-03-102-11/+63
| | | | | |
| | * | | | testbench: new calling interface for tcpfloodRainer Gerhards2010-03-1014-34/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this is a perquisite to support more flexible testing modes, which could not intelligently be implemented with the old interface
| | * | | | Merge branch 'v4-stable' into v4-stable-nextRainer Gerhards2010-03-103-5/+14
| | |\ \ \ \
| | | * | | | fixed regression introduced with previous commitRainer Gerhards2010-03-103-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | disk queue mode did no longer work correctly. A side-effect of this commit here is slightly cleaned-up (and more elegant) code for circular files.
| | * | | | | some cosmetic changesRainer Gerhards2010-03-105-9/+13
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | note that a buffer size calculation was done wrong, but this was cosmetic because our buffers currently all use byte size, so even though the formula was wrong, the result was correct.
| | * | | | bugfixes and testbench improvementRainer Gerhards2010-03-1011-11/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-093-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | | | retain old $OMFileFlushOnTXEnd semanticsRainer Gerhards2010-03-092-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | required because due to bug the default was actually different than specified (or better said: spec was inconsistent in doc as well).
| | * | | | bugfix: $omfileFlushOnTXEnd was turned on when set to off and vice versaRainer Gerhards2010-03-092-1/+3
| | | | | |
* | | | | | Merge branch 'master-solaris'Rainer Gerhards2010-03-232-1/+9
|\ \ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' into master-solarisRainer Gerhards2010-03-094-8/+28
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * \ \ \ \ \ \ Merge branch 'master' into master-solarisRainer Gerhards2010-03-051-0/+16
| |\ \ \ \ \ \ \
| * | | | | | | | bugfix: omfile.c did not properly compile without atomicsRainer Gerhards2010-03-051-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | while this worked on another platform, it did not work here, and failed to do so for good reasons ;)
| * | | | | | | | Merge branch 'v4-stable-solaris' into master-solarisRainer Gerhards2010-03-0513-34/+66
| |\ \ \ \ \ \ \ \ | | | |_|_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html tests/rt-init.c
| | * | | | | | | enabled compilation by using "racy" replacements for atomic instructionsRainer Gerhards2010-03-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... but this is not considered a real solution. For some of the uses, it may acutally be sufficient, but the implications need to be analyzed in detail.
| | * | | | | | | Merge branch 'v4-stable' into v4-stable-solarisRainer Gerhards2010-03-0513-38/+66
| | |\ \ \ \ \ \ \
| * | \ \ \ \ \ \ \ Merge branch 'master' into master-solarisRainer Gerhards2010-03-0513-12/+84
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge branch 'solaris' into master-solarisRainer Gerhards2010-03-050-0/+0
| |\ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ Merge branch 'master' into solarisRainer Gerhards2009-05-25103-542/+2885
| | |\ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ Merge branch 'nextmaster' into solarisRainer Gerhards2009-04-0919-175/+543
| | |\ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ Merge branch 'nextmaster' into solarisRainer Gerhards2009-04-094-2/+17
| | |\ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | adding missing Solaris linker options (network libs)Rainer Gerhards2009-04-091-1/+3
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | emulate missing atomic builtins with posix semaphores if availableSteffen Sledz2010-03-235-1/+205
| |_|_|_|_|_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Steffen Sledz <sledz@dresearch.de> Acked-by: Thilo Fromm <t.fromm@dresearch.de>
* | | | | | | | | | | | | | Merge branch 'v5-stable'Rainer Gerhards2010-03-0914-37/+86
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html doc/property_replacer.html runtime/datetime.h
| * | | | | | | | | | | | | Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-03-0911-8/+64
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/datetime.h
| | * | | | | | | | | | | | added new property replacer option "date-rfc3164-buggyday"Rainer Gerhards2010-03-0812-8/+74
| | | |_|_|_|_|_|_|/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-083-3/+9
| | | | | | | | | | | | |
| * | | | | | | | | | | | added forgotten fileRainer Gerhards2010-03-081-0/+16
| | | | | | | | | | | | |
| * | | | | | | | | | | | Merge branch 'v4-stable' into betaRainer Gerhards2010-03-0812-34/+64
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html tests/rt-init.c
| | * | | | | | | | | | | prepared 4.6.1v4.6.1Rainer Gerhards2010-03-043-3/+3
| | | | | | | | | | | | |
| | * | | | | | | | | | | streamlined BSD utmpx.h patchCristiano2010-03-041-14/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| | * | | | | | | | | | | cosmetic: ChangeLog updateRainer Gerhards2010-03-041-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | including proper credits to Mandriva team.
| | * | | | | | | | | | | Fix Large File Support (LFS) support (bug #182)Yann Droneaud2010-03-043-23/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - _FILE_OFFSET_BITS must be defined before including any other system headers otherwise it does nothing. - Don't define it in rsyslog.h, let it be defined in config.h, and let ./configure script enable LFS since Autoconf provides a portable macro to enable LFS support : AC_SYS_LARGEFILE
| | * | | | | | | | | | | Includes "config.h" before any other header.Yann Droneaud2010-03-046-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For consistency, ./configure generated "config.h" must be the first header include through out the project. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| | * | | | | | | | | | | reordered some include, because otherwise we get zlib-related errorsRainer Gerhards2010-03-031-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on some platforms (namely Debian sid). This smells like a bug in zlib. Thanks to Michael Biebl for reporting the issue.
| | * | | | | | | | | | | bugfix: potential (but very impropable) segfaults in omfileRainer Gerhards2010-03-022-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
| | * | | | | | | | | | | solved compile problems on FreeBSD 9.0 (those caused by utmpx.h)Cristiano2010-03-021-7/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | | | | | | | | | | updated project statusRainer Gerhards2010-03-081-5/+5
| |_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | |
* | | | | | | | | | | | added file so far forgotten in gitRainer Gerhards2010-03-051-0/+16
| |_|_|_|_|_|_|/ / / / |/| | | | | | | | | |
* | | | | | | | | | | relaxed need for atomic builtinsRainer Gerhards2010-03-051-0/+27
| | | | | | | | | | |
* | | | | | | | | | | updated project statusRainer Gerhards2010-03-051-4/+4
| | | | | | | | | | |
* | | | | | | | | | | added new property replacer option "date-rfc3164-buggyday"Rainer Gerhards2010-03-0511-8/+53
| |_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | primarily to ease migration from syslog-ng. See property replacer doc for details.
* | | | | | | | | | bugfix: failed to compile on systems without epoll supportRainer Gerhards2010-03-024-9/+12
| | | | | | | | | |
* | | | | | | | | | Merge branch 'v4-stable-solaris' into master-solarisRainer Gerhards2010-03-021-0/+1
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / | |/| | | | | | | |
| * | | | | | | | | added include needed for SolarisRainer Gerhards2010-03-021-0/+1
| | |/ / / / / / / | |/| | | | | | |
* | | | | | | | | Merge branch 'beta' into masterRainer Gerhards2010-03-0112-28/+360
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html tools/syslogd.c