diff options
author | brian <brian@FreeBSD.org> | 2000-03-24 15:39:37 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-03-24 15:39:37 +0000 |
commit | 64f92723d499eec5354b8b9e2fea7c6e3b060bf7 (patch) | |
tree | d23b709ff6a5b7d4c70a583e98118e2ce980d413 /crypto | |
parent | 192619ccb5d2c44cdba2c761f9f6eeee2b7d62b2 (diff) | |
download | FreeBSD-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.h | 4 |
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 /* |