[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dual stack & IPv6 on by default
- To: "Steven M. Bellovin" <smb@research.att.com>
- Subject: Re: dual stack & IPv6 on by default
- From: itojun@iijlab.net
- Date: Wed, 12 Mar 2003 05:45:32 +0900
- Cc: Pekka Savola <pekkas@netcore.fi>,Alain Durand <Alain.Durand@Sun.COM>,"Bound, Jim" <Jim.Bound@hp.com>,Sebastien Roy <Sebastien.Roy@Sun.COM>,Mika Liljeberg <mika.liljeberg@welho.com>,Ronald van der Pol <Ronald.vanderPol@rvdp.org>, v6ops@ops.ietf.org,jim.Paugh@Sun.COM, ipng@sunroof.eng.sun.com
- In-reply-to: smb's message of Tue, 11 Mar 2003 10:23:45 EST. <20030311152345.C83AB7B6C@berkshire.research.att.com>
>There have been reports of problems with some Web browsers trying to
>use only the v6 address.
this is due to the way mozilla is written.
mozilla did:
hp = gethostbyname2(host, AF_INET6);
if (!hp)
hp = gethostbyname(host);
so mozilla tries to connect to IPv6/v4 dual stack destination, it
would try to connect to IPv6 only. it has to be fixed by using
getaddrinfo(3).
itojun