Irix: PRNG initialization failed

Pekka Savola pekkas at netcore.fi
Fri Sep 29 04:29:14 EST 2000


On Thu, 28 Sep 2000, Pekka Savola wrote:

> The PRNG initialization error happens right in the beginning of 'ssh -v',
> 'ssh-keygen' etc.  -- no other output is generated.
> 
> I guess I must debug entropy.c by hand next.

The problem was that by default, only 14 sources of entropy were being
used, the minimum value being 16.

The good sources like 'netstat', 'ifconfig', 'arp', etc. are
missing.  This is caused by Irix putting certain system utils in
/usr/etc which is not in default user's path.  Also, 'ls -alTi' doesn't
work w/ Irix (T not implemented).

I'm not sure if this is 100% best way to death with this, but it seemed to
help.  Patch attached. 

I also noticed that 'ssh -v' etc. don't show debug() messages in
entropy.c.  This makes me wonder if this is intentional as they're shown
in e.g. sshconnect.c.

-- 
Pekka Savola                 "Tell me of difficulties surmounted, 
Pekka.Savola at netcore.fi      not those you stumble over and fall"
-------------- next part --------------
--- configure.in.orig	Sun Sep 24 03:21:31 2000
+++ configure.in	Thu Sep 28 20:12:49 2000
@@ -92,6 +92,7 @@
 *-*-irix5*)
 	CFLAGS="$CFLAGS -I/usr/local/include"
 	LDFLAGS="$LDFLAGS"
+	PATH="$PATH:/usr/etc"
 	MANTYPE='$(CATMAN)'
 	no_libsocket=1
 	no_libnsl=1
@@ -100,6 +101,7 @@
 *-*-irix6*)
 	CFLAGS="$CFLAGS -I/usr/local/include"
 	LDFLAGS="$LDFLAGS"
+	PATH="$PATH:/usr/etc"
 	MANTYPE='$(CATMAN)'
 	AC_DEFINE(WITH_IRIX_ARRAY)
 	AC_DEFINE(WITH_IRIX_PROJECT)


More information about the openssh-unix-dev mailing list