summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* milestone: working towards utilizing epoll interfaceRainer Gerhards2009-11-192-3/+3
| | | | NOTE: this version does NOT run - tcp-based servers are defunct.
* milestone commit: first driver layer call doneRainer Gerhards2009-11-189-16/+171
| | | | | ... does not really run. We can now call into the epoll driver, but not handle epoll(). The driver also needs more modifications.
* added skeleton for supporting epoll() API in netstream subsystemRainer Gerhards2009-11-187-2/+433
|
* minor: moved all code to new isAllowedSender2() interfaceRainer Gerhards2009-11-171-1/+1
|
* Merge branch 'v4-devel'Rainer Gerhards2009-11-178-13/+121
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/rsyslog_conf_modules.html gss-misc.c plugins/imgssapi/imgssapi.c plugins/imudp/imudp.c plugins/imuxsock/imuxsock.c runtime/glbl.c runtime/glbl.h runtime/net.c
| * worked a bit on "unlimited select()" patchRainer Gerhards2009-11-172-4/+10
| | | | | | | | | | | | - potential segfault in gss-misc.c - glbl interface needed different version ID - some compile time warning cleanup
| * Merge branch 'v4-beta' into v4-develRainer Gerhards2009-11-172-2/+5
| |\
| | * Merge branch 'v4-stable' into v4-betaRainer Gerhards2009-11-172-2/+5
| | |\
| | | * Merge branch 'v3-stable' into v4-stableRainer Gerhards2009-11-172-2/+5
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/rsyslog_conf.html runtime/net.c
| | | | * correcting -q/-Q patch - was invalidRainer Gerhards2009-11-122-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | This is the correct patch. The previous one solved the segfault, but disabled the -q/Q options.
| * | | | integrating varmojfekoj's "unlimited select()" patch into v4-develRainer Gerhards2009-11-176-11/+108
| |\ \ \ \
| | * | | | added option to use unlimited-size select() callsvarmojfekoj2009-11-175-10/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks to varmjofekoj for the patch Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | | | moved DNS resolution code out of imudp and into the backend processingRainer Gerhards2009-11-176-37/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most importantly, DNS resolution now never happens if the resolved name is not required. Note that this applies to imudp - for the other inputs, DNS resolution almost comes for free, so we do not do it there. However, the new method has been implemented in a generic way and as such may also be used by other modules in the future.
* | | | | | some light performance enhancementRainer Gerhards2009-11-127-10/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...by replacing time() call with much faster (at least under linux) gettimeofday() calls.
* | | | | | Merge branch 'v4-devel'Rainer Gerhards2009-11-121-2/+2
|\| | | | |
| * | | | | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-11-121-2/+2
| |\ \ \ \ \ | | | |/ / / | | |/| | |
| | * | | | Merge branch 'v4-stable' into v4-betaRainer Gerhards2009-11-121-2/+2
| | |\ \ \ \ | | | | |/ / | | | |/| |
| | | * | | Merge branch 'v3-stable' into v4-stableRainer Gerhards2009-11-121-2/+2
| | | |\ \ \ | | | | | |/ | | | | |/|
| | | | * | bugfix: segfault on startup when -q or -Q option was givenRainer Gerhards2009-11-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=157 Thanks to Jonas Nogueira for reporting this bug.
| * | | | | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-11-101-0/+9
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
* | | | | | Merge branch 'v4-beta'Rainer Gerhards2009-11-101-0/+9
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | | | added a so-called "On Demand Debug" modeRainer Gerhards2009-11-101-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in which debug output can be generated only after the process has started, but not right from the beginning. This is assumed to be useful for hard-to-find bugs. Also improved the doc on the debug system.
* | | | | | Merge branch 'v4-devel' into tmpRainer Gerhards2009-11-051-0/+1
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-11-051-0/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am
| | * | | | bugfix: named pipes did no longer work (they always got an open error)Rainer Gerhards2009-11-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | this was a regression from the omfile rewrite in 4.5.0
* | | | | | first complete implementation of loadable parser systemRainer Gerhards2009-11-043-2/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-042-5/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-044-28/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-046-414/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-031-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | ... getting the module structure a bit cleaner ;)
* | | | | | one step closer to dynamically loadable parsersRainer Gerhards2009-11-039-26/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-039-21/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-031-0/+382
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Merge branch 'v4-devel'Rainer Gerhards2009-11-031-0/+44
|\| | | | |
| * | | | | added function getenv() to RainerScriptRainer Gerhards2009-11-031-0/+44
| |/ / / /
| * | | | Merge branch 'v4-stable' into v4-betaRainer Gerhards2009-10-211-2/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imrelp/imrelp.c
| | * | | Merge branch 'v3-stable' into v4-stableRainer Gerhards2009-10-201-2/+0
| | |\| | | | | |/ | | |/|
| | | * bugfix: potential hang condition on queue shutdownRainer Gerhards2009-10-201-2/+0
| | | |
| | * | RFC5424 formatted messages with only structured data and no MSG part were ↵Rainer Gerhards2009-10-012-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | improperly handled. This was a regression of one of the last bugfixes, so no previously released version contained this bug (thus it does not show up in the ChangeLog).
* | | | added omruleset output module, which provides great flexibility in action ↵Rainer Gerhards2009-11-024-19/+23
| | | | | | | | | | | | | | | | | | | | | | | | processing. THIS IS A VERY IMPORTANT ADDITION, see its doc for why.
* | | | added the capability to have ruleset-specific main message queuesRainer Gerhards2009-10-275-3/+73
| | | | | | | | | | | | | | | | | | | | This offers considerable additional flexibility AND superior performance (in cases where multiple inputs now can avoid lock contention)
* | | | action processing optimized for queue shutdownRainer Gerhards2009-10-271-1/+1
| | | |
* | | | 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-272-12/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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...
* | | | addressed some race issues during queue shutdownRainer Gerhards2009-10-263-22/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-262-2/+6
|\ \ \ \
| * | | | bugfix: potential abort if inputname property was not setRainer Gerhards2009-10-262-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.