summaryrefslogtreecommitdiffstats
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | Merge branch 'v4-beta' into betaRainer Gerhards2009-10-141-4/+4
| | |\| | | |
* | | | | | | fixing some potential segfault conditionsRainer Gerhards2009-11-251-0/+5
| | | | | | |
* | | | | | | minor: moved all code to new isAllowedSender2() interfaceRainer Gerhards2009-11-172-3/+3
| | | | | | |
* | | | | | | Merge branch 'v4-devel'Rainer Gerhards2009-11-173-14/+29
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | integrating varmojfekoj's "unlimited select()" patch into v4-develRainer Gerhards2009-11-173-16/+40
| |\ \ \ \ \ \
| | * | | | | | added option to use unlimited-size select() callsvarmojfekoj2009-11-173-16/+40
| | | |_|_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks to varmjofekoj for the patch Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | | | | added a skeleton for omdbalerting by request of Phil ReillyRainer Gerhards2009-11-172-0/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... who intends to add a database-driven alert functionality. The change provides the necessary rsyslog plumbing, but no functionality at all.
* | | | | | | moved DNS resolution code out of imudp and into the backend processingRainer Gerhards2009-11-171-38/+35
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-122-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...by replacing time() call with much faster (at least under linux) gettimeofday() calls.
* | | | | | Merge branch 'v4-devel'Rainer Gerhards2009-11-121-6/+58
|\| | | | |
| * | | | | Give even better outputLuis Fernando Munoz Mejias2009-11-121-9/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tell which statement is failing, which element in the batch, and give its details.
| * | | | | Improve the debug messagesLuis Fernando Munoz Mejias2009-11-121-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | Improve traceability while testing.
| * | | | | Debug output to find out a crashLuis Fernando Munoz Mejias2009-11-121-1/+5
| | | | | |
| * | | | | Report errors when OCI_SUCCESS_WITH_INFO happensLuis Fernando Munoz Mejias2009-11-121-1/+29
| | | | | |
| * | | | | Improve the handling of OCI_SUCCESS_WITH_INFO.Luis Fernando Munoz Mejias2009-11-121-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stop considering it as an error, and make it display the information from the Oracle server.
| * | | | | docLuis Fernando Munoz Mejias2009-11-121-3/+3
| | | | | |
| * | | | | If the server disconnects the handle is no longer valid and we need toLuis Fernando Munoz Mejias2009-11-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | call tryResume(), so we have to return RS_RET_SUSPENDED. Otherwise, we may keep losing messages until rsyslog is restarted.
* | | | | | bugfix: omudpspoof miscalculated source and destination portsRainer Gerhards2009-11-121-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | while this was probably not noticed for source ports, it resulted in almost all destination ports being wrong, except for the default port of 514, which by virtue of its binary representation was calculated correct (and probably thus the bug not earlier detected).
* | | | | | more cleanup and working towards a parser module calling interfaceRainer Gerhards2009-11-032-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | added omruleset output module, which provides great flexibility in action ↵Rainer Gerhards2009-11-023-1/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | processing. THIS IS A VERY IMPORTANT ADDITION, see its doc for why.
* | | | | | enhanced test environment (including testbench)Rainer Gerhards2009-10-2212-18/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Merge branch 'newqueue'Rainer Gerhards2009-10-211-0/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/queue.c
| * \ \ \ \ \ Merge branch 'master' into newqueueRainer Gerhards2009-10-165-52/+38
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * \ \ \ \ \ \ Merge branch 'master' into newqueueRainer Gerhards2009-10-151-4/+4
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tools/syslogd.c
| * | | | | | | | new queue engine - initial commit (probably not 100% working!)Rainer Gerhards2009-10-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | simplified and thus speeded up the queue engine, also fixed some potential race conditions (in very unusual shutdown conditions) along the way. The threading model has seriously changes, so there may be some regressions. NOTE: the code passed basic tests, but there is still more work and testing to be done. This commit should be treated with care.
* | | | | | | | | bugfix: first UDP listener was incorrectly assigned its rulesetRainer Gerhards2009-10-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this was a regression of the recent imudp multi-ruleset enhancement bug was not in any released version
* | | | | | | | | my imfile cleanup was a bit too agressive ;)Rainer Gerhards2009-10-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... so I moved the one line that some platforms need back in.
* | | | | | | | | fixed regression in new multi-ruleset imudp codeRainer Gerhards2009-10-191-6/+6
| |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new code has not been released so far, so this does not fix any bug known to the "real world".
* | | | | | | | some minor cleanup, consolidated some codeRainer Gerhards2009-10-161-8/+2
| | | | | | | |
* | | | | | | | improved input thread termination for imtcp and imuxsockRainer Gerhards2009-10-161-0/+3
| | | | | | | |
* | | | | | | | cosmetic: cleanup of imfileRainer Gerhards2009-10-161-35/+13
| | | | | | | |
* | | | | | | | ensure proper imudp shutdown even on a very busy systemRainer Gerhards2009-10-162-5/+8
| | | | | | | |
* | | | | | | | Merge branch 'david-master' into masterRainer Gerhards2009-10-161-1/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/msg.c
| * | | | | | | | bugfix in debug system and more instrumentation to find an issueRainer Gerhards2009-10-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bugfix: debug string larger than 1K were improperly displayed. Max size is now 32K, and if a string is even longer it is meaningful truncated.
* | | | | | | | | bugfix: compile problem when system provided only epoll_create()Rainer Gerhards2009-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I introduced that problem yesterday when I improved epoll support.
* | | | | | | | | solved a recently introduced race during input thread shutdownRainer Gerhards2009-10-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was introduced when we re-enabled non-cancel thread termination a few commits ago. This code has never been released as a tarball, so that is no bugfix for a release but rather a WiP regression fix and thus does not need to be mentioned in the ChangeLog.
* | | | | | | | | improved imudp so that epoll can be used in more environmentsRainer Gerhards2009-10-151-2/+9
| |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | Fixed potential compile time problem if EPOLL_CLOEXEC is not available.
* | | | | | | | Merge branch 'v4-devel'Rainer Gerhards2009-10-141-4/+4
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | / / / / / | | |/ / / / / | |/| | | | |
| * | | | | | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-10-141-4/+4
| |\ \ \ \ \ \ | | | |_|_|/ / | | |/| | | |
| | * | | | | Merge branch 'v3-stable' into v4-betaRainer Gerhards2009-10-141-4/+4
| | |\ \ \ \ \ | | | | |_|_|/ | | | |/| | | | | | | | | | | | | | | | | Conflicts: plugins/imrelp/imrelp.c
| | | * | | | enhance: imrelp now also provides remote peer's IP addressRainer Gerhards2009-10-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | [if librelp != 1.0.0 is used]
* | | | | | | added multi-ruleset support to imudpRainer Gerhards2009-10-131-28/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also bumped version number and corrected ChangeLog, where I merged some post 5.3.1 changes into the 5.3.1 section.
* | | | | | | removed no longer needed msg_t property "bParseHOSTNAME"Rainer Gerhards2009-10-136-7/+0
| | | | | | |
* | | | | | | enhanced immark to support non-cancel input module terminationRainer Gerhards2009-10-121-2/+16
| | | | | | |
* | | | | | | re-enabled input thread termination handling that does avoid thread cancellationRainer Gerhards2009-10-121-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...where possible. This provides a more reliable mode of rsyslogd termination (canceling threads my result in not properly freed resouces and potential later hangs, even though we perform proper cancel handling in our code). This is part of an effort to reduce thread cnacellation as much as possible in rsyslog. NOTE: some comments indicated that there were problems with some code that has been re-activated. Testing did not show any issues. My current assumption is that these issues were related to some other code that has been removed/changed during the previous restructuring events. In any case, if there is a shutdown issue, one should carefully look at this change here!
* | | | | | | updated doc in imtemplate so that it no longer promotes legacy interfaceRainer Gerhards2009-10-121-29/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | parseAndSubmitMsg will go away
* | | | | | | changed imuxsock to no longer use deprecated submitAndParseMsg() interfaceRainer Gerhards2009-10-122-17/+64
| | | | | | |
* | | | | | | Merge branch 'beta'Rainer Gerhards2009-10-091-0/+1
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | / | | |_|_|_|/ | |/| | | |
| * | | | | bugfix and testbench improvementsRainer Gerhards2009-10-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - bugfix: solved potential (temporary) stall of messages when the queue was almost empty and few new data added (caused testbench to sometimes hang!) - fixed some race condition in testbench - added more elaborate diagnostics to parts of the testbench - solved a potential race inside the queue engine
| * | | | | Merge branch 'v4-beta' into betaRainer Gerhards2009-10-023-1/+9
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/rsyslog.h tcpsrv.c