From owner-freebsd-ports@FreeBSD.ORG Sat Apr 5 20:10:07 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A08D9106566B; Sat, 5 Apr 2008 20:10:07 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (penna-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 3CBC78FC1A; Sat, 5 Apr 2008 20:10:07 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.2/8.14.2) with ESMTP id m35KALLN088333; Sat, 5 Apr 2008 16:10:21 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Hajimu UMEMOTO In-Reply-To: References: <87sky2183w.fsf@chateau.d.lf> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-S82Zk+yfMp4QhZxpT2za" Organization: MarcusCom, Inc. Date: Sat, 05 Apr 2008 16:10:07 -0400 Message-Id: <1207426207.47072.9.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.0 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on creme-brulee.marcuscom.com Cc: gnome@freebsd.org, freebsd-ports@freebsd.org Subject: Re: net/avahi-app-0.6.22 not returning correct IPv6 link-local address. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2008 20:10:07 -0000 --=-S82Zk+yfMp4QhZxpT2za Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 2008-04-06 at 03:38 +0900, Hajimu UMEMOTO wrote: > Hi, >=20 > >>>>> On Fri, 04 Apr 2008 11:20:43 +0530 > >>>>> Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7 =E0=A4=B6=E0=A5= =81=E0=A4=95=E0=A5=8D=E0=A4=B2 said: >=20 > wahjava> I noticed that avahi-resolve is returning incorrect IPv6 link-lo= cal > wahjava> address for a local interface. >=20 > wahjava> I tried looking up for the issue myself, but I'm not familiar wi= th the > wahjava> interface, avahi is using to lookup interface's address. >=20 > wahjava> ---->8---->8---- > wahjava> [abbe@monte-cristo ~/ports/avahi-app]$ ifconfig rl0 > wahjava> rl0: flags=3D8843 metric= 0 mtu 1500 > wahjava> options=3D8 > wahjava> ether 00:1b:38:ea:5c:76 > wahjava> inet6 fe80::21b:38ff:feea:5c76%rl0 prefixlen 64 scopeid = 0x1=20 > wahjava> inet 172.16.0.7 netmask 0xffffffe0 broadcast 172.16.0.31 > wahjava> inet6 fdxx:xxxx:xxxx::yyyy prefixlen 48=20 > wahjava> media: Ethernet autoselect (100baseTX ) > wahjava> status: active > wahjava> [abbe@monte-cristo ~/ports/avahi-app]$ avahi-resolve -6 -n monte= -cristo.local > wahjava> monte-cristo.local fe80:1::21b:38ff:feea:5c76 > wahjava> [abbe@monte-cristo ~/ports/avahi-app]$ uname -a > wahjava> FreeBSD monte-cristo.fr 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun = Mar 30 > wahjava> 12:05:36 IST 2008 root@monte-cristo.fr:/usr/obj/usr/src/sys/= ULE > wahjava> amd64=20 > wahjava> ----8<----8<---- >=20 > wahjava> Can anyone else confirm this ? Or problem with my configuration,= hmm...? >=20 > It seems a KAME specific embedded scope-id is exposed. Pleased try > the attached patch. This works. I also committed another patch which adds proper scope detection. Thanks! Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-S82Zk+yfMp4QhZxpT2za Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEABECAAYFAkf33J8ACgkQb2iPiv4Uz4ck2wCfWZ6WTQ2nRuooHlnEwLNMUWDD jw8An1NTjwETN8VAWjgSiTis9EWDmwHR =C1Qk -----END PGP SIGNATURE----- --=-S82Zk+yfMp4QhZxpT2za--