summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v5-stable' into v5-develRainer Gerhards2011-01-261-10/+11
|\ | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * Merge branch 'v4-stable' into v5-stableRainer Gerhards2011-01-261-10/+11
| |\
| | * imfile bugfix: potential duplication of log contentRainer Gerhards2011-01-101-13/+9
| | | | | | | | | | | | | | | | | | 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-171-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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!
* | | enhanced imfile to support multi-line messagesDavid Lang2011-01-252-28/+88
| | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | Merge branch 'v5.6.2-newimudp' into v5-devel-newimudpRainer Gerhards2011-01-104-1/+38
|\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: plugins/imudp/imudp.c threads.c
| * | | improved imudp real-time scheduling support & bugfixDražen Kačar2011-01-104-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The original code had quite some issues, which are fixed by this commit. Also we do more error checking now. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | Merge branch 'v4-devel' into v5-develRainer Gerhards2010-12-171-7/+19
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/imfile.html doc/manual.html plugins/imudp/imudp.c runtime/msg.h tools/syslogd.c
| * | | | 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
| * | | | 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 'v4-stable' into v4-develRainer Gerhards2010-10-192-2/+9
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/cfsysline.c tools/ompipe.c
* | \ \ \ \ \ Merge branch 'v5-stable' into v5-develRainer Gerhards2010-12-178-26/+25
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | | | | | bug fixes in action processingRainer Gerhards2010-12-171-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - bugfix: action processor released mememory too early, resulting in potential issue in retry cases (but very unlikely due to another bug, which I also fixed -- only after the fix this problem here became actually visible). - bugfix: batches which had actions in error were not properly retried in all cases
| * | | | | | bugfix: batch processing flagged invalid message as "bad" under some ↵Rainer Gerhards2010-12-163-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | circumstances also fixed some cosmetic nits
| * | | | | | Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-12-165-12/+6
| |\ \ \ \ \ \ | | | |_|_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/parser.c runtime/queue.c runtime/wtp.c template.c threads.c tools/syslogd.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: unitialized variable could cause issues under extreme conditionsRainer Gerhards2010-12-162-2/+7
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | plus some minor nits. This was found after a clang static code analyzer analysis (great tool, and special thanks to Marcin for telling me about it!)
* | | | | | bugfix: one type of 64bit atomics was enabled when 32bit atomics were supportedRainer Gerhards2010-12-021-17/+10
| | | | | | | | | | | | | | | | | | | | | | | | also cleaned up some minor things
* | | | | | bugfix: fixed build problems on some platformsRainer Gerhards2010-12-012-4/+31
| | | | | | | | | | | | | | | | | | | | | | | | namely those that have 32bit atomic operations but not 64 bit ones
* | | | | | Merge branch 'v5-beta' into v5-develRainer Gerhards2010-11-259-129/+212
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/imfile.html plugins/imfile/imfile.c runtime/rsyslog.h
| * | | | | bugfix: replacements for atomic operations for non-int sized types had problems.Rainer Gerhards2010-11-255-124/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At least one instance of that problem could potentially lead to abort (inside omfile).
| * | | | | 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 v5-stableRainer 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
| * | | | bugfix: compile failed with --enable-unlimited-selectvarmojfekoj2010-11-052-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | | Merge branch 'v5-stable' into v5-develRainer Gerhards2010-10-222-2/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | | | Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-10-192-2/+9
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac runtime/cfsysline.c tools/ompipe.c
| | * | | fixing some compile problems on FreeBSDRainer Gerhards2010-10-193-5/+12
| | | | |
* | | | | Merge branch 'v5-beta' into v5-develRainer Gerhards2010-10-151-8/+8
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.am plugins/imfile/imfile.c runtime/stream.c tests/tcpflood.c
| * | | | Merge branch 'v4-devel' into v5-betaRainer Gerhards2010-10-152-8/+12
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | Conflicts: Makefile.am tests/tcpflood.c
| | * | | 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!)
* | | | | imfile: bug fixesRainer Gerhards2010-10-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | either one or two bugs fixed ;) Definitely a problem where no state file is written when working with relative pathes. Also, some problems with offsets should be fixed for very large files. However, I could not yet experimentally show the issue so it probably needs more verification.
* | | | | removed need for math libraryRainer Gerhards2010-10-111-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by doing math a little bit more optimal in hash table code. Also reduced memory requirement for imuxsock hash tables (expected number of connections was set too high -- table can be extended dynamically).
* | | | | omhdfs: support for HUP addedRainer Gerhards2010-10-045-4/+8
| | | | |
* | | | | omhdfs: more improvementsRainer Gerhards2010-10-013-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | | finally this looks almost production ready for files where no directory path needs to be created
* | | | | omhdfs: files now kept inside a hashtable for use by multiple actionsRainer Gerhards2010-10-012-1/+30
| | | | | | | | | | | | | | | | | | | | Note:compiles, but not yet tested
* | | | | omhdfs: cleanup and lots of improvementRainer Gerhards2010-10-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | now things look much better, also done some prep in order to support a file cache (we need this for multiple selectors writing to the same file).
* | | | | build system: fixed some minor issuesRainer Gerhards2010-09-282-0/+2
| | | | |
* | | | | imuxsock: added per-socket hash tables/rate limiters & severity filterRainer Gerhards2010-09-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | rate limiting now applies only to messages with a given severity or above. By default, emergency messages are NOT rate-limited.
* | | | | imuxsock: changed to per-pid ratelimitingRainer Gerhards2010-09-281-0/+11
| | | | |
* | | | | added some generic hashtable code by Christopher ClarkRainer Gerhards2010-09-2810-0/+1283
| | | | | | | | | | | | | | | | | | | | found at http://www.cl.cam.ac.uk/~cwc22/hashtable/
* | | | | patching SCM_CREDENTIALS pid into TAG of imuxsock read messagesRainer Gerhards2010-09-261-0/+1
| | | | |