diff options
| author | Kristof Provost <kp@FreeBSD.org> | 2025-11-26 17:20:24 +0000 |
|---|---|---|
| committer | Kristof Provost <kp@FreeBSD.org> | 2025-11-27 10:43:54 +0000 |
| commit | 39cbfc78b50c2b940d131834c8a5fb72442358c0 (patch) | |
| tree | 760973e46ba296859de36aac07cb678819a918c3 | |
| parent | 685d5860aceac1c01bc34ec1ca5d726b88cb6e27 (diff) | |
pf tests: pflog:{rdr_action,state_max} disable IPv6
Turn off IPv6 on all interfaces to avoid having multicast listener
reports generated that might turn up in out pflog output, disrupting
the test.
Sponsored by: Rubicon Communications, LLC ("Netgate")
| -rw-r--r-- | tests/sys/netpfil/pf/pflog.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/sys/netpfil/pf/pflog.sh b/tests/sys/netpfil/pf/pflog.sh index 550548a59c11..b11b1a3bade0 100644 --- a/tests/sys/netpfil/pf/pflog.sh +++ b/tests/sys/netpfil/pf/pflog.sh @@ -205,9 +205,11 @@ state_max_body() epair=$(vnet_mkepair) vnet_mkjail alcatraz ${epair}a + jexec alcatraz ifconfig ${epair}a inet6 ifdisabled jexec alcatraz ifconfig ${epair}a 192.0.2.1/24 up ifconfig ${epair}b 192.0.2.2/24 up + ifconfig ${epair}b inet6 ifdisabled # Sanity check atf_check -s exit:0 -o ignore \ @@ -353,6 +355,11 @@ rdr_action_body() vnet_mkjail ${j}gw ${epair_srv}b ${epair_c}a vnet_mkjail ${j}c ${epair_c}b + jexec ${j}srv ifconfig ${epair_srv}a inet6 ifdisabled + jexec ${j}gw ifconfig ${epair_srv}b inet6 ifdisabled + jexec ${j}gw ifconfig ${epair_c}a inet6 ifdisabled + jexec ${j}c ifconfig ${epair_c}b inet6 ifdisabled + jexec ${j}srv ifconfig ${epair_srv}a 198.51.100.1/24 up # No default route in srv jail, to ensure we're NAT-ing jexec ${j}gw ifconfig ${epair_srv}b 198.51.100.2/24 up |
