[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#341042: ssh: Slow Connections Due to Bogus IPv6 name resolution



On Mon, Aug 27, 2007 at 12:41:16AM +0200, Juliusz Chroboczek wrote:
> I haven't checked myself, but this has most probably been fixed by 
> GNU libc 2.5.  (Getaddrinfo now sorts addresses according to RFC 3484.)

I'm not sure I see why sorting would make any difference. The complaint
is that the AAAA name resolution itself takes a long time, not that it
takes a long time to connect to the address returned by the resolver.

The any/local-ipv6-lookup patch in Debian's glibc is really the only way
to solve this, I think, but unfortunately that caused breakage
(#441857). Roger, do you have any thoughts as to how these two
apparently conflicting requirements (avoiding slow AAAA resolution for
people with non-global IPv6 addresses who really have no meaningful IPv6
connectivity vs. people who actually care about local IPv6 services)
might be reconciled?

Cheers,

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: