Accounting is useful?

Hello,

I’m using simple queues to limit the amount of traffic per user-day. Every 20 minutes I check if a user has exceeded 100MB of traffic in that interval and then I limit the rate to the half. Then, at 5:00 a.m. I reestablish the queues.

The problem is that Is lose the total amount of traffic of every user. I would like to know, let’s say, the traffic that a user uses in a month. I thought that the solution would be the Accounting in MT but I was surprised when I read that “The maximum setting is 8192 IP pairs.” Just 8192 pairs? 8192 pairs would be used just by a single user if he runs an Ares, isn’t it?

Is there any other mechanism to know the total amount of traffic per user?

Thanks,

Miquel.

yes. R.A.D.I.U.S.

I dont know why they say 8192

becuase you can get way morem try and see

Thanks everybody,

I will try to arrive to this limit but the problem is what I wrote, even 80,000 wouldn’t be enough for an user running Ares.

Note for Mikrotik: Wouldn’t it be more useful if You were able to account traffic limiting it with a mask?

About Radius: radius is a good solution depending on what kind of network You are implementing. In this case traffic accounting is just an extra.

Yes. Real limit is 260000. We do accounting based on this.
Works fine so far.

Stefan

Thanks, I will try.