Re: usage counter....

2007-05-19 Thread tnt
That is not standard radius attribute so it can't be enforced on every peace of equipment. Freeradius will happily send such attribute (if you define it yourself in the dictionary) but NAS won't know what to do with it. You have an option to use NAS that has such VSA (like Chillispot) or create th

Re: usage counter....

2007-05-19 Thread Jan Mulders
Yeah, I found a method to do this. It involves configuring your NAS to reauthenticate the user every 20 minutes or so (I use OpenVPN with a NAS plugin, it does key renegotiation every 20 minutes so this is ideal for me), and using a Perl script with rlm_perl to do your own calculations. Read below

Re: usage counter....

2007-05-19 Thread Trio Yulistianto
so.. its mean that freeradius not yet supporting about this limit ? so i have to ask mikrotik ? 2007/5/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: With a bit of gymnastics it can be done. You can run an outside program on accounting updates checking Octet total - if it goes over the limit it can

Re: usage counter....

2007-05-18 Thread tnt
With a bit of gymnastics it can be done. You can run an outside program on accounting updates checking Octet total - if it goes over the limit it can send PoD (if Mikrotik supports this). But is it worth it? How much over the limit can they go in one session (you are setting a monthly limit)? Think

Re: usage counter....

2007-05-18 Thread Trio Yulistianto
yupes you are right... it can't stop user from going over the limit, but i need to kick while the limit reached as time session... any body success with this ? please tell me how 2007/5/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: We are starting with wireless soon, so I planned to adapt monthlyc

Re: usage counter....

2007-05-18 Thread tnt
We are starting with wireless soon, so I planned to adapt monthlycounter sqlcounter: query = "SELECT SUM( AcctInputOctets + AcctOutputOctets) FROM radacct WHERE UserName='%{%k}' AND AcctStartTime > FROM_UNIXTIME('%b')" Remove reply-name, change check-name to Max-Monthly-Octets and check with: Ma

usage counter....

2007-05-17 Thread Trio Yulistianto
next problem... i have read all documentation ebaout sql counter and all based on time.. any docoumentation about volume based ? volume based (total of inputoctets and outputoctets) in my case, i want to give user limitation about his byte usage, ie. user heavy : has 10 Gb (total of inputoc