From nobody Wed Dec 4 15:44:26 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 4Y3MJp5QHhz5fm7h for ; Wed, 04 Dec 2024 15:44:26 +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 4Y3MJp2zTkz4Z6p for ; Wed, 4 Dec 2024 15:44:26 +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=1733327066; 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=gX29elNGpNL/Rb0ap51tymqNe21s4UT+DprJglQ+//w=; b=OQr5O9koOdLYlaawgBS9RUHRu7CupOGBhw9N0ooEB86hZkZ134zER+QWomVgxQcTqxzncL cTFMBCPThICi9beE07NHHnbyjlDRe+oeV9KvtUctgYdQuafZ3iyO+h/6Gem512UVVOZdRq LfMfu/gwzfv/VYhhKRvWckaZUFyWhtN1S8KMUiyxYACz4wxDHTFUqUv0ZS175hRmPUBiCG 2n2PHtSclrmaTgUypTy9Pv8hMZKfc06oA5FOtHxcf5cjXueCC8Qvd/ihuzUydXvWWvBChy cbbPq8BVlSC449hFlxwAEZOlDTFm6xfgQeW/mS4YG2JejomwcCjXOLTbYCCWTg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733327066; a=rsa-sha256; cv=none; b=SDGVYvbCCynIyLZbCxja2P6RZEu+5oWFf2R967tbJCRCM6z9h5w8TVBY/Cp5217mcC13w9 BDSUMztInLoBx0A7zY1+ezUZKrUFwL/rxlhJEsSJ4macxnsGbsiidRYocOTc5OBdzK1Zep vfSmQ7BoPBKuS2c9S9frIQZqt9Mr5o7c8+nFLY2dl/HULy/20+7OMfCtbPIn2hN1Ec6XvX yZdA4qQBB1NyzboQ7FMNtL+snXDAyBlsdob+3C1tuFcZT+WAgc+94ZxsMPkY7bg6uA56hL rXLF7OhTx1AurZ8i3zh/sLNEY8HZw9H9brFtJVZkLewxHw+chphmyJbOoes/zA== 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 4Y3MJp2bS7z1Cc7 for ; Wed, 4 Dec 2024 15:44:26 +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 4B4FiQVc065459 for ; Wed, 4 Dec 2024 15:44:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4B4FiQUs065457 for pf@FreeBSD.org; Wed, 4 Dec 2024 15:44:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Wed, 04 Dec 2024 15:44:26 +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-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: leon+freebsd@darkk.net.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created 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=3D282984 Leonid Evdokimov changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #255466|0 |1 is obsolete| | --- Comment #8 from Leonid Evdokimov --- 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.=