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

Bug#192091: ssh: Ip Address assumptions (10.7 -> 10.0.0.7) changed



On Mon, Sep 29, 2003 at 09:07:13PM -0700, Mike Fedyk wrote:
> On Wed, May 07, 2003 at 09:35:25AM +0100, Colin Watson wrote:
> > ssh is getting this from getaddrinfo():
[...]
> > I don't know if 10.7 is supposed to be supported by getaddrinfo(), but
> > if it is then glibc needs to implement it.
> 
> Hi Colin,
> 
> I have been using testing for a while now, and the only package that is
> having trouble with the 10.6 notation is ssh.  I can use 10.6 with ping,
> xvncviewer, nc (netcat), and any other utiltiy I use regularly, all except
> for ssh.  There's got to be something that isn't using the glibc code in
> there.

There are several interfaces for network address lookup provided by
glibc. A lot of programs use gethostbyaddr() and similar instead of
getaddrinfo(), and the former interface is apparently quite happy with
addresses like "10.7". The latter is really what you want for sane IPv6
support, though.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: