From nobody Mon Sep 16 13:05:24 2024 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 4X6lWn2WRvz5VxxT; Mon, 16 Sep 2024 13:05:25 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X6lWm5dRGz549q; Mon, 16 Sep 2024 13:05:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726491924; 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=vOzQ4xKSLVLiaHE4kXnjq0BDY6rqZBzwl3dOWdBqXjA=; b=jtlsN2SWQIX7nYrnL+fqBQn6Fn8+z3olUcw19MErb0S4nWvhyyaxk1wr29CeAo0DeIB1AN 3mL/5if7qFC1PSpMiX+Hl+PotKdgwE9eloGzIpV1ECvcG0WBsXagdt4mXpIgzxkp9OF3hs i22TJddAk+wI2mDVwhy1IC4xa0yq3uKC9NgqjVphEAv3B7JXirCAOiLiSm6z72WOuMONtl g2m8zHjEPIZMNgm4rh2U/2bwlvgj2wPYfyx/18h4i/n44/KVSA8IDqmDFq0npr42XA9bI2 fIY1/T8Py1iHbSICltJaXMXkTMLN+qwXNcZ9041C2FdsXKzmgDPGHvba5KzlHw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726491924; a=rsa-sha256; cv=none; b=y2RRej6mq3nrJMK6C0cyNZCXqjjFHJSH+UIDnw4xequiKbnDJ1Wq3r9crIdYvumnANEAZD v606Wi54nTRu9RN+vx4eonCLs3qYXH6YcN/ffX4PZxxXw767XSK5/mzn9vYopb8aB+Dcsp lEQK6hpgpcViefHYApeE6BP1CH9por2OSQv8TFbbWjRFl801GV9FYhQ1fstOJ+QixPAbaA 37CmEGVw5N6BdlZM25Ap21MLycN7Y2WwlELqz9HMjLu5x2S9ES6hywI3pXOu//b6mFlfR0 9J7J3sMdoP28PgqTY4+xcezXCutSXuw38I5+7ca6IGhKiGgjVNB0iRMVf2Hk0Q== 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=1726491924; 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=vOzQ4xKSLVLiaHE4kXnjq0BDY6rqZBzwl3dOWdBqXjA=; b=NCsSEzqaDFgOplm/jghGlLSMQXeJUPd+fCrj5eR323rNMuYFeG2hb5LnVN4JUgx7Z6Vf0F qgGAWYUv7nkXP/oKCgcISzo114mVTQUP1/Ifpg82PxK2zoBn9NxbROAmeN5N8X8QU85OhT 5pHDgEDKz2XeYVUC0+9OxBfvoXTf/p2OV8r2ak1O03f21VJB65MPEr1KMX4oRVAyG2NhBc +gHQnDd878g3BxOjlrJo+esI3jfXlzzh9C23N1ZbgOYo8YQzPKG2wTBaJMYYk+OZfXrvv5 GsYAAWm4d9bxcB0htVWZl8aQ8pgny4g6Y2DVkKNKdfti6kX2xet7pWoZseEZ0w== 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 4X6lWm5FrVzwSn; Mon, 16 Sep 2024 13:05:24 +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 48GD5Oqe020786; Mon, 16 Sep 2024 13:05:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48GD5OEw020783; Mon, 16 Sep 2024 13:05:24 GMT (envelope-from git) Date: Mon, 16 Sep 2024 13:05:24 GMT Message-Id: <202409161305.48GD5OEw020783@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: e80f2a1087a3 - main - pf.conf.5: document received-on 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: e80f2a1087a38ad09f89263bc925f5580c556f26 Auto-Submitted: auto-generated The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=e80f2a1087a38ad09f89263bc925f5580c556f26 commit e80f2a1087a38ad09f89263bc925f5580c556f26 Author: Kristof Provost AuthorDate: 2024-08-29 09:23:51 +0000 Commit: Kristof Provost CommitDate: 2024-09-16 11:48:40 +0000 pf.conf.5: document received-on Reviewed by: zlei Obtained from: OpenBSD, dlg , 456093dddc Obtained from: OpenBSD, jmc , 2bf0158fa8 Obtained from: OpenBSD, deraadt , be785dc6e2 Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D46579 --- share/man/man5/pf.conf.5 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5 index 733b00cc6732..bfa79b928b69 100644 --- a/share/man/man5/pf.conf.5 +++ b/share/man/man5/pf.conf.5 @@ -27,7 +27,7 @@ .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd September 4, 2024 +.Dd September 6, 2024 .Dt PF.CONF 5 .Os .Sh NAME @@ -2118,6 +2118,11 @@ For example: pass in proto tcp to port 25 set prio 2 pass in proto tcp to port 22 set prio (2, 5) .Ed +.It Ar received-on Aq Ar interface +Only match packets which were received on the specified +.Ar interface +(or interface group). +.Ed .It Ar tag Aq Ar string Packets matching this rule will be tagged with the specified string. @@ -3231,7 +3236,8 @@ filteropt = user | group | flags | icmp-type | icmp6-type | "tos" tos | "rtable" number | "probability" number"%" | "prio" number | "dnpipe" ( number | "(" number "," number ")" ) | "dnqueue" ( number | "(" number "," number ")" ) | - "ridentifier" number + "ridentifier" number | + "received-on" ( interface-name | interface-group ) nat-rule = [ "no" ] "nat" [ "pass" [ "log" [ "(" logopts ")" ] ] ] [ "on" ifspec ] [ af ]