rlm_sqlcounter and something else than Session-Timeout

Joe Maimon jmaimon at ttec.com
Tue Dec 20 19:26:18 CET 2005



Alan DeKok wrote:

> "Seferovic Edvin" <edvin.seferovic at kolp.at> wrote:
> 
>>I really don't know why everybody is telling that such config would be
>>impossible.
> 
> 
>   It's impossible to enforce traffic limiting *during* a users
> session.  So if a user is a tiny bit below their limit and logs in
> again, they can go over their limit.  The server will only catch &
> enforce their limit on the next login.
> 
>   This has been discussed multiple times on the list over the past 5
> years.
> 

Well in theory, one can write an exec-program or such, call it during 
accounting, and if appropriate disconnect the user utilizing something 
like telnet scripts, snmp, radius packet of disconnect and so on so forth.







More information about the Freeradius-Users mailing list