Return-path: Received: from Viola.Opus1.COM ([192.245.12.8]:2928 "EHLO Viola.Opus1.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754047Ab0CXC0c (ORCPT ); Tue, 23 Mar 2010 22:26:32 -0400 Received: from [10.1.1.4] ([204.17.38.236]) by Opus1.COM (PMDF V6.5-b2 #9830) with ESMTPSA id <01NL3JMRFLBW9H7BD5@Opus1.COM> for linux-wireless@vger.kernel.org; Tue, 23 Mar 2010 18:25:05 -0700 (MST) Date: Tue, 23 Mar 2010 18:25:02 -0700 From: Ehud Gavron Subject: Re: [PATCH V2] ssb: Implement virtual SPROM on disk In-reply-to: <201003222325.35994.mb@bu3sch.de> To: Michael Buesch Cc: Larry Finger , Calvin Walton , linux-wireless@vger.kernel.org, bcm43xx-dev@lists.berlios.de Message-id: <4BA969EE.8000809@wetwork.net> MIME-version: 1.0 Content-type: multipart/signed; boundary=------------ms010601090803080401030305; micalg=sha1; protocol="application/x-pkcs7-signature" References: <4ba6aa45.z5Wso1NMth9eMeFG%Larry.Finger@lwfinger.net> <1269239303.12836.17.camel@ayu> <4BA7E79C.9070100@lwfinger.net> <201003222325.35994.mb@bu3sch.de> Sender: linux-wireless-owner@vger.kernel.org List-ID: This is a cryptographically signed message in MIME format. --------------ms010601090803080401030305 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Michael Buesch wrote: > On Monday 22 March 2010 22:56:44 Larry Finger wrote: > >> Does anyone have any suggestions on what characteristic could be used to >> generate a unique MAC address for a box in a udev rule? >> > > /dev/urandom > > Yeah, there's the chance of clashes. In practice there won't be any clashes, > however. If you think there's a real risk, you should start playing > the lottery tomorrow. You'll immediately win a million dollars so you don't have > to worry about those questions anymore. ;) > > In fact, I think the risk for mac clashes is not really reduced by generating the mac > address from serial numbers, whatever, etc... > > DEC used the L3 address to encode a new MAC at the time the [L3] address was set (DECnet v4). The advantage was they didn't need to use the equivalent of ARP. Of course this is a violation of strict layer separation. Octet1-Octet3 - Broadcom assigned MAC IDs. I found the following: 00-05-B5 00-10-18 00-1B-E9 18-C0-86 Octet4-octet6 - Lowest three octets of the unixtime. Advantages: for the local area network all TZ settings should be the same, so the MAC addresses *will* be different. Beyond the first router that won't matter. Also for the same machine different interfaces are GUARANTEED to have different MAC addresses. For two machines to have the same MAC they would have to be booted at (same time x processing factor) such that the B43 initialization will result in the same MAC address. I'd like to think those odds are even lower than your lottery. A million dollars? http://www.active-domain.com/resources/million-dollar-domains.htm Yeah got the t-shirt. E --------------ms010601090803080401030305 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIQ6DCC BIowggNyoAMCAQICECf06hH0eobEbp27bqkXBwcwDQYJKoZIhvcNAQEFBQAwbzELMAkGA1UE BhMCU0UxFDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5h bCBUVFAgTmV0d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9vdDAeFw0w NTA2MDcwODA5MTBaFw0yMDA1MzAxMDQ4MzhaMIGuMQswCQYDVQQGEwJVUzELMAkGA1UECBMC VVQxFzAVBgNVBAcTDlNhbHQgTGFrZSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5l dHdvcmsxITAfBgNVBAsTGGh0dHA6Ly93d3cudXNlcnRydXN0LmNvbTE2MDQGA1UEAxMtVVRO LVVTRVJGaXJzdC1DbGllbnQgQXV0aGVudGljYXRpb24gYW5kIEVtYWlsMIIBIjANBgkqhkiG 9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsjmFpPJ9q0E7YkY3rs3BYHW8OWX5ShpHornMSMxqmNVN NRm5pELlzkniii8efNIxB8dOtINknS4p1aJ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