summaryrefslogtreecommitdiffstats
path: root/regress/sys/net/pf_state (follow)
Commit message (Collapse)AuthorAgeFilesLines
* py3-scapy is now scapykn2020-12-301-3/+3
| | | | OK bluhm sthen
* Switch to scapy with python 3.bluhm2020-12-243-28/+28
|
* Remove echo headlines.bluhm2020-12-171-3/+1
|
* Do not create files as dependency of .BEGIN rule. Noticed bybluhm2020-01-151-3/+3
| | | | deraadt@ with make obj in regress.
* Rework when tests have to be skipped due to insufficient configurationbluhm2020-01-081-14/+26
| | | | of the regress machine.
* Simplify the detection for installed python and scapy. Refactorbluhm2019-05-101-13/+7
| | | | | these tests to make them similar. Use the setup and cleanup variables.
* Fix some comments and dependencies in this regress test.bluhm2017-11-051-3/+4
|
* Remove useless make depend targets.bluhm2017-07-071-3/+1
|
* This test cannot pass while pf on localhost filters packets statefully.bluhm2017-02-271-3/+33
| | | | | If the local pf is enabled, write a temporary stateless pass rule into the regress anchor.
* Do not use privileged or NFS source ports for UDP packets as inetdbluhm2017-01-181-11/+11
| | | | | ignores such packets. This should avoid some sporadic failures. While there, use variable names consistently in all tests.
* Print better error message if test fails.bluhm2016-11-212-8/+13
|
* Use netstat -n in target check-setup to avoid DNS timeout.bluhm2016-11-091-3/+3
| | | | Requested by mpi@
* By removing all the sleeps I created a race in the pf tests. Thebluhm2016-10-201-2/+2
| | | | | | | | packet was sent and its reply received before the sniffer was up and running. So sleep a second after starting the sniffer thread but before sending the packet. With pf_forward 0m51.54s, pf_fragment 1m33.59s, pf_state 0m03.64s the test are still faster than with forking.
* Make the test faster. Move all the packet matching code into thebluhm2016-10-202-29/+21
| | | | | | pcap filter. That means the first packet sniffed is the correct one. In the success case, we can stop without waiting for a timeout. OK sashan@
* Add a test suite for pf state handling. It needs a remote machinebluhm2016-10-195-0/+271
to exchange packets, the remote kernel is tested. For now it only contains a challenge ack test written by sashan@. OK sashan@