tetherfi icon indicating copy to clipboard operation
tetherfi copied to clipboard

Bandwidth Limit/Cap for Connected Devices

Open juliusm254 opened this issue 2 years ago • 3 comments

Feature request. Can we have a bandwidth limit setting for devices in list? This would be super cool.

Screenshot_20240309-134149_TetherFi

juliusm254 avatar Mar 09 '24 10:03 juliusm254

Interesting.

I'll look at some way to track the amount of data used per client.

Assuming I am able to keep track, I would be able to then add a hard data usage limit, but I'm not sure about actively limiting bandwidth during usage. I'll certainly look at it though.

Thanks!

pyamsoft avatar Mar 09 '24 15:03 pyamsoft

Dev notes:

We can track the number of bytes used as a ulong, which will track up to 18446 petabytes, that's fine for now.

We have to change joinTo to copyTo finally close to track byte counts, but once we do that we should be good.

From there we can setup and enforce bandwidth usage limits per IP client.

pyamsoft avatar Mar 09 '24 17:03 pyamsoft

Great.

Thanks

juliusm254 avatar Mar 13 '24 16:03 juliusm254

With the release of version 43, I have added the ability to define a bandwidth limit for each connected device, as well as define a device by a nick-name.

Thank you for your contribution to the project!

pyamsoft avatar Jun 28 '24 04:06 pyamsoft