summaryrefslogtreecommitdiffstats
path: root/tests/tcpflood.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v5-stable' into v5-betaRainer Gerhards2012-05-101-2/+2
|\ | | | | | | | | Conflicts: ChangeLog
| * bugfix/tcpflood: sending small test files did not work correctlyRainer Gerhards2012-05-101-2/+2
| |
* | removed dependency on gcrypt for recently-enough GnuTLSRainer Gerhards2011-10-171-1/+5
|/ | | | see: http://bugzilla.adiscon.com/show_bug.cgi?id=289
* fixed compiler warnings in tcpflood.cRainer Gerhards2011-10-061-2/+3
|
* backported current tcpflood testing toolRainer Gerhards2011-06-141-54/+555
| | | | so that we can improve v5's testbench as well
* Merge branch 'v5-stable' into v5-betaRainer Gerhards2011-03-111-0/+4
|\ | | | | | | | | Conflicts: tests/Makefile.am
| * Merge branch 'v4-stable' into v5-stableRainer Gerhards2011-03-111-0/+4
| |\ | | | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am tests/diag.sh tests/tcpflood.c
| | * improved tcpflood test tool to support many more connectionsRainer Gerhards2011-03-101-0/+14
| | | | | | | | | | | | | | | | | | even on platforms that place a low limit on the number of file descriptors per processes. The tool now increases the fd limit as required.
| * | Merge branch 'v4-devel' into v5-betaRainer Gerhards2010-10-151-62/+45
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.am tests/tcpflood.c
* | \ \ Merge branch 'v4-devel' into v5-develRainer Gerhards2010-08-111-5/+9
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch 'v4-stable-imptcp' into v4-develRainer Gerhards2010-08-111-5/+9
| |\ \ \
| | * | | imptcp: added $InputPTCPServerAddtlFrameDelimiter directiveRainer Gerhards2010-08-111-5/+9
| | | | | | | | | | | | | | | | | | | | also improved testbench
* | | | | Merge branch 'v4-devel' into masterRainer Gerhards2010-08-111-59/+38
|\| | | | | |_|/ / |/| | | | | | | | | | | | | | | Conflicts: Makefile.am tests/tcpflood.c
| * | | Merge branch 'v4-stable-imptcp' into tmpRainer Gerhards2010-08-111-58/+37
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.am configure.ac runtime/rsyslog.h tests/Makefile.am
| | * | more testbench improvements and new testsRainer Gerhards2010-08-101-58/+37
| | |/
| | * improvded testbench: added test with truly random data received via syslog ↵Rainer Gerhards2010-04-011-33/+109
| | | | | | | | | | | | to test robustness
* | | milestone(BUGGY): batch now pushed down to actionRainer Gerhards2010-06-151-0/+1
| | | | | | | | | | | | | | | | | | | | | at least in important cases (not for non-direct action queues and some other minor things). This version is definitely buggy, but may be tried with success on a non-production system. I will continue to work on the correctness, but needed to commit now to get a baseline.
* | | solved some race condition in testbenchRainer Gerhards2010-04-291-0/+2
|/ / | | | | | | | | Note that this was NOT a race in rsyslog, but only one in a test case. So it had no implications to the correctness of rsyslogd.
* | enhanced nettester tool so that it re-uses it's callers environmentRainer Gerhards2010-04-071-33/+109
| | | | | | | | | | | | 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 missing headerRainer Gerhards2010-03-251-0/+1
| |
* | manytcp test tool must tell OS to provide enough file handlesRainer Gerhards2010-03-251-0/+14
|/ | | | On some platforms, the default is too low to carry out all test cases
* cleanup of debug message in testbenchRainer Gerhards2010-03-221-1/+0
|
* added testcase showcasing problems when dynafile can not be openedRainer Gerhards2010-03-221-16/+27
| | | | | note that so far no patch is provided. This has not yet been made part of "make check"
* slight improvement to testing toolsRainer Gerhards2010-03-191-7/+18
|
* added new, complex testcase to testbenchRainer Gerhards2010-03-161-7/+20
| | | | | this is an excerpt from some of the more intensen manual tests I am doing, stripped down to be useful inside the testbench.
* added more tests to testbench and improved testing toolsRainer Gerhards2010-03-111-5/+18
|
* added ability to work with larger message sizes to testbench toolsRainer Gerhards2010-03-101-7/+41
|
* testbench: new calling interface for tcpfloodRainer Gerhards2010-03-101-19/+22
| | | | | this is a perquisite to support more flexible testing modes, which could not intelligently be implemented with the old interface
* first shot at asynchronous stream writer with timeout capabilityRainer Gerhards2009-07-061-5/+14
| | | | | ... seems to work on quick testing, but needs a far more testing and improvement. Good milestone commit.
* backported some of the v5 testbenchRainer Gerhards2009-06-041-4/+9
| | | | | | | | 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.
* added capability to run multiple tcp listeners (on different ports)Rainer Gerhards2009-05-221-2/+0
| | | | | | | | | | | 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.
* bugfix: missing header (platform compatibility issue)v4.3.0Rainer Gerhards2009-04-171-0/+1
|
* cosmetic fix (status message)Rainer Gerhards2009-04-091-2/+0
|
* removed MSG_NOSIGNAL & provided work-aroundRainer Gerhards2009-04-091-1/+10
| | | | | as this send() option is not supported on Solaris. We now simply ignore SIGPIPE
* implemented $MaxOpenFiles directive and changed testbenchRainer Gerhards2009-04-141-11/+48
| | | | ... to utilize it. This work is not yet fully verified to be correct.
* minor cleanupRainer Gerhards2009-04-081-1/+1
|
* added new test case for many tcp connectionsRainer Gerhards2009-04-081-0/+245
It is checked that many tcp connections are properly handled. While adding this test, I noticed that there is a bug in imtcp that prevents creation of more than 200 connections. This bug still exists, so the test suite currently fails (what is correct). Will be addressed soon.