Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2024 14:42:35 +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-q8NTmSEbAp@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 #8 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D642ade0a3d8244c4c0cf82a335c4e940c=
b300a96

commit 642ade0a3d8244c4c0cf82a335c4e940cb300a96
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2024-11-21 20:33:41 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2024-12-14 10:03:25 +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

    (cherry picked from commit 6463b6b59152fb1695bbe0de78f6e2675c5a765a)

 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-q8NTmSEbAp>