Like in the following forum post Migrating from Gargoyle - Bandwidth Management, I have migrated from Gargoyle because the UI does not easily support VLANs. Gargoyle has current and historical IP bandwidth monitoring
Lots have not been active in a couple of years, I have tried Yamon and spend countless hours working with another contributor who has Yamon working perfectly on Openwrt One. https://github.com/glennmckechnie/YAMon-v4
I cannot get Yamon to working correctly it does heaps of updates with no matching Mac address.
Is there any current supported packages that can replicate the IP Bandwidth distribution similar to Gargoyles? It was used the ip bandwidth monitoring to ensure I get all the devices that the kids have access to over night are blocked on the firewall.
I have tried
Yamon
Darkstat
luci-app-nlbwmon
luci-app-statistics
luci-app-vnstat2
nlbwmon
Yamon does by IP but is not stable the other only work by interface
It is sad news to hear that bandwidthd is gone, more-or-less. It was the only monitor I could find that didn't just grab stats from kernel devices. It would use the pcap api to see the dst/src of every packet. I was always looking for Internet traffic on my LAN, i.e. top talkers. So, I needed to see the local IP and it's usage on the Internet. But as for the pcap api, tcpdump can do that same. I just posted a script that can simulate the sqlite db created by bandwidthd. It's out on https://github.com/RVgo4it/OpenWrt.
Not sure how much I am missing to get the new script to work without the bandwidthd-sqlite package, I don't see anything in the readme regarding building up bandwidthd without the package
The tcpdump2sqlite.sh script just needs packages tcpdump, lsof and sqlite3-cli installed and a thumb drive mounted at /mnt/sda1. It does not need bandwidthd at all. It collects the same data bandwidthd would and puts it in a sqlite DB. I also tested the bandwidth_used.sh script and it works fine with the DB produced by tcpdump2sqlite.sh. I have not tested bandwidth_shape.sh to see if it works. Keep in mind that these older scripts were designed for IPv4. However, now a days there is lots of IPv6 traffic. The tcpdump2sqlite.sh does collect IPv6 data and mac addresses. So, it's there if you need it.
Thank you, I am currently using luci-app-vnstat2 on my router for the link bandwidth, to provide the bandwidth but it doesn't break down the details to source mack and ip address
Update: I have been running Yamon for a few weeks now and it initially didn't work well in May, but after going into a new month the config and monitoring has stabilised, there is a new fork https://github.com/glennmckechnie/YAMon-v4 which has been able to achieve ip level reporting consistently by the hour and day
Hi I have explicitly turned off ipv6 on openwrt to ensure I am getting the ipv4 working correctly first. I can see the mac addresses have ipv4 and ipv6 addresses, but I cannot confirm it works