From nobody Wed Apr 09 10:17:14 2025 X-Original-To: freebsd-current@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 4ZXf595ndYz5srnk; Wed, 09 Apr 2025 10:17:17 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZXf593phDz45Sy; Wed, 09 Apr 2025 10:17:17 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744193837; 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:autocrypt:autocrypt; bh=F0y52mw6PvNIVwhytfp5RRDdyqKgbY14pQ2zSV8ob0c=; b=skj72Pltyihp7edIxK4wpuzTw4Pbw77t7xAgUkMecswmj4mb1mYvZs2AToH+FkT7LsyK3V rRxthSWTq2P3OFuZROZthO6XN0cyFqWiAoEvK7C8Kclf5/bfrC4Dnan4z/ejApExBukMnK Eigt9jm144LhcvGOHvuTve77oP5wd/DIeWzvM52Y6IV8p38Fk1DKBkGmVPDzqjPbF6o1UO d6h3kwuzLAfIYmy5uOPY35VunCCT3tjy1cx9Ep8pYhVNrAkoXIhM5HMfYjkvGcZQvcH4rS gnuFl7E8O7PhgkEtntU7QzNOH4rMTmDtZ/iUnK0eCNP2zsWhK7ltLLimLe3WpA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1744193837; a=rsa-sha256; cv=none; b=aCvUfdER8wBFlxc2x7stasQua9kq4/nGpAl2GhkENI0c+y8FdfORVjaAKDq3Izo5vCfOcG HUdpoajViNd3A0dIV+9al1SJzliAM5NuqY8Jdzj5dpuzoPlOHtTpniGlh8PPhCh9QqlL1a VJlIPE7St1TMVMX3u9Tu3blTVdi09jDFl+GFAmCGHfoxFsjPv0mekQg83koxSx22o/vK0Y vksUyuRZhpZ5MHD01JdE0ft7rOfFkxb05w4s8seQAlWBCylqTLmXmSjWkAhEH4RRBJz9Cb dHySacc1W/zI85L1fgOQx3Pu2F2+fbGe//kB1PnfbZJSmPPnju7+33gKyj2WcQ== 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=1744193837; 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:autocrypt:autocrypt; bh=F0y52mw6PvNIVwhytfp5RRDdyqKgbY14pQ2zSV8ob0c=; b=tMo3GXufJ3K6/mt8bjlgIMqbYegwFc/ODgHAODXAKpI5v06cudkPeyeX+EAcB5kIaIAlas 8TtpcHXk9WHp5XLZZNnVLkTejtw7kCiT9+ffOZJ73IxJlbMOElN0j8obsvFeudMFF8HM7r 90uR0oGKetfLGL2kMXFaH98wafMz5SD4dJEhsJ4/mO1wg/ULJzxl+W+u8r67q9GoO8GG8d atpRLfggeyeMZe57q3JBJ2vONLnkIqJQN+RpvSfI8SIB8DotQzCoUJwk0XSyrIeL2mn4kK wI7ZmAZsRTVlwWUu31fiD5qfhO2omoAGmjDQhstRv6JuH6U1oAejgO/uLWAoTA== Received: from [IPV6:2a01:e11:2002:4280::13:1] (unknown [IPv6:2a01:e11:2002:4280::13:1]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: madpilot/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4ZXf5906xtz8KY; Wed, 09 Apr 2025 10:17:16 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Message-ID: <1b9603d8-7128-4809-9926-048426db122e@FreeBSD.org> Date: Wed, 9 Apr 2025 12:17:14 +0200 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: RFC: Implementation of RFC 7217 [A Method for Generating Semantically Opaque Interface Identifiers, with IPv6 Stateless Address Autoconfiguration (SLAAC)] To: Marek Zarychta , FreeBSD Current , net@FreeBSD.org References: <45b17684-75ef-4953-b59a-3c3b483ba21b@FreeBSD.org> <61dfdcac-4893-4c4b-b7e2-48164f1f0c80@plan-b.pwste.edu.pl> Content-Language: en-US, it, en-GB From: Guido Falsi Autocrypt: addr=madpilot@FreeBSD.org; keydata= xsBNBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX fptkmEo3Rsw816WUrek8dxoUAYdHd+EcpBcnnDzfDH5LW/TZ4gbrFezrHPdRp7wdxi23GN80 qPwHEwXuF0X4Wy5V0OO8B6VT/nA0ADYnBDhXS52HGIJ/GCUjgqJn+phDTdCFLvrSFdmgx4Wl c0W5Z1p5cmDF9l8L/hc959AeyNf7I9dXnjekGM9gVv7UDUYzCifR3U8T0fnfdMmS8NeI9NC+ wuREpRO4lKOkTnj9TtQJRiptlhcHQiAlG1cFqs7EQo57Tqq6cxD1FycZJLuC32bGbgalABEB AAHNIkd1aWRvIEZhbHNpIDxtYWRwaWxvdEBGcmVlQlNELm9yZz7CwHgEEwECACIFAk+G+3MC GwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAA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GAEIAAkFAlMQe0ECGwwACgkQGuaGDlbL0pMN5wgA4bCk X/qwEVC06ToeR6C2putmSWQMgpDaqrv65Hubo+QGmg2P4ewTYQQ4g6oYWS03qHxqVVWhKz7F jfrV+dH8qbCLfSgIcvdBha7ayGZVrsiuMLKGbw36fcmkZPpSDOfHcP0XH8Z+u9CWj0xUkTxA lZ/7i6gYSUpG2JWNtdmE/X8VVEyXusCLwy0K0BI60A/4dRTIX3C4QKrJ3ZbUXegz70ynjHf+ lQMZ9IZKASoRMuS5FozPQh6abvmwZEPdf5I9riUElzvHrqJ8Bx0t3Pujdoth+yNHpnBxrtO8 LkQdrQ58P0SwcaIX33T2U9pG8bhu5YVR88FQ8OQ0cEsPBpDncg== In-Reply-To: <61dfdcac-4893-4c4b-b7e2-48164f1f0c80@plan-b.pwste.edu.pl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 4/6/25 23:38, Marek Zarychta wrote: > W dniu 6.04.2025 o 16:49, Guido Falsi pisze: >> Hi! >> >> I have recently implemented and tested the patch at [1], which >> implements RFC 7217, about generating IPv6 addresses that are constant >> through reboots, but do not expose the MAC address of the machine, not >> being in any way derived by those. >> >> I'd like to get comments, testing and review for this patch, with the >> objective of getting approval to commit it to head once it is >> streamlined enough. >> >> BTW I'd like to thank cognet for his suggestions and help with the >> patch, in particular his help in finding the correct way to implement >> the dad_failures counter. >> >> >> And thanks in advance to anyone willing to give feedback! >> >> >> [1] https://reviews.freebsd.org/D49681 >> > This is great news for the community ! > > I've already started testing it on both a desktop and a laptop - which > is probably even more valuable, especially since the laptop will be > connecting to various networks. If I encounter any issues, I will post > comments in the review. I posted an updated patch, addressing feedback and containing some more improvements. If testing this new patch, the flag needs to be activated per interface with ifconfig(8) now, or via tunable in loader.conf. Should generate the same addresses it was generating before, with the only exception of the (relatively improbable) case that the previous patch was generating a reserved IPv6 address, which is now checked for and another one generated in such a case. -- Guido Falsi