Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Iftop ipv6 bug ?

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 2 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • NogBadTheBadN
      NogBadTheBad
      last edited by

      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.

      iftop.jpg_thumb
      iftop.jpg

      Andy

      1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        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.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • NogBadTheBadN
          NogBadTheBad
          last edited by

          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
          mac-pro:~ AndyK$

          With some of the digits deleted :-

          mac-pro:~ AndyK$ nslookup xxxx:xxxx:xxxx:1::35
          Server: 172.16.1.1
          Address: 172.16.1.1#53

          5.3.0.0.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
          Server: 172.16.1.1
          Address: 172.16.1.1#53

          9.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0..ip6.arpa name = ipad.localdomain.

          Andy

          1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.