Fwd: OpenSSH on Ultrix?

Lutz Jaenicke Lutz.Jaenicke at aet.TU-Cottbus.DE
Sat Mar 3 00:54:58 EST 2001


On Sat, Mar 03, 2001 at 12:17:33AM +1100, Damien Miller wrote:
> On Fri, 2 Mar 2001, Lutz Jaenicke wrote:
> 
> > The change needed in entropy.c should not be that large, but the configure
> > options need to be decided. --with-egd-port=portnum, than setting some
> > EGD_PORT variable. Support could be built into the existing
> > get_random_bytes() for EGD_SOCKET with some #ifdef's for EGD_SOCKET or
> > EGD_PORT. What do you think?
> 
> I think this is exactly what I will do :) Can you give the below patch
> a try for both Unix domain and localhost sockets? It replaces the
> current --with-egd-pool configure option with --with-prngd-port and
> --with-prngd-socket options.

You were faster than me. I just thought about starting after lunch.

Unfortunately, your patch gives me a SIGBUS on HP-UX 10.20 at:
	SOCK_AF_INET(addr).sin_addr.s_addr = htonl(INADDR_LOOPBACK);

I'll see to unwrap the macro and try some debugging.

Best regards,
	Lutz
PS. There is a minor inconsistency in get get_random_bytes and seed_rng
(unsigned char <-> char).
-- 
Lutz Jaenicke                             Lutz.Jaenicke at aet.TU-Cottbus.DE
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153





More information about the openssh-unix-dev mailing list