GUI for iftop or equivalent

  • 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?


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

  • 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.

  • Did you tried diagnostics-> pfTop?

  • 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.

  • Rebel Alliance Developer Netgate

    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.

  • It's not that beautifull but works  :)

    /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.

  • Rebel Alliance Developer Netgate

    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)

  • 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

  • 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?

  • Netgate Administrator

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


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


Log in to reply