From nobody Tue Dec 24 14:27:15 2024 X-Original-To: pf@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 4YHcfb03rDz5hFtR for ; Tue, 24 Dec 2024 14:27:19 +0000 (UTC) (envelope-from bugzilla-noreply@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 4YHcfZ66b3z40cZ for ; Tue, 24 Dec 2024 14:27:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735050438; 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: in-reply-to:in-reply-to:references:references; bh=mrdw4IK67yZwYNiHvtHkofPuNcXMrBbBY3bATX/oUgU=; b=rDAmIfNJ+5SfTvVY8h8QR4tyBd1lH3hLYSqXwW3AUSII8xxRABfCXEfBdlTb7/4gIUWLsU 2tl7LOjr2hweH6BpJKFTdU3VmUrGuxGR0I4lvD+6r+52nI4YuaGiAyRCJzwzzLjxpgOEgB 1DgMN2lljcC5vhB/bx9qXfuPV1UhsPZg9lmpTR0Z3zabh49IfdJ4w/SxHd2D3IT1LB7vtL OSDbkDtEFpdl1u2aqQ63NpoXtQBgYCRmTkmCiW8VdbGhh8QbIy2u9MtnX5SgQmSi5lI6ri jTONAqTuUR07YAhSEdgBPM+TFFImvbglYifYL/A638nM3WNKOhfHZ7ksbwOVDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735050438; a=rsa-sha256; cv=none; b=e9QBacxU72DoS7+X2hdphfVV5sPC1j8RuGP9bO/WsppBA3kEGUq0iXBXDYjQ4eYU+BKGiF 3ecS3tFxEGdvVmg+bNDPAajp/zFWY2JgCPzFCauI3KNMIUlsld1u66tS3SY/SUgAc/oE3k 9CFyi7ICQ9jhXWYEwJpSh3rNbrW78e0wCW3hTkXtIXC0WcWqthZB/qCfTFHMLI/kuMCSPN l9yWtT8iokNXH4ve30MZDrpFadme8exgAChzNX+Qsobqo6/ZUrifB09HNjmeCktb3iFL1D aY1dxB0A5A84sj602nbYOzBbaB8LVmf5DwDtEUjYk8n1BD9089CioDG4UyGG2g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4YHcfZ5jdLzhRj for ; Tue, 24 Dec 2024 14:27:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BOERIY7046865 for ; Tue, 24 Dec 2024 14:27:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BOERIvT046863 for pf@FreeBSD.org; Tue, 24 Dec 2024 14:27:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pf@FreeBSD.org Subject: [Bug 282984] [PATCH] pfctl: add -T `makezero` to touch pfras_tzero _only_ for non-zero entries Date: Tue, 24 Dec 2024 14:27:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Technical discussion and general questions about packet filter (pf) List-Archive: https://lists.freebsd.org/archives/freebsd-pf List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-pf@freebsd.org Sender: owner-freebsd-pf@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282984 --- Comment #13 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D3fa5d13c5be01da5796e0f3617d6da277= cc16432 commit 3fa5d13c5be01da5796e0f3617d6da277cc16432 Author: Leonid Evdokimov AuthorDate: 2024-12-06 12:08:54 +0000 Commit: Kristof Provost CommitDate: 2024-12-24 10:16:50 +0000 pfctl: add -T `reset` to touch pfras_tzero only for non-zero entries This will make it easier for scripts to detect idle hosts in tables. PR: 282984 Reviewed by: kp MFC after: 2 weeks (cherry picked from commit 5b59b0c61e29f684a019afdd2848ffe2d5604e0c) sbin/pfctl/pfctl.8 | 7 +++- sbin/pfctl/pfctl.c | 2 +- sbin/pfctl/pfctl_radix.c | 2 +- sbin/pfctl/pfctl_table.c | 44 ++++++++++++++++++++++++ tests/sys/netpfil/pf/table.sh | 80 +++++++++++++++++++++++++++++++++++++++= ++++ 5 files changed, 132 insertions(+), 3 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=