From nobody Tue Feb 10 09:38:08 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 4f9GhJ59Jxz6Rmb4 for ; Tue, 10 Feb 2026 09:38:08 +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 4f9GhJ3Tqgz3FDS for ; Tue, 10 Feb 2026 09:38:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770716288; 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=g83V8JEjNiX0LxvHhHWXV+AzSj/dEKwzEvHR0DPy8hY=; b=Ty3jarftaVq2rTsJ+jGSol2ks7f6weTgwSpXprxzzh5xYDJ6UB3xJYA53MtxksAnGctJrN /BF3PISMmvO1Oij0661ZoljptYY0p6UqAcvQUWBzIF7L1bFrXmKQg0gdR1lUlpQb6GbwGu dVZTkd5GxC7vIYJIsb3+fqe7R1X6w4eL6C918oPdRXZ+YPdH8zu0QRiDTTeJRAgRdTnJka gn4K7n5XeQgCq0sQ7CfAB+C8KF8kS3uPR3H6lfAKbXsgFllodLO9jw17LK2t5FtwzH6n7G M4TRAMtMrXWdn0TvoyRI1pVd2fGefxAYmi1IQB5m3RQYishw0ALh/Z3D3BS+1A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1770716288; a=rsa-sha256; cv=none; b=So4EsPd+M/KWHoObKzuaoRdIcy8RF8ewYfS/w/52dmKzOGigVLFc/4qHZdWKmPuwza0Lo3 6a/qRzLdWkZbSKwy3xo9mt1De61CtUzXx0Lz9b7xcayutID2uxf1BBpOt5dojw2t0GQ7Pe lT9E93KlKjCfKVON7NS4JkCPiEY1Cv41yTohzicV5xex609YfnLg5JWhit/NoLxghIVre/ SX7oZJ4HBuMsIOg0j7j16LrUERqUhOqdLr82NOIjJqj7KJdWsDql2I4YDLdGIzi9HwX/cV uHpmi8SsI/6SeJICSm+UOJzDOqME+hGUx5YzcX5TRggvzLjoIv/k1YOHbFHrJg== 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=1770716288; 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=g83V8JEjNiX0LxvHhHWXV+AzSj/dEKwzEvHR0DPy8hY=; b=gSUq/AtrfJ1/twEsqibcHRJfliHtTTs9o3q6yQHpnLcQpWiCZpmsVm7dl9nEEe6oyZgZIm M3XKU7F/fU46DPr5oWmudrpg+RSOIelCy0zVj+u8enmm83Gr4YPiTxDqR8Sv748eEXbq4T mOuztAh0pKnmRJq0V1CoVUvQcAIAROQYK6q24cx9vFNlJCvF62UA232cvcgstU/isdQmRE hn1BMpN7L9ivm9PB6hUnrSAPqNcswshQXkxxKiBe01z7mCT9vHFIpfXjoxxKXAy/Gejnjp Wk2O/Z46byVtXvH7NkIa4Xn7ujdXW6z839sQPuekC7gRq4Vrdv1FsAcqfPkbLg== 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 4f9GhJ31GTz1C3g for ; Tue, 10 Feb 2026 09:38:08 +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 61A9c8gt082830 for ; Tue, 10 Feb 2026 09:38:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 61A9c83i082829 for pf@FreeBSD.org; Tue, 10 Feb 2026 09:38:08 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 291763] pfctl: loginterface packet counts for pass/block swapped; byte counts all 0 Date: Tue, 10 Feb 2026 09:38:08 +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: 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-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 #6 from Kristof Provost --- (In reply to eborisch+FreeBSD from comment #5) 15 still has the bug where the pcounters array is too big, but that's been fixed in main. Other than a little wasted memory this does not matter. I also don't understand why you think pf_getstatus() demonstrates different, because it clearly treats the array as a 2 * 2 * 2 as well. Note also that pf_getstatus() implements the nvlist based method for retrie= ving these counters, which is not what pfctl uses in 15. It uses the netlink interface instead. It's also interesting to look at pfi_update_status(), where pcounters is populated, which also treats it as a 2 * 2 * 2 array. --=20 You are receiving this mail because: You are the assignee for the bug.=