[Bug 1357] SOCKS proxy attempts fail to some servers due to DNS timeouts

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Sep 4 12:06:28 EST 2007


http://bugzilla.mindrot.org/show_bug.cgi?id=1357





--- Comment #4 from Damien Miller <djm at mindrot.org>  2007-09-04 12:06:24 ---
Your platform's resolver should "do the right thing" when
AddressFamily=any is in use, as this sets hints.ai_family to be
AF_UNSPEC which should be equivalent to not setting a hints (for the
common case at least). 

Perhaps your resolver is defaulting to IPv4-only lookups when no hints
is specified, but doing IPv6-then-IPv4 when hints.ai_family==AF_UNSPEC.
IMO this would be rather silly behaviour, but I have seen libc authors
do dumber things...

IIRC we need to fill out hints for either SRV RR or SCTP support, but
my memory is hazy.


-- 
Configure bugmail: http://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list