Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2024 12:26:53 +0000
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
Message-ID:  <bug-282877-16861-ZTr891xXjF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-282877-16861@https.bugs.freebsd.org/bugzilla/>
References:  <bug-282877-16861@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <kp@FreeBSD.org>
AuthorDate: 2024-11-21 20:33:41 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
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 <kirill@openbsd.org>, 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282877-16861-ZTr891xXjF>