coova / coova-chilli

CoovaChilli is an open-source software access controller for captive portal hotspots.
Other
516 stars 258 forks source link

Don't dissconnect user when the quota exceed #405

Open TaranehKhalili opened 6 years ago

TaranehKhalili commented 6 years ago

Hi. I'm using coova-chilli as captive portal and freeradius as AAA server. consider the following condition:

suppose that user A have 500MB Quota for download each day. He is downloading a big file and 97% of this file had been downloaded. but in the meanwhile quota finished(exceeded). hence he will disconnect and the download unsuccessfully will done.

I don't want to disconnect the user When quota exceed. I want keep alive all sessions but with lower bandwidth rate. can anyone explain me how can I force chilli to don't disconnect the user in this condition and how send WISPr-Bandwidth-Max-DOWN in the meanwhile that the quota exceeded ??

momothefox commented 1 year ago

That is CoA it is a big thing read about it in this blog

https://aacable.wordpress.com/2018/06/27/freeradius-with-mikrotik-part-14-dynamic-bandwidth-change-on-the-fly-using-coa-with-radclient/

it is for Mikrotik but i am putting it here just to understand what you need.

there are more on SYED JAHANZAIB's Blog about Coa

and you can look for more. it is not an easy thing to do.