summaryrefslogtreecommitdiff
path: root/regress/sys
AgeCommit message (Collapse)Author
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
2011-09-21Add tests for pf fragment reassembly with all kinds of overlapping.Alexander Bluhm
Some fragments contain invalid data, this must be replaced to reassemble a valid packet.
2011-09-19Add a test suite to route ip fragments through a box running pf.Alexander Bluhm
You have to setup four machines manually as described in the makefile. The test uses scapy and python to send ping echo request or udp echo packets along the routers. It analyzes the returned ping echo reply or udp packets or the icmp error packets.
2011-08-29Test that reverse splicing timeout does not affect forward splicing.Alexander Bluhm
2011-08-28Minor cleanup.Alexander Bluhm
2011-08-28Allow splice make regress to run with and without obj directory.Alexander Bluhm
2011-08-21Add one more regression test for socket splicing with idle timeout.Alexander Bluhm
2011-07-23TCP out-of-band data is not reliable. Allow socket splicingAlexander Bluhm
regression tests to tolerate missing urgent bytes.
2011-07-07Add tests for kqueue EVFILT_SIGNAL and that they can't be passed overPhilip Guenthe
sockets
2011-07-07braces rock!Philip Guenthe
2011-07-07Suppress known failuresPhilip Guenthe
2011-07-06Add a regression test for file descriptor passing with UNIX sockets.Matthew Dempsky
ok claudio@
2011-07-06Test handling of non-NUL terminated sun_path values as well as garbagePhilip Guenthe
in the end of the sockaddr_un. Done with claudio@
2011-07-06Switch to a device that isn't deprecated and return more info onPhilip Guenthe
read failure
2011-07-06Add regress for errno returns of failed fchdir()sPhilip Guenthe
2011-07-05Hook unixsock upClaudio Jeker
2011-07-05Regress test for the path length of unix sockets.Claudio Jeker
2011-07-05plug in mmap_write_selfArtur Grabowski
2011-07-05Test for when we're writing to a file from an mmaped area of the file.Artur Grabowski
2011-07-04Add new socket splicing tests for the idle timeout feature. NoteAlexander Bluhm
that you need p5-BSD-Socket-Splice version 0.03 to run the regression tests.