From owner-freebsd-hackers Sat Dec 28 13:19:51 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5A2E37B401 for ; Sat, 28 Dec 2002 13:19:50 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id B18B943EC5 for ; Sat, 28 Dec 2002 13:19:49 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id gBSLJhIn006361; Sat, 28 Dec 2002 22:19:44 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: kientzle@acm.org Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Can dhclient rely on /dev/random? From: phk@FreeBSD.ORG In-Reply-To: Your message of "Sat, 28 Dec 2002 12:00:51 PST." <3E0E02F3.6030205@acm.org> Date: Sat, 28 Dec 2002 22:19:43 +0100 Message-ID: <6360.1041110383@critter.freebsd.dk> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <3E0E02F3.6030205@acm.org>, Tim Kientzle writes: >I just noticed that dhclient's randomness package >uses, among other things, a variety of system >commands (ps, netstat, etc) to harvest entropy. >Unfortunately, dhclient is used in many situations >where these commands are not available: sysinstall >floppy, diskless client, /rescue, etc. > >The obvious fix would alter dhclient to rely only >on /dev/random for entropy. (It seems this code is >common to bind as well.) > >Policy Question: is a fast, high-quality >/dev/random a gauranteed feature starting with 5.0? yes. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message