summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* imuxsock: changed to per-pid ratelimitingRainer Gerhards2010-09-281-1/+1
|
* minor: improved error message when already runningRainer Gerhards2010-09-171-4/+3
|
* Merge branch 'systemd' into v5-develRainer Gerhards2010-09-082-30/+33
|\
| * acquire /dev/log socket optionally from systemdLennart Poettering2010-09-072-30/+33
| |
* | Merge branch 'v4-devel' into masterRainer Gerhards2010-08-111-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
| | * | | | | undo experimental commit dccadb677c5a6b8379f631e4c1f14c8c4089d4a6Rainer Gerhards2010-03-251-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Further testing turned out that the rsyslog core works correctly and this fix is not needed. The concurrency we saw was actually caused by other actions (even processes) during directory creation. See commit 9e5b31fc44136dbcc1e443cfe7714e9daf97d844 for further details.
| | * | | | | bugfix: potential segfault in dynafile cacheRainer Gerhards2010-03-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This bug was triggered by an open failure. The the cache was full and a new entry needed to be placed inside it, a victim for eviction was selected. That victim was freed, then the open of the new file tried. If the open failed, the victim entry was still freed, and the function exited. However, on next invocation and cache search, the victim entry was used as if it were populated, most probably resulting in a segfault.
| | * | | | | streamline dynafile cache entry deletion a bitRainer Gerhards2010-03-231-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old code looks a bit "strange", though not necessarily incorrect. The new code looks correct and is probably less irritating during bug hunting.