Alex, Teco,
On Wed, Oct 28, 2009 at 11:54 AM, Alexandru Petrescu
<
alexandru.petrescu at gmail.com> wrote:
Teco Boot a écrit :
[..]
The answer is: it depends. ;-) If you have a good random number generator
(i.e. using an unambiguous seed), then the collision probability is
extremely low. (I let you calculate it using the birthday theorem).
Are birthdays random ??
Probably not... I can imagine that there are some peeks 9 months after
extremely cold and rainy days ;-) I will not dig deeper into this issue :-)
However, if you have small embedded devices, without persistent memory, good
random number generator, etc., you can have collisions
with a much higher probability.
Why? It is easy to build a pretty good PRN generator with radio HW.
I would say it is much, much, much, much easier than uniqueness
guarantee with try and error duplicate detection.
I agree. Moreover, there is an RFC talking how to select good entropy
sources such that the PRN generator is good.
Do you mean RFC 4086? Yes, as you say, but all depends on selecting a good
entropy source. The RFC says:
"Is there any hope for true, strong, portable randomness in the future?
There might be. All that's needed is a physical source of unpredictable
numbers."
It also says that if no good hardware entropy sources are available, "there
are other possibilities. These include system clocks, system or input/output
buffers, user/system/hardware/network serial numbers or addresses and
timing, and user input. Unfortunately, each of these sources can produce
very limited or predictable values under some circumstances."
So it really depends on the kind of hardware we are talking about. I could
imagine very small sensors without persistent state or other hardware source
such as mentioned in the RFC. Using such a device could lead to collisions
when calculating random numbers.
(small embedded devices, such as sensors, can constitute good sources of
randomness when sampling the temperature, for example - that RFC says).
yes. But can we guarantee that each MANET router has a good entropy source?
Please point me to some reference saying that each device that can be used
in a MANET must have a good entropy source.
Ulrich
Alex
Not even
mentioning total network meltdowns after a first MANET merge.
And I don't have those devices, I want to stay far, far from them.
And I don't want to run protocols for it in my MANETs.
Please provide refs to equipment that you have in mind. First,
I'll check why good PRN can't be supported. If not, I can stay far away from
these (also having security in mind).
Still waiting on answers on DHCP DUID, key generation etc.
Regards, Teco
_______________________________________________
Autoconf mailing list
Autoconf at ietf.org
https://www.ietf.org/mailman/listinfo/autoconf