search for: egd_messag

Displaying 3 results from an estimated 3 matches for "egd_messag".

Did you mean: egd_message
1999 Nov 19
0
EGD socket problem ...
...cket This is under Solaris 7/x86, with HAVE_EGD defined...not good with sockets without my bible in front of me, so can't play with this until at least Sunday :( The problem appears to be, in here, with the error generated by the 'fatal:' result when connect() is tested: char egd_message[2] = { 0x02, 0x00 }; struct sockaddr_un addr; int addr_len; memset(&addr, '\0', sizeof(addr)); addr.sun_family = AF_UNIX; /* FIXME: compile time check? */ if (sizeof(RANDOM_POOL) > sizeof(addr.sun_path)) fatal("R...
2000 Apr 30
2
OpenSSH ssh-keygen on Solaris8 x86
...e the egd "make test" and with: #./egd.pl /etc/entropy get 22 sources found forking into background... server starting But when I go to "make host-key", it just sits there. Tracking it down, the place it stops is in random.c (line 99): c = atomicio(write, random_pool, egd_message, sizeof(egd_message)); if (c == -1) fatal("Couldn't write to EGD socket \"%s\": %s", RANDOM_POOL, st rerror(errno)); c = atomicio(read, random_pool, buf, len); <--------- HERE It's this last line it never completes (line 99) I noti...
2000 Jun 20
2
Critical EGD handling in 2.1.1p1
Hi, when running OpenSSH with EGD as entropy source, the sshd server connects to the EGD socket and leaves it open to re-seed on the fly. Unfortunately the connection is not checked when re-seeding, so that a failure or restart of EGD will lead to a "fatal()" abort of the sshd server process. Since a dying server process can not be accepted, I would recommend to not have sshd call it