counter to limit each single session of a specific user

Matthew Newton mcn4 at leicester.ac.uk
Mon Oct 28 12:09:43 CET 2013


On Mon, Oct 28, 2013 at 11:54:51AM +0100, Scola Mariano wrote:
> i have a specific user "antonio" that i would limit to surf for
> only 10 minutes at each session. Please note that this user can
> surf a illimitately number of session daily,

I'm not entirely sure what that means. I'll assume "as many as
they like".

> but each of this
> sessions must be limited to 10 minutes.
> 
> any idea?

Assuming the NAS supports it:

update reply {
  Session-Timeout := 600
}

Note in certain circumstances (e.g. wireless with EAP), you may
find the client will just auto reconnect and the user won't even
know it, which makes the exercise rather pointless.

Matthew


-- 
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the Freeradius-Users mailing list