From nobody Fri Nov 22 12:26:53 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 4XvvVQ2dsFz5dqLX for ; Fri, 22 Nov 2024 12:26:54 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XvvVQ1Xjrz4k7N for ; Fri, 22 Nov 2024 12:26:54 +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=1732278414; 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=no/AJ7glnx33IHinPDisJ2YQNXDkVgIV5grFa48JrWo=; b=yJkm19xo66OU2why+OBZHGTNfenNnBuK2Mdw1QaMYsDXoqwY2u6p6kFus64iH/YdMwo+TY X6N068sxkQH2/sfc35rvsSAurMBWint3jRvCtmESva9e8Dt1d1eipiHaJvXcLQt6ECBDbF rTDic7jt5BWoIndvneLk+uuQ5YRx9gKpJTSi8ExWDiMzy13JvIkM8LEtxvuJ57leuRpFUa kJmhpGQekP5+orFKY23V9JB1lImigpfLFEhB+hRiq8d9DzLotzZ7jD3Ok9cG//XQFG2ao9 7iuz7KNqSQFpgfEcSOMDm34QeTEzZxMIoSbty9tGDmQzEE30Ng6IPMZFB78pVQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732278414; a=rsa-sha256; cv=none; b=CWVG8BheUxiFUfMPDoFRLa5W2EArhYw5lz71nVtXtx048KjbfKHS9DHbLl8NRtAZZZFEsU 8d+Y8mCtAVf0HueQu8r+zXdCYxZIGpCTjq2uvJ6Sz17O+vkz3vkPstVAlGs637VTcxjX2p QzoCufCCOy3bFljrIdbauls9T9f/ee9Nh/BH/8wOPMLZbowTHOT1miNsuykglHg0oZ/TFy LB+FGFBl4zH1v/W9/3gr8Au0YMqHQ1VjpvaBGW1Ym4w12fO0yff3/h9Yp1ve/uFBMveouB mvaaHtsBvChVuqIsTTxvZlO2xR5SP99vZzZ38vhqXb5PrYrQ2FOF0eq6lBVR8A== 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 4XvvVQ18TnzPDb for ; Fri, 22 Nov 2024 12:26:54 +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 4AMCQsRh092209 for ; Fri, 22 Nov 2024 12:26:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AMCQsmJ092208 for pf@FreeBSD.org; Fri, 22 Nov 2024 12:26:54 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 282877] pfctl: [Feature request] Allow pfctl to reset statistics for an individual IP address Date: Fri, 22 Nov 2024 12:26:53 +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-RELEASE X-Bugzilla-Keywords: feature X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New 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=3D282877 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D6463b6b59152fb1695bbe0de78f6e2675= c5a765a commit 6463b6b59152fb1695bbe0de78f6e2675c5a765a Author: Kristof Provost AuthorDate: 2024-11-21 20:33:41 +0000 Commit: Kristof Provost CommitDate: 2024-11-22 11:22:16 +0000 pfctl: clear statistic for specified addresses The ioctl DIOCRCLRASTATS provides the functionality of clearing stats not only for the whole table for for addresses stored in that table. The functionality was missing from pfctl, though. Add it now. PR: 282877 Obtained from: OpenBSD, kirill , e496dff3a7 MFC after: 3 weeks sbin/pfctl/pfctl.8 | 6 ++--- sbin/pfctl/pfctl.h | 1 + sbin/pfctl/pfctl_radix.c | 23 +++++++++++++++++ sbin/pfctl/pfctl_table.c | 17 +++++++++++-- tests/sys/netpfil/pf/table.sh | 57 +++++++++++++++++++++++++++++++++++++++= ++++ 5 files changed, 99 insertions(+), 5 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=