From nobody Wed Apr 16 18:02:52 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 4Zd8590FGBz5t1wm; Wed, 16 Apr 2025 18:02:53 +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 4Zd85864gpz3RDp; Wed, 16 Apr 2025 18:02:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744826572; 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=g72E5YS9x03Ai6z7UiW8LNd0o/yuH88rSJhuk43Tot0=; b=Aks8S4Lq9xkILhRK2Z0120aaXpc57wGmAPece4Z/C8vNe5DvVLyO7HePuNWNfm6lsGn6a2 5Fke2OZV8Vvwr2JlFbVJxgZdpvvVc/36w3sFb9dl3jsZk95MXYTKTYmxx/k5BFRWaq2eZS mIZt/rv/qTb88QORCuWNX5/eZPiIBQS0+GU6DLimPbg67nr3ZuJHzaHbduppA8rYP0OAQ8 5C4gfwo3gMeZtkB+bX15Cq/hC2jlt29TSAp1VZKKeAPkTQXwVOTyjy8sZwuEK03BwA4sJW 01XRob/nkUEab5RFPIzUOz5yu64D890oWzjQIr0eOntBq1Py4S3vKSespoE7KQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1744826572; a=rsa-sha256; cv=none; b=WqECi75qXcJfD3KDbdX4Qx3vMcnWmM3iJpO96UrKQ/Yo3/SqrBltdnxiRaWvJfLV0IbH7C DcJqEXGvyKmwBVmxf+zXYnhIbj6/2hWax+GCpJf3y+EDOvSsTyjYm0XoIXvAG6WjBzuWYw Ils3f9IYO1tMuuc17zQ5yMXqxQbMgwS1pDLEfsLLE9q9MInUeeRR92uKrQi4w13j0b1Oev wVRaa5u288VHM2AaI+I17thSmseWa1pJW/z9F72kwzIeMA+/s4RgQioQgKTX2AG3HGBQ+N TeDTo0S+vpIBoMMZm4GqaKqwskorzhCVsHnZn+rMWk+aGBinZYaOl30Mi58WKQ== 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=1744826572; 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=g72E5YS9x03Ai6z7UiW8LNd0o/yuH88rSJhuk43Tot0=; b=xkZ38mQ1TvjRPROTHRvJzmgz8qPy4BKCGvPEnXxrfPq0Hv4VJ4ZE2Q4Wt4S67kdHa/0MAc Sib98X+Lw8hewBx6QFisjhtv4sTEqFAWMSgud2DaNvVRJ92uS4IUU/OpS+Xdi+w7CnxLv8 tNZF816CjPCncRwWwnVsYuTJpM8OmG3Uni97sKI+cxLkxks9YPTTv3lpucHYbfa6179ckD X96Ahn9aeWJt6pjVKYW0Pw1TD3BNkhzcGS5TjPI65xICI9H5PYJEEccg5flpkLWM1XUmAk 9k4hvbknYt0AYXq/noiU7rin5HhQOnuXqZ2SRBwefpu9FhfNw3EnR7Te5hmhMQ== 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 4Zd8585Tbsz1SKb; Wed, 16 Apr 2025 18:02:52 +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 53GI2qbM075748; Wed, 16 Apr 2025 18:02:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 53GI2qhe075745; Wed, 16 Apr 2025 18:02:52 GMT (envelope-from git) Date: Wed, 16 Apr 2025 18:02:52 GMT Message-Id: <202504161802.53GI2qhe075745@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: 16c25f9861db - main - pfctl: allow include in inline anchors 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: 16c25f9861db453ffa07a0891f8d247c744297b0 Auto-Submitted: auto-generated The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=16c25f9861db453ffa07a0891f8d247c744297b0 commit 16c25f9861db453ffa07a0891f8d247c744297b0 Author: Kristof Provost AuthorDate: 2025-04-15 15:41:37 +0000 Commit: Kristof Provost CommitDate: 2025-04-16 14:23:48 +0000 pfctl: allow include in inline anchors with this, anchor foo { include "/path/to/rules" } works and "load anchor" is obsolete, to be removed somewhen later after release. co-production with reky at bsdcan, ok reyk mikeb benno sasha Obtained from: OpenBSD, henning , bf5a50acaa Sponsored by: Rubicon Communications, LLC ("Netgate") --- sbin/pfctl/parse.y | 1 + 1 file changed, 1 insertion(+) diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index 6b85c1b36303..804d80b04152 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -910,6 +910,7 @@ pfa_anchorlist : /* empty */ | pfa_anchorlist '\n' | pfa_anchorlist pfrule '\n' | pfa_anchorlist anchorrule '\n' + | pfa_anchorlist include '\n' ; pfa_anchor : '{'