From nobody Tue Feb 10 20:40:03 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 4f9YN26L10z6S0vX for ; Tue, 10 Feb 2026 20:40:02 +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 4f9YN25cr9z3FkV for ; Tue, 10 Feb 2026 20:40:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770756002; 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=Gtn09inmmqEcym0742UuV28isOvWyqp90maGNcujmpI=; b=k0/InBI3G0mgP7/1VAu6HKpXOaUI5SAqUMkEuayWIJl7q1+GAX9Z+wgkx77PgY7xLvNZin SvOjWmkPrnf+xlxXoJtkvePNdUuLmv9G8NXBqJ05t04wj9oCi2oaBZ/8zNdHuCJfQwxlsV HblHiRUmWYHfVzK39LQkVGONxRvinM/oXMzlwFr01c6DkTiI+UpYQQV6imwZo0eSNU5Ige 9OX71G6V2YKgueQw+/Vzw6+0OxRqZvlx0fLSLVolxsspwVup/yGT+/xXOcbUPHQ4rR/16i a3gDJSVAecUulUiZhZ+G/KYf4EQzuXZWGNHWl6G7lzCbKoHBvnctD86FOvIzuQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1770756002; a=rsa-sha256; cv=none; b=RrQTrqftZf1fR6uLMtlSGbAJRzxRod3U8NXqQAslQUCUHt+Efyb+dNbCnTVbXU6teM34M3 kqGNvgU5ExYGWosJGTJUDNBmqK9Cznahl4dgjHSntyB+hQFU2xNLqw9pQK61QmXsg/RkN1 86RfVMvpcfHf4etjFQ2eaLQ2IRra18dYOz8Ggf41NSYYRUq1s5WqK4DviG0OhJMd/SU4aE iQICZlnNuty2ReaDuL5b/LjBpkSfN9Vv52hyuKgDR6yF8uLj7eP91wX1MAcwdT9RpN0Uek v7/AHkScI3+6tGfzbvUC3bLHkOb3MP/uZpF11oioeSuktNrAFT7ggiKe7xSgzQ== 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=1770756002; 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=Gtn09inmmqEcym0742UuV28isOvWyqp90maGNcujmpI=; b=wxDttC9eT3Gap75gcMB7UzTDZSVqboAvJFmLLnIv5Wq7hpVrMhWy48ea681IuVCOUGJ478 w0bgIA+k0QAQKEG49oWVB8m8i8FSjxzxUws78L9eoL9Know+0RJvM6pj48ypQGiJ6qOJNj z9m/tOJz3jLKSdMsZOrdUMMtRhJtnBCE21fQivzubydCiGlwGdyzL3ys2UZqooMlLlzvmj /8aGG/e5PYrz9COOwm+L9evc4KgQU0R+rFhRceqYepRoZPB+UjeMYexef1/ggYJZWYOjbP Nqz9oGuUuMbwWSlFSXgVhjLWhRVy5iqn40NszNGA2XUZH+gwiIw+n4xXtIPbhg== 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 4f9YN259r9z3qS for ; Tue, 10 Feb 2026 20:40:02 +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 61AKe2hV049602 for ; Tue, 10 Feb 2026 20:40:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 61AKe225049601 for pf@FreeBSD.org; Tue, 10 Feb 2026 20:40:02 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 20:40:03 +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: eborisch+FreeBSD@gmail.com 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 #8 from eborisch+FreeBSD@gmail.com --- Hrm. Even with my suggested array-size-munging loops (to match pfi_update_status()), the bytes in/bytes remain stuck at zero. The Packets Out Passed/Blocked are correct, at least: # pfctl -s info Status: Enabled for 0 days 00:06:13 Debug: Urgent Interface Stats for vtnet0 IPv4 IPv6 Bytes In 0 0 Bytes Out 0 0 Packets In Passed 19899 0 Blocked 0 0 Packets Out Passed 10480 0 Blocked 1 0 I've verified the bytes counts are set (non-zero) in pf_status.bcounters wh= en pfi_update_status() is called, but they aren't making it through -- zeros in pfctl_status.bcounters immediately before return in pfctl_get_status_h(). --=20 You are receiving this mail because: You are the assignee for the bug.=