Thanks.

I have included the "rlm_counter" module in my radiusd.conf and
each time the server gets an "stop" request he adds he Acct-Session-Time.

Looks like this:

rlm_counter: Packet Unique ID = '5bf5b6a4e87be179'
rlm_counter: Counter Unique ID = '5dddb8291191804a'
rlm_counter: User=john, Counter=488.
rlm_counter: User=john, New Counter=524.
 modcall[accounting]: module "daily" returns ok for request 31

But how can I set a maximum usage time? I have added

Max-Daily-Session = 500

to my "radgroupreply" table but I can still logon, even with my counter
being at 524.

And, the attribute "session-timeout" isn't added to the reply, so my
NAS doesn't log out the user, either.

Any short or long hints?

Version info: freeradius 0.9.2-4 on debian, mysql database


Thank you


John Eckert.


-On Donnerstag, 8. Januar 2004 11:53 -0500 Alan DeKok <[EMAIL PROTECTED]> wrote:


John Eckert <[EMAIL PROTECTED]> wrote:
I have successfully configured my freeradius server to answer the
accounting request and to give the user an internet access for lets
say 30 Minutes. After 30 Minutes the user gets kicked.

_But_: After he gets kicked he is able to login again with the
same username and password.

Is there a way to prevent this?

rlm_counter


Gives the user limited time access per day/week/month/whatever

Alan DeKok.

-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html




John E.
--

- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to