From nobody Fri Oct 06 15:22:01 2023 X-Original-To: dev-commits-src-all@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 4S2Bx562H2z4wqCm; Fri, 6 Oct 2023 15:22:01 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S2Bx55d4rz3f16; Fri, 6 Oct 2023 15:22:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696605721; 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=oL8gl+5MvCajClH8ow1ciMZLhJllipEqZJNhjD5Nq/Q=; b=g5zo3Mq8G/uV1dbcX4wGg0LHT197GMD127ZHQXz9N7StEvcEY691i27f50+NnrnE8DykqM 6VYTPv+jcymY6EAhC83AdS2n2I5ggCM/IrZ2zjoJQtxq7wckVUDMjWYhtkPNTujcR/w4SX cdz/MoyeMLtw7ZVc4qWwNP4YqPRiUMBh7Y+LT4E5Qw5XrR7NCrl3hxVoggZ1jyVhc2XKu/ xx4o9BbHtRVgR81aEDs6lbWXsK2d6CxLqGWyesjven3BGqtX2+usI8fcC8NxYLW1iV/dim N6wRXf1fOJQLQ13pPtsdDXM+HpFJNwdY29N1tkxGwRk+70SOr+4ABaRjqV3Awg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696605721; a=rsa-sha256; cv=none; b=qOU4LRa+GeIHnVWbgPU3fE+8emQWC86dF8NfvszxYzubqi/l0wXzjMnatmFByPDZlAi+cO aXSZLNyECZpFsoQwhdmO+vyvqTo5EH6sfa0vmC9cyLf2peRSAiqO5zo5qo+UgETm1egeoL s3ehrWmFdLK0nW68RYGnSFxC2+Dycr6DLWyrotDx+TlQVbY9OgpmRU1wqlRpz3Vwtr4BTS fs9br6YrRtcqB0+k12U/YvNoH2WVimLkT2XbKyhawqZUDBUS8qe1lo/A91PlClg7Rj+D2u T3rtQEx5pdt4eTY3+ZybnWqZ/lOf653+KIZV7qI3tj0JwVKjtlRfi0KDYk6Amg== 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=1696605721; 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=oL8gl+5MvCajClH8ow1ciMZLhJllipEqZJNhjD5Nq/Q=; b=DjENEjo9tdzfIzlJXK08adhg8vYDKhzL8tfSr8Uu06BmmhrvFXpt096tRq1amdj5sCX4Qq gucIGYKqXUw8Ruc1Fyk7YMYuL79TQaw9X3IZh8vgwCqp7vfo8RoEqjUbc0nRbyYm2S1Or4 1a2VJGUrC2Pbb/nJP5jYr+2QsANVg3rW3oPGSfQ8F3njPE9IXoJR+JBTajUMHyBccRtNhx HAsMCoKZ+ujkzgf//iw8KmBhyarHlP1wxgDvVe74JKOz5sBiufkkRX3BB2WllDBGTLwOip K5y1SC+qCYCVU7Muj1Yv8mAn2esPaUFLoIUS5TRXO7YN/p9DHnw7mNxmhK11vA== 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 4S2Bx54c81zt9c; Fri, 6 Oct 2023 15:22:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 396FM1sb091690; Fri, 6 Oct 2023 15:22:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 396FM1dL091687; Fri, 6 Oct 2023 15:22:01 GMT (envelope-from git) Date: Fri, 6 Oct 2023 15:22:01 GMT Message-Id: <202310061522.396FM1dL091687@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brad Davis Subject: git: 7bf5f682c073 - main - Improve the pf nat exhaustion test by checking the reply from the echo server List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brd X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7bf5f682c073fe271b159964f8f17eb2ac8590b3 Auto-Submitted: auto-generated The branch main has been updated by brd: URL: https://cgit.FreeBSD.org/src/commit/?id=7bf5f682c073fe271b159964f8f17eb2ac8590b3 commit 7bf5f682c073fe271b159964f8f17eb2ac8590b3 Author: Brad Davis AuthorDate: 2023-10-06 15:19:51 +0000 Commit: Brad Davis CommitDate: 2023-10-06 15:19:51 +0000 Improve the pf nat exhaustion test by checking the reply from the echo server Event: Oslo Hackathon Approved by: kp --- tests/sys/netpfil/pf/nat.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/sys/netpfil/pf/nat.sh b/tests/sys/netpfil/pf/nat.sh index 4ceded782cfb..7cc0d8f35c96 100644 --- a/tests/sys/netpfil/pf/nat.sh +++ b/tests/sys/netpfil/pf/nat.sh @@ -61,8 +61,8 @@ exhaust_body() # Sanity check atf_check -s exit:0 -o ignore ping -c 3 198.51.100.2 - echo "foo" | nc -N 198.51.100.2 7 - echo "foo" | nc -N 198.51.100.2 7 + atf_check -s exit:0 -o match:foo* echo "foo" | nc -N 198.51.100.2 7 + atf_check -s exit:0 -o match:foo* echo "foo" | nc -N 198.51.100.2 7 # This one will fail, but that's expected echo "foo" | nc -N 198.51.100.2 7 &