Date: Wed, 04 Dec 2024 15:44:26 +0000 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 Message-ID: <bug-282984-16861-hgL6nMxsaG@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-282984-16861@https.bugs.freebsd.org/bugzilla/> References: <bug-282984-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=3D282984 Leonid Evdokimov <leon+freebsd@darkk.net.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #255466|0 |1 is obsolete| | --- Comment #8 from Leonid Evdokimov <leon+freebsd@darkk.net.ru> --- Created attachment 255628 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D255628&action= =3Dedit pfctl: add -T reset command Hello Kristof, I'm adding the updated patch with better commit message & tests. While I agree that `-T zero ${ip}` is the right idea, I believe that `-T expire` might deserve both `zero ${ip}` and `reset` to be available as soon= as timestamp is tracked in the kernel... unless there is a plan to obsolete `pfras_tzero` :-) Another option I can think of is to implement machine-readable TSV and/or j= son output for `-T show` to replace regexp-based parsing with `awk` or jq`. --=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-282984-16861-hgL6nMxsaG>