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

    GUI for iftop or equivalent

    Scheduled Pinned Locked Moved General pfSense Questions
    11 Posts 6 Posters 9.2k 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.
    • C
      cr_hyland
      last edited by

      Is there any package with a GUI for iftop or an equivalent package that can display realtime traffic and bandwith usage with both source and destination ip?

      This is an essential tool we need to monitor our network. We used to run several Smoothwall firewalls before we switched to pfsense and this was a basic feature included in every version and it became our primary monitoring tool.

      If there is nothing currently available would any one be ingerested in getting together and paying for it to be developed?
      Or are there any skilled people feeling generous with their time that could build a GUI for iftop?

      Cheers.

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by

        What do you want that isn't in the dash board interface statistics widget or dashboard traffic graphs widget or Status -> RRD Graphs?

        1 Reply Last reply Reply Quote 0
        • C
          cr_hyland
          last edited by

          None of them show realtime bandwidth with source and destination ip info at the same time.

          Traffic Graph and Rate are very useful but no source ip info so its very hard to track who is consuming bandwidth from the outside world.

          1 Reply Last reply Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            Did you tried diagnostics-> pfTop?

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • C
              cr_hyland
              last edited by

              Yes, we currently use a combination of the traffic graph page, ifTop and pfTop to give us the info we need but if we had everything combined on one page like the traffic graph page with ifTop on the right in place of the current Rate representation then we would have everything we need in one easy GUI for monitoring our network utilisation.

              Im sure there are many others out there who would have a use for this, that is the general consensus i've gathered from my searches on this forum.

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

                I've looked into this before and as far as I can tell, iftop doesn't have a way to sample for a couple seconds and then quit. That would be a requirement in order to make it show properly in the GUI. The other tools that update that way (pftop, top, rate, etc) all can do a short sample and exit, and we take that output.

                I'd love to find a way to make iftop work in the GUI though, I use it all the time in the shell.

                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
                • marcellocM
                  marcelloc
                  last edited by

                  It's not that beautifull but works  :)

                  #!/bin/sh
                  /usr/local/bin/iftop -ni bce1_vlan100 > iftop.log &
                  /bin/sleep 5
                  /usr/bin/killall iftop
                  
                  

                  the result file can be read by tail for example.

                  Treinamentos de Elite: http://sys-squad.com

                  Help a community developer! ;D

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

                    Yeah that isn't ideal… Might be good enough for a package though.

                    (FYI, you probably really want iftop -pPnNi vr0 to make sure you also get port numbers and all traffic on the interface)

                    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
                    • L
                      luke240778
                      last edited by

                      i also would like something like what the original poster is looking for, but in the meantime.. is there a way of changing the amount of IP's that is shown on the Traffic Graph? I mean, that gives a good idea of current usage, but never shows more than say 10 IP's that are connected and surfing. I would like to see them all

                      1 Reply Last reply Reply Quote 0
                      • C
                        cr_hyland
                        last edited by

                        Its good to see a bit of interest in this.

                        What is involved in building a package to use the code above for ifTop?

                        Can anyone out there build this or is it solely a job for the pfSense devs?

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Anyone can write a package and submit it if you've got the skills!  ;)

                          See: http://doc.pfsense.org/index.php/Developing_Packages

                          If not then consider raising a bounty to get it done.

                          Steve

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