From nobody Fri Apr 19 11:26:38 2024 X-Original-To: doc@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 4VLXR275dxz5GsQR for ; Fri, 19 Apr 2024 11:26:38 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VLXR255Wpz3wpb for ; Fri, 19 Apr 2024 11:26:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713525998; a=rsa-sha256; cv=none; b=tHD7dKUzahfjOdxSHzVEdiM+Fx/OvZ5LGgdgfGzXaP0oMEF4Kp1G/7GE3pslYD2Nni8Q/G ied4mv57+TGtyxUJo5MQj2TDLEIxRw6PWAEgAWADKe+h6n0JkwKUeOEGC77isFHkUO2w8J 01GhjcPEx0Hwg2b95RlGjSUP30ObUsvOs6HIgWvJeBSeoycG7/agUJJ8NfBZOjRalsO25J VnpxzpqSIIu3/HFxe+StDp6lyErmp4M0hyifIFZJj3mwKLNvT3HZumsKl7YsIT34qTrkWf 5oUSkMNt05lEQLj7voTrpSSqdxpeAJQwApO+u+XJAEMvvO8kvH+7Hx++K5aNMQ== 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=1713525998; 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; bh=HehmRZkKlelR224jmvw2zSDi6myTZN6qYLy1jIzUZqk=; b=qe591d0oUC+qJi5Ae27WUIg1fVw3k8TpZA6+F1eDi6sekma5V0rFY8UDq8vUq/IddW14Ky hGvIZ/vd4HKwurytE2hdFz/LszU6Zr9GomRYi91NvAFg9OCYkHOtV7uKuRRlJNU7dmKrik Wgk2zcA6QVjA2j3DMb9MD81dTm3343oIfCcS7aJZjjP0FaWypoQ7frnw2HcSBP243K94UO skI6eq+1BbUFOocMYuHiEa2bd9riqTs5VMKkk4dmdMto46ejKlnQiYfQF7cbvEJeXXF5n4 7S9rWN8TLqxM+5Bs3KlYeS8SeM9NlRSj45hyzchE5UggtDvBHuL0TuY5qUlyLA== 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 4VLXR24gVnzrLs for ; Fri, 19 Apr 2024 11:26:38 +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 43JBQcbg066765 for ; Fri, 19 Apr 2024 11:26:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43JBQcjW066763 for doc@FreeBSD.org; Fri, 19 Apr 2024 11:26:38 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: doc@FreeBSD.org Subject: [Bug 278458] ng_bridge(4) states that uplinkX is valid, but fails if uplink0 is given Date: Fri, 19 Apr 2024 11:26:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: parakleta@darkreality.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: 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: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278458 Bug ID: 278458 Summary: ng_bridge(4) states that uplinkX is valid, but fails if uplink0 is given Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Manual Pages Assignee: bugs@FreeBSD.org Reporter: parakleta@darkreality.org CC: doc@FreeBSD.org Most examples show ng_bridge being connected to ng_ether with :lower being connected to :link0 (see /usr/share/examples/netgraph/virtual.lan among others). The ng_bridge man page suggests that it is desirable to connect the :lower = hook of ng_ether to an uplink hook of the form :uplinkX. Unfortunately, when combining these two instructions we get an illegal arrangement which responds with `ngctl: send msg: Invalid argument` and no further explanation. I had to read through the code changes in https://reviews.freebsd.org/D2396= 3 to see that the uplink form was disallowed when the link number is 0 (see `sys/netgraph/ng_bridge.c:360` in that commit). It is not clear to me from that change request why 0 was disallowed, and th= is seems contrary to the common guidance on how to connect ng_bridge to ng_eth= er, so either this restriction should be removed or the man page should be upda= ted to be explicit that this is disallowed (and perhaps provide an example scen= ario which could be copied). --=20 You are receiving this mail because: You are on the CC list for the bug.=