From nobody Tue Dec 17 10:07:55 2024 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 4YCCDW6SS6z5h0d3; Tue, 17 Dec 2024 10:07:55 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YCCDW4FWSz49hn; Tue, 17 Dec 2024 10:07:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734430075; 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=jzyTaO3lJe5Sey9TLN3HrpfvPMANBpSXYjJAA/rqYKs=; b=HhaD4gucjuG6JhOVD5qh9UDb7YfK9+sAXYCfFZ91xi2vvSlTerlrp23rsWIj0zxHWtzrW/ 1sn2nNvEeRO5vCZH7/8ANON5+57SLpCst88utRt3Nton/e/x1m1Ufixs/XVyc86jOWbae1 vZW1TWy7MTvaw4jxWpUOHHFRKEkkNvPC6l046Q+Pu4zYPxJ5ghb3WmRVWM30wV3xfl1moC NdPGAW+3gRAkpCmeDZHKcu8JMmtTHO6W4R4zyzfmHWweHHFkUWtZVhPLIGXzlaJIX0798J +mPz53FsAWLLnR+5ohWNhDLsbC7JddOQTeE1YgL2zSbFZEvQa/pLomJfWVKAuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734430075; 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=jzyTaO3lJe5Sey9TLN3HrpfvPMANBpSXYjJAA/rqYKs=; b=npgmLVyIqOSNEEUjzSeKfDpUa8+JtXaD5SRf2AUQSJKilv0UX9pHa21f92ljQq0YXtNkXp JFVw84jYvWcOewMDm0FE8Wf/9O5dCzjML77Rxm2o75pTkmH2Oqz07GWxDzddXPuPqLw37f Q5YzQzu0tfqtUXEhXwFfTix1FoHGUPmr1p0spKfweFmvuiR7oEReF7BaTqhL/zi0cLOSit KGV+PfFXCnJ0ZTVLxzxdhk60m94YSl7q2hkia8mTjX0MJhZ/urmf2lAMieELassBedXp2+ pKwoFJS+hE63R/mNMLjo/0N/ta+ezOVzTKAIBsknzH3WdXf3i+lI0nh9xtPpZg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734430075; a=rsa-sha256; cv=none; b=kw6cuHKL1D6NXtLfyyL6crGDorer6UfA2zJjGLhBwt0MZAhu6XYi71ct4VFu4WCU9DnZab KkPpL2hQj2wgsa0Ox903LUX2D6MvE8OiNyuvIuzko3anAH0W0c9H7qFaAD38DR2I1MugDM /4Ji9oScbzcXZEHccFCLfoUPcNRbnn6/heWuihUuANL1SRqY3DUdRCPVJH5PYW/qSsov0Y 9WRNY4dz/N+ObzGuWBWFwr+2HvJ6B63xwQFaSeOHxlziEC6diI5tpDrCZ5dJE495BjKVMz vVV9DtHpOy94i9QqRto+2TfXctJGYfZ0KCwzTDs5whpYjJcNnEeLjxdD9acM6Q== 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 4YCCDW3sNFzJS0; Tue, 17 Dec 2024 10:07:55 +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 4BHA7t7S023980; Tue, 17 Dec 2024 10:07:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BHA7tt9023977; Tue, 17 Dec 2024 10:07:55 GMT (envelope-from git) Date: Tue, 17 Dec 2024 10:07:55 GMT Message-Id: <202412171007.4BHA7tt9023977@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: 86bcaedd35f4 - main - pfctl: basic nat64 parser test 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: 86bcaedd35f4cd4272b09ef05db19b01f0000d1f Auto-Submitted: auto-generated The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=86bcaedd35f4cd4272b09ef05db19b01f0000d1f commit 86bcaedd35f4cd4272b09ef05db19b01f0000d1f Author: Kristof Provost AuthorDate: 2024-11-07 17:54:45 +0000 Commit: Kristof Provost CommitDate: 2024-12-17 10:07:14 +0000 pfctl: basic nat64 parser test Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D47795 --- sbin/pfctl/tests/files/pf1024.in | 1 + sbin/pfctl/tests/files/pf1024.ok | 1 + sbin/pfctl/tests/pfctl_test_list.inc | 1 + 3 files changed, 3 insertions(+) diff --git a/sbin/pfctl/tests/files/pf1024.in b/sbin/pfctl/tests/files/pf1024.in new file mode 100644 index 000000000000..be518bb3bd53 --- /dev/null +++ b/sbin/pfctl/tests/files/pf1024.in @@ -0,0 +1 @@ +pass in inet af-to inet6 from 2001:db8::1 diff --git a/sbin/pfctl/tests/files/pf1024.ok b/sbin/pfctl/tests/files/pf1024.ok new file mode 100644 index 000000000000..2d4ddb9d0ce7 --- /dev/null +++ b/sbin/pfctl/tests/files/pf1024.ok @@ -0,0 +1 @@ +pass in inet all flags S/SA keep state af-to inet6 from 2001:db8::1 diff --git a/sbin/pfctl/tests/pfctl_test_list.inc b/sbin/pfctl/tests/pfctl_test_list.inc index 413599252f64..62bb87e680d8 100644 --- a/sbin/pfctl/tests/pfctl_test_list.inc +++ b/sbin/pfctl/tests/pfctl_test_list.inc @@ -132,3 +132,4 @@ PFCTL_TEST(1020, "Test hashmark and semicolon comment") PFCTL_TEST(1021, "Endpoint-independent") PFCTL_TEST(1022, "Test received-on") PFCTL_TEST(1023, "Test match log(matches)") +PFCTL_TEST(1024, "nat64")