queue

I have a problem.
When the hotspot user goes with download (or upload) over cca 4GB (I don`t know the exact value), the MT writes back to freeradius an invalid value.

Have anybody idea, how to write a script to read in “/queue simple” the “total-bytes” at every user ?

Thank YOU for help!

To avoid the problem,
make sure you are using Gigawords options, not regular ones for download/upload limitation.

Mikrotik-Recv-Limit - total receive limit in bytes for the client
Mikrotik-Recv-Limit-Gigawords - 4G (2^32) bytes of total receive limit (bits 32..63, when bits 0..31 are delivered in Mikrotik-Recv-Limit)
Mikrotik-Xmit-Limit - total transmit limit in bytes for the client
Mikrotik-Xmit-Limit-Gigawords - 4G (2^32) bytes of total transmit limit (bits 32..63, when bits 0..31 are delivered in Mikrotik-Recv-Limit).