summaryrefslogtreecommitdiffstats
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | 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>
* | | | 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.
* | | | 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]
* | | | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-10-023-1/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | | Merge branch 'aaron' into v4-betaRainer Gerhards2009-10-021-0/+5
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| | * | | added $InputTCPServerNotifyOnConnectionClose config directiveRainer Gerhards2009-10-011-0/+5
| | | | |
| * | | | Merge branch 'v4-stable' into v4-beta & BUGFIXRainer Gerhards2009-10-012-1/+4
| |\ \ \ \ | | |/ / / | |/| | / | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac doc/manual.html runtime/datetime.h runtime/parser.c runtime/rsyslog.h tools/syslogd.c v4-stable had a bug with RFC5424-formatted structured data, which showed was detected by the enhanced automatted testbench of v4-beta.
| | * | bugfix: zero-sized UDP messages are no longer processedRainer Gerhards2009-09-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now, they were forwarded to processing, but this makes no sense Also, it looks like the system seems to provide a zero return code on a UDP recvfrom() from time to time for some internal reasons. These "receives" are now silently ignored.
* | | | added new config option $InputUnixListenSocketCreatePathRainer Gerhards2009-09-041-2/+12
|/ / / | | | | | | | | | backport from v5-devel
* | | Merge branch 'v4-stable' into v4-betaRainer Gerhards2009-09-031-1/+1
|\| | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | bugfix: reverse lookup reduction logic in imudp do DNS queries too oftenRainer Gerhards2009-09-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | A comparison was done between the current and the former source address. However, this was done on the full sockaddr_storage structure and not on the host address only. This has now been changed for IPv4 and IPv6. The end result of this bug could be a higher UDP message loss rate than necessary (note that UDP message loss can not totally be avoided due to the UDP spec)
* | | added $InputTCPMaxListeners directiveRainer Gerhards2009-08-171-0/+5
| | | | | | | | | | | | permits to specify how many TCP servers shall be possible (default is 20).
* | | bugfix: message could be truncated after TAG, often when forwardingRainer Gerhards2009-07-091-1/+12
| | | | | | | | | | | | | | | | | | This was a result of an internal processing error if maximum field sizes had been specified in the property replacer. Also did some testbench improvements, including omstdout.
* | | added $klogConsoleLogLevel directiveRainer Gerhards2009-07-032-9/+7
| | | | | | | | | | | | ...which permits to set a new console log level while rsyslog is active
* | | now put the new property-based methods to good useRainer Gerhards2009-07-012-7/+15
| | | | | | | | | | | | | | | | | | ... hopefully reducing the number of allocs/frees as well as overall memory usage in a busy system (plus that these shared properties hopefully remain in cache longer than its single-instance counterparts...)
* | | RcvFromIP now also a propertyRainer Gerhards2009-07-013-3/+10
| | | | | | | | | | | | | | | | | | This sets stage to enable use of the property-interface to speed up things (mildly), the next step to be done. I have also fixed one regression of yesterday's changes.
* | | introduced a new way of handling the RcvFrom propertyRainer Gerhards2009-06-303-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... plus a fix for a long-time bug in obj-types.h. That lead to the object pointer only then to become NULL when the object was actually destructed, I discovered this issue during introduction of the pRcvFrom property in msg_t, but it potentially had other effects, too. I am not sure if some experienced instability resulted from this bug OR if its fix will cause harm to so-far "correctly" running code. The later may very well be. Thus I will change it only for the current branch and also the beta, but not in all old builds. Let's see how things evolve.
* | | finished transition to using inputName propertyRainer Gerhards2009-06-306-11/+75
| | | | | | | | | | | | | | | ... plus some celanup and adding minor missing functionality (the rule debug info again tell the property name, not just number).
* | | introduced the idea of detached propertiesRainer Gerhards2009-06-295-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | some things inside the message can be used over a large number of messages and need to to be allocated and re-written every time. I now begin to implement this as a "prop_t" object, first use for the inputName. Some input modules are already converted, some others to go. Will do a little performance check on the new method before I go further. Also, this commit has some cleanup and a few bug fixes that prevented compiliation in debug mode (I overlooked this as I did not compile for debug, what I normally do, and the automatted test also does not do that)
* | | add support for KLogPathMichael Terry2009-06-294-5/+25
| | |
* | | optimized hostname processingRainer Gerhards2009-06-232-2/+2
| | |
* | | optimized handling of MSG part in msg objectRainer Gerhards2009-06-182-2/+2
| | | | | | | | | | | | | | | WARNING: currently, message repeation processing is disabled, must be reenabled (but prefer to do some other tests first)
* | | optimized TAG handling in msg objectRainer Gerhards2009-06-182-2/+4
| | |
* | | cleaned up/optimized raw message handling in msg objectRainer Gerhards2009-06-184-8/+4
| | |
* | | Merge branch 'master' into omfileRainer Gerhards2009-06-164-8/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/msg.h tcps_sess.c tcpsrv.c tools/syslogd.c
| * | removed long-obsoleted property UxTradMsgRainer Gerhards2009-06-162-3/+0
| | | | | | | | | | | | | | | ... as well as some cleanup (some commented-out code is left to support UxTradMsg again is someone really complains ;)).
| * | some performance optimizationsRainer Gerhards2009-06-164-5/+5
| | | | | | | | | | | | | | | | | | - saved gettimeofday() calls in imtcp (and increased reception buffer) - somewhat optimized stringbuf.c - some other optimizations
* | | performance-enhanced imtcpRainer Gerhards2009-06-121-1/+30
| | | | | | | | | | | | | | | ...by now using lowres time and thus saving many time() calls. This needs some performance testing and must be made configurable if it works out.
* | | completed multi-ruleset core supportRainer Gerhards2009-06-121-9/+34
| | | | | | | | | | | | ... as well as added multi-ruleset support for imtcp
* | | re-enabled pipe, tty and console in omfileRainer Gerhards2009-06-129-8/+9
| | | | | | | | | | | | | | | | | | | | | ... by moving code to stream.c. Thanks to the new design, new cases are not really needed, resulting in cleaner code. I also did a cleanup of header file usage as a side-activity.
* | | added $OMFileIOBufferSize config directive and plumbingRainer Gerhards2009-06-041-2/+1
| | |
* | | cleaned up stream class ...Rainer Gerhards2009-06-041-24/+27
|/ / | | | | | | | | | | ... and also made it callable via an rsyslog interface rather then relying on the OS loader (important if we go for using it inside loadbale modules, which we soon possible will)
* | added support for custom modulesRainer Gerhards2009-06-021-0/+6
| | | | | | | | | | | | ... this provides some basic support to integrate extensions that are not direct parts of rsyslog to be built during its build process.
* | fix: import from beta accidently disable imdiagRainer Gerhards2009-05-291-3/+0
| |
* | Merge branch 'beta'Rainer Gerhards2009-05-291-0/+3
|\ \
| * | Merge branch 'v3-stable' into betaRainer Gerhards2009-05-291-0/+3
| |\| | | | | | | | | | | | | Conflicts: ChangeLog
| | * fixed problem in syslog-protocol (now RFC5424) parserRainer Gerhards2009-05-291-0/+3
| | | | | | | | | | | | ... as well as some other minor issues.
* | | Merge branch 'beta' into masterRainer Gerhards2009-05-281-1/+1
|\| | | | | | | | | | | | | | Conflicts: tests/Makefile.am
| * | Merge branch 'v3-stable' into betaRainer Gerhards2009-05-281-1/+1
| |\| | | | | | | | | | | | | Conflicts: tests/Makefile.am
| | * bugfix: potential segfault issue when multiple $UDPServerRun directives are ↵Rainer Gerhards2009-05-121-1/+1
| | | | | | | | | | | | | | | | | | specified. Thanks to Michael Biebl for helping to debug this one.
| * | bugfix: compile problems in im3195Rainer Gerhards2009-04-231-1/+2
| | |
* | | greatly enhanced testbenchRainer Gerhards2009-05-272-14/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | The imdiag module now can very effectively inject messages, which also frees us from uncertainties of tcp reception and processing. All shell script based tests have been modularized, what makes it far easier to create new tests. Also, the test bench now executes more reliable and much faster, because we can now rely on actual engine information where we previously did just a dumb sleep.