From owner-freebsd-current Sun Jun 25 8:49:56 2000 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 0E9A937B66C for ; Sun, 25 Jun 2000 08:49:52 -0700 (PDT) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id RAA76017; Sun, 25 Jun 2000 17:48:03 +0200 (CEST) (envelope-from sos) From: Soren Schmidt Message-Id: <200006251548.RAA76017@freebsd.dk> Subject: Re: HEADS UP! New (incomplete) /dev/random device! In-Reply-To: <200006251035.MAA16350@grimreaper.grondar.za> from Mark Murray at "Jun 25, 2000 12:35:12 pm" To: mark@grondar.za (Mark Murray) Date: Sun, 25 Jun 2000 17:48:03 +0200 (CEST) Cc: freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems Mark Murray wrote: > Hola Mondo! > > The New /dev/random device is in but there are come caveats. > > 1) It is not yet cryptographically secure, so those of you using > CURRENT for "live" projects, please be careful! > > 2) If you do not have the randomdev module loaded, ssh will > fail in strange and creative ways (like RSA or DH not working > for strange reasons). > > 3) It is not built by default (except as a kernel module), so you > either need to add the "options RANDOMDEV" like to your kernel > config, or load it at boot time in /dev/loader.conf > > 4) Make sure that you update your /etc area (mergemaster is your > friend). The rndcontrol(8) utility is now OBE, and no longer of > relevance. > > You have been warned! Uhm, what about this: cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../dev/randomdev/randomdev.c ../../dev/randomdev/randomdev.c:45: crypto/blowfish/blowfish.h: No such file or directory ../../dev/randomdev/randomdev.c:47: yarrow.h: No such file or directory ../../dev/randomdev/randomdev.c:85: invalid use of undefined type `struct state' ../../dev/randomdev/randomdev.c:85: initializer element is not constant ../../dev/randomdev/randomdev.c:85: (near initialization for `sysctl___kern_random_yarrow_gengateinterval.oid_arg1') *** Error code 1 -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message