From nobody Fri Jul 4 09:22:42 2025 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 4bYSpW0df5z61GhS; Fri, 04 Jul 2025 09:22:43 +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 4bYSpV4zf4z3pgw; Fri, 04 Jul 2025 09:22:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751620962; 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=dBNE4397sDpK5pwztA2odshkF8O8MHOZpF837TRBmMo=; b=u8uI47B7LaioCARFs8ANWDOaCHGG6ChXSvI53yTTP67C9UCh2L6CCizygLMlVqTust7N73 hapN4kcaBZSFlN1/Z6TLm9Z0G804hJz0y6zgA7BbiEDKxoQa35gQTQbp0slYUg9Hc/HTz3 Xi9NVo7imyfiMeObCdbVvgy6EKOdWLZNMEwE/oUozxoIMxbLo8MVVQIb1OGmX6XUFzDlHx bol09LDx80JXRziBWZBU38wLR7PeCfXewPPe/Dk894yN9fPpUe1tvIEYElECBwUCzzhZT8 hTNUscmjIffwA/AGcvtoRO3WsT1ePNf1zMOkVTbzwY+H5dj5vVQNOAYm6WtInQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751620962; 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=dBNE4397sDpK5pwztA2odshkF8O8MHOZpF837TRBmMo=; b=XonvxeYobguW4vNjwK5+TrF2ZUPfzmtb86OBx8Ek/+yAknD9QoCBuqgfm7oMFXpg6Q/O/f Rk+amKgtdK3as+nHpYrdbeppuJdQXGdPUQkhQUrMhZn4rgkJaUJ9R0RAfVkrKp3UxpKilH QBXbwb84x9iuA0k0UAw2gB/x741et7vSa1MxOhExbP8G9hN39DMz0pR2zJ4op828Nr2/ra Ym66hNJPOAMjdC1Y5mf2cTi08tcJt3vrwdFKP+ex9vZvvLmcq1qWegoe3dst0W2Qw8zg+9 GSWGxs0/fmz8d6ZXF2wq5aUHtqg9XkMbtBdVJni4zIGqYGSHwBfzMkKwITfVFA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1751620962; a=rsa-sha256; cv=none; b=JfiQj9DIWiPoK/NNNNXSXeMhnjMp3e2n2lTZb349N2HU/oTU2sn6ypMeH0szljyuHlJxmM cr5Eg/UfRbDXmtHHfOHxePAKAXk6RNT6zLvDIjQgU35iUheSffpmDyOLVSXXyz8kFcfuav n8MLnrFXhIwN3GInREydFPt1ZNqqdn6D4YKDqgHaYHU9hf3H6zgavcQd2q5fzwh2aSAIpX JlRSo2RVx/iviqZL/7e4TS6IMnvfeET8IuJv1yE1q4iJ25+ddN+s09bOVj0Jr/ojRRF5N7 OnR+7qaBssmY6aQinL68C9elf5S+vZUruRnY+69Jv7yrU+KHyvk9l7OZ8wAEsQ== 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 4bYSpV44qzzlGR; Fri, 04 Jul 2025 09:22:42 +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 5649MgQC055890; Fri, 4 Jul 2025 09:22:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5649Mg9r055887; Fri, 4 Jul 2025 09:22:42 GMT (envelope-from git) Date: Fri, 4 Jul 2025 09:22:42 GMT Message-Id: <202507040922.5649Mg9r055887@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: ddb8faceb1dd - main - pf.4: DIOCIGETIFACES provides interfaces and groups, not drivers 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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: ddb8faceb1dd58f757f4904bf6117db5610ef7bf Auto-Submitted: auto-generated The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=ddb8faceb1dd58f757f4904bf6117db5610ef7bf commit ddb8faceb1dd58f757f4904bf6117db5610ef7bf Author: Kristof Provost AuthorDate: 2025-06-30 17:08:02 +0000 Commit: Kristof Provost CommitDate: 2025-07-04 08:31:12 +0000 pf.4: DIOCIGETIFACES provides interfaces and groups, not drivers "driver" is a left-over from earlier implementations. Nowadays each driver such as lo(4) has it's respective interface group of the same name ("lo"), but additional driver-independent groups exist, too: # ifconfig lo0 group foo # pfctl -s I -i foo foo lo0 OK henning Obtained from: OpenBSD, kn , 822e892650 Sponsored by: Rubicon Communications, LLC ("Netgate") --- sbin/pfctl/pfctl.8 | 2 +- share/man/man4/pf.4 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sbin/pfctl/pfctl.8 b/sbin/pfctl/pfctl.8 index 5238c53f709d..269987e2969f 100644 --- a/sbin/pfctl/pfctl.8 +++ b/sbin/pfctl/pfctl.8 @@ -474,7 +474,7 @@ Show the list of tables. .It Fl s Cm osfp Show the list of operating system fingerprints. .It Fl s Cm Interfaces -Show the list of interfaces and interface drivers available to PF. +Show the list of interfaces and interface groups available to PF. When used together with .Fl v , it additionally lists which interfaces have skip rules activated. diff --git a/share/man/man4/pf.4 b/share/man/man4/pf.4 index 422600a6fa44..03a4ba2bbe7f 100644 --- a/share/man/man4/pf.4 +++ b/share/man/man4/pf.4 @@ -26,7 +26,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd July 1, 2025 +.Dd July 2, 2025 .Dt PF 4 .Os .Sh NAME @@ -1114,7 +1114,7 @@ will be set to the length of the buffer actually used. .It Dv DIOCCLRSRCNODES Clear the tree of source tracking nodes. .It Dv DIOCIGETIFACES Fa "struct pfioc_iface *io" -Get the list of interfaces and interface drivers known to +Get the list of interfaces and interface groups known to .Nm . All the ioctls that manipulate interfaces use the same structure described below: @@ -1131,7 +1131,7 @@ struct pfioc_iface { .Pp If not empty, .Va pfiio_name -can be used to restrict the search to a specific interface or driver. +can be used to restrict the search to a specific interface or group. .Va pfiio_buffer[pfiio_size] is the user-supplied buffer for returning the data. On entry,