From nobody Thu Dec 15 20:48:22 2022 X-Original-To: net@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 4NY47q15xBz4d9k0 for ; Thu, 15 Dec 2022 20:48:23 +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 4NY47p6VDyz4Cy1 for ; Thu, 15 Dec 2022 20:48:22 +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=1671137302; 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=IvgQDwxBlugO7ETiv5RHo5nqkbVElX3RA+ZhNMU5jOk=; b=AUyxFgwkTJJP30pjKrYo8veVj06P0LTW/kXxQcvVgWMytkJwZgwfyivUqKOSt2/pzJRydv jiP0WWzSah6HluAlwKaDHjSEcaeR0WYEORI48sT9PgluYMNnuJLh7Cm5c60le21tKQEOgE 8meOiQl+Eo1IcgRKyJ1u0YZ/R2QRbvodu2yL4cB7oSLWcsItKnDkciR9lcLbTa3iwVeQ3M DkQTkrmfbWp9f517+uct6gMJAivJdpyWMI0xtXuoeMcaK4WrAC+Df7B9070xi3bkp5QitM Sr0xjGMH7qYaoqAJS0zu8CNYvIzm+GERVTlNiVLC2SwX/bRaRQXrzZ/E4KfYrg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671137302; a=rsa-sha256; cv=none; b=VGNJQY4OD9tcqETPgW4oC5Sv/yq/ZgWTMf4xg16w4JCXbOgATiBNm9bzNsk+V29vd26YgU Hk7hyarJyG3UwJRI0j8ESaxINiyDFc/eqRoRVEdhCDSS9/njquTlLU9XLb4XZuHVw3m1kq /PVrZj57FxoQoI3jD9P/kf40hL6eny6JICtgEVeCez7Ah4xxf2ookxulMkz415fq8gT6qz Nmzuf+w0DNU8QAFZdhNA8np3Rxg7cqL0mCfsZ6wZ6bH6KGPCIgaWTc1eY6fMTgIudriTyh 7wdM/zMwPyz8keLlAKqvl2S26BF/WZ7oMHttGlF70/4Gbt0R982BOnOv+TY7wQ== 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 4NY47p5SqrzmwM for ; Thu, 15 Dec 2022 20:48:22 +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 2BFKmMKg037172 for ; Thu, 15 Dec 2022 20:48:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BFKmMT0037171 for net@FreeBSD.org; Thu, 15 Dec 2022 20:48:22 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: net@FreeBSD.org Subject: [Bug 268305] ether_gen_addr() uses wrong OUI range Date: Thu, 15 Dec 2022 20:48:22 +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: 13.1-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: topical@gmx.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268305 --- Comment #4 from topical --- (In reply to Hans Petter Selasky from comment #1) The only documentation is in the header file. They just state ``` * Allocations from this range are expected to be made using COMMON * SENSE by developers. Do NOT take a large range just because * they're currently wide open. Take the smallest useful range for * your system. We have (2^24 - 2) available addresses (see Reserved * Values below) but that is far from infinite. * * In the event of a conflict arbitration of allocation in this file * is subject to core@ approval. ``` The changelog is quite sparse. The code was added by https://reviews.freebsd.org/D19587 back in 2019 and not really touched since then apart from fixing typos. Of course, it would be better to really document OUI usage. A simple command line program to generate an OUI would be great too, but all this is beyond = this bug report. --=20 You are receiving this mail because: You are the assignee for the bug.=