From nobody Mon May 25 07:06:11 2026 X-Original-To: ipfw@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 4gP6Nz0nTHz6dmnr for ; Mon, 25 May 2026 07:06:11 +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" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gP6Ny6mjGz3bgb for ; Mon, 25 May 2026 07:06:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1779692771; 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=DgSnGgGEUvo+UxEn651AfujOd9Wz+IlwWO9raSTqLnc=; b=lgm0nxYMJ0JT9obL1W/X3bf7JYV3hIieFLRvbFhAvfQapMOELpNAI8KTqZvqruumks9ffT LQjQMp0w2cObI93T1OIpspqDyykBLMAvWiLpSkHoe/GmqLqMYB6f35MAejgqE6rTC/D+s0 ll4WFVzCMtxMEk1GdlEDM/FPGe+LzrOnAI1sXdRjkwY9O9zFi3x+rS1SbkLezJAUJA/+lB lFc5qMB+Sr+iC+O3o7AFkfHapScojhgcBd2UEzUtWpMfzgYLAI7tIQx4vvL9AVoLdtB/Qh Ye7KWx2ALuX3x5mu6qKUft50z6n7ysN/bSdpsqd0/KqxNyZN8NKSWymR+VyzCA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1779692771; a=rsa-sha256; cv=none; b=tmNzWdEvQG7hmWT6EvCYfqHA5M1RtaVhBBREOghYY1tELqoA+dStyF2rSdQtdnEKF+IPuH JtsoPY2gjGjKtjVAzz4EodL9eGkXNTgiTKuOLqtk2cd/myRfOwIsWMFzfa98PZVpX77rDc Api9acaPEG/Tw1Dx8Axy6eaaWr4L35MNICqp8DKt3Q99gfZUtZKfiQqizRcdvzpaH4ylQE rN74YPeQgfEzNMOnUBJfCl73ooFw4NexvRG0F2bqRNCCwuGX8aDjuskUZ1UjMhE+d0eAdV YXAP+1YDyYGpoq2DaN6b7J49OqqoAoIhrLrxzqUNq/bFq2CGwfDGsIJuJBXS0w== 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=1779692771; 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=DgSnGgGEUvo+UxEn651AfujOd9Wz+IlwWO9raSTqLnc=; b=a4xuc0R7pE5/7P66z7D2uKuPVGYr+tpyooPePA9UZks3rrXkH972aQggDa9Yeqp20UoVz8 /kCgh1BWQ1tmJ80+gvnNgMMeZHm9KJ7XQ2SOZgpfnn2tqvWIA/kXDa+Yr+5j9oC6gZvtkK gYkDX3roi7iaaVt/+gEsJ1McNhqitRqOBle2dJ/XEgPHoTsx6cgl1nygb94+hymra+kq/j JaAbMOZrt95ujQI3+VCgVJ40Se0BZLvqRitHXJGAQdkpdFVzUTbhE/Ql8RtO483lT0PJb5 dgVqmM/8TtVPY2xMtcHxrDC9WGruzrgNiw70V4fa5OPbyABWWD8uKRyLhlHdZA== 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 4gP6Ny6BcTzWbT for ; Mon, 25 May 2026 07:06:10 +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 64P76AZQ097991 for ; Mon, 25 May 2026 07:06:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 64P76AND097990 for ipfw@FreeBSD.org; Mon, 25 May 2026 07:06:10 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: ipfw@FreeBSD.org Subject: [Bug 294733] ipfw ::/0 expands to me6 Date: Mon, 25 May 2026 07:06:11 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-STABLE 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: ipfw@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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: IPFW Technical Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-ipfw List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ipfw@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D294733 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D9acea8aa36e98d636f8d183ac06ec5d2d= 25de0e1 commit 9acea8aa36e98d636f8d183ac06ec5d2d25de0e1 Author: Andrey V. Elsukov AuthorDate: 2026-05-17 10:12:20 +0000 Commit: Andrey V. Elsukov CommitDate: 2026-05-25 07:03:05 +0000 ipfw: treat ipv6 address with zero mask as 'any' Make the behaviour similar for both IPv4 and IPv6. Also add the corresponding tests. PR: 294733 Differential Revision: https://reviews.freebsd.org/D56618 (cherry picked from commit 2872268c7f6d473aae9b02ebb5d2c24fc2cff9b1) sbin/ipfw/ipfw2.c | 7 ++++--- sbin/ipfw/ipv6.c | 11 +++++++---- sbin/ipfw/tests/test_add_rule.py | 24 ++++++++++++++++++++++++ tests/atf_python/sys/netpfil/ipfw/insns.py | 2 ++ 4 files changed, 37 insertions(+), 7 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=