summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* prepared for 5.3.4v5.3.4Rainer Gerhards2009-11-042-3/+17
|
* first complete implementation of loadable parser systemRainer Gerhards2009-11-044-2/+59
| | | | | | | I have now done the necessary cleanup. Looks like everything is in place. Unfortunately, I do not yet have any actual parser that is not built-in, but I think we can postpone working on that when the first one appears. I don't expect troubles in that case, but you never know ;)
* added $RulesetParser config directiveRainer Gerhards2009-11-046-6/+181
| | | | | The implementation is now almost done and works, including doc. I now need to verify shutdown, guess there are some resource leaks left...
* finalized parser module calling interfaceRainer Gerhards2009-11-046-28/+84
| | | | | looks like we are almost done and need only to add the ruleset parser-specific config options.
* moved rfc3164/5424 code to new parser modulesRainer Gerhards2009-11-0412-420/+594
| | | | | | another milestone commit: the program works, the new interface is used, some more cleanup is needed and the per-ruleset config options are still missing. But we are getting closer...
* some more cleanup along the wayRainer Gerhards2009-11-034-32/+30
| | | | ... getting the module structure a bit cleaner ;)
* one step closer to dynamically loadable parsersRainer Gerhards2009-11-0313-26/+290
| | | | | This is a milestone commit, which adds new code that breaks nothing, but also does not add any visible change. Just prep work...
* more cleanup and working towards a parser module calling interfaceRainer Gerhards2009-11-0316-65/+249
| | | | | | I cleaned up a lot of config variable access along the way. This version compiles and runs, but does not yet offer any enhanced functionality. pmrfc5424 is just a dummy that is not yet being used.
* restructured parser part of rsyslogRainer Gerhards2009-11-035-450/+394
| | | | | | now cleaner and hopefully usuable as a basis for loadable parser modules. I also cleaned up/consolidated some of the internal message generation functionality in rsyslogd.
* ruleset queue setting was not honored during multi-submitRainer Gerhards2009-11-031-4/+10
|
* improved omruleset docRainer Gerhards2009-11-034-4/+40
|
* Merge branch 'v4-devel'Rainer Gerhards2009-11-037-11/+110
|\
| * added function getenv() to RainerScriptRainer Gerhards2009-11-038-12/+111
| |
* | added forgotten file :(Rainer Gerhards2009-11-021-0/+108
| |
* | added omruleset output module, which provides great flexibility in action ↵Rainer Gerhards2009-11-0218-28/+380
| | | | | | | | | | | | processing. THIS IS A VERY IMPORTANT ADDITION, see its doc for why.
* | bugfix: correct default for escape ('#') character restoredRainer Gerhards2009-10-302-1/+3
| | | | | | | | | | This was accidently changed to '\\', thanks to David Lang for reporting the bug.
* | some cleanup (removal of debug code)Rainer Gerhards2009-10-301-4/+0
| |
* | bugfix(testbench): testcase did not properly wait for rsyslod shutdownRainer Gerhards2009-10-302-0/+7
| | | | | | | | | | thus some unpredictable behavior and a false negative test result could occur.
* | added test for ruleset-specific main queueRainer Gerhards2009-10-303-21/+51
| |
* | fix: testbench was broken by recent ruleset queue changesRainer Gerhards2009-10-303-0/+35
| | | | | | | | | | actually, the runtime dummy was missing some global entities, these have now been added.
* | added the capability to have ruleset-specific main message queuesRainer Gerhards2009-10-2713-60/+260
| | | | | | | | | | This offers considerable additional flexibility AND superior performance (in cases where multiple inputs now can avoid lock contention)
* | some more cleanup - action config line handlers are now defined in action.cRainer Gerhards2009-10-273-48/+28
| | | | | | | | As an artifact of early development, they were registered in syslogd.c
* | action processing optimized for queue shutdownRainer Gerhards2009-10-272-24/+16
| |
* | updated project status & bumped version numberRainer Gerhards2009-10-274-6/+8
| |
* | preparing for 5.3.3v5.3.3Rainer Gerhards2009-10-273-7/+7
| |
* | removed no longer needed flag variableRainer Gerhards2009-10-272-11/+6
| |
* | fix compile bug with last commitRainer Gerhards2009-10-271-1/+0
| |
* | some cleanupRainer Gerhards2009-10-274-83/+4
| |
* | fixed race condition during queue shutdownRainer Gerhards2009-10-273-14/+21
| | | | | | | | | | | | | | | | Problems could happen if the queue worker needed to be cancelled and this cancellation happened inside queue-code (including wtp, wti). We have now solved this by disabling cancellation while in this code and only enabling it when working inside the user consumer. This exactly matches the use case for which cancellation may be needed.
* | shuffled cancelability state to different spotRainer Gerhards2009-10-261-3/+8
| | | | | | | | ... but in anticipation of changing cancel processing altogether...
* | added note on lock-free algorithm to design docRainer Gerhards2009-10-261-1/+4
| |
* | addressed some race issues during queue shutdownRainer Gerhards2009-10-264-24/+64
| | | | | | | | | | | | | | these occured in very unusual scenarios where we had a DA-queue running in parallel and very lengthy actions. Then, in some situations, the shutdown could hang. The code needs some addition lab time, but is believed to be much better than any previous version.
* | Merge branch 'master' into queuePartialDeleteBatchesRainer Gerhards2009-10-264-3/+34
|\ \
| * | bugfix: potential abort if inputname property was not setRainer Gerhards2009-10-263-2/+8
| | | | | | | | | | | | | | | | | | primarily a problem of imdiag. Also added some fix for a potential situation during cancel processing. That one is not considered vital and may later be removed again.
| * | added some info on the TLS/netstream subsystemRainer Gerhards2009-10-261-1/+26
| | |
| * | cosmetic: made "make check" log a bit easier to readRainer Gerhards2009-10-221-0/+1
| | |
* | | implemented solution for cancel at shutdown/unprocessed entriesRainer Gerhards2009-10-263-38/+26
| | | | | | | | | | | | | | | We do now enqueue those objects that are left unprocessed. This enables us to delete the full batch, what is exactly what we need to do.
* | | added note on importance of statement sequence to tls docRainer Gerhards2009-10-262-1/+10
| | |
* | | Begun to work on partial batch deletes...Rainer Gerhards2009-10-224-12/+28
|/ / | | | | | | | | | | | | | | ... but this brings a lot of problems with it. The issue is that we still have a sequential store and we do not know how we could delete the one entry right in the middle of processing. I keep this branch if we intend to move on with it - but for now I look into a different solution...
* | enhanced test environment (including testbench)Rainer Gerhards2009-10-2242-103/+158
| | | | | | | | | | | | | | | | support for enhancing probability of memory addressing failure by using non-NULL default value for malloced memory (optional, only if requested by configure option). This helps to track down some otherwise undetected issues within the testbench and is expected to be very useful in the future.
* | improved testbenchRainer Gerhards2009-10-2121-14/+80
| | | | | | | | | | - added a test to check handling of damaged .qi files on startup - made sure each test identifies itself on startup
* | bugfix (testbench): left-over from manual test removedRainer Gerhards2009-10-211-7/+0
| |
* | Merge branch 'v4-devel'Rainer Gerhards2009-10-211-2/+7
|\| | | | | | | | | Conflicts: runtime/wtp.c
| * Merge branch 'v4-beta' into v4-develRainer Gerhards2009-10-212-4/+7
| |\
| | * Merge branch 'v4-stable' into v4-betaRainer Gerhards2009-10-212-3/+6
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imrelp/imrelp.c
| | | * bumped version numberRainer Gerhards2009-10-203-4/+6
| | | |
| | | * added imported bugfix to changelogRainer Gerhards2009-10-201-0/+2
| | | |
| | | * Merge branch 'v3-stable' into v4-stableRainer Gerhards2009-10-202-2/+1
| | | |\
| | | | * bugfix: potential hang condition on queue shutdownRainer Gerhards2009-10-202-2/+1
| | | | |
| | | * | Merge branch 'v3-stable' into v4-stableRainer Gerhards2009-10-143-5/+9
| | | |\| | | | | | | | | | | | | | | | | | | | | Conflicts: plugins/imrelp/imrelp.c