summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v4-devel' into betaRainer Gerhards2009-08-192-2/+12
|\
| * very minor cleanupRainer Gerhards2009-08-181-1/+0
| |
| * bugfix: potential segfault in output file writer (omfile)Rainer Gerhards2009-08-183-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | In async write mode, we use modular arithmetic to index the output buffer array. However, the counter variables accidently were signed, thus resulting in negative indizes after integer overflow. That in turn could lead to segfaults, but was depending on the memory layout of the instance in question (which in turn depended on a number of variables, like compile settings but also configuration). The counters are now unsigned (as they always should have been) and so the dangling mis-indexing does no longer happen. This bug potentially affected all installations, even if only some may actually have seen a segfault.
* | undid non-correct experimental fixRainer Gerhards2009-08-191-8/+2
| | | | | | | | | | | | | | I found out that the previous segfault fix did not correct the root cause of the problem. Thus, I can re-instantiate the more performance- optimal logic. In the next step, I'll merge in the real fix, so do NOT use this commit as code you actually run!
* | Merge branch 'v4-devel' into betaRainer Gerhards2009-08-186-22/+61
|\ \
| * | bugfix? (unconfirmed, testing): segfault when writing asynchronouslyRainer Gerhards2009-08-181-2/+8
| |/ | | | | | | | | | | | | | | | | I have undone a very small optimization with using pre-malloced memory, which seems to have some issues. Now I am doing mallocs and at least in test environment this seems to solve the issue. The code now needs more review. If it runs flawlessly for some time, I may try to re-enable to pre-malloc, but not necessarily: its performance benefit is very mild (aka: I don't think it justifies introducing bigger complexities).
| * added $InputTCPMaxListeners directiveRainer Gerhards2009-08-175-17/+43
| | | | | | | | permits to specify how many TCP servers shall be possible (default is 20).
| * bugfix: if tcp listen port could not be created, no error message was emittedRainer Gerhards2009-08-173-4/+11
| |
* | Merge branch 'v4-devel' into betaRainer Gerhards2009-08-173-22/+41
|\|
| * legacy syslog parser changed so that it now accepts date stamps in wrong case.Rainer Gerhards2009-08-173-22/+41
| | | | | | | | Some devices seem to create them and I do not see any harm in supporting that.
* | Merge branch 'v4-devel' into betaRainer Gerhards2009-07-164-7/+12
|\|
| * calls to prctl() need to be based on configure results (cross-platform issue)Rainer Gerhards2009-07-162-3/+5
| | | | | | | | | | This is for another prctl() call, not present in the beta version (looks like it would make sense to stick these into a utility function)
| * Merge branch 'v4-beta' into v4-develRainer Gerhards2009-07-162-4/+7
| |\
| | * calls to prctl() need to be based on configure results (cross-platform issue)Rainer Gerhards2009-07-162-4/+7
| | |
* | | Merge branch 'v4-devel' into betaRainer Gerhards2009-07-152-0/+8
|\| |
| * | documenting imported bugfixRainer Gerhards2009-07-151-0/+6
| | | | | | | | | | | | v4-beta was so far unreleased, so it was a bug only here
| * | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-07-151-0/+2
| |\|
| | * bugfix: memory leak with some input modulesRainer Gerhards2009-07-151-0/+2
| | |
* | | added v5 compatibility notesRainer Gerhards2009-07-153-2/+24
|/ /
* | final touches for 4.5.1v4.5.1Rainer Gerhards2009-07-153-5/+5
| |
* | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-07-1516-473/+114
|\|
| * CONFIG CHANGE: $HUPisRestart default is now "off".Rainer Gerhards2009-07-156-13/+97
| | | | | | | | | | We are doing this to support removal of restart-type HUP in v5. Elaborate doc added to explain reasoning and actions to be taken.
| * removed outdated html version of man pageRainer Gerhards2009-07-151-438/+0
| | | | | | | | html doc is better
| * Merge branch 'v3-stable' into v4-betaRainer Gerhards2009-07-1510-22/+17
| |\
| | * removed mentioning HUP as a way of restarting from the doc setRainer Gerhards2009-07-1510-26/+21
| | | | | | | | | | | | ... part of the deprecation effort for v5
* | | added ability for the TCP output action to "rebind" its send socketRainer Gerhards2009-07-142-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | ...after sending n messages (actually, it re-opens the connection, the name is used because this is a concept very similiar to $ActionUDPRebindInterval). New config directive $ActionSendTCPRebindInterval added for the purpose. By default, rebinding is disabled. This is considered# useful for load balancers.
* | | added tcp output rebinding option.Rainer Gerhards2009-07-143-1/+25
| | | | | | | | | | | | | | | | | | added tcp output rebinding option. needs some more testing and doc
* | | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-07-142-1/+2
|\| |
| * | bugfix: fromhost-ip was sometimes truncatedRainer Gerhards2009-07-142-1/+2
| | |
* | | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-07-133-3/+6
|\| |
| * | Merge branch 'v3-stable' into v4-betaRainer Gerhards2009-07-133-3/+6
| |\| | | | | | | | | | | | | Conflicts: ChangeLog
| | * fix compile error in zip sender patchRainer Gerhards2009-07-131-2/+2
| | | | | | | | | | | | | | | | | | ... at least I was smart enough to remind me that I did not do one test ;) That reminder was the compiler error. Now removed and test done ;) [simple things tend to work, lol]
| | * better configure error message if mysql-devel is missingRainer Gerhards2009-07-131-1/+1
| | |
| | * bugfix: sending syslog messages with zip compression did not workRainer Gerhards2009-07-132-2/+5
| | |
* | | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-07-102-1/+2
|\| |
| * | bugfix: potential segfault when zip-compressed syslog records were received ↵Rainer Gerhards2009-07-102-1/+2
| | | | | | | | | | | | (double free)
* | | small performance improvement and cleanupRainer Gerhards2009-07-094-159/+174
| | | | | | | | | | | | | | | | | | optimized substring processing, should bring a small enhancement when forwarding with the default forwarding templates. Also did some uchar cleanup in msg.c (thus so many changes, in reality they are few...).
* | | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-07-0914-23/+95
|\| | | | | | | | | | | | | | Conflicts: tests/nettester.c
| * | bugfix: message could be truncated after TAG, often when forwardingRainer Gerhards2009-07-0913-20/+95
| | | | | | | | | | | | | | | | | | This was a result of an internal processing error if maximum field sizes had been specified in the property replacer. Also did some testbench improvements, including omstdout.
| * | bugfix: omfwd segfault when debugging is turned onRainer Gerhards2009-07-091-2/+0
| | |
* | | added capability to write incomplete buffers after an inactivity timeoutRainer Gerhards2009-07-072-7/+40
| | | | | | | | | | | | | | | | | | for the stream class and thus finally activating omfile's timeout capability in a useful way without polling and too-high performance overhead.
* | | fixed a bug introduced today that lead to an abort in queue disk modeRainer Gerhards2009-07-074-11/+15
| | |
* | | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-07-072-10/+17
|\| |
| * | bugfix: property msg was lost when working with disk queuesRainer Gerhards2009-07-072-6/+13
| | |
| * | bugfix: properties inputname, fromhost, fromhost-ip were lostRainer Gerhards2009-07-072-5/+5
| | | | | | | | | | | | ... when working with disk queues.
* | | solved a race conditionRainer Gerhards2009-07-074-16/+52
| | |
* | | clean solution for "writing" arbrietary-size user buffers to a streamRainer Gerhards2009-07-071-42/+28
| | |
* | | stream now uses a singular buffer strucuture for writingRainer Gerhards2009-07-071-6/+12
| | |
* | | moved locking primitivesRainer Gerhards2009-07-071-3/+19
| | |
* | | moved zip part to writer threadRainer Gerhards2009-07-062-71/+91
| | | | | | | | | | | | | | | | | | ... this is necessary in preparation for the final solution (we need to have a "unified" writer). If it causes worse performance to have the zip writher togehter with the synchronous write, we may do an async write...