Bandwith data export error

Report issues relating to bandwith monitoring, bandwidth quotas or QoS in this forum.

Moderator: Moderators

Post Reply
Maro
Posts: 4
Joined: Sun Jul 30, 2023 2:39 pm

Bandwith data export error

Post by Maro »

The bandwith data csv export function - Status / Bandwidth Usage / Download Bandwidth Data / "Download Now" - has a bug in Gargoyle 1.14/1.15 (ATH79 and MT7621 Architecture). Item [Bytes Used] not present in csv file.

Gargoyle up to 1.13 exports csv in format:
[Direction],[Interval Length],[Intervals Saved],[IP],[Interval Start],[Interval End],[Bytes Used]

Gargoyle 1.15/1.14 exports csv in format:
[Direction],[Interval Length],[Intervals Saved],[IP],[Interval Start],0,[Interval End]

1.14 tested on TP-Link Archer C2 v3, Archer C58 v1, Archer C6 v2 - all ATH79, Archer C6 v3 - MT7621.
Important note: Gargoyle 1.14 on Raspberry Pi4B exports csv in correct format.
1.15 Archer C6 v3 - MT7621 (Built 20250330-2253 git@ca9ca6a5).

Lantis
Moderator
Posts: 7279
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: Bandwith data export error

Post by Lantis »

Hi, can you test a more recent version of 1.15 to confirm the issue still exists? Particularly if you believe it may be platform dependent.

1.15 20251022 on x86/64 is working fine on my end.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog

Maro
Posts: 4
Joined: Sun Jul 30, 2023 2:39 pm

Re: Bandwith data export error

Post by Maro »

Hi, on lantisproject_dot_com I see the latest version 1.15.x_20250331. Where can I find a more recent version?
Last edited by Maro on Thu Nov 27, 2025 6:29 pm, edited 1 time in total.

Lantis
Moderator
Posts: 7279
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: Bandwith data export error

Post by Lantis »

https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog

Maro
Posts: 4
Joined: Sun Jul 30, 2023 2:39 pm

Re: Bandwith data export error

Post by Maro »

File:
gargoyle_1.15.x-ramips-mt7621-tplink_archer-c6-v3-squashfs-sysupgrade.bin

Router info:
Gargoyle Version:1.15.X (Built 20251022-1141 git@fd42d773)
Model:TP-Link Archer C6 v3

Downloaded Bandwidth Data:
upload,900,24,COMBINED,1764404930,0,1764405830
upload,900,24,COMBINED,1764405830,0,1764406730
upload,900,24,COMBINED,1764406730,0,0

Maro
Posts: 4
Joined: Sun Jul 30, 2023 2:39 pm

Re: Bandwith data export error

Post by Maro »

Any updates on this issue?

pythonic
Posts: 279
Joined: Mon Mar 11, 2019 5:47 am
Location: Australia

Re: Bandwith data export error

Post by pythonic »

Tried the latest build?

Lantis
Moderator
Posts: 7279
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: Bandwith data export error

Post by Lantis »

It is likely a device endianness issue but no I have not been able to look into it.
Can you confirm your device is big endian?

hexdump -s 5 -n 1 -C /bin/busybox
01 = little
02 = big.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog

Maro
Posts: 4
Joined: Sun Jul 30, 2023 2:39 pm

Re: Bandwith data export error

Post by Maro »

Router info:
Gargoyle Version:1.15.X (Built 20260223-1023 git@0f8e72d2)
Model:Raspberry Pi 4 Model B Rev 1.2

Console output:
root@RPi:~# hexdump -s 5 -n 1 -C /bin/busybox
00000005 01 |.|
00000006

Using the Download Bandwidth Data function in the web interface exports:
download,minute,359,COMBINED,1773648999,1773649020,102851
download,minute,359,COMBINED,1773649020,1773649080,1187335
download,minute,359,COMBINED,1773649080,1773649140,25065
download,minute,359,COMBINED,1773649140,1773649200,28104
download,minute,359,COMBINED,1773649200,1773649260,17161
download,minute,359,COMBINED,1773649260,1773649320,23322

--------------------------------------------------------------
Router info:
Gargoyle Version:1.15.X (Built 20260223-1023 git@0f8e72d2)
Model:TP-Link Archer C6U v1

Console output:
root@Gargoyle:~# hexdump -s 5 -n 1 -C /bin/busybox
00000005 01 |.|
00000006

Using the Download Bandwidth Data function in the web interface exports:
download,minute,359,COMBINED,1773651720,0,1773651780
download,minute,359,COMBINED,1773651780,0,1773651840
download,minute,359,COMBINED,1773651840,0,1773651900
download,minute,359,COMBINED,1773651900,0,1773651960
download,minute,359,COMBINED,1773651960,0,1773652020
download,minute,359,COMBINED,1773652020,0,1773652080
download,minute,359,COMBINED,1773652080,0,0

I also tried console command "bw_get -i total2-download-minute-359 -h -t", which returns:
total2-download-minute-359,COMBINED,1773651720,0,1773651780
total2-download-minute-359,COMBINED,1773651780,0,1773651840
total2-download-minute-359,COMBINED,1773651840,0,1773651900
total2-download-minute-359,COMBINED,1773651900,0,1773651960
total2-download-minute-359,COMBINED,1773651960,0,1773652020
total2-download-minute-359,COMBINED,1773652020,0,1773652080
total2-download-minute-359,COMBINED,1773652080,0,0

However the console command "bw_get -i total2-download-minute-359 -h" returns expected values:
74411 Mon Mar 16 10:02:00 2026 Mon Mar 16 10:03:00 2026
4898 Mon Mar 16 10:03:00 2026 Mon Mar 16 10:04:00 2026
3898 Mon Mar 16 10:04:00 2026 Mon Mar 16 10:05:00 2026
4186 Mon Mar 16 10:05:00 2026 Mon Mar 16 10:06:00 2026
9131 Mon Mar 16 10:06:00 2026 Mon Mar 16 10:07:00 2026
18552 Mon Mar 16 10:07:00 2026 Mon Mar 16 10:08:00 2026
534 Mon Mar 16 10:08:00 2026 (Now)

Lantis
Moderator
Posts: 7279
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: Bandwith data export error

Post by Lantis »

I think we will have a fix shortly thanks to pythonic.
I’ll try to do a build this weekend.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog

Post Reply