From 727214e9b8da80fea35bb08623e777448652db9d Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Fri, 24 Mar 2000 15:39:37 +0000 Subject: [PATCH] Use pipe() instead of socketpair() in sshd when communicating with the client. This allows ppp/ssh style tunnels to function again. Ok'd by: markk Submitted by: markk@knigma.org --- crypto/openssh/includes.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crypto/openssh/includes.h b/crypto/openssh/includes.h index a20318c4976e..7ec6e5c5f4cd 100644 --- a/crypto/openssh/includes.h +++ b/crypto/openssh/includes.h @@ -63,8 +63,10 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } /* * Define this to use pipes instead of socketpairs for communicating with the * client program. Socketpairs do not seem to work on all systems. + * Although pipes are bi-directional in FreeBSD, using pipes here will + * make uni-directional ! */ -#define USE_PIPES 1 +/* #define USE_PIPES 1 */ #if defined(__FreeBSD__) && __FreeBSD__ <= 3 /*