A new OpenWrt LuCI application for bandwidth monitoring

Great,thanks. For correct bandwidth monitoring and Rate Limits shoud I switch off Routing/NAT Offloading?

Yes , should turn off .

!!!BIG FAT WARNING!!!

The luci bandix app has a dependency on bandix:

and this pulls in a binary file and not download the source and build it. You should be really careful when installing this.

1 Like

Hi

I haven't figured out how to compile Rust programs within the OpenWRT build system. The bandix binary is also open source, available at bandix

If you don't trust the releases published by developers, you may not be able to use most of the pre-compiled programs on GitHub.

I have been developing this program for 5 months, and the initial article can be found here. If you suspect that I intend to use this to create a computer virus, I think that's a bit alarmist.

1 Like

Update openwrt feeds and then run ‘fgrep -R rust-package package/’ in openwrt sdk dir, then you will find Makefiles for several apps that should show you how to build it inside openwrt build system.

1 Like

hello , I have added an option to enable or disable the persistence of historical data, and support IPv6

5 Likes

Unable to install on Nano pi R6C

root@OpenWrt:~# opkg install ./bandix-0.6.0-r1_aarch64_generic.apk
Unknown package './bandix-0.6.0-r1_aarch64_generic.apk'.
Collected errors:

  • opkg_install_cmd: Cannot install package ./bandix-0.6.0-r1_aarch64_generic.apk.
    root@OpenWrt:~# opkg install ./bandix-0.6.0-r1_aarch64_cortex-a76.apk
    Unknown package './bandix-0.6.0-r1_aarch64_cortex-a76.apk'.
    Collected errors:
  • opkg_install_cmd: Cannot install package ./bandix-0.6.0-r1_aarch64_cortex-a76.apk.
    root@OpenWrt:~# ubus call system board
    {
    "kernel": "6.6.73",
    "hostname": "OpenWrt",
    "system": "ARMv8 Processor rev 0",
    "model": "FriendlyElec NanoPi R6C",
    "board_name": "friendlyarm,nanopi-r6c",
    "rootfs_type": "squashfs",
    "release": {
    "distribution": "OpenWrt",
    "version": "24.10.0",
    "revision": "r28427-6df0e3d02a",
    "target": "rockchip/armv8",
    "description": "OpenWrt 24.10.0 r28427-6df0e3d02a",
    "builddate": "1738624177"
    }
    }

Hello

opkg should use ipk file (opkg install bandix_xxxxx.ipk )
apk use apk file

1 Like

Thanks anyways i can open it in full page rather than inside the openwrt UI ?

only open in the OpenWRT UI

Tested luci-app-bandix: 0.10.3-r1 / bandix: 0.10.3-r1 with Flow offloading set to Software flow offloading.
Works fine. Rate limit rules work as well.
Thanks!

2 Likes

Tnanks for your work!
Updated to uci-app-bandix: 0.12.0-r1 / bandix: 0.12.0-r1.
OpenWrt 24.10.5. Default Bootstrap\BootstrapLight themes.
Got dark fonts on black background when hovering mouse on bandwith graph and when setting traffic limits.
Browser cache cleared, router rebooted.
P.S
If BootstrapDark theme chosen fonts are ok.


I will fix it ,soon .

2 Likes

Note that 1 MegaByte is 8 Megabit...
so:
5 MB -> 5 * 8 = 40 Mbps
and if it is actually 5 MiB that would be even
(5 * 8 * 1024^2) / 1000^2 = 41.94304 Mbps

1 Like

Yes, i got mistake in Bandix settings (Bits Units\Byte Units)

1 Like

Fixed, the theme issues

2 Likes

Thanks. Everything ok.

1 Like

Where in the source.tar.gz is the rust/eBPF source code? This seems suspicious.

There are many closed-source software projects in the world — no need to be overly cautious.

Bandix is fully open source and free

2 Likes