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

Vladimir-M. Obelic vobelic at gbit6.net
Sun, 22 Apr 2012 16:47:07 +0200


--00248c6a6732b66faf04be4599b1
Content-Type: text/plain; charset=UTF-8

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

--00248c6a6732b66faf04be4599b1
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: base64

SnVzdCBjb21waWxlZCB0aGUgMS4wcHJlMiB2ZXJzaW9uIChwcmUxIGhhcyBtaXNzaW5nIGNvdW50
ZXJfaGFzaC5oIGZpbGUpLjxicj5BcHBhcmVudGx5IHRoZSByZXNvbHZlciBmb3IgaXB2NiBoYXMg
YSBwcm9ibGVtIHdpdGggcmVzb2x2aW5nIGxvY2FsIGhvc3QgKGRvIG5vdCBjb25mdXNlIHdpdGgg
bG9jYWxob3N0KSBvd24gaXB2NiBhZGRyZXNzLjxicj5JLmUuIEhlcmUgdGhlIGhvc3Qgd2hlcmUg
aWZ0b3AgaXMgYmVpbmcgcnVuIGhhcyBpcDYgYWRkcmVzIDxzcGFuPjIwMDE6NDcwOmI0YTc6OjEw
MiAoPGEgaHJlZj0iaHR0cDovL2FtYWdpLmdiaXQ2Lm5ldCIgdGFyZ2V0PSJfYmxhbmsiPmFtYWdp
LmdiaXQ2Lm5ldDwvYT4pPGJyPgoKPGJ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