sshd 3.9p1 under Reliant Unix 5.45: getpeername: Operation not supported on transport endpoint

Damien Miller djm at mindrot.org
Sat Aug 28 11:11:16 EST 2004


Robert Dahlem wrote:
> On Fri, 27 Aug 2004 20:44:28 +0200, Robert Dahlem wrote:
> 
> 
>>	sock_in = sock_out = fcntl(STDIN_FILENO, F_DUPFD);
> 
> 
> Oops. Should be
> 
> 	sock_in = sock_out = fcntl(STDIN_FILENO, F_DUPFD, 0);

It looks like your dup() is indeed broken. It should be too hard to have
a replacement function (or #define) to transparently cope with this.

What is your platform type, as reported after "Host: " at the end of a
configure run?

-d




More information about the openssh-unix-dev mailing list