Re: counter module

2003-07-26 Thread Alexander M. Pravking
On Fri, Jul 25, 2003 at 10:20:13PM -0700, Alex Chen wrote: The counter module as a configuration element 'check-name'. In the example shown in radiusd.conf it is set to Max-Daily-Session. The comment indicates that this 'Max-Daily-Session' can be specified in DEFAULT stanza. I am pretty

RE: counter module

2003-07-26 Thread Alex Chen
] Subject: Re: counter module On Fri, Jul 25, 2003 at 10:20:13PM -0700, Alex Chen wrote: The counter module as a configuration element 'check-name'. In the example shown in radiusd.conf it is set to Max-Daily-Session. The comment indicates that this 'Max-Daily-Session' can be specified

Re: Counter

2003-06-24 Thread Alan DeKok
Joachim Wickman [EMAIL PROTECTED] wrote: I'm testing the pre-paid solution (with lifetime counter) that was mentioned here on the list and is now wondering how I can reset one counter when a client wants one more hour? See the CVS snapshots: src/modules/rlm_counter/rad_counter.pl Alan

Re: Counter

2003-06-24 Thread Lisa Casey
Hi Alan, See the CVS snapshots: src/modules/rlm_counter/rad_counter.pl Could you give me a url for finding more info about this? I've looked through the Free Radius web site and can't find it. Lisa Casey - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Counter

2003-06-24 Thread Alan DeKok
Lisa Casey [EMAIL PROTECTED] wrote: Could you give me a url for finding more info about this? I've looked through the Free Radius web site and can't find it. Umm... look for the 'CVS snapshot' link on the downloads page? Alan DeKok. - List info/subscribe/unsubscribe? See

RE: Counter problem

2003-02-07 Thread Keith Ballard
Ah, didn't know about that one. Found some whitespace, deleted it, and all up running now, thanks. Keith -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alan DeKok Sent: 06 February 2003 14:47 To: [EMAIL PROTECTED] Subject: Re: Counter problem

Re: Counter problem

2003-02-06 Thread Alan DeKok
Keith Ballard [EMAIL PROTECTED] wrote: When I try and use it I get the error when it processes the 'users' file: Syntax error: Previous line is missing a trailing comma for entry DEFAULT. If the entry looks OK, try deleting it, and re-typing it. Also watch for whitespace in lines that

Re: counter reset

2002-12-19 Thread Kostas Kalevras
On Wed, 18 Dec 2002, Remus Anca wrote: Hi, i've succesfull use freeradius 0.8 with counter module, and reset=never, but after some weeks, my server was restarted, and i've see that the counter was reinitiated with 0 for all users. Than, i've tested my self, and after i make a

Re: Counter question

2002-11-04 Thread Kostas Kalevras
On Mon, 4 Nov 2002, Michael O. Boev wrote: Hello, everybody! Can I be applying a time restriction (Session-Timeout) differently, based on the current time? I mean,... If the user dials in ONLY during the daytime (i.e. Wk09-18), I want to be sending a Session-Timeout reply (e.g. :=10800).

Re: Counter Module ignoring Accounting Packets

2002-10-02 Thread Aaron Webb
Well Mr. Webb, If you had any brains you might notice the 'allowed-servicetype = Framed-User' line in your conf file and make the association between that and a chunk of code that checks to ensure that the service-type of the accounting packet is 'Framed-User'. But you don't appear to be the

Re: counter module counting too many times

2002-08-19 Thread Alan DeKok
Alexandre Strube [EMAIL PROTECTED] wrote: Some people had the same trouble some time ago. The only thing I could do to stop this was setting the Acct_Unique_Id as unique on radacct table, so mysql server would discard subsequent packets with the same id. My box keeps sending duplicated

Re: counter module counting too many times

2002-07-29 Thread Kostas Kalevras
On 25 Jul 2002, [ISO-8859-1] Moisés David [ISO-8859-1] Rincón D'Hoyos wrote: I'm using 0.5 and just noticed that when the same acct packet arrive more than once to the server, the counter module does not control the fact that it is repeated -not even if the acct_uniq module is being used-

Re: counter module counting too many times

2002-07-25 Thread Alan DeKok
[EMAIL PROTECTED] wrote: I'm using 0.5 and just noticed that when the same acct packet arrive more than once to the server, the counter module does not control the fact that it is repeated -not even if the acct_uniq module is being used- and its count-attribute get added several times.

Re: counter module and mysql

2002-04-14 Thread Alan DeKok
=?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= [EMAIL PROTECTED] wrote: I'd like to store all authentication and accounting data in mysql and use counter module to calculate some time-stuff.. I don't think you need any patches to do that. All examples about usage of counter module are also welcome.

Re: Counter

2002-02-25 Thread Alan DeKok
Gillou [EMAIL PROTECTED] wrote: A option to add to the counter module is to set decrement of an accounting attribute instead of an increment. So, somebody can offer a prepaid service of 25h/month, and increase the customer time if he call one phone number or something similar.(if we

Re: Counter

2002-02-22 Thread Alan DeKok
Eduardo Roldan [EMAIL PROTECTED] wrote: I want to read/update this database too. But the counter module is opening the db.counter file with locking.(the default operation of the gdbm library is to open a file locked) Yes. The code SHOULD do a gdbm_open with the NOLOCK option. However,

Re: Counter

2002-02-22 Thread Gillou
A option to add to the counter module is to set decrement of an accounting attribute instead of an increment. So, somebody can offer a prepaid service of 25h/month, and increase the customer time if he call one phone number or something similar.(if we resolve the db locking problem) I want

Re: Counter

2002-02-21 Thread Alan DeKok
Gillou [EMAIL PROTECTED] wrote: If I use reser = never, can I reset the counter manualy with a given value with a small perl script or C prog ? There is currently no way to do this. It shouldn't be hard to do from a small program. Alan DeKok. - List info/subscribe/unsubscribe? See

Re: Counter module doesn't work

2002-02-12 Thread Andrew Kelaidis
the Authorization section of the radius.conf to: authorize { sql counter } I hope that this will help someone. From: Kostas Kalevras [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Counter module doesn't work Date: Mon, 11 Feb 2002 14:52:42 +0200 (EET

RE: Counter module doesn't work

2002-02-12 Thread Kostas Kalevras
On Mon, 11 Feb 2002, Peter Santiago wrote: Based on what I'm reading below ... to set time limits for my users, I need to use a database (MySQL). Do I? I'm using portslave wih freeradius If I just want to use /etc/passwd for authentication... where and how should I store the time limits

Re: Counter module doesn't work

2002-02-11 Thread Kostas Kalevras
On Mon, 11 Feb 2002, Andrew Kelaidis wrote: I have installed the latest snapshot of freeRadius and I am using mySQL for AAA. I would also like to limit the online time for all users. Here is a part of my radiusd.conf file: counter { filename =