]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add basic NAT test for pf, ipf and ipfw
authorTom Jones <thj@FreeBSD.org>
Sat, 17 Aug 2019 06:44:11 +0000 (06:44 +0000)
committerKristof Provost <kp@FreeBSD.org>
Tue, 14 Sep 2021 08:27:23 +0000 (10:27 +0200)
commitb10cd461a58bb3b8b80ae1405d9c88d2af74d547
treeb16c58b37026a1e7aefb8ab179cb87e5a79ff1b7
parent086f8d605606aa0f3d8092f5757558cadd5e4233
Add basic NAT test for pf, ipf and ipfw

Add common firewall NAT tests for pf, ipf and ipfw (using both in-kernel and
userspace NAT).

Submitted by:   Ahsan Barkati
Sponsored by:   Google, Inc. (GSoC 2019)
Reviewed by:    kp
Approved by:    bz (mentor)
MFC after:      2 weeks
Differential Revision: https://reviews.freebsd.org/D21199

(cherry picked from commit 0d9da68f01510ae4c5bb33b744f1e0b3711c7fb9)
tests/sys/netpfil/common/Makefile
tests/sys/netpfil/common/nat.sh [new file with mode: 0644]
tests/sys/netpfil/common/utils.subr