Iftop ipv6 bug ?
Is there an issue with iftop & ipv6 lookups
Was just checking out the bandwidth i was using with my Apple TV and noticed it was displaying ipad.localdomain rather than bedroom-atv.localdomain.
When I hit "N" to display the ip address rather than the hostname it displays the correct IP (:35) address for the device.
Did you try a reverse lookup on :35? Odds are iftop doesn't have a bug, it's just what that IP address reverse-resolves to.
Yup tried a nslookup, they are different addresses, I converted the last portion of the IPv4 address to hex and used that for the IPv6 address :-
Last login: Mon Aug 1 19:49:28 on ttys001
mac-pro:~ AndyK$ host bedroom-atv.localdomain.
bedroom-atv.localdomain has address 172.16.1.53
bedroom-atv.localdomain has IPv6 address xxxx:xxxx:xxxx:1::35
mac-pro:~ AndyK$ host ipad.localdomain.
ipad.localdomain has address 172.16.1.41
ipad.localdomain has IPv6 address xxxx:xxxx:xxxx:1::29
With some of the digits deleted :-
mac-pro:~ AndyK$ nslookup xxxx:xxxx:xxxx:1::35
126.96.36.199.0.0.0.0.0.0.0.0.0.0.0.0..ip6.arpa name = bedroom-atv.localdomain.
mac-pro:~ AndyK$ nslookup xxxx:xxxx:xxxx:1::29
188.8.131.52.0.0.0.0.0.0.0.0.0.0.0.0..ip6.arpa name = ipad.localdomain.