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

Bug#457472: openssh-client: ssh resolves some hosts to 1.0.0.0



reassign 457472 glibc
thanks

On Mon, Dec 24, 2007 at 01:35:08AM +0100, Vincent Lefevre wrote:
> On 2007-12-22 17:57:46 +0100, Vincent Lefevre wrote:
> > It seems that Iceweasel has the same problem, as I get a timeout for
> > some web sites. But I'm not 100% sure as Iceweasel doesn't display
> > the IP address. And similarly, after using lynx (without any problem)
> > on the same web site, Iceweasel can open the URL.
> 
> After some search on Google, I've found:
>   https://bugs.launchpad.net/bugs/81057
>   https://bugs.launchpad.net/bugs/24828
> 
> If I understand correctly, the bug occurs only with software that
> does IPv6 DNS requests, which has the consequence that some buggy
> DSL routers return 1.0.0.0.

I can't tell for sure from your strace (in future, use -s 1024 so that
buffers passed to system calls aren't truncated to quite such a short
length), but your diagnosis sounds right, and it doesn't sound like
OpenSSH is the appropriate place for a deployed workaround. Reassigning
to glibc where the resolver is implemented.

However, in your particular case, setting 'AddressFamily inet' in
/etc/ssh/ssh_config should work around the problem just for ssh.

Cheers,

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: