How Sql Counter reset account expiration date ? emm ... Example :
user first connection is 12 Nov 2003 , sql counter (mountly max session) will
be reset on 12 Dec or 1 dec ? is it reset every mount or after 30 day of
activitation ?
--
It's a poor workman who blames his tools.
-
List info
try to run radiusd in debugging mode ... it will show
the next reset ... in your case this will be reset @
first day of december.
=
wilfredo pahilanga apellido jr.
technical support
mactan online
bacolod city, philippines
+63 34 4348311
If you can't hear me, it's because i'm in parentheses.
Hello! I
have a question to ask. I used "counter module" of freeradius to time a
logged-in user. It can successfully start and can sent back the remaining
online time as a "Session-Timeout" attibute when the server authenticate the
user. However, when SessionT
Hello!
I have a question to ask. I used counter module of freeradius to
time a logged-in user. It can successfully start and can sent back the
remaining online time as a Session-Timeout attibute when the server
authenticate the user.
However, when SessionTime is out, the user
Alexander M. Pravking [EMAIL PROTECTED] wrote:
By the way, %{Simultaneuos-Use} will not work, since there's no way to
expand check items from the request...
Nonsense. See 'doc/variables.txt'
Huh?
Hmm... if it's not there, then it's trivial enough to add. ~10
lines in
On Tue, Jul 29, 2003 at 10:52:59AM -0400, Alan DeKok wrote:
Alexander M. Pravking [EMAIL PROTECTED] wrote:
By the way, %{Simultaneuos-Use} will not work, since there's no way to
expand check items from the request...
Nonsense. See 'doc/variables.txt'
Huh?
Hmm... if
On Mon, Jul 28, 2003 at 02:02:22PM -0400, Alan DeKok wrote:
Dear developers, how about customizable messages? Something like
this in radiusd.conf:
messages {
multiple_login = You are already logged in %{Simultaneous-Use} times\r\n
timespan_violation = You are calling outside
Alexander M. Pravking [EMAIL PROTECTED] wrote:
Yeah, it's not the only place where configurable messages could be
useful. I've already suggested such a thing, but the silence was an
answer...
...
Dear developers, how about customizable messages? Something like
this in radiusd.conf:
On Mon, Jul 28, 2003 at 02:02:22PM -0400, Alan DeKok wrote:
Dear developers, how about customizable messages? Something like
this in radiusd.conf:
messages {
multiple_login = You are already logged in %{Simultaneous-Use} times\r\n
timespan_violation = You are calling outside
Alexander M. Pravking [EMAIL PROTECTED] wrote:
By the way, %{Simultaneuos-Use} will not work, since there's no way to
expand check items from the request...
Nonsense. See 'doc/variables.txt'
How about, say, new integer attribute like FreeRADIUS-Reply-Code,
which will be automatically
On Mon, Jul 28, 2003 at 08:11:26PM -0400, Alan DeKok wrote:
Alexander M. Pravking [EMAIL PROTECTED] wrote:
By the way, %{Simultaneuos-Use} will not work, since there's no way to
expand check items from the request...
Nonsense. See 'doc/variables.txt'
Huh?
%{Attribute-Name}
On Sat, Jul 26, 2003 at 07:09:38PM -0700, Alex Chen wrote:
I finally get the counter module to work but there is a small question
about the reply message issued by the counter when the accumulated time
exceeds
the value of the 'check-name' attribute. I set the 'reset' to 'never' and
when
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
I finally get the counter module to work but there is a small question
about the reply message issued by the counter when the accumulated time
exceeds
the value of the 'check-name' attribute. I set the 'reset' to 'never' and
when the limit, say, 60 seconds, is reached, the reply message says
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 sure when I tried to set
DEFAULT Max-Daily-Session := 20
in 'users
Hi all!
Sorry for stupid question.
I found the cause, it was in cisco config.
There were no line in async interface:
dialer in-band
Cheers, SaLiK.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Sorry, I had not so much time now.
If i shall have a little more time i'll write faq about how to install
freeradius + mysql + cisco for ppp users + voip.
Now i should connect freeradius with MSSQL2000. And let it be...
Cheers, SaLiK.
-
List info/subscribe/unsubscribe? See
Hello,
I'm testing the "pre-paid" solution (with lifetime
counter) that was mentioned here on the list and is now wondering howIcan reset one counter whena client wants
one more hour?
// Joachim
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
On Wed, 18 Jun 2003, Roberto Pioli wrote:
I read in the radiusd.conf that the reset option fo the counter module can
be user define.
How can I do this?
# It can also be user defined. It should be of the form:
# num[hdwm] where:
# h: hours, d: days, w: weeks, m
On Wed, 18 Jun 2003, Roberto Pioli wrote:
when he module counter return:
rlm_counter: Entering module authorize code
rlm_counter: Could not find Check item value pair
modcall[authorize]: module counter returns noop
modcall: group
On Fri, Jun 20, 2003 at 01:53:06PM +0300, Kostas Kalevras wrote:
On Wed, 18 Jun 2003, Roberto Pioli wrote:
when he module counter return:
rlm_counter: Entering module authorize code
rlm_counter: Could not find Check item value pair
On Fri, Jun 20, 2003 at 09:30:51AM -0700, Tom Emerson wrote:
Content-Description: signed data
On Friday 20 June 2003 3:53 am, Kostas Kalevras wrote:
On Wed, 18 Jun 2003, Roberto Pioli wrote:
when he module counter return:
rlm_counter: Entering module authorize code
rlm_counter
noop
modcall: group authorize returns ok
What does it means : rlm_sqlcounter: Could not find Check item value pair
I have had the same problem with counter.
TEB!
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I read in the radiusd.conf that the reset option fo the counter module can
be user define.
How can I do this?
Thanks
Rob
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
when he module counter return:
rlm_counter: Entering module authorize code
rlm_counter: Could not find Check item value pair
modcall[authorize]: module counter returns noop
modcall: group authorize returns ok
What's the matter?
Rob
-
List info/subscribe/unsubscribe? See http
Perhaps someone can assist me with the
following. I have a need for a counter that I can key from
Calling-Station-ID, however I need the count
attribute to be incremented ONLY when a certain Called-Station-ID is
matched. I have lots of different products and we are introducing
Alan,
Is there anything special required in the Instantiate, Accounting, etc
sections of radiusd.conf for the example below to work (do there need to be
individual calls somehow to each counter instance, and if so what is the
syntax required)?
I made three copies of my original counter section
Please ignore my last message... found some configuration information in the
docs for the sqlcounter module that seems to work/apply for counter as well.
Cheers,
Mike
-Original Message-
Is there anything special required in the Instantiate,
Accounting, etc sections of radiusd.conf
On Thu, 20 Feb 2003, Mike Cisar wrote:
Thanks Kostas,
I had just uncommented the existing counter lines in the sample radiusd.conf
file not stopping to think that the sample might have them in the wrong
order.
I have moved the counter module down to the bottom of the list and this
seems
syntax still fails (allows the user to log in regardless of the
counter) with the same error in the logs of
Why do you need both? The counter module will send back a
Reply-Message if the user is over quota
I don't need both to work, as I said your fix solves my immediate needs.
However
Mike Cisar [EMAIL PROTECTED] wrote:
On another note, is there a way with the counter module of making two
counters... for example one that expires on a monthly basis, another on a
daily or weekly basis.
Create two instances of the 'counter' module.
counter daily
three examples
is this set of logfile lines...
Thu Feb 13 19:23:25 2003 : Debug: rlm_counter: Entering module authorize
code
Thu Feb 13 19:23:25 2003 : Debug: rlm_counter: Could not find Check item
value pair
Thu Feb 13 19:23:25 2003 : Debug: modcall[authorize]: module counter
returns noop
: modcall[authorize]: module counter
returns noop
With the following in users, we always get an accept whether we should or
not...
test Max-Monthly-Session := 120
Fall-Through = yes
the logfile gives... http://www.starmania.ca/test/logfile.txt
From the logfile:
Thu Feb 13
Thanks Kostas,
I had just uncommented the existing counter lines in the sample radiusd.conf
file not stopping to think that the sample might have them in the wrong
order.
I have moved the counter module down to the bottom of the list and this
seems to have (at least partially) solved
Mike Cisar [EMAIL PROTECTED] wrote:
I am trying to set up a counter to be able to disable a particular
account(s) after a certain amount of time used in a month. I've
looked at the docs and scanned through the list archives, but can't
seem to get it working. Note that the plan is to have
You can find sqlcounter model if you are using sql databases for accounting.
Amiri
--- Alan DeKok [EMAIL PROTECTED] wrote:
Mike Cisar [EMAIL PROTECTED] wrote:
I am trying to set up a counter to be able to disable a particular
account(s) after a certain amount of time used in a month. I've
Built RPM's and installed 0.8.1 on test server... used default radiusd.conf
with default sample counter configuration, enabled counter in instantiate,
authorize and accounting sessions. Added the following lines to the default
users file
test Daily-Session-Time 3600, Auth-Type = Reject
I am trying to set up a counter to be able to disable a particular
account(s) after a certain amount of time used in a month. I've looked at
the docs and scanned through the list archives, but can't seem to get it
working. Note that the plan is to have this counter reset monthly, but for
testing
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
Hi,
I've now managed to compile the missing rlm_counter module (the gdbm-devel
lib was missing).
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.
Radius.conf relevant bits are:
counter
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
Hi
In my country there are two types of payment periods in telephony. In the
first of them (it is between 8:00am and 10:00pm)we pay for each 3 minutes
(for example 0,08$). In second period (it is between 10:00pm and 8:00am) we
pay for each 6 minutes also 0,08$. Is any possibility to summarize time
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
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 freeradius stop and
start, the counter was reset again
Oliver Zimmermann wrote:
I have the problem understanding how the counter module works. Lets say I want to provide a Maximum Daily Session linit of 3600 seconds for a user on freeradius-0.7. Is the following scenario right? (sorry I can't test it for the moment):
users file:
--
DEFAULT
On Sun, 8 Dec 2002, Oliver Zimmermann wrote:
I have the problem understanding how the counter module works. Lets say I want to
provide a Maximum Daily Session linit of 3600 seconds for a user on freeradius-0.7.
Is the following scenario right? (sorry I can't test it for the moment):
users
On Mon, 9 Dec 2002, oz wrote:
Oliver Zimmermann wrote:
I have the problem understanding how the counter module works. Lets say I want to
provide a Maximum Daily Session linit of 3600 seconds for a user on freeradius-0.7.
Is the following scenario right? (sorry I can't test
I have the problem understanding how the counter module works. Lets say I want to
provide a Maximum Daily Session linit of 3600 seconds for a user on freeradius-0.7. Is
the following scenario right? (sorry I can't test it for the moment):
users file:
--
DEFAULT Max-Daily-Session = 3600
I found a bug that stoped sqlcounters working for me.
I am trying to use sqlcounter and oracle to implement download...
May be this problem is specific to oracle driver (sql_oracle.c)?
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Malcolm Caldwell [EMAIL PROTECTED] wrote:
I found a bug that stoped sqlcounters working for me.
Basically sql_xlat in rlm_sql is doing
rlm_sql_select_query(sqlsocket,ins...
...
rlm_sql_fetch_row(sqlsocket, inst)
(inst-module-sql_finish_select_query)(sqlsocket, inst-config);
...
and oracle to implement download
limits/quotas.
I have:
sqlcounter testquota {
counter-name = Test-Quota-Input-Octets
check-name = Test-Quota
sqlmod-inst = sql
key = User-Name
reset = daily
query = SELECT SUM
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).
But, I've no idea what check-items should I use
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).
Hello!
I've used freeradius 0.7.1. I try to use counter in file users :
pptest3 Daily-Session-Time 7200, Auth-Type := Reject
Reply-Message = Your time limit is used
radiusd.conf
# Configuration for the counter module
#
# This module takes
FreeRADIUS Version 0.7.1, for host i686-pc-linux-gnu.
Using MySQL for authentication and accounting.
I got the counter module set up and the proper entry in the radcheck table of the
database, and started sending accounting packets to my RADIUS server. I noticed the
following message from
from asking the same question.
Aaron
On October 2, 2002 13:25 pm, Aaron Webb wrote:
FreeRADIUS Version 0.7.1, for host i686-pc-linux-gnu.
Using MySQL for authentication and accounting.
I got the counter module set up and the proper entry in the radcheck table
of the database, and started
Hi,
Question when a daily usage counter is setup using this:
#
counter daily {
filename = ${logdir}/db.counter
key = User-Name
count-attribute = Acct-Session-Time
reset = daily
On Thu, 5 Sep 2002, Adi Linden wrote:
Hi,
Question when a daily usage counter is setup using this:
#
counter daily {
filename = ${logdir}/db.counter
key = User-Name
count-attribute = Acct-Session
Hi,
Question when a daily usage counter is setup using this:
#
counter daily {
filename = ${logdir}/db.counter
key = User-Name
count-attribute = Acct-Session-Time
On Thu, 5 Sep 2002, Adi Linden wrote:
Hi,
Question when a daily usage counter is setup using this:
#
counter daily {
filename = ${logdir}/db.counter
key = User-Name
count-attribute
On Sat, 17 Aug 2002, Kostas Kalevras wrote:
Please try the attached patch. You should then be able to use Login-Time
compares in the users file. Then you can do the following:
DEFAULT Login-Time == Any1400-0200, Max-Monthly-Session := 9
Fall-Through = 1
DEFAULT Login-Time ==
{
counter-name = Daily-Session-Time
check-name = Max-Daily-Session
sqlmod-inst = sql
key = User-Name
reset = never
query = SELECT SUM(AcctSessionTime) FROM radacct WHERE
UserName='%{%k}' AND AcctStartTime
packets for months,
but with this wacky fix I could solve the problem for me.
That's really the only fix.
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
Subject: MultiGroup and counter module
hi all
I am newbie in FreeRADIUS and I am going to migrate from my NT Commercial
Accounting/Radius Server to FreeRadius.
my biggest problem is this :
I defined a special group in my previous accounting server , and it was :
25H/month group
if my
25 hours per month
but if they login between 2Am-7Am they could use 75 hours/month
and if they login between 7Am-2PM they could use 50 hours/month
I read counter module session in radiusd.conf
but I couldn't find any appropriate option to accomplish such group.
anybody before done it ?
thanks your
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. Just checked the
latest cvs version to find that this behavior remains unchanged; it has
acknowledges it.(at least on my case and someone else which
wrote me months ago, but I didn't kept his email)
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
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
Hi all, Guru..
I am configuring FreeRadius Server 07 and Portslave
2001-01-19 for internet prepaid in my campuss
My problem is difficult disconnect users while their
login to RADIUS. I have Idea to count for each
session
time use Session Time Out While user Logging on, But
I
am not
Gumilar Satriawan [EMAIL PROTECTED] wrote:
Alternatifely use Rlm_sqlcounter, But It intend not
for each user account balance but For Each Group
Defined in daily, weekly, etc.., 9 ( I have to
modified in long time ). I need For each users
can have Account Balance (Time Duration) and then
Hi all, My Guru..
I am configuring FreeRadius Server 06 and Portslave
2001-01-19 for internet prepaid..
My problem is difficult disconnect users while their
login to RADIUS. I have Idea to count for each session
time use Session Time Out While user Logging on, But I
am not sure it will working
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. Just checked the
latest cvs version
[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.
Yes
After fighting with the program all day, I finally figured out how to get
the counter module to kick people off after a certain time limit. For all
those who do not wish to rip their hair out in trying to get this working,
here is a little howto.
First, on your NAS you should specify your
=?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
I run freeradius with :
user = freerad
group = freerad
I reinitialized my freeradius (by deleting all log and counter files),
and when i started, the radius.log file was created but was owned by
root, so i had to chown freerad.freerad. Is it normal or not ?
The same questions for counter
Do-Risika RAFIEFERANTSIARONJY [EMAIL PROTECTED] wrote:
I reinitialized my freeradius (by deleting all log and counter files),
and when i started, the radius.log file was created but was owned by
root, so i had to chown freerad.freerad. Is it normal or not ?
Hmmm... the server SHOULD open
Alan DeKok wrote:
Do-Risika RAFIEFERANTSIARONJY [EMAIL PROTECTED] wrote:
I reinitialized my freeradius (by deleting all log and counter files),
and when i started, the radius.log file was created but was owned by
root, so i had to chown freerad.freerad. Is it normal or not ?
Hmmm
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
Rubby [EMAIL PROTECTED] wrote:
here the count-attirbute is Acct-Session-Time, it can be anything else?
Just like Acct-Input-Octets,Acct-Output-Octets,...etc?
I read the source code about module counter ,it seems not to support it.
Grab the latest CVS snapshot. I've done some minor tweaking
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
Hi,
In the rlm_counter module, I see that I can reset counter at given interval.
If I use reser = never, can I reset the counter manualy with a given value
with a small perl script or C prog ?
I need this, for example, to reactivate a user if his counter is over quota
or to give him more
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
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 = ${raddbdir}/db.counter
key = User-Name
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
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 = ${raddbdir}/db.counter
key = User-Name
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 = ${raddbdir
and
Monthly-Time-Limit of icradius should be implemented in freeradius, is
it already done or not ?
* If not, with freeradius again, about the counter module,
- is it posible to have more than 1 counters in a config file ?
- isn't it possible to 'never' reset a counter ('reset = never') ? I
Do-Risika RAFIEFERANTSIARONJY [EMAIL PROTECTED] wrote:
* I saw in the freeradius mailing list archive that Total-Time-Limit and
Monthly-Time-Limit of icradius should be implemented in freeradius, is
it already done or not ?
No. But you can use the 'counter' module to do the same thing
authenticate them?
You can run a shell program when a request is seen. That shell
program can set up any per-user configuration you desire.
2. User-defined reset value in the counter module.
i.e. reset = 14 # counter will reset to zero after 14 days
reset = 60 # resets after
so. Expiration is a check item which could be stored in an
ldap/mysql database. The user is responsible of changing the value. You could
just run an exec-program on login that will update the expiration attribute to
the correct value.
2. User-defined reset value in the counter module.
i.e
Are there any ways I can do these in freeradius (0.4)?
1. 'Expiration' will be set based on firt login date.
i.e. an account will expired 90 days after
first usage.
Expiration = FirstLoginDate + 90 Days
2. User-defined reset value in the counter module
in the
'radiusd.conf' file.
You would want something similar to:
counter {
filename = ${raddbdir}/db.counter
key = User-Name
count-attribute = Acct-Session-Time
reset = monthly
counter-name = Daily-Session-Time
similar to:
counter {
filename = ${raddbdir}/db.counter
key = User-Name
count-attribute = Acct-Session-Time
reset = monthly
counter-name = Daily-Session-Time
check-name = Total-Session
100 matches
Mail list logo