From nobody Thu Sep 05 09:00:26 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 4WztcC00pnz5W14f; Thu, 05 Sep 2024 09:00:26 +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 4WztcB6H7dz4mCT; Thu, 5 Sep 2024 09:00:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725526826; 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=NdaKvAnh4nhXyHQ0whdz5mlbc5WxY0iIjifkPVgcC9U=; b=Fq0kIyq6HxmLfIZ05Rcz5I1FKiaDDlY404HZkBWUAebRi/XkgVZeHJyycFRk+Gc1QSo3F6 5rU9dKAhI6YSqKuedjisurShuIwt3cKa0i/QGQAMf6/ZGBfDCLeGCVQ28N4dizkEQ4D1yH hCgL76pPs1sTjqgrC5MwWaP6MjAcR4C+1HGAW7wOpZezHI0cydEsrB1WWaYb0rvU7TNtvE hv+my1NMIyU4YL2z+A55KEkUqb9O6pm0UQVaybhorhAkEyk1tIHXbSpUrNseRCK2/jkcFk w7twulRzjnuHzeZceV1Nm0lMgln3mMIQsVOyb6i431Xy0sqhLyeNfSjBSIR1Og== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725526826; a=rsa-sha256; cv=none; b=pjtIn+xb+uRGPZSYnzjkyq/6A0izARbgHSAY0VQWtK3QEK04yDAXhyPcwfqaly4AKUdAi1 UPgdz30f89EVFbpVhhkGd1eje6EQ4slZDx+7zhrIQaa2sDPTNOs6A3aO3NS4cFF19B1OLa GKJrFTKhP4YHFwhGh1y9GOWsrbu6BaPS8uCeRILaaxUJCaqBCjT+La9Q5tA5jOETD1F7Fl SEAuB6PLHBn+IkX2zUw01evbNfKaW9OdMY5ouNHw3i2G3+EXmHNbylGfzEwcTPjnR7Vr6t y6J+To9YPkvQwenV6HXr4PXVFWMQeUKfUCLi4I79xV9v6Q3OxKCvzdegJYw1sA== 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=1725526826; 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=NdaKvAnh4nhXyHQ0whdz5mlbc5WxY0iIjifkPVgcC9U=; b=mx/QUfQmsTopr5HvyVvX9Poo6juZ7Q+jub9+y6fFZqrua5+8TOEUjX0aecvtBjQoaQNVJQ H4/A7uxgyyeFLsWneQBXtlwRKrzXKv/wnYo1lgLMFGQyxXt1JTxXQypqf31XLjpYfl3VdE bed9IU+X/VuUcF3m7a2f/6E2eXUqw5pIOBfhHhIaQcAOmGoaRaclmuMSec0nBfL3bgO0JV 9ngnVhs2gPU8rHwOEt1l2O7IUSxxMKA9j3cg3rUrEwBNiHUWuVxkC+cL2LvqrP4m0YRRpc RmMbCFVqQdA3ABth3MVS9dd7DW74y3+XTLtI1H5CTkVhZ7VdTyQQdB7bmNj6og== 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 4WztcB5nn8z12JZ; Thu, 5 Sep 2024 09:00:26 +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 48590Q69083371; Thu, 5 Sep 2024 09:00:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48590QEk083368; Thu, 5 Sep 2024 09:00:26 GMT (envelope-from git) Date: Thu, 5 Sep 2024 09:00:26 GMT Message-Id: <202409050900.48590QEk083368@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: a9ac25d65f64 - main - pf.4: document missing sysctls 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: a9ac25d65f640a0a06a96e20c60bb34111db8ef6 Auto-Submitted: auto-generated The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=a9ac25d65f640a0a06a96e20c60bb34111db8ef6 commit a9ac25d65f640a0a06a96e20c60bb34111db8ef6 Author: Kristof Provost AuthorDate: 2024-09-02 13:34:50 +0000 Commit: Kristof Provost CommitDate: 2024-09-05 07:38:11 +0000 pf.4: document missing sysctls Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D46510 --- share/man/man4/pf.4 | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/share/man/man4/pf.4 b/share/man/man4/pf.4 index 645f31e6e395..9bfc75cb490d 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 October 20, 2023 +.Dd September 2, 2024 .Dt PF 4 .Os .Sh NAME @@ -80,17 +80,26 @@ The following tunables are available. .Bl -tag -width indent .It Va net.pf.states_hashsize -Size of hash tables that store states. +Size of hash table that stores states. Should be power of 2. Default value is 131072. .It Va net.pf.source_nodes_hashsize -Size of hash table that store source nodes. +Size of hash table that stores source nodes. Should be power of 2. Default value is 32768. +.It Va net.pf.rule_tag_hashsize +Size of the hash table that stores tags. .It Va net.pf.default_to_drop This value overrides .Cd "options PF_DEFAULT_TO_DROP" from kernel configuration file. +.It Va net.pf.filter_local +This tells +.Nm +to also filter on the loopback output hook. +This is typically used to allow redirect rules to adjust the source address. +.It net.pf.request_maxcount +The maximum number of items in a single ioctl call. .El .Pp Read only