OpenSSH 3.0
Markus Friedl
markus at openbsd.org
Wed Nov 7 21:13:29 EST 2001
On Wed, Nov 07, 2001 at 07:01:30PM +0900, Shun-ichi GOTO wrote:
>
> >>>>> at Wed, 7 Nov 2001 10:28:12 +0100
> >>>>> markus == Markus Friedl <markus at openbsd.org> said,
> markus> On Wed, Nov 07, 2001 at 03:07:30PM +0900, Shun-ichi GOTO wrote:
> > + he = gethostbyname(p);
>
> markus> 1) this blocks.
>
> ouch!
> I have no plan for non-blocking way.
> I'll withdraw that patch.
currently ssh blocks if you use hostnames when forwarding.
i switched to non-blocking connects() but this does not
help if DNS involved.
> markus> 2) gethostbyname is obsolete
>
> In original source directory, I can get following result, so I use it.
> ## of corse, 2nd is by me.
yes, but kerberos does not seem to be ipv4 ready, and
logintest.c seems to be a test.
whenever possible we try to use getaddrinfo().
More information about the openssh-unix-dev
mailing list