Hello @aetta I post here the five patches which were written by Claude, and the docx file of the full discussion with Claude.
The patches must be applied in the following order : warnings → graph-max-rate → graph-yscale → name-file → conf-path
bandwidthd-fix-warnings.patch
bandwidthd-graph-max-rate.patch
bandwidthd-graph-yscale.patch
bandwidthd-name-file.patch
bandwidthd-conf-path.patch
I think they can be used in a git command. On my box, I applied them by patch -p1 < [patch name]
Since we will let this repository public, a Readme should be added explaining the changes :
- To be able to compile, we had to add some parameters to the .configure command, because the original C code is old :
./configure --build=aarch64-unknown-linux-gnu CFLAGS="-Wall -g -O2 -fcommon -fgnu89-inline"
- There were still a lot of warnings, the first patch corrects this
- graph-max-rate allows to set a maximum to the graphs scale, to prevent a peak to make unreadable the standard traffic
- graph-yscale allows to use a non linear scale, to add readability with high spead connexions. Same problem as above, the two options can be used together (see screenshot below)
- name-file : the names to join to the IP address display can be read from a json file
- conf-path : adds /etc/bandwidth.d/bandwidthd.conf to the possible locations of the configuration file

Hello @aetta I post here the five patches which were written by Claude, and the docx file of the full discussion with Claude.
The patches must be applied in the following order : warnings → graph-max-rate → graph-yscale → name-file → conf-path
bandwidthd-fix-warnings.patch
bandwidthd-graph-max-rate.patch
bandwidthd-graph-yscale.patch
bandwidthd-name-file.patch
bandwidthd-conf-path.patch
I think they can be used in a git command. On my box, I applied them by
patch -p1 < [patch name]Since we will let this repository public, a Readme should be added explaining the changes :
./configure --build=aarch64-unknown-linux-gnu CFLAGS="-Wall -g -O2 -fcommon -fgnu89-inline"