]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add common firewall test suite
authorthj <thj@FreeBSD.org>
Mon, 5 Aug 2019 11:47:34 +0000 (11:47 +0000)
committerthj <thj@FreeBSD.org>
Mon, 5 Aug 2019 11:47:34 +0000 (11:47 +0000)
commit971524ae6214be8a7c7e7532264e5ff436ab8c06
tree4481402e6623661c9a455604f760ec20090164ce
parentac225234994ad4128d460b1ecf058ff9e06f831a
Add common firewall test suite

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
etc/mtree/BSD.tests.dist
tests/sys/netpfil/Makefile
tests/sys/netpfil/common/Makefile [new file with mode: 0644]
tests/sys/netpfil/common/pass_block.sh [new file with mode: 0644]
tests/sys/netpfil/common/runner.subr [new file with mode: 0644]
tests/sys/netpfil/common/utils.subr [new file with mode: 0644]