summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-03-24 15:39:37 +0000
committerbrian <brian@FreeBSD.org>2000-03-24 15:39:37 +0000
commit64f92723d499eec5354b8b9e2fea7c6e3b060bf7 (patch)
treed23b709ff6a5b7d4c70a583e98118e2ce980d413 /crypto
parent192619ccb5d2c44cdba2c761f9f6eeee2b7d62b2 (diff)
downloadFreeBSD-src-64f92723d499eec5354b8b9e2fea7c6e3b060bf7.zip
FreeBSD-src-64f92723d499eec5354b8b9e2fea7c6e3b060bf7.tar.gz
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
Diffstat (limited to 'crypto')
-rw-r--r--crypto/openssh/includes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/openssh/includes.h b/crypto/openssh/includes.h
index a20318c..7ec6e5c 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 <stdin> uni-directional !
*/
-#define USE_PIPES 1
+/* #define USE_PIPES 1 */
#if defined(__FreeBSD__) && __FreeBSD__ <= 3
/*
OpenPOWER on IntegriCloud