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
]
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
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
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
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
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
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
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
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).
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
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
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-
[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.
=?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.
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
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,
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
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
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
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
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 =
21 matches
Mail list logo