aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/netpfil/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* tests/sys/netpfil: Move common tests out from behind MK_PF.Brad Davis2021-06-101-2/+2
| | | | | Approved by: kp Sponsored by: Rubicon Communications, LLC ("Netgate")
* Add common firewall test suiteTom Jones2019-08-051-1/+2
| | | | | | | | | | | | | | | | | | | Add a common test suite for the firewalls included in the base system. The test suite allows common test infrastructure to test pf, ipfw and ipf firewalls from test files containing the setup for all three firewalls. Add the pass block test for pf, ipfw and ipf. The pass block test checks the allow/deny functionality of the firewalls tested. Submitted by: Ahsan Barkati Sponsored by: Google, Inc. (GSoC 2019) Reviewed by: kp Approved by: bz (co-mentor) MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D21065 Notes: svn path=/head/; revision=350586
* pf tests: Do not build or install if pf is not enabledKristof Provost2018-04-101-0/+4
| | | | | | | | | | Do not build or install pf tests if WITHOUT_PF is set. This fixes the build failure with WITHOUT_PF=yes. Reported by: Vladimir Zakharov <zakharov.vv@gmail.com> Notes: svn path=/head/; revision=332358
* pf: Basic automated test using VIMAGEKristof Provost2017-10-061-0/+7
If VIMAGE is present we can start jails with their own pf instance. This makes it fairly easy to run tests. For example, this basic test verifies that drop/pass and icmp classification works. It's a basic sanity test for pf, and hopefully an example on how to write more pf tests. The tests are skipped if VIMAGE is not enabled. This work is inspired by the GSoC work of Panagiotes Mousikides. Differential Revision: https://reviews.freebsd.org/D12580 Notes: svn path=/head/; revision=324375