freebsd-skq/tests/sys/netpfil/pf
kp c3c90bab84 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
2018-12-12 20:19:18 +00:00
..
ioctl pf tests: Use the ATF cleanup infrastructure in the ioctl tests 2018-12-11 21:49:13 +00:00
anchor.sh pf tests: Test PR 183198 2018-11-08 21:56:06 +00:00
echo_inetd.conf pf tests: Basic synproxy test 2018-07-14 21:32:32 +00:00
forward.sh pf tests: Use pft_set_rules everywhere 2017-10-16 15:05:32 +00:00
fragmentation.sh pf tests: Verify that pf limits the number of fragments per packet 2018-08-17 15:02:58 +00:00
Makefile pf tests: NAT exhaustion test 2018-12-12 20:19:18 +00:00
Makefile.depend DIRDEPS_BUILD: Connect new directories. 2017-10-31 00:04:07 +00:00
names.sh pf tests: Test name handling 2018-12-01 09:59:32 +00:00
nat.sh pf tests: NAT exhaustion test 2018-12-12 20:19:18 +00:00
pass_block.sh pf tests: Make pass_block:noalias more robust 2018-12-01 09:57:29 +00:00
pfsync.sh pf tests: Add a defer mode test for pfsync 2018-12-05 19:53:09 +00:00
pft_ping.py pf tests: Fix pft_ping.py to work with scapy 2.3.3 2018-01-09 19:02:42 +00:00
route_to.sh pf tests: Basic route-to tests 2018-06-09 14:21:07 +00:00
set_skip.sh pf tests: Basic test for 'set skip in $groupname' 2018-08-11 16:41:07 +00:00
set_tos.sh pf tests: Use pft_set_rules everywhere 2017-10-16 15:05:32 +00:00
synproxy.sh pf tests: Basic synproxy test 2018-07-14 21:32:32 +00:00
utils.subr pf tests: Basic pfsync test 2018-11-02 16:59:55 +00:00