From owner-freebsd-security@FreeBSD.ORG Fri Sep 19 05:28:54 2003 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E14A16A4B3 for ; Fri, 19 Sep 2003 05:28:54 -0700 (PDT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C8FA43FE1 for ; Fri, 19 Sep 2003 05:28:52 -0700 (PDT) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.9/8.12.9) with ESMTP id h8JCSpt1035755; Fri, 19 Sep 2003 13:28:51 +0100 (BST) (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)h8JCSoTe035754; Fri, 19 Sep 2003 13:28:50 +0100 (BST) (envelope-from mark@grondar.org) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])h8J82bfq006549; Fri, 19 Sep 2003 09:02:37 +0100 (BST) (envelope-from mark@grondar.org) Message-Id: <200309190802.h8J82bfq006549@grimreaper.grondar.org> To: "Devon H. O'Dell" From: Mark Murray In-Reply-To: Your message of "Fri, 19 Sep 2003 03:28:31 +0200." <3F6A5BBF.3020102@sitetronics.com> Date: Fri, 19 Sep 2003 09:02:37 +0100 Sender: mark@grondar.org X-Spam-Status: No, hits=-2.3 required=5.0 tests=EMAIL_ATTRIBUTION,FWD_MSG,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-security@freebsd.org Subject: Re: [Fwd: Re: FreeBSD Security Advisory FreeBSD-SA-03:12.openssh] X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2003 12:28:54 -0000 X-List-Received-Date: Fri, 19 Sep 2003 12:28:54 -0000 "Devon H. O'Dell" writes: > If I'm not mistaken, /dev/random is a pseudo-random generator, which > means it has a certain period before it begins to repeat numbers (along > with that it just isn't truly random). So, please correct me if I'm > wrong, but doesn't this mean that when reading from /dev/random, you're > 'losing' randomness/entropy/whatever you're calling it? You are very mistaken indeed :-). In FreeBSD-4-*, /dev/random is an "entropy distiller", albeit not a very good one as it is not very conservative. On that system, /dev/urandom is a very complex PRNG, with the added feature of being perturbed by actual entropy. In FreeBSD-5-* there is no separate /dev/urandom, and /dev/random is driven by Yarrow (http://www.counterpane.com/yarrow/). This is a PRNG+entropy-harvester, and it it _very_ conservative. As long as _some_ entropy is being harvested, it is unlikely that either generator wil produce a repeating sequence _ever_. M -- Mark Murray iumop ap!sdn w,I idlaH