Re: Proposed fix; stage 1 (Was: svn commit: r239569 - head/etc/r

看板FB_security作者時間13年前 (2012/09/17 05:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/10 (看更多)
On 09/16/2012 09:21, Mark Murray wrote: > Part 1 of the fix is enclosed; it involves drastically shortening the > input into /dev/random (the "kickstart") at boot time. There are time > implications that I'd like to hear any objections to. I remain convinced that chunking the input so that we don't overflow the buffer is a better solution than truncating it (whether that is by the use of a hash, or other means). I also think that Ian has made several good points about the need to avoid hashing for low-end systems, and I have made the suggestion to split the initrandom commands into "safe for all" and "only for higher end systems" components in part to address Ian's concerns that some of the commands we have are real drags on low-end systems. There are several ways that we can do the chunking, one cheap way would be to run the commands in a loop with a 'sleep .1' after each to give the buffer time to drain. Finally, I still think that making changes to the entropy-feeding methods in initrandom or random are premature until we have a chance to review Arthur's work on what's actually happening with the buffer. Until we know where the problems are, we're only guessing as to what the fixes should be. Doug -- I am only one, but I am one. I cannot do everything, but I can do something. And I will not let what I cannot do interfere with what I can do. -- Edward Everett Hale, (1822 - 1909) _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
文章代碼(AID): #1GLaLIoo (FB_security)
討論串 (同標題文章)
完整討論串 (本文為第 1 之 10 篇):
文章代碼(AID): #1GLaLIoo (FB_security)