From owner-freebsd-alpha Wed Jul 12 9:53:33 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id B74E237B5EB for ; Wed, 12 Jul 2000 09:53:24 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.9.3/8.9.3) with ESMTP id JAA05488; Wed, 12 Jul 2000 09:53:22 -0700 Date: Wed, 12 Jul 2000 09:51:19 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Matthew Zahorik Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: /dev/[u]random on Alphas? In-Reply-To: <000f01bfeb48$e1b4d300$1401eed8@mahatma> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 11 Jul 2000, Matthew Zahorik wrote: > /dev/urandom and /dev/random don't work on Alpha boxes under FreeBSD > 4.0-RELEASE > > alpha/alpha/mem.c doesn't have the case 3 and case 4 in mmrw() that the i386 > code does. > > Is this a known problem/limitation, and is there a workaround? > > Right now my SSL web servers are using fixed files as the random number > seed, rather than /dev/urandom. Not a great source of entropy. I just checked the -stable branch, and the alpha code now has /dev/random and /dev/urandom in mem.c (and in MAKEDEV). So, 4.1 will have this or you can update to this via the usual means. -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message