summaryrefslogtreecommitdiffstats
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'omfile' into v5-develRainer Gerhards2009-06-232-2/+2
|\ | | | | | | | | Conflicts: runtime/rsyslog.h
| * optimized hostname processingRainer Gerhards2009-06-232-2/+2
| |
* | Merge branch 'omfile' into tmpRainer Gerhards2009-06-224-12/+10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a complex manual merge, especially in action.c. So if there occur some problems, this would be a good point to start troubleshooting. I run a couple of tests before commiting and they all went well. Conflicts: action.c action.h runtime/queue.c runtime/queue.h runtime/wti.c runtime/wti.h
| * 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 'omfile' into v5-develRainer Gerhards2009-06-1614-42/+100
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that this was NOT a trivial merge, and there may be some issues. This needs to be seen when we continue developing. Conflicts: runtime/msg.h runtime/obj.h runtime/queue.c runtime/srUtils.h runtime/stream.c runtime/stream.h runtime/wti.c tests/Makefile.am tools/omfile.c tools/syslogd.c
| * 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)
* | Merge branch 'master' into v5-develRainer Gerhards2009-06-041-0/+6
|\| | | | | | | | | | | Conflicts: ChangeLog runtime/rsyslog.h
| * 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.
* | Merge branch 'master' into v5-develRainer Gerhards2009-05-291-3/+0
|\|
| * fix: import from beta accidently disable imdiagRainer Gerhards2009-05-291-3/+0
| |
* | Merge branch 'master' into v5-develRainer Gerhards2009-05-291-0/+3
|\|
| * 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 'master' into v5-develRainer Gerhards2009-05-281-1/+1
|\| | | | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am
| * | | 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
| | | |
* | | | preserving current changesRainer Gerhards2009-05-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | ... in preparation for some larger changes - I need to apply some serious design changes, as the current system does not play well at all with ultra-reliable queues. Will do that in a totally new version.
* | | | adapted testbench to new capabilitiesRainer Gerhards2009-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | ... and now make check fails again, we have obviously found some new bugs thanks to the additional cases
* | | | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-272-14/+132
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am tests/diskqueue.sh tests/imtcp-multiport.sh tests/manytcp.sh tests/memq-persist.sh
| * | | 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.
* | | | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-251-52/+195
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am tests/diskqueue.sh
| * | | added new testing module imdiagRainer Gerhards2009-05-251-52/+195
| | | | | | | | | | | | | | | | | | | | which enables to talk to the rsyslog core at runtime. The current implementation is only a beginning, but can be expanded over time
* | | | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-226-40/+52
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h tests/Makefile.am tools/syslogd.c
| * | | added capability to run multiple tcp listeners (on different ports)Rainer Gerhards2009-05-225-24/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Well, actually this and a lot of related things. I improved the testbench so that the new capabilities are automatically tested and also did some general cleanup. The current multiple tcp listener solution will probably receive some further cleanup, too, but looks quite OK so far. I also reviewed the way tcpsrv et all work, in preparation of using this code for imdiag. I need to document the findings, especially as the code is rather complicated "thanks" to the combination of plain tcp and gssapi transport modes.
| * | | made imdiag *just* compile & some cleanupRainer Gerhards2009-05-201-16/+20
| | | | | | | | | | | | | | | | | | | | | | | | imdiag was never finished (not even really begun), but now I need it. I made the few things that are available compile, but more serious work is required.
* | | | minor cleanupRainer Gerhards2009-05-201-5/+2
| | | |
* | | | Merge branch 'master' into multi-dequeueRainer Gerhards2009-05-122-46/+55
|\| | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| * | | Make it recover from errors on insertions.Luis Fernando Muñoz Mejías2009-04-291-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the database rejected some entry, making the statement fail on it, the batch was not cleaned and the same values were retried over and over, causing a cascade of failures and a denial of service. We use now OCI_BATCH_ERRORS so that everything valid in the batch is inserted, and rejected values can be discarded.
| * | | Replace get_db_statement by a template.Luis Fernando Muñoz Mejías2009-04-291-25/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of reading a complete line, we'll use a template and delegate in the core to read such template. Then, all omoracle has to do is to find that template and use it as the prepared statement. I'm not sure if this is the correct approach, though. It has to dig too much into rsyslog's structures... txt_statement is stored in a private area, so that we don't mess too much with rsyslog's internals (I still don't feel comfortable with this much digging into template structures).
| * | | Add the $OmoracleBatchItemSize directiveLuis Fernando Muñoz Mejías2009-04-291-17/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This directive controls the amount of memory needed for properties in the batch. Users should specify the largest value they expect in the statement. As per Rainer's comment: on MAX_BUFSIZE: I'd tend to make this configurable, because with RFC5424 messages can be much longer and RFC5425 now recommends a minimum maximum size of 8K. So we let users to choose. Maybe we need a sensible default value to make users' lifes easier? Also, the old non-vector based interface is not supported anymore. I broke it already when moving to this stage.
| * | | Add licensing information.Luis Fernando Muñoz Mejías2009-04-292-0/+10
| | | | | | | | | | | | | | | | | | | | I'm not sure if GPLv3 contemplates the ability to link to proprietary software, if it was previous work. I explicitly allow linking to OCI.
* | | | fixed some bugs & added testing helpersRainer Gerhards2009-05-071-11/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The action state machine now works correctly and has been verified a few hand-picked cases. I am missing automatted tests, though, this is not easy to achive... Anyhow, I've improved omtesting, so that it can be used in such automatted tests.
* | | | begin implementation of new transactional output module interfaceRainer Gerhards2009-04-271-0/+22
| | | | | | | | | | | | | | | | code is not complete, error cases are not handled.
* | | | fixing a small (newly-introduced) memory leakRainer Gerhards2009-04-231-8/+4
|/ / / | | | | | | | | | | | | ... plus simplifying free() calls after agreement on mailing list that we no longer need to check if the pointer is non-NULL
* | | some cleanupRainer Gerhards2009-04-172-2/+1
| | | | | | | | | | | | | | | ... mostly removal of compile-time warnings (thanks to Michael Biebl for suggesting to look after that)
* | | update project status & cleanupRainer Gerhards2009-04-172-22/+24
| | | | | | | | | | | | | | | | | | removed some warning in imklog compilation, but may not have solved a lurking issue (but placed comment so that we know if something surfaces)
* | | Merge branch 'master' into nextmasterRainer Gerhards2009-04-171-9/+41
|\| |
| * | Merge branch 'beta'Rainer Gerhards2009-04-171-9/+41
| |\|