Re: SQLCounter configuration

2009-01-10 Thread Venkatesh K
configured correctly, > and the UNIX_TIMESTAMP is giving a correct timestamp for local time. What am > I missing? > (Note: When setting reset = 7d, I get something more explainable like 'Sat > Jan 10 2009 00:00:00 GMT+1300 (New Zealand Daylight Time)', which is the > begi

Re: Check on bytes used

2008-11-30 Thread Venkatesh K
Check out http://wiki.freeradius.org/Rlm_sqlcounter Regards, Venkatesh. K On Sun, Nov 30, 2008 at 9:13 PM, Saeed Akhtar <[EMAIL PROTECTED]> wrote: > Hi all, > > I want to create a check on user monthly usage in (MB/GB etc.). Is there > any module available to do s

Re: Xlat from config-items

2008-11-29 Thread Venkatesh K
Tons of thanks. Venkatesh. K On Sat, Nov 29, 2008 at 9:14 PM, Alan DeKok <[EMAIL PROTECTED]> wrote: > Venkatesh K wrote: >> Hello, >> >> I would like to send a reply based on an attribute(s) in request >> config-items. It seems, from unlang man page, this is

Xlat from config-items

2008-11-29 Thread Venkatesh K
Hello, I would like to send a reply based on an attribute(s) in request config-items. It seems, from unlang man page, this is not supported. Any thoughts or ideas? Thanks, Venkatesh. K - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: sqlcounter returning wrong value?

2008-11-13 Thread Venkatesh K
------- As you can see, you need to make changes to the units of check-item value stored in DB. You can use KibiOctets, MibiOctets in DB and set the sqlcounter.conf file accordingly. Even if you used KibiOctets or MibiOctets in DB, the replies will always be sent

Re: sqlcounter returning wrong value?

2008-11-12 Thread Venkatesh K
Hi, On Wed, Nov 12, 2008 at 2:06 AM, liran tal <[EMAIL PROTECTED]> wrote: > > Waiting for that traffic limitation patch, Venkatesh. > Thanks. I am sorry. I had few busy days this week. You can expect a patch tomorrow. > > On Sun, Nov 9, 2008 at 6:00 AM, Venkatesh K <

Re: sqlcounter returning wrong value?

2008-11-08 Thread Venkatesh K
Hi Liran, On Sun, Nov 9, 2008 at 4:16 AM, liran tal <[EMAIL PROTECTED]> wrote: > Hey Venkatesh, > > On Fri, Oct 31, 2008 at 2:26 AM, Venkatesh K <[EMAIL PROTECTED]> wrote: >> >> 2008/10/31 <[EMAIL PROTECTED]>: >> > It does make sense. rlm_

Re: FreeRadius and MySql custom attributes

2008-11-05 Thread Venkatesh K
ustom database. Regards, Venkatesh K On Thu, Nov 6, 2008 at 3:17 AM, Aaron Seibert <[EMAIL PROTECTED]> wrote: > Becuase the database is already established with thousands of > customers We're looking to migrate from an existing VOPRadius > system. The MsSql database

Re: sqlcounter returning wrong value?

2008-10-30 Thread Venkatesh K
d where I patched rlm_sqlcounter to limit the per session downloads to 4GB if allowed usage exceeds 4GB. Except this issue, I think, with the patch I posted earlier, one should be fine with rlm_sqlcounter. If someone needs a patch to work around the 2GB/4GB limit, I will post the patch. Regards, Venkatesh k - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: sqlcounter returning wrong value?

2008-10-29 Thread Venkatesh K
like to see in rlm_sql_counter, I will try to come up with the patch. Back porting to previous versions of radius should not be a big problem as rlm_sql and rlm_sqlcounter have't changed much. Thanks, Venkatesh K 2008/10/30 liran tal <[EMAIL PROTECTED]>: > > Thanks for the patch, I

Re: sqlcounter returning wrong value?

2008-10-25 Thread Venkatesh K
vp->lvalue; + } } if ((reply_item = pairfind(request->reply->vps, data->reply_attr)) != NULL) { ----- I did compile the code successfully. I have not checked it. Let me know if you