FreeRadius Mikrotik-Rate-Limit attribute limit

Arran Cudbard-Bell a.cudbardb at
Tue Feb 18 15:35:08 CET 2014

On 18 Feb 2014, at 14:26, Matthew Newton <mcn4 at LEICESTER.AC.UK> wrote:

> This should be on freeradius-users; it isn't a developer problem.
> On Tue, Feb 18, 2014 at 07:35:15PM +0530, Lalit Choudhary wrote:
>> Mikrotik-Total-Limit = 5242880 (this value in bytes)
>> Mikrotik-Total-Limit-Gigawords = 1 (this value in GB)
> That's 4.004Gb.
>> I'm assuming that it will Terminate the session after 1026 mb usage
> No
>> I am not sure whether Mikrotik-Total-Limit-Gigawords taking value in GB or
>> bytes.
> The top 32 bits of a 64-bit value.
>> Please suggests how i can use Mikrotik-Total-Limit-Gigawords for more then
>> 4 GB data limit.
> See the previous post I wrote on this here:

Yes OP has now spammed the developers list, me directly, and the FreeRADIUS 
linked in page with exactly the same question.

Here is the commit which fixes the problem by using 64bit counters.
Upgrade to v3.0.x. It's not going to be backported.


Arran Cudbard-Bell <a.cudbardb at>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <>

More information about the Freeradius-Devel mailing list