Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2001 23:22:55 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Hajimu UMEMOTO <ume@mahoroba.org>
Cc:        brian@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@Awfulhak.org
Subject:   Re: cvs commit: src/lib/libutil realhostname.c 
Message-ID:  <200107212222.f6LMMtg79753@hak.lan.Awfulhak.org>
In-Reply-To: Message from Hajimu UMEMOTO <ume@mahoroba.org>  of "Sun, 22 Jul 2001 03:58:31 %2B0900." <20010722.035831.71138318.ume@mahoroba.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >>>>> On Fri, 20 Jul 2001 17:18:54 -0700 (PDT)
> >>>>> Brian Somers <brian@FreeBSD.org> said:
> 
> brian> brian       2001/07/20 17:18:54 PDT
> 
> brian>   Modified files:
> brian>     lib/libutil          realhostname.c 
> brian>   Log:
> brian>   Hint getaddrinfo() correctly if we're looking up a name that we got from
> brian>   an AF_INET6 address.
>   
> brian>   MFC after: 1 week
>   
> brian>   Revision  Changes    Path
> brian>   1.12      +10 -3     src/lib/libutil/realhostname.c
> 
> It seems break IPv4 mapped IPv6 address case.

Hi,

Do you mean ::ffff:a.b.c.d type addresses ?  I'm probably 
mis-understanding things.  Can you give me an example of how such a 
connection is supposed to work ?  I mean... if ::ffff:* addresses 
aren't supposed to understand IPv6, why are they a concern ?  I'm 
clearly missing something.

My change was done because the normal IPv6 scenario doesn't work at 
the moment (where I have gw.lan.Awfulhak.org resolving an A request 
to 172.16.0.1 and an AAAA request to fec0::1).  When I connect from 
fec0::1 it simply fails to resolve using AF_UNSPEC and dumps fec0::1 
in utmp :(

Thanks for any light you can put on the subject :I

> --
> Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
> ume@mahoroba.org  ume@bisd.hitachi.co.jp  ume@{,jp.}FreeBSD.org
> http://www.imasy.org/~ume/

-- 
Brian <brian@freebsd-services.com>                <brian@Awfulhak.org>
      http://www.freebsd-services.com/        <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour !      <brian@[uk.]OpenBSD.org>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107212222.f6LMMtg79753>