summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: PRI was invalid on Solaris for message from local log socketCorey Smith2011-03-241-3/+3
| | | | Signed-off-by: root <root@localhost.localdomain>
* added $IMUDPSchedulingPolicy and $IMUDPSchedulingPriority config settingsRainer Gerhards2010-12-171-0/+1
|
* added $LocalHostName config directive & some bugfixingRainer Gerhards2010-12-162-11/+19
| | | | | | - added $LocalHostName config directive - bugfix: local hostname was pulled too-early, so that some config directives (namely FQDN settings) did not have any effect
* Merge branch 'v4-stable' into v4-develRainer Gerhards2010-12-168-18/+11
|\ | | | | | | | | Conflicts: runtime/parser.c
| * some cleanup based on clang static analyzer resultsRainer Gerhards2010-12-166-15/+8
| |
| * Merge branch 'v3-stable' into v4-stableRainer Gerhards2010-12-162-3/+3
| |\ | | | | | | | | | | | | Conflicts: ChangeLog
| | * improved some code based on clang static analyzer resultsRainer Gerhards2010-12-162-3/+3
| | |
* | | bugfix: atomic increment for msg object may not work correct on all platforms.Chris Metcalf2010-11-251-1/+1
| | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | Merge branch 'v4-stable' into v4-develRainer Gerhards2010-11-241-0/+17
|\| | | | | | | | | | | | | | Conflicts: configure.ac
| * | Merge branch 'v3-stable' into v4-stableRainer Gerhards2010-11-241-0/+17
| |\| | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac
| | * bugfix(important): problem in TLS handling could cause rsyslog to loopv3.22.3Rainer Gerhards2010-11-241-0/+17
| | | | | | | | | | | | | | | | | | ... 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
* | | Merge branch 'v4-stable' into v4-develRainer Gerhards2010-10-192-2/+9
|\| | | | | | | | | | | | | | | | | | | | Conflicts: runtime/cfsysline.c tools/ompipe.c
| * | fixing some compile problems on FreeBSDRainer Gerhards2010-10-193-5/+12
| | |
* | | Merge branch 'v4-stable' into v4-develRainer Gerhards2010-10-151-8/+8
|\| | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/stream.c
| * | imfile: bugfixes in regard to large files (> 2GB)Rainer Gerhards2010-10-151-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | - 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!)
* | | Merge branch 'v4-stable-imptcp' into tmpRainer Gerhards2010-08-111-0/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.am configure.ac runtime/rsyslog.h tests/Makefile.am
| * | | added imptcpRainer Gerhards2010-08-101-0/+4
| |/ / | | | | | | | | | | | | imptcp is a simplified, Linux-specific and potentielly fast syslog plain tcp input plugin (NOT supporting TLS!)
* | | solving an error ID collision with v5 buildRainer Gerhards2010-08-061-1/+1
| | |
* | | added omuxsock, which permits to write message to local Unix socketsRainer Gerhards2010-08-061-0/+1
| | | | | | | | | | | | this is the counterpart to imuxsock, enabling fast local forwarding
* | | Merge branch 'v4-stable' into v4-develRainer Gerhards2010-08-051-1/+1
|\| | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | Merge branch 'v3-stable' into v4-stableRainer Gerhards2010-08-051-1/+1
| |\| | | | | | | | | | | | | Conflicts: runtime/conf.c
| | * program name filter ! in the configuration cannot be resetKiss Gabor (Bitman)2010-08-051-2/+1
| | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | Merge branch 'v4-stable' into v4-develRainer Gerhards2010-07-051-0/+1
|\| |
| * | bugfix: segfault on HUP when "HUPIsRestart" was set to "on"varmojfekoj2010-07-051-0/+1
| | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * | temporary bugfix replaced by permanent one for...Rainer Gerhards2010-03-312-9/+9
| | | | | | | | | | | | | | | | | | ...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: problems with atomic operations emulationRainer Gerhards2010-04-2715-226/+125
| | | | | | | | | | | | | | | | | | replaced atomic operation emulation with new code. The previous code seemed to have some issue and also limited concurrency severely. The whole atomic operation emulation has been rewritten.
* | | minor fix: invalid duplicated include of config.hRainer Gerhards2010-04-231-2/+0
| | |
* | | fixed typo ... that caused compilation to fail on non-SolarisRainer Gerhards2010-04-221-1/+1
| | |
* | | solved alignment errors on Solaris SparcRainer Gerhards2010-04-223-17/+21
| | |
* | | removed some complier warningsRainer Gerhards2010-04-212-4/+16
| | |
* | | improved quality of imsolaris codeRainer Gerhards2010-04-192-1/+3
| | | | | | | | | | | | including refctoring for a more simple solution
* | | changed flag value for v5-compatibilityRainer Gerhards2010-04-191-1/+1
| | |
* | | changed imsolaris to use submitMsg() APIRainer Gerhards2010-04-192-12/+18
| | | | | | | | | | | | | | | This includes a modification to the rsyslog engine so that messages without PRI inside the message can properly be handled.
* | | first version of imsolaris created, cleanup for solaris doneRainer Gerhards2010-04-151-0/+2
| | | | | | | | | | | | more cleanup required, but things now basically work
* | | slightly improved/cleaned up debugging systemRainer Gerhards2010-04-141-3/+16
| | |
* | | Merge branch 'v4-stable-solaris' into v4-develRainer Gerhards2010-04-1219-144/+498
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html tools/omfile.c tools/syslogd.c
| * | | bugfix: the T/P/E config size specifiers did not work properly under call ↵Rainer Gerhards2010-04-071-3/+5
| | | | | | | | | | | | | | | | 32-bit platforms
| * | | enhanced nettester tool so that it re-uses it's callers environmentRainer Gerhards2010-04-072-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | this enables us to work with the "usual" environment tweaks (for debugging and other purposes), without the need for any special handling in nettester itself
| * | | Merge branch 'v4-stable' into v4-stable-solarisRainer Gerhards2010-03-253-7/+33
| |\| | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | * | bugfix(temporary): message-induced off-by-one error (potential segfault)Rainer Gerhards2010-03-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: race condition during directory creationRainer Gerhards2010-03-251-6/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | streamline dynafile cache entry deletion a bitRainer Gerhards2010-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The old code looks a bit "strange", though not necessarily incorrect. The new code looks correct and is probably less irritating during bug hunting.
| * | | forgot to add file with last commitRainer Gerhards2010-03-231-0/+70
| | | |
| * | | added replacements for atomic instructions on systems that do not support them.Rainer Gerhards2010-03-233-0/+132
| | | | | | | | | | | | | | | | [backport of Stefen Sledz' patch for v5]
| * | | Merge branch 'v4-stable' into v4-stable-solarisRainer Gerhards2010-03-237-58/+129
| |\| |
| | * | bugfix(minor): BSD_SO_COMPAT query function had some global vars not ↵Rainer Gerhards2010-03-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | properly initialized. However, in practice the loader initializes them with zero, the desired value, so there were no actual issue in almost all cases.
| | * | fixed regression from previos (yet unrelease) $omfileFlushOnTXEnd fixtemp.4.6.1.10Rainer Gerhards2010-03-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous fix fixed an issue with on/off bying used in the exact wrong semantic. It corrected the situation, but failed to fix one spot where the wrong semantics were used. This is done with this commit. Note that this is NOT a bug seen in any released version.
| | * | bugfix: invalid buffer write in (file) stream classRainer Gerhards2010-03-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-4/+6
| | | | | | | | | | | | | | | | | | | | predicate was not properly checked when waiting for the background file writer
| | * | bugfix: improper synchronization when "$OMFileFlushOnTXEnd on" was usedRainer Gerhards2010-03-191-11/+35
| | | | | | | | | | | | | | | | | | | | Internal data structures were not properly protected due to missing mutex calls.