From nobody Thu May 29 09:05:18 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4b7L7269Zwz5y00K; Thu, 29 May 2025 09:05:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b7L7221pbz40CG; Thu, 29 May 2025 09:05:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748509518; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Z/cFRy3SdMrTX0dD7PXSh3g7555aONpMT+n20tu3vWs=; b=Zja6AcPK7L+++PoxB0bjMeQHtM+ukll6gio9h90ias1IQ6/Pih7/hMTA4/tlWxjowHN32U 8Hb4XRhrA+hvlpN0er25WvHKM8BfiBFj1qO7Hzq1aQgjuiIyH5tDdH/F+mXrGWid+kNbtO eEM6HZejtCgMQfNw/DpBvsHucf7ls1tMYn17PyP3V2YXMO4HDEs7FrC/MzxG9hbfKCuOSh E0aQVTxZx3MNFgNVpUmYIE0Dm3NRtUYHb+860ALeLmOkDjCY4qO4MC0wX/WKmCYXs+gFZn OZk+cHxK0R4YpCIvBkdv0m6ciRbVSHrifKNAOeCBrjHc9DcZ8rdDZUIz+wdb+w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1748509518; a=rsa-sha256; cv=none; b=Qr1aiKcMgDCoBeP+G73ZAQSHdZG3K3KWt8ETeOPi7HIPN33UjtJWDOL3eT6HPVn1ZKOwk6 JKTFp8R3O50TxZzB+ApxX51KM9CBq+HkODi9hxOR1NY2Eh5l7VMjxfZx6DYjG/um8ckCQ2 xlHsOgtPH+AnFLNmc4UoMWy1gl3REebTMTpz/4hrLbBrXgx1gyIQCc48bhPJ4Ka047LO4e 3Vl9jq+f0/DdiUZS38OslilQD9AUz0TOjFPKKTPkyHe7f3WztMplRU0rgCRqLtMe3M2QPz URiDir+WFSx96OT2D3eFyT1f0XrDHqdyRdXyhLDupExpykbF1+/lbCyDLr2r4A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748509518; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Z/cFRy3SdMrTX0dD7PXSh3g7555aONpMT+n20tu3vWs=; b=YjM4grDfTniF2X/SgnREOIhYcgjhoZYoIUIqbZ3AzO9MMOf8E/YAbpi+F4zdXDv2JHIBjX WdbgM5su3qzWPeLs9a3NyF0kiisl5vW+2SjolVpzweXt8Yh43H2zM6TPzYxWIyGSzzOfYd i6apTCI+RoDA4FoHMRg5Mcfr0PnXPTInS24EZc43z2Fhfg0H15ZJC7FObW/w0sBcWMomPQ YHhv7Jn2q7GaSpHYFBYsj9o4oWx+L0Bgnm4U5aI7E6sknVpa9NZwYmKTn+1muwStFIVoJy O9ADA4+mX+Q+ovjn5bHNy5YuKWtAw/71ATkmfuD/2TUuHSACgFKCGWsuggqsiQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4b7L721F2jz1FQK; Thu, 29 May 2025 09:05:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 54T95Ih3011490; Thu, 29 May 2025 09:05:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 54T95I2b011487; Thu, 29 May 2025 09:05:18 GMT (envelope-from git) Date: Thu, 29 May 2025 09:05:18 GMT Message-Id: <202505290905.54T95I2b011487@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: 460729900299 - main - pf tests: make sctp:related_icmp test more robust List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 460729900299ed31059ffef99e1ae9a9212f8def Auto-Submitted: auto-generated The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=460729900299ed31059ffef99e1ae9a9212f8def commit 460729900299ed31059ffef99e1ae9a9212f8def Author: Kristof Provost AuthorDate: 2025-05-29 08:31:23 +0000 Commit: Kristof Provost CommitDate: 2025-05-29 08:31:23 +0000 pf tests: make sctp:related_icmp test more robust Send more data (i.e. more than one large packet) to the SCTP server so rtr2 generates more than one ICMP error message. Sponsored by: Rubicon Communications, LLC ("Netgate") --- tests/sys/netpfil/pf/sctp.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/sys/netpfil/pf/sctp.sh b/tests/sys/netpfil/pf/sctp.sh index 563103827fac..14cd49dfb1f5 100644 --- a/tests/sys/netpfil/pf/sctp.sh +++ b/tests/sys/netpfil/pf/sctp.sh @@ -818,10 +818,10 @@ related_icmp_body() # Generate traffic that will be fragmented by rtr2, and will provoke an # ICMP unreachable - need to frag (mtu 1300) message - dd if=/dev/random bs=1600 count=1 | nc --sctp -N -w 3 203.0.113.2 1234 + dd if=/dev/random bs=10000 count=1 | nc --sctp -N -w 3 203.0.113.2 1234 # We'd expect to see an ICMP message - atf_check -s exit:0 -o match:".*destination unreachable: 1" \ + atf_check -s exit:0 -o match:".*destination unreachable: [1-9]" \ netstat -s -p icmp }