aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/netpfil/pf/Makefile
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2018-12-12 20:19:18 +0000
committerKristof Provost <kp@FreeBSD.org>2018-12-12 20:19:18 +0000
commit9bfe20461c1eba50be3e9bc7ded96b2f9ece1a58 (patch)
tree0a9afdb29470eccd14f93326e82e99015937a7ab /tests/sys/netpfil/pf/Makefile
parent336683f24f08303aa9b59eb207f22b1122cd720a (diff)
downloadsrc-9bfe20461c1eba50be3e9bc7ded96b2f9ece1a58.tar.gz
src-9bfe20461c1eba50be3e9bc7ded96b2f9ece1a58.zip
pf tests: NAT exhaustion test
It's been reported that pf doesn't handle running out of available ports for NAT correctly. It freezes until a state expires and it can find a free port. Test for this, by setting up a situation where only two ports are available for NAT and then attempting to create three connections. If successful the third connection will fail immediately. In an incorrect case the connection attempt will freeze, also freezing all interaction with pf through pfctl and trigger timeout. PR: 233867 MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=341999
Diffstat (limited to 'tests/sys/netpfil/pf/Makefile')
-rw-r--r--tests/sys/netpfil/pf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sys/netpfil/pf/Makefile b/tests/sys/netpfil/pf/Makefile
index 3d0f861f0a16..cab2cb35d3b3 100644
--- a/tests/sys/netpfil/pf/Makefile
+++ b/tests/sys/netpfil/pf/Makefile
@@ -10,6 +10,7 @@ ATF_TESTS_SH+= anchor \
forward \
fragmentation \
names \
+ nat \
set_tos \
route_to \
synproxy \