From nobody Wed Nov 20 07:37:28 2024 X-Original-To: bugs@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 4XtY9N5gPNz5dPW5 for ; Wed, 20 Nov 2024 07:37:28 +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 4XtY9N4YzWz4RbK for ; Wed, 20 Nov 2024 07:37:28 +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=1732088248; 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=21gcHHf/0GFk6y08yexhPIBkDWxRIxkZmpOgVU93d4M=; b=Hxmj9L8spYxF7xVSfpLvvP3DxJTPsHJxhal1986iKRC3NrKA0AJqv9qNazkk0rvZG9s24G nc+bQ8+ya5E+/gHoYJ6eEYKvUgpBOZq/D1oJ4r1VzZ3NT1mOEYZwlLMlnPzm+CCJIQpi3+ NnRy84zpej+tOQOBNcm0jqXFM6gqLjg9d+zQ3l1/9k90bCJkonJhQ9N7RmY80lZF5dyHcJ 14mYYVoXU8Ybgh5xbgwrsUs3YP2W8ZKEyo5b5Y5yulJGgR7Qt9zwMy+c5Qz6/RSyvYbJNr ihQeFVWOgPCiFYrPoY8IXEF2oLaKutR+zV9yIGnDsaF6ItEsoGO2BBR7ja3L6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732088248; a=rsa-sha256; cv=none; b=k6N6tB5MwHKMUS0Q+Apz5MrXnR48V8cuRNonNl5giptT5fZ+/sEPrXy/wMCjUm+CNA688Z 0OTyDWR8yVemlf84addKIiSHjrQhpAyQZRW5Fcw1PN9z08F3abdsVpKUYYGDm20Vo9oHmB avEeEJjngLiV4PGHV5apYfQA95tisT7wPFlr/r/TkvYMcWsLtrxIalsphYCaDJuGuvChQE GjOcqKR37uGpFXIqMS669A8c++NyyFHquso9Xpy4n06zxDikADdLIuM92rbStqlShzuTW8 EpstLutjzZnNze8DCf3TpJmtgAN4QEKr6CQ5Twpwgb8V7BlF0J7tMvhfaDJIMg== 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 4XtY9N43XjzlgW for ; Wed, 20 Nov 2024 07:37:28 +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 4AK7bSOx065649 for ; Wed, 20 Nov 2024 07:37:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AK7bS0R065648 for bugs@FreeBSD.org; Wed, 20 Nov 2024 07:37:28 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: bugs@FreeBSD.org Subject: [Bug 282673] ipfw tags are lost while transit via if_epair Date: Wed, 20 Nov 2024 07:37:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zlei@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282673 Zhenlei Huang changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zlei@FreeBSD.org --- Comment #6 from Zhenlei Huang --- (In reply to Mark Johnston from comment #4) > Would it make sense for epair to preserve tags if the endpoints belong to= the same VNET?=20 Technically possible, and looks reasonable. > That's a slightly odd configuration, but the reasoning for stripping tags= doesn't apply there. While I suggested bridge + epair + vlan configuration to intercept tagged frames ( as in the following digram) in a bug report [1] about bridge. It is clear and promising. tap0 --- --- epair0b.5 em0 --- bridge0 --- epair0a --- epair0b --- epair0b.10 igc0 --- --- epair0b.20 I'm not sure if that is commonly deployed but I think it is not an odd configration but rather a **workaround** / **solution** . I do not use IPFW but it seems the man doc > Tags are kept with the packet everywhere within the kernel, but are lost = when > the packet leaves the kernel is outdated. I think preserving tags within the same VNET is applicable. 1. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240106#c31 --=20 You are receiving this mail because: You are the assignee for the bug.=