From nobody Thu Dec 5 09:53:11 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 4Y3qT510rGz5gFkp for ; Thu, 05 Dec 2024 09:53:13 +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 4Y3qT471bMz4fbh for ; Thu, 5 Dec 2024 09:53:12 +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=1733392393; 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=uowIvlcQ82X0CS1Non08V+NIWjqoWmpZTrudDniNh+o=; b=gGThx+rTPeI7NS4W+0PSDlzxvAxwIYUk/Fhc6l6JJ5RYI0feZ5OUfFYrZNB3MXjVPDU3WC 53kiHwi9fwvrF0j6NBJMjmmyydXhEmj2IUwoB92CzsNDG0P11ml5aqueGC40/5Q+2R4P2i ZdUlc1kwsz8UvDzxGtGlyHstwMbFIMAtRMaXiHc0OR9CHRtYecvsl8Z28tj6BXe8l2wGz0 jIFS6TkRQXwmFW8A/RIecmzWib3VWZgxUdiQySx5aISyexIrIImvESQLY5SBhj4Im16Nha zT6nfO2w1x62jprlBfKbqsFd12ysu9DdFXcczUQlkXl8/kTCi/xfUPK262htVg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733392393; a=rsa-sha256; cv=none; b=uHBNAgEmC2Z1+yMT09JbxxcscXkiZySj7Sxg9wPtRxd3adH1x2Ce+yhRDCyap0TWYnoHT5 12SyGEP8KFWEelAYcapXusxxpVQyswA/+0+IN5rA8GZyFANxJTPAZ/SOJ8Yr7HLJfn1A2I pkduRWcv52QhUez3lVMYqG9B/5+MJF3Pz4E6bPNXj/VxJkx59+oYKMBDnfBrxqVR1SRRHc S8hO6l5X04Ca/2G9gQgcPDye8KpVDkuazDZ35KCmutpfqKRiUaw9buFjVq9ssq7z+ZBIk8 hpv2AZKT5M1OfAmcvPSBLdRAKh2609tWdfX0DOTUzGEhbJrNwYj52kH97LQl/Q== 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 4Y3qT46dRfzmmX for ; Thu, 5 Dec 2024 09:53:12 +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 4B59rCCw035790 for ; Thu, 5 Dec 2024 09:53:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4B59rCec035789 for pf@FreeBSD.org; Thu, 5 Dec 2024 09:53:12 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: Thu, 05 Dec 2024 09:53:11 +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: kp@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 --- Comment #9 from Kristof Provost --- (In reply to Leonid Evdokimov from comment #8) > 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= `. I'd quite like to see libxo (https://wiki.freebsd.org/LibXo) support for th= at short of thing. I'm not sure if it's reasonable to add that to pfctl itself= or not. It may or may not be a better idea to have a standalone tool for table management grow that support. A number, but not all, of the pf ioctl calls (and now also netlink calls) h= ave been moved to libpfctl, making this work easier. I still intend to move all= of them into libpfctl in due course. --=20 You are receiving this mail because: You are the assignee for the bug.=