summaryrefslogtreecommitdiff
path: root/regress/sys
AgeCommit message (Collapse)Author
2013-01-17Improve socket splicing tests:Alexander Bluhm
- One more UDP test. - Enforce that kernel returns EFBIG where appropriate. - Better comments in test files.
2013-01-15The socket splicing tests allow the kernel to return EFBIG in caseAlexander Bluhm
the splicing maximum has been reached.
2013-01-08Add performance test for socket splicing. Two tcpbench processesAlexander Bluhm
are used as server and client. Between them is a relay process that can either copy or splice the data. Benchmarking is done for TCP and UDP and for copy and splice. All tests are executed on localhost per default. Alternatively the relay process can be started on a remote machine. Depending on hardware and environment socket splicing has increased my throughput by 30% or up to 150% in this test.
2013-01-08Autoflush the log file of the child process.Alexander Bluhm
2013-01-03Reengineer the socket splicing regression tests:Alexander Bluhm
- Move the tests from splice to new sosplice directory for consistent naming. - Split the API tests and the TCP splicing tests into separate directories. - Create some tests for the upcoming UDP splicing. - Tests can be run in obj directories now. - The API tests can run both on a local and on a remote machine now. - Fix the forking TCP tests which splice and read or write simultaneously. - Bunch of little fixes for races in the tests. - Deduplicate code, move checks into common functions.
2013-01-07missing argument to printfMiod Vallat
2013-01-07update asm syntax to match toolchain requirementsMiod Vallat
2013-01-05Fix test descriptions.Alexander Bluhm
2013-01-05Add more tests for UDP socket splicing and enhance existing tests.Alexander Bluhm
2013-01-03Reengineer the socket splicing regression tests:Alexander Bluhm
- Move the tests from splice to new sosplice directory for consistent naming. - Split the API tests and the TCP splicing tests into separate directories. - Create some tests for the upcoming UDP splicing. - Tests can be run in obj directories now. - The API tests can run both on a local and on a remote machine now. - Fix the forking TCP tests which splice and read or write simultaneously. - Bunch of little fixes for races in the tests. - Deduplicate code, move checks into common functions.
2013-01-04Fix another race in socket splicing test.Alexander Bluhm
2013-01-03Reengineer the socket splicing regression tests:Alexander Bluhm
- Move the tests from splice to new sosplice directory for consistent naming. - Split the API tests and the TCP splicing tests into separate directories. - Create some tests for the upcoming UDP splicing. - Tests can be run in obj directories now. - The API tests can run both on a local and on a remote machine now. - Fix the forking TCP tests which splice and read or write simultaneously. - Bunch of little fixes for races in the tests. - Deduplicate code, move checks into common functions.
2013-01-03The socket splicing tests have been moved from directory splice toAlexander Bluhm
sosplice.
2013-01-03Add subdir sosplice.Alexander Bluhm
2013-01-03Reengineer the socket splicing regression tests:Alexander Bluhm
- Move the tests from splice to new sosplice directory for consistent naming. - Split the API tests and the TCP splicing tests into separate directories. - Create some tests for the upcoming UDP splicing. - Tests can be run in obj directories now. - The API tests can run both on a local and on a remote machine now. - Fix the forking TCP tests which splice and read or write simultaneously. - Bunch of little fixes for races in the tests. - Deduplicate code, move checks into common functions.
2013-01-02tyop in commentJasper Lievisse Adriaanse
2013-01-02regress test for pty TTYHOG bug; OK miod@Todd C. Miller
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-11-30Generate pf_print_host.c before mkdep uses it.Tobias Ulmer
ok guenther@
2012-07-10Add a workaround that scapy srp1() cannot detect ICMP6 error repliesAlexander Bluhm
with broken checksums in the quoted IPv6 packet. Fork a process to sendp() the packet in the background and sniff() the reply manually in the foreground.
2012-07-10Do not write spaces around = in addr.py so it can also be read byAlexander Bluhm
the shell.
2012-07-10Add a subtest to the MTU ping that checks wether the ip length ofAlexander Bluhm
the original packet and the icmp quoted packet are the same.
2012-07-10Kill trailing whitespaces.Alexander Bluhm
2012-07-10Add a test suite to route ip packets through a box running pf. YouAlexander Bluhm
have to setup four machines manually as described in the makefile. The test uses netcat and scapy to send ping or udp echo packets or tcp streams along the routers. It analyzes the returned reply or icmp error packets. It tests the forward and net/rdr and net64 paths.
2012-07-09This test is not reliable in echo mode.Alexander Bluhm
2012-07-09Modern Perl deferes signal handlers between opcodes. To send TCPAlexander Bluhm
resets at the indended moments into the spliced stream, terminate the client or server process with the alarm default action.
2012-07-09Add a socket splicing test that sends a reset from the client whileAlexander Bluhm
the socket buffers are filled.
2012-07-08Add addr.py to CLEANFILES.Alexander Bluhm
2012-07-08Add a test for kevent(EV_DELETE) screwing with POSIX file locksPhilip Guenthe
2012-06-29Fix year in public domain declaration. Also, include <stddef.h> forMatthew Dempsky
POSIX compatibility so the test doesn't depend on <signal.h> defining NULL.
2012-06-29Clear out the sigset_t again before calling sigpending() to make sureMatthew Dempsky
sigpending() actually sets it and it wasn't just still set from calling sigprocmask().
2012-06-29add a regress test for sigpending(); add licensing notice to stackjmp.cMatthew Dempsky
2012-06-23add (currently failing) stackjmp regress testMatthew Dempsky
2012-04-12rfork RIPPhilip Guenthe
2012-03-05If the main thread exits, the process should still be able to getPhilip Guenthe
signals
2012-02-08Add IPv6 tests for fragmented destination options, fragments withoutAlexander Bluhm
payload, fragmented UDP packets.
2012-01-31Add test suite for IPv6 neighbor discovery protocol. Send all kindAlexander Bluhm
of solicitations to remote host and check responses. This can be used to test both pf neighbor discovery states and the IPv6 stack.
2012-01-27Test sending a short atomic IPv6 fragment.Alexander Bluhm
2012-01-24Add a test for atomic IPv6 fragment reassembly.Alexander Bluhm
2012-01-23After overlapping IPv6 fragments have been dropped, new fragmentsAlexander Bluhm
with the same id get reassembled into a valid packet. Adapt test.
2012-01-13According to RFC 5722 we drop all IPv6 fragments that belong to aAlexander Bluhm
packet with overlaps. Adapt existing tests.
2012-01-11Do not read dstaddr from command line, get it from addr.py.Alexander Bluhm
2012-01-10According to RFC 5722 we drop all IPv6 fragments that belong to aAlexander Bluhm
packet with overlaps. Adapt existing tests and add one more.
2012-01-06Add tests for IPv6 fragment reassembly. Hand-crafted ping6Alexander Bluhm
echo-request fragments are sent by scapy to the target machine. There they get reassembled and a echo-reply comes back. The ping6 payload is checked.
2011-11-26If sigaltstack() fails, report which thread correctlyPhilip Guenthe
Pointed out by Steffen Daode Nurpmeso (sdaoden at googlemail.com)
2011-11-22Add a test for forked processes inheriting their parent's signal stack.Joshua Elsasser
ok guenther@
2011-11-06Regress tests for negative offsets, wrapping offsets, and the lack ofPhilip Guenthe
interaction of pwrite/pwritev with O_APPEND. Based on a patch from Alexander Polakov (polachok at gmail.com) Further tests with deraadt@
2011-11-05Verify this fails with ESPIPE on ttysPhilip Guenthe
2011-10-07Test hint-based mmap allocations.Ariane van der Steldt
A hint-based allocation may only fail if no memory is available near the allocation. The value of near is chosen to be 2GB in this scenario.
2011-10-07mmap with len=0 should fail with EINVAL.Ariane van der Steldt
- posix says so - the current allocator doesn't like it