[Iftop-users] iftop-1.0pre2 doesn't resolve own ipv6 correctly

Scott Bertilson ssb at umn.edu
Mon, 23 Apr 2012 13:29:52 -0500


--bcaec554dc5ef6a59504be5cd29b
Content-Type: text/plain; charset=ISO-8859-1

What DNS lookup method did it use?  (look for USE_ARES and the 4 following
definitions to see which was selected in config.h)

Scott

On Sun, Apr 22, 2012 at 9:47 AM, Vladimir-M. Obelic <vobelic@gbit6.net>wrote:

> Just compiled the 1.0pre2 version (pre1 has missing counter_hash.h file).
> Apparently the resolver for ipv6 has a problem with resolving local host
> (do not confuse with localhost) own ipv6 address.
> I.e. Here the host where iftop is being run has ip6 addres 2001:470:b4a7::102
> (amagi.gbit6.net)
>
> Iftop with dns resolution:
> amagi.intr.gbit6.net
> <=> cam.intr.gbit6.net
> yamato.gbit6.net
> <=> yamato.gbit6.net
>  <http://pool-173-79-27-59.washdc.fios.verizon.net>
> same situation without dns resolution:
> 10.1.0.102
> <=> 10.1.0.101
> 2001:470:b4a7::102
> <=> 2001:470:b4a7::11
>
> It's as if it wrongly uses the fqdn resolved for the remote host.
> Resolving of remote hosts that have ipv6 addr works properly.
>
> A simple mistake I guess?
>
> Regards
> Vladimir-M. Obelic
>
>

--bcaec554dc5ef6a59504be5cd29b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

What DNS lookup method did it use? =A0(look for USE_ARES and the 4 followin=
g definitions to see which was selected in config.h)<div><br></div><div>Sco=
tt<br><br><div class=3D"gmail_quote">On Sun, Apr 22, 2012 at 9:47 AM, Vladi=
mir-M. Obelic <span dir=3D"ltr">&lt;<a href=3D"mailto:vobelic@gbit6.net">vo=
belic@gbit6.net</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Just compiled the 1.0pre2 version (pre1 has =
missing counter_hash.h file).<br>Apparently the resolver for ipv6 has a pro=
blem with resolving local host (do not confuse with localhost) own ipv6 add=
ress.<br>
I.e. Here the host where iftop is being run has ip6 addres <span>2001:470:b=
4a7::102 (<a href=3D"http://amagi.gbit6.net" target=3D"_blank">amagi.gbit6.=
net</a>)<br>

<br>Iftop with dns resolution:<br><a href=3D"http://amagi.intr.gbit6.net" t=
arget=3D"_blank">amagi.intr.gbit6.net</a>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 &lt;=3D&gt; <a=
 href=3D"http://cam.intr.gbit6.net" target=3D"_blank">cam.intr.gbit6.net</a=
><br>



<a href=3D"http://yamato.gbit6.net" target=3D"_blank">yamato.gbit6.net</a>=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 &lt;=3D&gt; <a href=3D"http://yamato.gbit6.n=
et" target=3D"_blank">yamato.gbit6.net</a><br>
<a href=3D"http://pool-173-79-27-59.washdc.fios.verizon.net" target=3D"_bla=
nk"></a><br>same situation without dns resolution:<br>10.1.0.102=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 &lt;=3D&gt; 10.1.0.101<br>


2001:470:b4a7::102=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 &lt;=3D&gt; 2001:470:b4a7::11<br=
><br>It&#39;s as if it wrongly uses the fqdn resolved for the remote host.<=
br>Resolving of remote hosts that have ipv6 addr works properly.<br>


<br>A simple mistake I guess?<br><br>Regards<span class=3D"HOEnZb"><font co=
lor=3D"#888888"><br>Vladimir-M. Obelic<br><br></font></span></span>
</blockquote></div><br></div>

--bcaec554dc5ef6a59504be5cd29b--