[Chilli] Chillispot-Max-Total-Octets

Alexandre Tucunduva achaves at etrex.com.br
Thu Jan 30 16:23:07 UTC 2014


yea. I updated the dictionary (
http://dev.coova.org/svn/coova-chilli/doc/dictionary.chillispot) and
finally got freeradius exceed 2Gb. Testing this moment somewhere around
10Gb.
the next step would be to make the chilli disconnect the user and perform a
check of quota limits on the next login attempt. Will the "Max-Octets" can
handle it?
thanks.


2014-01-30 David Bird <dbird at google.com>:

> Chilli does support the following attributes:
>
>
> ATTRIBUTE        ChilliSpot-Max-Input-Gigawords               21        integer
>
> ATTRIBUTE        ChilliSpot-Max-Output-Gigawords               22        integer
>
> ATTRIBUTE        ChilliSpot-Max-Total-Gigawords               23        integer
>
> https://github.com/coova/coova-chilli/blob/master/doc/dictionary.chillispot
>
> As mentioned, integers in RADIUS are 32bit, so gigawords represent the higher 32 bits of a 64bit integer, e.g. ((ChilliSpot-Max-Total-Gigawords << 32) | ChilliSpot-Max-Total-Octets)
>
>
>
> On Thu, Jan 30, 2014 at 5:55 AM, Mike Puchol <puchol at me.com> wrote:
>
>> Here is a nice article on using gigawords instead of octets for
>> accounting in order to exceed the 4GB limit of 32-bit counters:
>>
>> http://www.netexpertise.eu/en/freeradius/gigawords-support.html
>>
>> Cheers,
>>
>> Mike
>>
>> Typos by iPhone
>>
>> On Jan 30, 2014, at 14:32, Alexandre Tucunduva <achaves at etrex.com.br>
>> wrote:
>>
>> Hello, I made an installation of coovachilli and also suggested changes
>> in http://coova.org/node/1039. Everything works fine, but I need to set
>> quotas of 10, 20 and 30 gigabytes for my vouchers. The problem is that even
>> by setting these quota limits, users are disconnected when they reach
>> exactly 2Gb and are not able to redo the login (which was actually to be
>> expected). This is a limitation of coovachilli? How can I fix this? Thank
>> you.
>>
>> --
>>
>>  _______________________________________________
>>
>> Chilli mailing list
>> Chilli at coova.org
>> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
>>
>>
>> _______________________________________________
>> Chilli mailing list
>> Chilli at coova.org
>> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
>>
>>
>


--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20140130/aaf92395/attachment-0001.html>


More information about the Chilli mailing list