summaryrefslogtreecommitdiffstats
path: root/src/Makefile.housekeeping
diff options
context:
space:
mode:
authorMichael Brown2013-04-19 15:26:12 +0200
committerMichael Brown2013-04-19 15:34:03 +0200
commit445ac9fbdc1df64451821aa65b9aace765d1313e (patch)
tree0e2e1b552f7535a5d9b1c063319bb2da6acc2f92 /src/Makefile.housekeeping
parent[efi] Add sample platform-generated error disambiguations (diff)
downloadipxe-445ac9fbdc1df64451821aa65b9aace765d1313e.tar.gz
ipxe-445ac9fbdc1df64451821aa65b9aace765d1313e.tar.xz
ipxe-445ac9fbdc1df64451821aa65b9aace765d1313e.zip
[netdevice] Use link-layer address as part of RNG seed
iPXE currently seeds the random number generator using the system timer tick count. When large numbers of machines are booted simultaneously, multiple machines may end up choosing the same DHCP transaction ID (XID) value; this can cause problems. Fix by using the least significant (and hence most variable) bits of each network device's link-layer address to perturb the random number generator. This introduces some per-machine unique data into the random number generator's seed, and so reduces the chances of DHCP XID collisions. This does not affect the ANS X9.82-compatible random bit generator used by TLS and other cryptography code, which uses an entirely separate source of entropy. Originally-implemented-by: Bernhard Kohl <bernhard.kohl@nsn.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/Makefile.housekeeping')
0 files changed, 0 insertions, 0 deletions