From owner-freebsd-current Fri Oct 20 9:44:16 2000 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id D0E0137B4E5; Fri, 20 Oct 2000 09:44:12 -0700 (PDT) Received: (from ache@localhost) by nagual.pp.ru (8.11.1/8.11.1) id e9KGiBB25152; Fri, 20 Oct 2000 20:44:11 +0400 (MSD) (envelope-from ache) Date: Fri, 20 Oct 2000 20:44:11 +0400 From: =?koi8-r?B?4c7E0sXKIP7F0s7P1w==?= To: current@FreeBSD.ORG Cc: markm@FreeBSD.ORG Subject: Re: entropy reseeding is totally broken Message-ID: <20001020204411.A25125@nagual.pp.ru> References: <20001020084845.A19580@nagual.pp.ru> <20001020202753.A24895@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20001020202753.A24895@nagual.pp.ru>; from ache@nagual.pp.ru on Fri, Oct 20, 2000 at 08:27:53PM +0400 Organization: Biomechanoid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Oct 20, 2000 at 08:27:53PM +0400, Андрей Чернов wrote: > On Fri, Oct 20, 2000 at 08:48:46AM +0400, Андрей Чернов wrote: > > In very recent -current, my entropy file writted and readed sucessfully, > > but I got the same fortune quote again and again right after reboot! > > > > It means that anything writted to /dev/random not reseed it but _reset_ it > > to the same default state. > > It seems I find the problem area. 4096 bytes written in rc.shutdown are > not enough for reseeding. When I change them to 16384 bytes, it works! BTW, 16384 is _minimal_ value, all lower values _not_ cause reseeding. I don't know, why. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message