[prev in list] [next in list] [prev in thread] [next in thread]
List: xen-devel
Subject: Re: [Xen-devel] [patch 3/5] xen: xm/create mac selection
From: Jody Belka <lists-xen () pimb ! org>
Date: 2005-01-31 23:50:35
Message-ID: 20050131235035.GN2144 () faith ! gentoo ! org
[Download RAW message or body]
On Mon, Jan 31, 2005 at 11:36:16PM -0000, Ian Pratt wrote:
> Your patch certainly helps by rejecting duplicates, but I'd also like to
> see the algorithm used to generate the MACs changed too.
>
> We currently seed the random number generator with random.seed() which I
> suspect seeds it with the system time in seconds. At the very least, we
> should use something more fine grained to avoid other domains started in
> quick succession getting the same MACs.
>
> A better approach might be to seed it with a hash of the config file
> plus any parameters passed into it (e.g. vmid), plus the vif number.
>
> Would you mind knocking something up?
Sure, i'd be happy to. If nothing comes up i'll try and have something
posted sometime tomorrow.
J
--
Jody Belka
knew (at) pimb (dot) org
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xen-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic