summaryrefslogtreecommitdiffstats
path: root/tests/nettester.c
Commit message (Collapse)AuthorAgeFilesLines
* bugfix/testbench: nettester did not work reliably under SolarisRainer Gerhards2010-04-121-21/+49
|
* 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
* 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
* 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