From owner-freebsd-current Wed Oct 25 14:16:22 2000 Delivered-To: freebsd-current@freebsd.org Received: from volatile.chemicals.tacorp.com (ci391991-a.grnvle1.sc.home.com [24.9.31.75]) by hub.freebsd.org (Postfix) with ESMTP id 0913B37B479 for ; Wed, 25 Oct 2000 14:16:20 -0700 (PDT) Received: (from morganw@localhost) by volatile.chemicals.tacorp.com (8.11.1/8.11.1) id e9PLFwu03228; Wed, 25 Oct 2000 17:15:58 -0400 (EDT) (envelope-from morganw) Date: Wed, 25 Oct 2000 17:15:58 -0400 (EDT) From: Wesley Morgan To: Mark Murray Cc: =?koi8-r?B?4c7E0sXKIP7F0s7P1w==?= , current@FreeBSD.ORG Subject: Re: entropy reseeding is totally broken In-Reply-To: <200010251737.e9PHbWR08465@grimreaper.grondar.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm not knocking anyone or any code, especially considering this IS -current... BUT... I don't need to read the code to know that I am seeing the same fortunes on first login after reboot more often than I can attribute to random chance. Maybe nanotime is being harvested, but it seems that there is a time lag between system startup and reaching a state of "true pseudo-entropy". Also, every reboot has entropy caching failing to work. I don't know if this is a product of the broken reseeding or what, because the /etc/rc files seem to be fine. On Wed, 25 Oct 2000, Mark Murray wrote: > > 2) Reseeding state may not preserve across the boot due to various reasons > > like panic, etc. Since _time_ is ignored, all other data /etc/rc tries to > > collect now can be non-random _easily_! > > > > Unless _time_ will be used, /dev/random is plain unusable for production > > usage. > > Andrey, read the code; nanotime is all over the harvested entropy. > > M > -- > Mark Murray > Join the anti-SPAM movement: http://www.cauce.org > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > -- _ __ ___ ____ ___ ___ ___ Wesley N Morgan _ __ ___ | _ ) __| \ morganw@chemicals.tacorp.com _ __ | _ \._ \ |) | FreeBSD: The Power To Serve _ |___/___/___/ 6bone: 3ffe:1ce3:7::b4ff:fe53:c297 Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message