From owner-freebsd-current Wed Oct 25 15:13:53 2000 Delivered-To: freebsd-current@freebsd.org Received: from grimreaper.grondar.za (adsl-63-206-96-212.dsl.snfc21.pacbell.net [63.206.96.212]) by hub.freebsd.org (Postfix) with ESMTP id 9FF9737B479 for ; Wed, 25 Oct 2000 15:13:49 -0700 (PDT) Received: from grondar.za (mark@localhost [127.0.0.1]) by grimreaper.grondar.za (8.11.1/8.11.1) with ESMTP id e9PMD5p09234; Wed, 25 Oct 2000 15:13:06 -0700 (PDT) (envelope-from mark@grondar.za) Message-Id: <200010252213.e9PMD5p09234@grimreaper.grondar.za> To: Wesley Morgan Cc: =?koi8-r?B?4c7E0sXKIP7F0s7P1w==?= , current@FreeBSD.ORG Subject: Re: entropy reseeding is totally broken References: In-Reply-To: ; from Wesley Morgan "Wed, 25 Oct 2000 17:15:58 EDT." Date: Wed, 25 Oct 2000 15:13:04 -0700 From: Mark Murray 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. I am not seeing this, and I am unable to reproduce it. i terefore need better info than "it is so" to do anything about it. Please get a complete log of the boot process (put a set -x in /etc/rc while you are about it) and get that over to me. M > On Wed, 25 Oct 2000, Mark Murray wrote: > > > > 2) Reseeding state may not preserve across the boot due to various reason s > > > 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! > > -- 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