summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'beta'Rainer Gerhards2009-05-292-1/+2
|\ | | | | | | | | Conflicts: runtime/rsyslog.h
| * Merge branch 'v3-stable' into betaRainer Gerhards2009-05-292-1/+2
| |\ | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| | * fixed a regression of yesterday's patchRainer Gerhards2009-05-292-1/+2
| | | | | | | | | | | | | | | ... I know I should not have done this to a stable branch... Thankfully nothing was yet released.
* | | Merge branch 'beta' into masterRainer Gerhards2009-05-281-0/+6
|\| | | | | | | | | | | | | | Conflicts: tests/Makefile.am
| * | Merge branch 'v3-stable' into betaRainer Gerhards2009-05-282-0/+7
| |\| | | | | | | | | | | | | Conflicts: tests/Makefile.am
| | * small enhancement: config validation run now exits with code 1 if an error ↵Rainer Gerhards2009-05-281-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is detected. This change is considered important but small enough to apply it directly to the stable version. [But it is a border case, the change requires more code than I had hoped. Thus I have NOT tried to actually catch all cases, this is left for the current devel releases, if necessary]
| | * Fix compiler warningsMichael Biebl2009-05-121-0/+1
| | | | | | | | | | | | Include <string.h> for memcpy and strlen.
* | | greatly enhanced testbenchRainer Gerhards2009-05-271-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | solved some issues with testbench & a race conditionRainer Gerhards2009-05-251-1/+9
| | |
* | | improved testbench / solved imdiag race conditionRainer Gerhards2009-05-251-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | imdiag/imtcp had a modload race condition (as imdiag is a testing aid, this has no implications for production deployments). Also, I replaced netcat by a custom program to talk to imdiag. This, for the first time ever, is now a Java program. I plan to add some GUI troubleshooting tools and thought it is a good idea to start doing things in Java that can simply be done in that language.
* | | added new testing module imdiagRainer Gerhards2009-05-252-1/+1
| | | | | | | | | | | | | | | which enables to talk to the rsyslog core at runtime. The current implementation is only a beginning, but can be expanded over time
* | | fixing some nits with the build systemRainer Gerhards2009-05-221-1/+1
| | |
* | | added capability to run multiple tcp listeners (on different ports)Rainer Gerhards2009-05-2210-78/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Fix compiler warningsMichael Biebl2009-05-191-0/+1
| | | | | | | | | | | | | | | | | | include <string.h> for memcpy and strlen. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | added capability to draw configuration graphsRainer Gerhards2009-05-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | - added $GenerateConfigGraph configuration command which can be used to generate nice-looking (and very informative) rsyslog configuration graphs. - added $ActionName configuration directive (currently only used for graph generation, but may find other uses)
* | | Merge branch 'beta'Rainer Gerhards2009-04-231-6/+8
|\| | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | Merge branch 'v3-stable' into betaRainer Gerhards2009-04-231-6/+8
| |\| | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/queue.c
| | * bugfix: light and full delay watermarks had invalid valuesRainer Gerhards2009-04-231-6/+8
| | | | | | | | | | | | | | | ... badly affecting performance for delayable inputs (but not causeing any other issues)
| * | Merge branch 'beta'Rainer Gerhards2009-04-091-0/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog tcpsrv.c tcpsrv.h Note: we have a slight inconsistency, as interface version v4 was already used for tcpsrv in this branch. We accept this inconsistency.
| | * Merge branch 'v3-stable' into betaRainer Gerhards2009-04-091-0/+2
| | |\ | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | | * Merge branch 'v2-stable' into v3-stableRainer Gerhards2009-04-091-0/+2
| | | |
* | | | some cleanupRainer Gerhards2009-04-171-0/+2
| | | | | | | | | | | | | | | | | | | | ... mostly removal of compile-time warnings (thanks to Michael Biebl for suggesting to look after that)
* | | | Merge branch 'nextmaster' into oracleRainer Gerhards2009-04-162-1/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| * \ \ \ Merge branch 'omprog' into nextmasterRainer Gerhards2009-04-142-1/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/rsyslog.h
| | * | | | improved omprog, now ready for first practical testingRainer Gerhards2009-04-011-0/+1
| | | | | |
| | * | | | initial work on omprog, an output module to send messages to another programRainer Gerhards2009-04-012-1/+2
| | | | | |
| * | | | | implemented $MaxOpenFiles directive and changed testbenchRainer Gerhards2009-04-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | ... to utilize it. This work is not yet fully verified to be correct.
* | | | | | added a new error code for too-old rsyslog coreRainer Gerhards2009-04-161-0/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | which can be emittend when plugin can not load due to missing core functionality.
* | | | | bugfix: solved potential memory leak in msg processingRainer Gerhards2009-04-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | could manifest itself in imtcp (loss of a few bytes for *each* received message - but depended on config) -- this was newly introduced
* | | | | Merge branch 'master' into nextmasterRainer Gerhards2009-04-073-3/+11
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | Conflicts: ChangeLog
| * | | | Merge branch 'beta'Rainer Gerhards2009-04-073-3/+11
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html doc/rsyslog_conf.html
| | * | | Merge branch 'v3-stable' into betaRainer Gerhards2009-04-027-9/+109
| | |\ \ \ | | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | | * | preparing for 3.20.5 releasev3.20.5Rainer Gerhards2009-04-021-0/+8
| | | | |
| | | * | Merge branch 'dapatch' into v3-stableRainer Gerhards2009-04-025-6/+98
| | | |\ \
| | | * | | fixed bugs in RainerScriptvarmojfekoj2009-03-162-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - when converting a number and a string to a common type, both were actually converted to the other variable's type. - the value of rsCStrConvertToNumber() was miscalculated. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | | | improved internal handling of RainerScript functionsRainer Gerhards2009-04-069-30/+335
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - building the necessary plumbing to support more functions with decent runtime performance. This is also necessary towards the long-term goal of loadable library modules. - added new RainerScript function "tolower"
* | | | | improved parser test suiteRainer Gerhards2009-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | new tests added, now much better
* | | | | added a new way how output plugins may be passed parameters.Rainer Gerhards2009-04-033-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | This is more efficient for some outputs. They new can receive fields not only as a single string but rather in an array where each string is seperated.
* | | | | Merge branch 'regex'Rainer Gerhards2009-04-022-6/+35
|\ \ \ \ \
| * | | | | fully integrated regex patchRainer Gerhards2009-04-022-30/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now have removed the previous method, as really nobody should call it any longer (and now nobody does ;)). Also did some other cleanup.
| * | | | | streamlined regex patchRainer Gerhards2009-04-022-26/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - abided to code conventions - fixed a potential segfault when regex library can not be loaded
| * | | | | improved performance of regexp-based filtersRainer Gerhards2009-04-022-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | Thanks to Arnaud Cornet for providing the idea and initial patch.
* | | | | | clean compile on solarisRainer Gerhards2009-04-022-2/+7
|/ / / / /
* | | | | added O_CLOEXEC to open() callsRainer Gerhards2009-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to make sure only the minimum number of file handles is left open during a exec call. This is not a 100% solution, as there are also some fopen() calls and, more importantly, file descriptors opened by libraries. But it is better than nothing (and it was quick, at least until we run into platform hell, what we will for sure ;)).
* | | | | added new "csv" property replacer optionRainer Gerhards2009-04-021-0/+34
| |_|_|/ |/| | | | | | | | | | | | | | | to enable simple creation of CSV-formatted outputs (format from RFC4180 is used)
* | | | Merge branch 'master' into testsRainer Gerhards2009-03-265-6/+98
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * \ \ \ Merge branch 'dapatch'Rainer Gerhards2009-03-255-6/+98
| |\ \ \ \ | | | |_|/ | | |/| |
| | * | | bugfix: potential abort with DA queue after high watermark is reachedRainer Gerhards2009-03-255-6/+98
| | | |/ | | |/| | | | | | | | | | | | | | | | | There exists a race condition that can lead to a segfault. Thanks go to vbernetr, who performed the analysis and provided patch, which I only tweaked a very little bit.
* | / | improved testing supportRainer Gerhards2009-03-191-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | worked on ways to provide a better test suite: - added -T rsyslogd command line option, enables to specify a directory where to chroot() into on startup. This is NOT a security feature but introduced to support testing. Thus, -T does not make sure chroot() is used in a secure way. (may be removed later) - added omstdout module for testing purposes. Spits out all messages to stdout - no config option, no other features - modified $ModLoad statement so that for modules whom's name starts with a dot, no path is prepended (this enables relative-pathes and should not break any valid current config)
* | | bugfix: removed (newly introduced) memory leaksRainer Gerhards2009-03-132-6/+3
| | |