From nobody Thu Feb 12 21:40:29 2026 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 4fBpcs1Zsgz6RhMP for ; Thu, 12 Feb 2026 21:40:29 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fBpcs0ldbz3qms for ; Thu, 12 Feb 2026 21:40:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770932429; 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=mFeffmwCGtPGby+80jezf4aBKvv1iGmT5blGNKPPRuM=; b=Yg/vFSZuXFP8LxrVV+MkqjEhPvPyuVBX1bL3bs5BOuU/d4xfTwDvDQB75GtU1W/VVInSps q8aBNWBgpJmBMGQRjOq/++S3ljObeSmHFNMGEK5nI/tRpk7RHXP80GNlqgsN0B8s9GDsbb Pyfur7zYv1ZR6Ogm2RZF8VWZVmk6vrnc7XpQR8K3Fx+DISt77xXTFjFZmhtQl5yCG32iM5 ddPN4MnzvHI8hIRmLHT7Vq+F0qlbC2k8xu4gxlpzIIJbkWIGMcwAvcePjnR5wvCJ6dHfRw +QzT4SHxigbhuRXkdZxZHr6XvO4sQoaiGxQvH4KVWGidWh9EVSJ6GsjWymMgUA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1770932429; a=rsa-sha256; cv=none; b=w+ZhWgPqutqXfvjoDEgGF2agrc/dsjnbZCtAhnVIIdR1aXdGPBz4O33QIyHTvZwvavNGHF yZRvLOdyXKvHfpB+/Bk/aV/tR3fXXZLBLNkXAWubBG7pPz3afGcD8FTJ9XezCXWLOUio9v xKiiQMUHsWdyDqlADp7O5Kx8/CHL1zPGEYxefCEhJm+TAHtJR2Qt090Fb1tInrxNcfcCOA wKZV5FGCJmAJJ3oClrHq8IqRZxL96FaGq1lLzTbe0ElZKUGPollcl3giCdSe4qHXghFeul XXA5pYX+8U79NcGM+51tVEtE0uHk/L1NEfiYk9SamCcAxw+RxMiF3me1dm9qog== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770932429; 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=mFeffmwCGtPGby+80jezf4aBKvv1iGmT5blGNKPPRuM=; b=NTuCvphckhdY8WQdqZsYbNJDceIwdR5BsFlaFF3uODoTVQwer/CaNErBVvJTMVU28mpvbf MjhXOW/h5Ap2mZ3bKJOqn6BNaSkkbK3NAyNVId/iBA4ae1etH0sssWsL9kA/RNXcX4iUeH 6/pjvFt206V+U3lySi/nzezbHAvOHlUw1i6+or0XCOdXWEh0vi2ZMJEzL4kvRdOhiMNwrJ iGJsIfaSBE73i2Aj0R4Yt+JD5vutTXMjEZjU/2uEE4AxWoTLZZ+a/6TFJsJMcurpqUNFLq rOYi36M4a+zBN5u+orZ35GGy0VGNrEj8ZyOdA1JFDvmdDVVvAZxieHywEnuI7Q== 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 4fBpcs0M69zt50 for ; Thu, 12 Feb 2026 21:40:29 +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 61CLeSei045022 for ; Thu, 12 Feb 2026 21:40:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 61CLeSdH045021 for pf@FreeBSD.org; Thu, 12 Feb 2026 21:40:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pf@FreeBSD.org Subject: [Bug 291763] pfctl: loginterface packet counts for pass/block swapped; byte counts all 0 Date: Thu, 12 Feb 2026 21:40:29 +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: 15.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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=3D291763 --- Comment #12 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D363b57d579bafa8a52cfb5a1dcb98af82= 1b1ecb6 commit 363b57d579bafa8a52cfb5a1dcb98af821b1ecb6 Author: Eric A. Borisch AuthorDate: 2026-02-12 00:26:26 +0000 Commit: Kristof Provost CommitDate: 2026-02-12 16:05:16 +0000 libpfctl: Sort order of snl attribute parser snl atttribute parsers must be sorted by type, so PF_GS_BCOUNTERS (16) must follow PF_GF_PCOUNTERS (15). Fix ordering and add a call to SNL_VERIFY_PARSERS. Without this fix, byte counters reported by 'pfctl -s info' with a loginterface are always zero. PR: 291763 MFC after: 1 week Reviewed by: kp Signed-off-by: eborisch@gmail.com lib/libpfctl/libpfctl.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=