From nobody Wed Mar 02 16:00:54 2022 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 757B919E0DEC; Wed, 2 Mar 2022 16:00:56 +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 4K7zP31BsMz3NQ2; Wed, 2 Mar 2022 16:00:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646236856; 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=/2uDIftRzdbiCA+kYF0q5FJdB5Dn3bIQ/LWqz9eoc+4=; b=RQeF8DZiC893UjN7Ofkdne+0Ecku3vjxXFxF7gZA7WDJx2U73WzHKluzcVjwTxbJ9oxvy8 IFPV2kuKdgnFS4ysFse+BQd5LqoOPQIr022ahOOT1c2ApWXN/WaKX46ZxDk+Dlk2tc7zJW uDz90YBp6dzul9b/Af2Lte/baFDSpQommZlFNSI7Y4ajrtvusgkYaPzITdUrsMAN3twQkC h4A7RZ6X5mwuaZDC4fbA9/sX7VF0l8N2534p9pKLxMEq5pRTNcO3tpQfEjyWaHHH114lKj 4SXx/MMaK8A//LRaHqBDDEbXr1QGKUIBsRhATjtUqeZuWipZSmse9V3JPeOV3w== 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 F15D1261CE; Wed, 2 Mar 2022 16:00:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 222G0s7P091253; Wed, 2 Mar 2022 16:00:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 222G0sLg091252; Wed, 2 Mar 2022 16:00:54 GMT (envelope-from git) Date: Wed, 2 Mar 2022 16:00:54 GMT Message-Id: <202203021600.222G0sLg091252@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: 77207b602224 - main - pfctl: Document displaying Ethernet rules 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: 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: 77207b6022248ff6a205e28d2563ac07659324e7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646236856; 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=/2uDIftRzdbiCA+kYF0q5FJdB5Dn3bIQ/LWqz9eoc+4=; b=OEfaY2NfuKdZL8SFSsJ9nFOsVWFkRU68sgCeWbN+w16FdNJVEOp0qJc1RyjnD6XLW7jO34 Eqc5zRba+QNm3aNEaaVBcSe0l6LVG2w2KJGT+MBjDQz0mg76n5iPp1lob0P+dVFNqbkBjn Ebn23fbHPhRs0hoofoshQBQcak6mHVb+XarSrROruR5AWs4f6/y6jyApzYQLM9RIqtioh9 E0uky7x6ymFZ5W5YnF6Uw+mWwhf7E6G3zC7h4B0VXMt1Ud2m+xSlYSlbxQsj6eBQRHqb6r RcEnDyqHEZqltHMm9WkuW2LTtcoN99OrTLxOy3isp0vZznXoQquPqJboYNJRvA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646236856; a=rsa-sha256; cv=none; b=UfD6TAqNM1yQpQIlkSjTUQTJCdYF47yzu/2KjAWPyjIXKQTrjNnFb2/0/4AmMh5BkRjpgx 4POhMLb0dcV7w88jy3F7Wl2R+dKnsI0VN9udpfQl0dVpQjAM01S/4VYtf1qPgH5hN5o/9P x2NQ3ObNaJLMip8y1MDu9S5IKrW1fVIx4h9i7m879YRnT15BiBRz4/0Di6Hsmp3ndQG3L3 VWHNLmrvKu8Bxs7UfK3w4yFGmsXOmiS3gYlyU+P4Uik3nA3Ydr3mmc94IbbugJ/xqgByUY tdtTv3GfoLiSIg7WqRzJ8aFuCQvQc4UUt9lroNi30A8vmxbjObooqgqTekBY0w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=77207b6022248ff6a205e28d2563ac07659324e7 commit 77207b6022248ff6a205e28d2563ac07659324e7 Author: Kristof Provost AuthorDate: 2021-02-22 12:04:03 +0000 Commit: Kristof Provost CommitDate: 2022-03-02 16:00:06 +0000 pfctl: Document displaying Ethernet rules Document the new 'pfctl -s ether' functionality. Reviewed by: bcr Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D31750 --- sbin/pfctl/pfctl.8 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sbin/pfctl/pfctl.8 b/sbin/pfctl/pfctl.8 index ad0d1ba34769..f61feef8bc16 100644 --- a/sbin/pfctl/pfctl.8 +++ b/sbin/pfctl/pfctl.8 @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 3, 2016 +.Dd February 22, 2021 .Dt PFCTL 8 .Os .Sh NAME @@ -404,6 +404,12 @@ When used together with .Nm will loop and show updated queue statistics every five seconds, including measured bandwidth and packets per second. +.It Fl s Cm ether +Show the currently loaded Ethernet rules. +When used together with +.Fl v , +the per-rule statistics (number of evaluations, +packets and bytes) are also shown. .It Fl s Cm rules Show the currently loaded filter rules. When used together with