summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master-tcpsrv-mt'v6.1.5Rainer Gerhards2011-03-046-40/+41
|\ | | | | | | | | Conflicts: ChangeLog
| * Merge branch 'master' into master-tcpsrv-mtRainer Gerhards2011-02-2817-57/+232
| |\
| * | completed new TLS code in tcpfloodRainer Gerhards2011-02-281-0/+2
| | |
| * | (somewhat) improved TLS subsystemRainer Gerhards2011-02-011-22/+4
| | | | | | | | | | | | | | | | | | - improved TLS error reporting - improved TLS startup (Diffie-Hellman bits do not need to be generated, as we do not support full anon key exchange -- we always need certs)
| * | tcpsrv select-handler experimentally moved to multi-threading as wellRainer Gerhards2011-01-311-1/+1
| | | | | | | | | | | | | | | first tests done with plain tcp, TLS subsystems tests need to be carried out. No serious lab testing done so far.
| * | fixing regression: multi-threading had racesRainer Gerhards2011-01-314-1/+11
| | |
| * | interim commit: current debug state of new imptcpRainer Gerhards2011-01-281-17/+23
| | | | | | | | | | | | | | | | | | I need to verify the concept used in a simpler environment, and this means I probably need to freeze the (non-working) state here for a couple of days.
| * | resolved problem with intermixing requestsRainer Gerhards2011-01-271-2/+2
| | |
| * | experimental: added thread pool to tcpsrv epoll handlerRainer Gerhards2011-01-271-1/+2
| | | | | | | | | | | | | | | this seems to work in lab, but is brand-new code. needs practice drill.
* | | Merge branch 'v5-beta'Rainer Gerhards2011-03-011-1/+2
|\ \ \ | |_|/ |/| | | | | | | | Conflicts: ChangeLog
| * | bugfix: potential abort condition when $RepeatedMsgReduction set to onRainer Gerhards2011-03-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | as well as potentially in a number of other places where MsgDup() was used. This only happened when the imudp input module was used and it depended on name resolution not yet had taken place. In other words, this was a strange problem that could lead to hard to diagnose instability. So if you experience instability, chances are good that this fix will help.
* | | Merge branch 'v5-beta'Rainer Gerhards2011-02-255-11/+38
|\| | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | bugfix: fixed a memory leak and potential abort conditionRainer Gerhards2011-02-252-10/+21
| | | | | | | | | | | | | | | | | | | | | this could happen if multiple rulesets were used and some output batches contained messages belonging to more than one ruleset. fixes: http://bugzilla.adiscon.com/show_bug.cgi?id=226 fixes: http://bugzilla.adiscon.com/show_bug.cgi?id=218
| * | Merge branch 'v5-stable' into v5-betaRainer Gerhards2011-02-251-0/+5
| |\ \ | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | * | bugfix: memory leak when $RepeatedMsgReduction on was usedRainer Gerhards2011-02-251-0/+5
| | | | | | | | | | | | | | | | bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=225
| * | | added debug support for trying to find well-hidden bugRainer Gerhards2011-02-232-1/+12
| | | |
* | | | Merge branch 'v5-beta'Rainer Gerhards2011-02-188-6/+54
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/glbl.c tools/omdiscard.c
| * | | bugfix: fixed compile problem due to empty structsDražen Kačar2011-02-164-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | this occured only on some platforms/compilers. thanks to Dražen Kačar for the fix Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * | | improved error reporting for $WorkDirectoryRainer Gerhards2011-02-152-1/+37
| | | | | | | | | | | | | | | | | | | | non-existance and other detectable problems are now reported, and the work directory is NOT set in this case
| * | | bugfix: very long running actions could prevent shutdown under some ↵Rainer Gerhards2011-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | circumstances This has now been solved, at least for common situations.
| * | | removed no longer needed codeRainer Gerhards2011-02-112-3/+0
| | | |
| * | | bugfix: queue engine did not properly slow down inputs in FULL_DELAY mode...Rainer Gerhards2011-02-111-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | ...when in disk-assisted mode. This especially affected imfile, which created unnecessarily queue files if a large set of input file data was to process.
* | | | Merge branch 'v5-beta'Rainer Gerhards2011-02-112-5/+7
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | | bugfix: abort if imfile reads file line of more than 64KiBRainer Gerhards2011-02-101-1/+1
| | | | | | | | | | | | | | | | | | | | Thanks to Peter Eisentraut for reporting and analysing this problem. bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=221
| * | | cosmetic: making comments in stream.c a bit more readableRainer Gerhards2011-02-101-4/+6
| | | |
* | | | Merge branch 'v5-devel'Rainer Gerhards2011-02-015-39/+137
|\| | | | |_|/ |/| | | | | | | | | | | | | | Conflicts: plugins/imfile/imfile.c plugins/imudp/imudp.c plugins/ommysql/ommysql.c
| * | 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>
* | | | | interim commit: refactored epoll processingRainer Gerhards2011-01-265-10/+20
| | | | | | | | | | | | | | | | | | | | this is a perquisite for multi-threading the input handler
* | | | | improved tcpsrv performance by enabling multiple-entry epollRainer Gerhards2011-01-254-15/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so far, we always pulled a single event from the epoll interface. Now 128, what should result in performance improvement (less API calls) on busy systems. Most importantly affects imtcp.
* | | | | Merge branch 'v5-devel'Rainer Gerhards2010-12-1711-54/+85
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c plugins/imudp/imudp.c runtime/glbl.c
| * | | | 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