Community discussions

MUM Europe 2020
 
User avatar
mxena
newbie
Topic Author
Posts: 48
Joined: Fri May 25, 2007 5:54 pm
Location: Catalonia
Contact:

Accounting is useful?

Mon May 12, 2008 8:55 pm

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.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8320
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Accounting is useful?

Mon May 12, 2008 11:05 pm

yes. R.A.D.I.U.S.
Russian-speaking forum: https://forum.mikrotik.by/. Welcome!

For every complex problem, there is a solution that is simple, neat, and wrong.

MikroTik. Your life. Your routing.
 
User avatar
Equis
Forum Veteran
Forum Veteran
Posts: 888
Joined: Mon Jun 06, 2005 6:48 am

Re: Accounting is useful?

Tue May 13, 2008 2:24 am

I dont know why they say 8192

becuase you can get way morem try and see
 
User avatar
mxena
newbie
Topic Author
Posts: 48
Joined: Fri May 25, 2007 5:54 pm
Location: Catalonia
Contact:

Re: Accounting is useful?

Tue May 13, 2008 11:36 am

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.
 
ste
Forum Guru
Forum Guru
Posts: 1815
Joined: Sun Feb 13, 2005 11:21 pm

Re: Accounting is useful?

Tue May 13, 2008 12:19 pm

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

Stefan
 
User avatar
mxena
newbie
Topic Author
Posts: 48
Joined: Fri May 25, 2007 5:54 pm
Location: Catalonia
Contact:

Re: Accounting is useful?

Tue May 27, 2008 1:15 pm

Thanks, I will try.

Who is online

Users browsing this forum: No registered users and 78 guests