aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/netpfil/pf/Makefile
blob: 8a24fae47dcb9f6b4561fe878b3385499fbb3674 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
PACKAGE=	tests

TESTSDIR=       ${TESTSBASE}/sys/netpfil/pf
TESTS_SUBDIRS+=	ioctl

ATF_TESTS_SH+=	altq \
		anchor \
		debug \
		divert-to \
		dup \
		ether \
		forward \
		fragmentation_compat \
		fragmentation_pass \
		fragmentation_no_reassembly \
		get_state \
		icmp \
		icmp6 \
		if_enc \
		limits \
		loginterface \
		killstate \
		macro \
		map_e \
		match \
		max_states \
		mbuf \
		modulate \
		names \
		nat \
		nat64 \
		pass_block \
		pflog \
		pflow \
		pfsync	\
		prio \
		proxy \
		rdr \
		ridentifier \
		route_to \
		rtable \
		rules_counter \
		scrub_compat \
		scrub_pass \
		sctp \
		set_skip \
		set_tos \
		src_track \
		status \
		syncookie \
		synproxy \
		table \
		tcp \
		tos

ATF_TESTS_PYTEST+=	frag6.py
ATF_TESTS_PYTEST+=	icmp.py
ATF_TESTS_PYTEST+=	nat64.py
ATF_TESTS_PYTEST+=	nat66.py
ATF_TESTS_PYTEST+=	sctp.py

# Allow tests to run in parallel in their own jails
TEST_METADATA+= execenv="jail"
TEST_METADATA+= execenv_jail_params="vnet allow.raw_sockets"

${PACKAGE}FILES+=	CVE-2019-5597.py \
			CVE-2019-5598.py \
			daytime_inetd.conf \
			echo_inetd.conf \
			fragcommon.py \
			frag-overindex.py \
			frag-overlimit.py \
			frag-overreplace.py \
			frag-overhole.py \
			frag-adjhole.py \
			pfsync_defer.py \
			pft_ether.py \
			pft_read_ipfix.py \
			rdr-srcport.py \
			utils.subr

${PACKAGE}FILESMODE_CVE-2019-5597.py=	0555
${PACKAGE}FILESMODE_CVE-2019-5598.py=	0555
${PACKAGE}FILESMODE_fragcommon.py=	0555
${PACKAGE}FILESMODE_frag-overindex.py=	0555
${PACKAGE}FILESMODE_frag-overlimit.py=	0555
${PACKAGE}FILESMODE_frag-overreplace.py=	0555
${PACKAGE}FILESMODE_frag-overhole.py=	0555
${PACKAGE}FILESMODE_frag-adjhole.py=	0555
${PACKAGE}FILESMODE_pfsync_defer.py=	0555
${PACKAGE}FILESMODE_pft_ether.py=	0555
${PACKAGE}FILESMODE_pft_read_ipfix.py=	0555

.include <bsd.test.mk>