Date: Wed, 01 Mar 2017 14:18:56 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: imp@FreeBSD.org Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r314471 - head/sys/net Message-ID: <20170301.141856.1441900213581775162.hrs@allbsd.org> In-Reply-To: <201703010447.v214lM4c026957@repo.freebsd.org> References: <201703010447.v214lM4c026957@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Wed_Mar__1_14_18_56_2017_794)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Warner Losh <imp@FreeBSD.org> wrote in <201703010447.v214lM4c026957@repo.freebsd.org>: im> Author: imp im> Date: Wed Mar 1 04:47:22 2017 im> New Revision: 314471 im> URL: https://svnweb.freebsd.org/changeset/base/314471 im> im> Log: im> Fix VNET - DAD detected duplicate IPv6 address im> im> Assign a hopefully unique, locally administered etheraddr. - for im> epairNa & epairNb im> im> Submitted by: Catalin <sslevil@users.noreply.github.com> im> Pull Request: https://github.com/freebsd/freebsd/pull/92 This was discussed in D1858. epairNa and epairNb never have the same L2 addr because eaddr[5] is unique. If the goal of this change is to prevent a conflict of L2 addrs with epairNs created in another vnet jail on the same system or on the same network, eaddr[5] of epairNa (around l.839) must also be randomized at least. While I am still for a deterministic value because changing the L2 addr every time when rebooting a vnet jail is annoying, but if we use some random numbers for the vendor bits, I think eaddr[2] should be initialized in the same way. -- Hiroki ----Security_Multipart(Wed_Mar__1_14_18_56_2017_794)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAli2WcAACgkQTyzT2CeTzy3cgwCfSH1sjv8JnBtTChyd5tfzFPBL OhsAoIiIp6t4mPSTvL1ufxuj/wXVpRW/ =8aF5 -----END PGP SIGNATURE----- ----Security_Multipart(Wed_Mar__1_14_18_56_2017_794)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170301.141856.1441900213581775162.hrs>