https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282984

Leonid Evdokimov <leon+free...@darkk.net.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #255466|0                           |1
        is obsolete|                            |

--- Comment #8 from Leonid Evdokimov <leon+free...@darkk.net.ru> ---
Created attachment 255628
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=255628&action=edit
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 json
output for `-T show` to replace regexp-based parsing with `awk` or jq`.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to