From owner-freebsd-current@FreeBSD.ORG Sun Sep 18 13:45:06 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6E0F106564A for ; Sun, 18 Sep 2011 13:45:06 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de [80.67.31.94]) by mx1.freebsd.org (Postfix) with ESMTP id 5FD728FC1B for ; Sun, 18 Sep 2011 13:45:06 +0000 (UTC) Received: from [87.79.159.218] (helo=fabiankeil.de) by smtprelay05.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1R5Hg8-0007zK-S4; Sun, 18 Sep 2011 15:45:04 +0200 Date: Sun, 18 Sep 2011 15:44:55 +0200 From: Fabian Keil To: Andrew Thompson Message-ID: <20110918154455.208425e4@fabiankeil.de> In-Reply-To: <201109042206.p84M6W8e008867@svn.freebsd.org> References: <201109042206.p84M6W8e008867@svn.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/O.ZD.f_jZsQCx0nytWElGuO"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Cc: freebsd-current@freebsd.org Subject: Re: svn commit: r225380 - head/sys/net X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2011 13:45:06 -0000 --Sig_/O.ZD.f_jZsQCx0nytWElGuO Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Andrew Thompson wrote: > Author: thompsa > Date: Sun Sep 4 22:06:32 2011 > New Revision: 225380 > URL: http://svn.freebsd.org/changeset/base/225380 >=20 > Log: > On the first loop for generating a bridge MAC address use the local > hostid, this gives a good chance of keeping the same address over > reboots. This is intended to help IPV6 and similar which generate > their addresses from the mac. > =20 > PR: kern/160300 > Submitted by: mdodd > Approved by: re (kib) >=20 > Modified: > head/sys/net/if_bridge.c Are there other places where the system advertises the hostid on the network? I always assumed it to be a somewhat private identifier, so I'm a bit surprised by this commit. BTW, the man page still claims that the MAC address is chosen randomly. Fabian --Sig_/O.ZD.f_jZsQCx0nytWElGuO Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk519egACgkQBYqIVf93VJ2EkgCgvfaMkQDVaWm25hj4+QpLw0Bl YtgAoLZ37iyv/gNLzn3GD2rTIuA925Fs =Ynlu -----END PGP SIGNATURE----- --Sig_/O.ZD.f_jZsQCx0nytWElGuO--