git: 5a676edf9b61 - stable/14 - netpfil tests: disable ICMPv6 rate limiting in the test jail
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Jun 2024 04:50:29 UTC
The branch stable/14 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=5a676edf9b61db8e1677e882c445b5fc1cb46b90
commit 5a676edf9b61db8e1677e882c445b5fc1cb46b90
Author: Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2024-03-25 02:54:34 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2024-06-26 04:48:44 +0000
netpfil tests: disable ICMPv6 rate limiting in the test jail
The dummynet test uses flood ping as source of traffic, so the rate
limiting of ICMP replies broke the test.
Fixes: 32aeee8ce7e72738fff236ccd5629d55035458f8
(cherry picked from commit 75d15e893b14188b83c5fb5e4979fa21c557934f)
---
tests/sys/netpfil/common/dummynet.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/sys/netpfil/common/dummynet.sh b/tests/sys/netpfil/common/dummynet.sh
index 14d863d001c8..7537231c13bd 100644
--- a/tests/sys/netpfil/common/dummynet.sh
+++ b/tests/sys/netpfil/common/dummynet.sh
@@ -387,6 +387,7 @@ queue_v6_body()
jexec alcatraz ifconfig ${epair}b inet6 2001:db8:42::2 no_dad up
jexec alcatraz /usr/sbin/inetd -p inetd-alcatraz.pid \
$(atf_get_srcdir)/../pf/echo_inetd.conf
+ jexec alcatraz sysctl net.inet6.icmp6.errppslimit=0
# Sanity check
atf_check -s exit:0 -o ignore ping6 -i .1 -c 3 -s 1200 2001:db8:42::2