Displaying 5 results from an estimated 5 matches for "prngd_port".
2001 Jun 07
2
Patch to enable multiple possible sources of entropy
...9 ----
# define USE_PRNGD
#endif
#ifdef USE_PRNGD
/* Collect entropy from PRNGD/EGD */
int
! prngd_get_random_bytes(unsigned char *buf, int len)
{
int fd;
char msg[2];
***************
*** 100,110 ****
--- 98,110 ----
memset(&addr, '\0', sizeof(addr));
#ifdef PRNGD_PORT
+ debug2("Opening entropy socket on localhost port %d", PRNGD_PORT);
addr.sin_family = AF_INET;
addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
addr.sin_port = htons(PRNGD_PORT);
addr_len = sizeof(struct sockaddr_in);
#else /* use IP socket PRNGD_SOCKET instead */
+ debug2(...
2001 Oct 02
2
New feature: remote entropy gatherer port
...- acconfig.h Tue Oct 2 20:25:35 2001
***************
*** 95,100 ****
--- 95,103 ----
/* Location of PRNGD/EGD random number socket */
#undef PRNGD_SOCKET
+ /* Port number of PRNGD/EGD random number host */
+ #undef PRNGD_HOST
+
/* Port number of PRNGD/EGD random number socket */
#undef PRNGD_PORT
*** configure.in.orig Wed Sep 26 00:39:38 2001
--- configure.in Tue Oct 2 20:34:09 2001
***************
*** 1494,1505 ****
]
)
! # Check for PRNGD/EGD pool file
AC_ARG_WITH(prngd-port,
! [ --with-prngd-port=PORT read entropy from PRNGD/EGD localhost:PORT],
[
if test ! -z &qu...
2002 Jan 22
0
bugzilla down; patch for configure.ac --with-prngd-socket
...first test could use
case "$withval" in
/*) ;;
*) AC_MSG_ERROR(You must specify an absolute path to the entropy socket) ;;
esac
- Dave Dykstra
--- configure.ac.O Tue Jan 22 11:20:41 2002
+++ configure.ac Tue Jan 22 11:22:39 2002
@@ -915,10 +915,12 @@
if test ! -z "$PRNGD_PORT" ; then
AC_MSG_ERROR(You may not specify both a PRNGD/EGD port and socket)
fi
- if ! echo "$withval" | grep -q '^/' ; then
+ if echo "$withval" | grep '^/' >/dev/null; then
+ :
+ else
AC_MSG_ERROR(You must specify an absolute path...
2004 Dec 18
0
Make ssh-rand-helper fall back to commands when configured with prngd
...r to use it exclusively.
Next reboot: no prngd, no random seed, no sshd. Do not log in, do not
pass "Go", do not collect $200.
Can anyone see any reason why we shouldn't allow ssh-rand-helper to
fall back to commands if egd/prngd is not available? This is what
happens if both PRNGD_PORT and PRNGD_SOCKET are defined:
$ ./ssh-rand-helper -v
debug1: Seeded RNG with 1 bytes from system calls
debug1: trying egd/prngd port 3333
Couldn't connect to PRNGD port 3333: Connection refused
debug1: trying egd/prngd socket /var/run/egd-pool
Couldn't connect to PRNGD socket "/var/ru...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...*/
/* #undef HAVE_NEXT */
/* #undef USE_PAM */
/* #undef WITH_AIXAUTHENTICATE */
/* #undef AIX_LOGINFAILED_4ARG */
/* #undef SKEYCHALLENGE_4ARG */
/* #undef WITH_IRIX_ARRAY */
/* #undef WITH_IRIX_PROJECT */
/* #undef WITH_IRIX_AUDIT */
/* #undef WITH_IRIX_JOBS */
/* #undef PRNGD_SOCKET */
/* #undef PRNGD_PORT */
#define ENTROPY_TIMEOUT_MSEC 200
#define SSH_PRIVSEP_USER "sshd"
/* #undef MANTYPE */
#define HAVE_OPENSSL 1
/* #undef RSAREF */
#define HAVE_STRUCT_TIMEVAL 1
#define HAVE_HOST_IN_UTMP 1
#define HAVE_HOST_IN_UTMPX 1
#define HAVE_ADDR_IN_UTMP 1
#define HAVE_ADDR_IN_UTMPX 1
#define HAVE_...