From owner-freebsd-net@FreeBSD.ORG Tue Apr 7 02:48:42 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9C421065840 for ; Tue, 7 Apr 2009 02:48:42 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from asuka.mahoroba.org (unknown [IPv6:2001:2f0:104:8010::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7243E8FC13 for ; Tue, 7 Apr 2009 02:48:42 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (IDENT:MAcVWWSsCq+jNgyMzEhX/rHMZDkharVcRZn2EgHiFH+a/sPBlMoixdzpkserym1b@ameno.mahoroba.org [IPv6:2001:2f0:104:8010:20a:79ff:fe69:ee6b]) (user=ume mech=CRAM-MD5 bits=0) by asuka.mahoroba.org (8.14.3/8.14.3) with ESMTP/inet6 id n372mQIn044920 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 7 Apr 2009 11:48:26 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Tue, 07 Apr 2009 11:48:26 +0900 Message-ID: From: Hajimu UMEMOTO To: wahjava.ml@gmail.com (Ashish SHUKLA) In-Reply-To: <87y6ud5p62.fsf@chateau.d.lf> References: <87y6ud5p62.fsf@chateau.d.lf> User-Agent: xcite1.58> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/22.3 (i386-portbld-freebsd7.1) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 7.1-RELEASE-p2 X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (asuka.mahoroba.org [IPv6:2001:2f0:104:8010::1]); Tue, 07 Apr 2009 11:48:26 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on asuka.mahoroba.org Cc: freebsd-net@freebsd.org Subject: Re: getaddrinfo() unable to resolve IPv6 addresses X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2009 02:48:43 -0000 Hi, >>>>> On Tue, 07 Apr 2009 05:07:57 +0530 >>>>> Ashish SHUKLA said: =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7> I'm running FreeBSD 8.0-CURRENT and i= s having problems with the libc's =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7> getaddrinfo() function. It seems it i= s not able to resolve addresses for =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7> SOCK_RAW socket type and ICMPv6 proto= col.=20 =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7> #v+ =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7> abbe [~] monte-cristo% uname -a =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7> FreeBSD monte-cristo.france 8.0-CURRE= NT FreeBSD 8.0-CURRENT #4: Thu Mar 26 03:18:32 IST 2009 root@monte-cris= to.france:/usr/obj/usr/src/sys/GENERIC amd64 =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7> abbe [~] monte-cristo% ping6 -n ipv6.= google.com =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7> ping6: Invalid value for hints =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7> abbe [~] monte-cristo% telnet ipv6.go= ogle.com 80 =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7> Trying 2001:4860:c003::68... =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7> Connected to ipv6.l.google.com. =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7> Escape character is '^]'. =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7> #v- =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7> Should I file a PR ? No, I believe it was already fixed. Please, re-cvsup and try it. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/