summaryrefslogtreecommitdiff
path: root/regress/sys
AgeCommit message (Collapse)Author
2015-09-10convert tame(2) regress to new APISebastien Marie
2015-08-28Add obviously missing #includesPhilip Guenther
2015-08-24Extend the pf forward and fragment tests with a second challengeAlexander Bluhm
for path MTU discovery. The router behind the pf machine has MTU 1300. The ICMP packet generated by the router matches the pf state and is NATed correctly. Additionally the pf machine itself has an interface MTU 1400. So when pf is sending a packet is has to generate a correct "fragmentation needed" or "packet too big" ICMP response. This is done with pf route-to and reply-to.
2015-08-24Enable path MTU test with ping for IPv6. Scapy srp1() does notAlexander Bluhm
accept inner IPv6 packets in ICMP6 with bad checksum created by pf. Use same workaround as in pf_forward tests and fork a process for sniffing.
2015-08-24add a missing headerSebastien Marie
2015-08-24add new (extensible) testsuite for tame(2)Sebastien Marie
2015-08-23remove tame/sys_exit in favor of more generic approch (soon)Sebastien Marie
2015-08-23convert to new tame(2) ABI/APISebastien Marie
2015-08-17Add forwarding tests for pf route-to and reply-to. Keep pf forwardAlexander Bluhm
and pf fragment tests in sync.
2015-08-13Add IPv6 fragment tests for pf route-to. A big ping packet is sentAlexander Bluhm
in fragments to a machine running pf. From there it is forwarded with route-to to a router with a smaller MTU. Path MTU discovery has to make successive fragments shorter and pf route-to has to preserve the fragment size.
2015-08-13NOTE_FORK|NOTE_TRACK knote can track grandchild processes. Wait forMasao Uebayashi
both child/grandchild process events.
2015-08-13Zero-clear test buffers. Close fds.Masao Uebayashi
2015-08-13Close an fd.Masao Uebayashi
2015-08-13Zero-clear test buffer. Close fds.Masao Uebayashi
2015-08-13Zero-clear test buffer.Masao Uebayashi
2015-08-13Zero-clear test buffer. KNF while here.Masao Uebayashi
2015-08-02Kill a useless assignment.Masao Uebayashi
2015-08-02Refactor to prepare a future change; no functional changes.Masao Uebayashi
2015-08-01SPC -> TABMasao Uebayashi
2015-07-28Add more and deeper tests for pf divert-reply rules. EspeciallyAlexander Bluhm
the combination of sending and receiving multiple packets over one socket is tested for UDP, raw IP and ICMP.
2015-07-28check that flags value of 0 restricts the process to the _exit(2) system call.Sebastien Marie
note that it isn't the case currently.
2015-07-27add some regress for tame. just a starting point for nowSebastien Marie
2015-07-21Extend the setup with another address for testing pf route-to.Alexander Bluhm
2015-07-20When test pf.conf changes, check its syntax and use the new one.Alexander Bluhm
2015-06-29Make this pass again on 32-bit platforms.Miod Vallat
2015-06-25Align the three variants of Remote.pm.Alexander Bluhm
2015-05-12Race less.Todd C. Miller
2015-05-05Updated fifotest.outTodd C. Miller
2015-05-05fifofs now respects the flags a descriptor was opened with.Todd C. Miller
Also add tests for when no FD events are specified. A few tests still don't pass which will be addressed shortly.
2015-04-25Disable kq-tun test, as it's been broken for a while and not because of kqPhilip Guenther
2015-04-15Test that ping6 fragments with ethernet padding get reassembledAlexander Bluhm
correctly.
2015-02-10Add bind regress testClaudio Jeker
2015-02-10Test that bind works the way it should. This fails at the moment becauseClaudio Jeker
of the garbage in sin_zero.
2015-02-09sort includes correctlyTheo de Raadt
2015-02-06SIZE_MAX is standard, we should be using it in preference to theTodd C. Miller
obsolete SIZE_T_MAX. OK miod@ beck@
2015-01-19The kernel doesn't actually care what a sockaddr's sa_len is on input,Philip Guenther
so don't waste code setting it
2015-01-15Test shmat() with a non-NULL address, both failure and successPhilip Guenther
2014-12-19Use a simpler expression to check the ether type in scapy. ThisAlexander Bluhm
makes the fragment tests work on FreeBSD. From Ilya Bakulin.
2014-12-17increase to 2048 to prevent failure. ok deraadt@Daniel Dickman
2014-11-22using /dev/random is okTheo de Raadt
2014-11-19do not need an ovbcopy replacement anymoreTheo de Raadt
2014-10-30Add some pkill and sleep to make socket splicing performance testsAlexander Bluhm
more reliable.
2014-10-18Simple malloc() to reallocarray().Doug Hogan
ok deraadt@
2014-10-09Add POLLHUP to expected revents for POLLIN on writer EOF.Todd C. Miller
2014-10-08Add tests for EOF behavior (which currently fail) and expected output.Todd C. Miller
The expected output for the POLLIN test could also include POLLHUP, though it does not currently do so.
2014-09-27Fix mmap() calls that check for a result other than MAP_FAILED.Doug Hogan
ok tedu@
2014-08-27Regression tests for setuid-and-friends.Bret Lambert
Thanks to djm@ for good suggestions.
2014-08-18Make the perl modules consistent for the multiple regression tests.Alexander Bluhm
This includes coding style, better error messages and variable naming.
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.
2014-08-18Add a description of what the relayd and sosplice regression testsAlexander Bluhm
do. Also explain the optional environment variables.