summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-12-164-6/+2
|\ | | | | | | | | | | | | | | | | | | | | 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-164-6/+0
| |
| * typo fix (thanks to Björn Påhlsson for finding it!)Michael Biebl2010-11-301-2/+2
| | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | fixed cosmetic nit (as a result of clang static code analyzer run)Rainer Gerhards2010-12-161-1/+1
| |
* | bugfix: replacements for atomic operations for non-int sized types had problems.Rainer Gerhards2010-11-251-1/+5
| | | | | | | | | | At least one instance of that problem could potentially lead to abort (inside omfile).
* | Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-10-192-1/+2
|\| | | | | | | | | | | | | | | Conflicts: configure.ac runtime/cfsysline.c tools/ompipe.c
| * fixing some compile problems on FreeBSDRainer Gerhards2010-10-192-1/+2
| |
* | Merge branch 'v4-devel' into v5-betaRainer Gerhards2010-10-151-1/+1
|\ \ | | | | | | | | | | | | | | | Conflicts: Makefile.am tests/tcpflood.c
| * \ Merge branch 'v4-stable-imptcp' into tmpRainer Gerhards2010-08-111-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.am configure.ac runtime/rsyslog.h tests/Makefile.am
| | * | added imptcpRainer Gerhards2010-08-101-1/+1
| | |/ | | | | | | | | | | | | imptcp is a simplified, Linux-specific and potentielly fast syslog plain tcp input plugin (NOT supporting TLS!)
* | | changed omudpspoof default spoof address to simplify typical use caseRainer Gerhards2010-08-051-0/+3
| | |
* | | fixed a couple of regressionsRainer Gerhards2010-06-234-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | by implementing some code that was missing so far ;) as well as finding some real bugs. I also did some general cleanup, removing debug strings and such. This code should be fairly OK to use, except when "exec only when previous action was suspended" is used -- this is NOT yet re-implemented in the tuned engine.
* | | milestone(BUGGY): batch now pushed down to actionRainer Gerhards2010-06-151-12/+1
| | | | | | | | | | | | | | | | | | | | | at least in important cases (not for non-direct action queues and some other minor things). This version is definitely buggy, but may be tried with success on a non-production system. I will continue to work on the correctness, but needed to commit now to get a baseline.
* | | milestone commit(BUGGY): batch is now handed down to rule processingRainer Gerhards2010-06-101-9/+17
| | | | | | | | | | | | | | | | | | | | | | | | Now, the full batch is passed down to the rule, which then enqueues the elements as single messages. Note that this code has some known defects and needs more changes until it is correct again. This is primarily a commit to be able to return to a known-(somewhat)-good state.
* | | some cleanupRainer Gerhards2010-06-101-1/+0
| | | | | | | | | | | | | | | as well as some work in preparation of storing doAction params inside the batch
* | | Merge branch 'concurrent-output' into tmpRainer Gerhards2010-06-101-26/+48
|\ \ \
| * | | main msg q consumer now preprocesses messages before doing rule processingRainer Gerhards2010-06-091-25/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | things like ACL check and message parsing. This leads to a greater level of concurrent processing. Beware, though, that this commit duplicates some messages. May be a regression from this or an earlier commit. I will soon sort out.
| * | | somewhat improved direct mode queue performanceRainer Gerhards2010-06-091-1/+1
| | | | | | | | | | | | | | | | | | | | ... but only for batch enqueues. This will not help much with the current code, but will play well with upcoming changes.
* | | | fixing msg duplication & loss regression, causes slowdownRainer Gerhards2010-06-101-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | messages could get lost or be duplicated due to non-proper sync of transactions. This is a notable slowdown again, but we know how to get back concurrency, it just takes "some" more programming. It is important now to come back to correct code, so that we can base further improvements on that.
* | | bugfix: regression caused more locking action in msg.c than necessaryRainer Gerhards2010-06-081-29/+7
| | | | | | | | | | | | also: bugfix: mutexes used to similate atomic instructions were not destructed
* | | finshed implementation of strgen modulesRainer Gerhards2010-06-049-81/+574
| | | | | | | | | | | | | | | | | | and also provided four build-in modules for the most common use cases, hopefully resulting in a speedup of around 5% for typical rsyslog processing.
* | | first implementation of strgen interfaceRainer Gerhards2010-06-014-0/+191
| | | | | | | | | | | | | | | and a first built-in strgen module. Some tweaks and more default strgens are needed, but the code doesn't look too bad ;)
* | | some more cleanup and a nasty little bug i doDie()Rainer Gerhards2010-05-101-13/+0
| | |
* | | improved syncdemo tool - added "partition" mode...Rainer Gerhards2010-05-051-9/+47
| | | | | | | | | | | | | | | ... and also analyzed the resulting assembly code to find out weak spots for the test. Explanations and new suggestions added.
* | | added semaphores to sync test scenarioRainer Gerhards2010-05-021-12/+32
| | |
* | | enhanced tool to test timing of sync methodsRainer Gerhards2010-05-021-29/+93
| | |
* | | Merge branch 'v4-devel' into tmpRainer Gerhards2010-04-261-0/+20
|\| |
| * | added new $Sleep directive to hold processing for a couple of seconds during ↵Rainer Gerhards2010-04-261-0/+20
| | | | | | | | | | | | startup
* | | Merge branch 'v4-devel' into masterRainer Gerhards2010-04-191-0/+1
|\| | | | | | | | | | | | | | Conflicts: runtime/msg.h
| * | minor cleanupRainer Gerhards2010-04-192-2/+3
| | |
* | | some cleanupRainer Gerhards2010-04-192-2/+3
| | |
* | | Merge branch 'v4-devel' into masterRainer Gerhards2010-04-191-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog Makefile.am configure.ac doc/manual.html runtime/debug.c runtime/rsyslog.h tests/Makefile.am tests/diag.sh tests/nettester.c tools/syslogd.c
| * | Merge branch 'v4-stable-solaris' into v4-develRainer Gerhards2010-04-1212-78/+431
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html tools/omfile.c tools/syslogd.c
| * \ \ Merge branch 'v4-beta' into tmpRainer Gerhards2010-01-264-8/+25
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
* | | | | (minor) some improvements to syncdemoRainer Gerhards2010-04-141-21/+20
| | | | |
* | | | | added tool to demo/evaluate various sync methodsRainer Gerhards2010-04-131-0/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This tool is primarily meant as an aid during concept development, NOT as a usable end-user tool to be built (thus it is not inside the build system)
* | | | | Merge branch 'beta' into masterRainer Gerhards2010-04-094-40/+65
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac plugins/imudp/imudp.c runtime/stream.h tests/Makefile.am tests/diag.sh tools/omfile.c
| * \ \ \ \ Merge branch 'v4-stable-solaris' into betaRainer Gerhards2010-04-093-4/+8
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/Makefile.am runtime/rsyslog.c tests/nettester.c tools/syslogd.c
| | * | | | Merge branch 'v4-stable' into v4-stable-solarisRainer Gerhards2010-04-071-2/+3
| | |\ \ \ \ | | | | |_|/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog tests/Makefile.am tests/tcpflood.c
| | | * | | bugfix: default for $OMFileFlushOnTXEnd was wrong ("off").Rainer Gerhards2010-04-071-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This, in default mode, caused buffered writing to be used, what means that it looked like no output were written or partial lines. Thanks to Michael Biebl for pointing out this bug.
| | | * | | temporary bugfix replaced by permanent one for...Rainer Gerhards2010-03-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...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.
| | * | | | enhanced nettester tool so that it re-uses it's callers environmentRainer Gerhards2010-04-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-251-1/+1
| | |\| | |
| | * | | | Merge branch 'v4-stable' into v4-stable-solarisRainer Gerhards2010-03-251-19/+22
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | * \ \ \ \ Merge branch 'v4-stable' into v4-stable-solarisRainer Gerhards2010-03-251-21/+25
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | * | | | | | added some diagnostics info to startupRainer Gerhards2010-03-231-2/+4
| | | | | | | |
| | * | | | | | Merge branch 'v4-stable' into v4-stable-solarisRainer Gerhards2010-03-233-7/+24
| | |\ \ \ \ \ \
| * | \ \ \ \ \ \ Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-03-293-38/+60
| |\ \ \ \ \ \ \ \ | | | |_|_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/debug.c runtime/stream.c tests/Makefile.am tests/diskqueue.sh tests/nettester.c tools/omfile.c
| | * | | | | | | $OMFileAsyncWriting directive did not work properlyRainer Gerhards2010-03-251-1/+1
| | | |_|_|/ / / | | |/| | | | |
| | * | | | | | new feature: $OMFileAsyncWriting directive addedRainer Gerhards2010-03-251-19/+22
| | | |_|/ / / | | |/| | | | | | | | | | | | | | | | | | it permits to specifiy if asynchronous writing should be done or not