lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AE90C24D6B3A694183C094C60CF0A2F6D8AF47@saturn3.aculab.com>
Date:	Mon, 16 Jan 2012 16:20:45 -0000
From:	"David Laight" <David.Laight@...LAB.COM>
To:	"Arjan van de Ven" <arjan@...ux.intel.com>,
	"Darren Hart" <dvhart@...ux.intel.com>
Cc:	"Alan Cox" <alan@...ux.intel.com>,
	"Tomoya MORINAGA" <tomoya.rohm@...il.com>,
	"Alan Cox" <alan@...rguk.ukuu.org.uk>,
	"David Miller" <davem@...emloft.net>,
	<linux-kernel@...r.kernel.org>, <jeffrey.t.kirsher@...el.com>,
	<paul.gortmaker@...driver.com>, <jdmason@...zu.us>,
	<netdev@...r.kernel.org>
Subject: RE: [PATCH] pch_gbe: Use a randomly generated MAC instead of failing probe

 
> the tricky thing with embedded hw like this is that all devices might
> end up with the same, read-only filesystem, so storing the 
> mac on the FS
> and then loading it from there into the HW is... suboptimal.
> 
> Would be very nice if busybox had a command that would check the mac
> from each IF, and created the random mac from userspace 
> automatically...

Since multiple interfaces on a single system are unlikely
to be connected to the same LAN segment, it doesn't really
matter if they use same MAC address.

For a long time sun solaris systems used the same MAC
address (based on the system id) on all their ethernet
interfaces.

But yes, you don't want a 'random' number generator that
might give the same value for cloned systems.
You also really want a 'manufacturer id' for 'random address'
so that they can't collide with anuything using real addresses.

	David


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ