summaryrefslogtreecommitdiff
path: root/regress/sys
AgeCommit message (Collapse)Author
2014-04-18It's been a quarter century: we can assume volatile is present with that name.Philip Guenther
2014-03-29pflowproto 9 is no more.Florian Obser
While there fix regression for inaddr_any flowsrc.
2014-03-18Retire hp300, mvme68k and mvme88k ports. These ports have no users, keepingMiod Vallat
this hardware alive is becoming increasingly difficult, and I should heed the message sent by the three disks which have died on me over the last few days. Noone sane will mourn these ports anyway. So long, and thanks for the fish.
2014-02-28... also check that writing 0 bytes works...Marc Espie
2014-01-22Missing #includePhilip Guenther
2014-01-18Remove -Wbounded: it is now the compiler default.Martynas Venckus
2014-01-10Use arc4random instead of random in the flock regress tests.Joel Sing
ok deraadt@
2014-01-10Make this work on hppa.Joel Sing
2014-01-10Do not include MD assembly code in a sys regress test. Untested on alpha,Joel Sing
however it has a much better chance of compiling than it did previously.
2014-01-08Fix the tests for the pf divert state and socket reuse.Alexander Bluhm
2014-01-08Set socket buffer size to fixed value of 100000 octets. ThisAlexander Bluhm
prevents that the socket splicing performance test interferes with the dynamic TCP buffer size adjusting.
2013-12-21Match the type to the callsPhilip Guenther
2013-11-17Adapt the IPv6 routing header type 0 tests to the current behaviour.Alexander Bluhm
As header scanning is back, there is always a icmp6 parameter problem response. Add tests that hide the routing header behind an atomic fragment header to get the RFC 5095 behaviour. One test puts the routing header into the second fragment so that it cannot be detected without reassembly.
2013-11-13Fix typo prt -> ptr.Alexander Bluhm
2013-11-13Add a check-setup target to make sure that all addresses and routesAlexander Bluhm
are configured correctly. Add a scapy test that creates a packet without routing header to check the setup.
2013-11-03Grep pf state table on remote machine to find state reuse problems.Alexander Bluhm
2013-06-03Add a regression test suite for the pf divert-to and divert-replyAlexander Bluhm
feature. It requires two machines, the local host is running the regression test, the remote host gets pf divert rules installed. The diverted TCP connections are running between these hosts in both directions. The remote host is controlled via ssh.
2013-11-03Add divert tests that reuse protocol and port. They show whatAlexander Bluhm
happens when we close the socket but the divert state remains. If a new socket uses the same protocol and port, it will use the old dangling state. Without searching for the correct rule, the divert-to will fail. There are real life corner cases where this occurred.
2013-11-01Link the pf_divert regression test to the build again as it doesAlexander Bluhm
not fail anymore if propper setup is missing.
2013-11-01Add a check-setup target. This allows to find setup errors moreAlexander Bluhm
easily. A remote machine with correct addresses, routes and pf rules is needed for the test.
2013-10-31Do not fail the regression tests if python or the scapy package isAlexander Bluhm
not installed. Print a warning, explain the problem and skip the test in this case. Also skip the test if the environment has not been configured for the remote test target machine. Fix the Makefile to run the tests with or without an obj directory. Finally link the netinet6 regression tests into the build.
2013-10-20Use scapy to test IPv6 packets with routing header type 0.Alexander Bluhm
2013-10-17Fix run-regress-fragping to use ping(8) instead of ping6(8) to send theLawrence Teo
initial Path-MTU discovery packet. OK bluhm@
2013-10-07Add a regression test that ensures profiling signals are delivered to theJoel Sing
thread whose execution consumed the CPU time and resulted in the profiling timer expiring. This test currently fails and will be fixed shortly. Feedback from guenther@
2013-10-07Prefer -lpthread over -pthread.Joel Sing
2013-10-06Rework the AES XTS regress so that we compile and test the sys/crypto codeJoel Sing
directly, rather than trying to use the crypto dev, which is disabled by default. ok djm@
2013-09-13Test various combinations of flowdst, flowsrc and proto.Florian Obser
2013-09-12Misc time_t tweaks. %ld / (long)tv_sec -> %lld / (long long)tv_sec.Kenneth R Westerback
Eliminate unneeded casts. suggestions from & ok millert@ guenther@
2013-09-11Enable pf if it's not already running.Florian Obser
2013-08-23flow regression tests.Florian Obser
2013-08-13Sync with pflow changes.Florian Obser
2013-08-11Check wether the required perl packages are installed and that theAlexander Bluhm
environment for the remote testing machine is set up. If not, print a message and skip the regression tests.
2013-08-11typoFlorian Obser
2013-08-11pflow(4) template regression testsFlorian Obser
2013-08-09Add RCS id and ISC license.Alexander Bluhm
2013-08-09Move the check for required perl packages into Makefile.inc so thatAlexander Bluhm
make obj always runs through als sudirs.
2013-08-07Check wether the required perl packages are installed. If not,Alexander Bluhm
print a message and skip the regression tests which need them. OK deraadt@
2013-08-05ino_t is unsignedPhilip Guenther
2013-08-01Some tests are currently failing. Only run those if the REGRESS_FULLMark Kettenis
variable is set.
2013-07-30betterMark Kettenis
2013-07-30Make this test actually work on sparc64:Mark Kettenis
- Fill delay slot of "ret" pseudo-instruction. - Properly synchronize instruction cache using the iflush instruction.
2013-07-23I need one more fragment to make the timeout test reliable.Alexander Bluhm
2013-07-23fix typo in fragment payloadAlexander Bluhm
2013-07-23IPv6 fragments, that cannot be reassembled within 60 seconds afterAlexander Bluhm
the frist fragment has arrived, must be dropped. Add a regression test that sends 5 echo request fragments within 75 seconds and check that there is no echo reply.
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>Ingo Schwarze
2013-06-17Do not write my IP addresses into the pf_divert Makefile, the testerAlexander Bluhm
has to fill in his own addresses. Link the pf_divert regression tests to the build.
2013-06-05Add tests for ICMP and ICMP6 divert-to.Alexander Bluhm
2013-06-04Add tests for raw IP divert. Set effective user ID to 0 only duringAlexander Bluhm
privileged operations for raw sockets and bind any.
2013-06-03Add a regression test suite for the pf divert-to and divert-replyAlexander Bluhm
feature. It requires two machines, the local host is running the regression test, the remote host gets pf divert rules installed. The diverted TCP connections are running between these hosts in both directions. The remote host is controlled via ssh.
2013-06-03Add tests for UDP divert.Alexander Bluhm