summaryrefslogtreecommitdiffstats
path: root/tests/nettester.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-10-221-2/+2
|\
| * better error messages in testbenchRainer Gerhards2010-10-221-2/+2
| |
* | Merge branch 'v4-devel' into masterRainer Gerhards2010-04-191-21/+49
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog Makefile.am configure.ac doc/manual.html runtime/debug.c runtime/rsyslog.h tests/Makefile.am tests/diag.sh tests/nettester.c tools/syslogd.c
| * | bugfix/testbench: nettester did not work reliably under SolarisRainer Gerhards2010-04-121-21/+49
| | |
* | | Merge branch 'v4-stable-solaris' into betaRainer Gerhards2010-04-091-10/+5
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/Makefile.am runtime/rsyslog.c tests/nettester.c tools/syslogd.c
| * | enhanced nettester tool so that it re-uses it's callers environmentRainer Gerhards2010-04-071-9/+4
| |/ | | | | | | | | | | this enables us to work with the "usual" environment tweaks (for debugging and other purposes), without the need for any special handling in nettester itself
* | Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-03-291-7/+67
|\| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/debug.c runtime/stream.c tests/Makefile.am tests/diskqueue.sh tests/nettester.c tools/omfile.c
| * added some more tests for severely ill-formed snare messagesRainer Gerhards2010-03-211-6/+8
| | | | | | | | also improved nettester testbench tool a bit
| * added more parser test casesRainer Gerhards2010-03-111-2/+63
| | | | | | | | also improved testing tools to support new testcase structure
* | enhanced test environment (including testbench)Rainer Gerhards2009-10-221-1/+1
| | | | | | | | | | | | | | | | 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.
* | added some tests for IPv4-Only configurationRainer Gerhards2009-10-201-2/+9
| | | | | | | | | | | | | | | | | | | | We are "abusing" the parser tests to test the TCP/UDP reception handling. Thus we do not run the other tests through to an IPv4 only config. It acutally is not that parser that matters but rather the hope to find some init issues when running with only a single listening socket (in IPv6, we usually both have an IPv4 AND an IPv6 listening socket, what - as practice has shown - may hide listener setup errors).
* | added new testcase; fixed bug in testdriverRainer Gerhards2009-10-191-2/+5
| |
* | bugfix and testbench improvementsRainer Gerhards2009-10-071-0/+28
| | | | | | | | | | | | | | | | - 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 'detached' into masterRainer Gerhards2009-07-151-1/+1
|\ \ | |/ |/| | | | | Conflicts: tests/nettester.c
| * further reduction in code size/complexity due to design changeRainer Gerhards2009-07-081-1/+0
| |
* | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-07-091-4/+16
|\ \ | |/ |/| | | | | Conflicts: tests/nettester.c
| * bugfix: message could be truncated after TAG, often when forwardingRainer Gerhards2009-07-091-3/+16
| | | | | | | | | | | | 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.
* | first shot at asynchronous stream writer with timeout capabilityRainer Gerhards2009-07-061-2/+3
|/ | | | | ... seems to work on quick testing, but needs a far more testing and improvement. Good milestone commit.
* introduced the idea of detached propertiesRainer Gerhards2009-06-291-2/+3
| | | | | | | | | | | | | 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)
* updated testbench to new init() behaviorRainer Gerhards2009-06-291-4/+14
| | | | | the deferred activation of input modules broke part of the testbench - but this was a testbench issue, not one of the patch
* fully optimized datetime module and enhanced test suiteRainer Gerhards2009-06-191-31/+39
| | | | tests for the various timestamp formats have been added
* cleaned up/optimized raw message handling in msg objectRainer Gerhards2009-06-181-1/+1
|
* going forward in moving string-handling functions to new interface...Rainer Gerhards2009-06-171-1/+3
|
* added capability to run multiple tcp listeners (on different ports)Rainer Gerhards2009-05-221-29/+72
| | | | | | | | | | | 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.
* fixed some portability issuesRainer Gerhards2009-03-161-1/+3
| | | | | first noticed on FreeBSD Also, some cosmetic improvements.
* improved testbench, added tests for tcp-based receptionRainer Gerhards2009-04-081-0/+392