summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.h
Commit message (Collapse)AuthorAgeFilesLines
* ensure proper imudp shutdown even on a very busy systemRainer Gerhards2009-10-161-0/+1
|
* Merge branch 'v4-devel' into tmpRainer Gerhards2009-10-021-3/+5
|\ | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/rsyslog.h tcpsrv.c
| * Merge branch 'aaron' into v4-betaRainer Gerhards2009-10-021-0/+1
| |\ | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| | * bumped version number, corrected error message code (minor nit)Rainer Gerhards2009-10-011-0/+1
| | |
| * | Merge branch 'v4-stable' into v4-beta & BUGFIXRainer Gerhards2009-10-011-0/+1
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: random data could be appended to message, possibly causing segfaultsRainer Gerhards2009-09-241-0/+1
| | |
* | | done implementing omudpspoofRainer Gerhards2009-07-101-0/+2
| | | | | | | | | | | | | | | | | | This is now a "good" rsyslog output module, working as usual. I've also sorted out some reentrency issues. Code is clean and ready to be tested in practice ;)
* | | commiting interim version with ability to specify spoof sourceRainer Gerhards2009-07-091-0/+1
| | |
* | | Merge branch 'master' into v5-develRainer Gerhards2009-07-011-0/+1
|\| |
| * | introduced the idea of detached propertiesRainer Gerhards2009-06-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | fixed small compile issueRainer Gerhards2009-06-271-1/+1
| | |
* | | Merge branch 'master' into v5-develRainer Gerhards2009-06-261-0/+41
|\| | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| * | optimization: propert names are now internally identified by integersRainer Gerhards2009-06-261-0/+41
| | |
* | | Merge branch 'master' into v5-develRainer Gerhards2009-06-261-3/+2
|\| |
| * | got rid of the recursive requirement for msg_t mutex (finally!)Rainer Gerhards2009-06-261-3/+2
| | |
* | | Merge branch 'omfile' into v5-develRainer Gerhards2009-06-231-5/+13
|\| | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| * | optimized TAG handlingRainer Gerhards2009-06-231-2/+4
| | |
| * | more strict parsing of the hostname in rfc3164 modeRainer Gerhards2009-06-231-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... hopefully removes false positives (but may cause some trouble with hostname parsing). For details, see this bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=126 This patch is not optimal for v4 - another one will follow. The spirit of this commit is to enable easier backporting if someone is interested in doing so.
| * | restored repeated message reduction processingRainer Gerhards2009-06-231-0/+3
| | |
| * | some more optimizationsRainer Gerhards2009-06-231-0/+1
| | | | | | | | | | | | | | | | | | | | | - done malloc() instead of calloc() for msg_t, as we have large space which needs not be initialized - shrunk syslogTime structure in the hope to get better cache and write performance (non-aligned data should not hurt much here)
* | | Merge branch 'omfile' into v5-develRainer Gerhards2009-06-221-0/+1
|\| |
| * | optimized processing of TAG message fieldRainer Gerhards2009-06-221-0/+1
| | |
* | | Merge branch 'omfile' into tmpRainer Gerhards2009-06-221-0/+14
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | added basic plumbing to support message properties separate from messageRainer Gerhards2009-06-161-0/+1
| | | | | | | | | | | | | | | will fill this with live somewhat later, noticed I need to do some stage work first (at least this is useful).
| * | milestone: input-side multiSubmit capabilityRainer Gerhards2009-06-161-0/+13
| | | | | | | | | | | | ... commit before I try to touch the queue side ;)
* | | Merge branch 'omfile' into v5-develRainer Gerhards2009-06-161-1/+28
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | minor cleanupRainer Gerhards2009-06-161-1/+0
| | |
| * | Merge branch 'master' into omfileRainer Gerhards2009-06-161-0/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/msg.h tcps_sess.c tcpsrv.c tools/syslogd.c
| | * some performance optimizationsRainer Gerhards2009-06-161-0/+2
| | | | | | | | | | | | | | | | | | - saved gettimeofday() calls in imtcp (and increased reception buffer) - somewhat optimized stringbuf.c - some other optimizations
| * | implemented $OMFileFlushOnTXEnd directiveRainer Gerhards2009-06-121-8/+0
| | | | | | | | | | | | plus some cleanup...
| * | re-enabled pipe, tty and console in omfileRainer Gerhards2009-06-121-0/+13
| | | | | | | | | | | | | | | | | | | | | ... 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.
| * | re-enabled outchannel functionalityRainer Gerhards2009-06-121-0/+3
| | |
| * | restructered code in perparation for multiple rule set supportRainer Gerhards2009-06-101-1/+18
| | | | | | | | | | | | | | | | | | | | | ... this was long overdue, and I finlly tackeld it. It turned out to be more complex than I initially thought. The next step now probably is to actually implement multiple rule sets and the beauty that comes with them.
| * | Merge branch 'master' into omfileRainer Gerhards2009-06-041-1/+4
| |\|
| * | first proof of concept on zipped file writerRainer Gerhards2009-06-031-0/+1
| | | | | | | | | | | | | | | | | | This DOES NOT work sufficiently well, I just wanted to verify that zip writing is possible and files are readable. Will be refined soon.
* | | Merge branch 'master' into v5-develRainer Gerhards2009-06-041-2/+2
|\ \ \ | | |/ | |/| | | | | | | | | | Conflicts: runtime/rsyslog.h tests/Makefile.am
| * | backported some of the v5 testbenchRainer Gerhards2009-06-041-1/+4
| |/ | | | | | | | | | | | | | | this permits us to keep a persistent test environment between v4 and v5, most importantly using the same tools. As far as the actual tests are concerned, some had issues. I had no time to check if that was an issue with the test or an actual issue with the v3/4 engine. Will do that at some later stage.
* | Merge branch 'master' into v5-develRainer Gerhards2009-06-041-0/+4
|\| | | | | | | | | | | Conflicts: ChangeLog runtime/rsyslog.h
| * added a generic network stream serverRainer Gerhards2009-06-021-0/+3
| | | | | | | | (in addition to rather specific syslog tcp server)
| * Merge branch 'beta'Rainer Gerhards2009-05-291-0/+1
| |\ | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| | * Merge branch 'v3-stable' into betaRainer Gerhards2009-05-291-0/+1
| | |\ | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| | | * fixed a regression of yesterday's patchRainer Gerhards2009-05-291-0/+1
| | | | | | | | | | | | | | | | | | | | ... I know I should not have done this to a stable branch... Thankfully nothing was yet released.
* | | | interim commit: working on failure casesRainer Gerhards2009-05-271-0/+1
| | | | | | | | | | | | | | | | slightly improved situation, would like to save it before carrying on
* | | | solved design issue with queue terminationRainer Gerhards2009-05-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... and also improved the test suite. There is a design issue in the v3 queue engine that manifested to some serious problems with the new processing mode. However, in v3 shutdown may take eternally if a queue runs in DA mode, is configured to preserve data AND the action fails and retries immediately. There is no cure available for v3, it would require doing much of the work we have done on the new engine. The window of exposure, as one might guess from the description, is very small. That is probably the reason why we have not seen it in practice.
* | | | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-251-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am tests/diskqueue.sh
| * | | added new testing module imdiagRainer Gerhards2009-05-251-0/+1
| | | | | | | | | | | | | | | | | | | | 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-221-0/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h tests/Makefile.am tools/syslogd.c
| * | | added capability to run multiple tcp listeners (on different ports)Rainer Gerhards2009-05-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | free last processed message in all casesRainer Gerhards2009-05-201-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so far, the last processed message was only freed when the next one was processed. This has been changed now. More precisely, a better algorithm has been selected for the queue worker process, which also involves less overhead than the previous one. The fix for "free last processed message" as then more or less a side-effect (easy to do) of the new algorithm.
* | | | t-delete list implemented, queue store drivers updated...Rainer Gerhards2009-05-181-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | ... on the way to the ultra-reliable queue modes (redesign doc). This version does not really work, but is a good commit point. Next comes queue size calculation. DA mode does not yet work.