At 01:46 AM 9/28/2001 -0400, you wrote:
>Hello,
>
>I'm trying to configure freeradius to send a rule to allow a max idle time 
>in an session to be 20 min for a certain port.
>
>So, if a user comes in to port 0, his/her idle times is 20 min
>If a user comes in anohter port. his/her idle time is unlimmited.
>
>is this dooable?

You could put something along the lines of this in the 'users' file,
with a Fall-Through.

Any attribute that is sent in an Access-Request may be used as a Check-Item.
If NAS-Port is sent by your NAS in the Access-Request you could try something
like:

DEFAULT NAS-Port == 0
                 Idle-Timeout = 20,
                Fall-Through = 1

DEFAULT Auth-Type := System
                 ...
                standard attriubtes here
                ...

-Chris


--
    \\\|||///  \  Chris Parker    -    Manager, Development Engineering
    \ ~   ~ /   \       WX *is* Wireless!    \   [EMAIL PROTECTED]
    | @   @ |    \   http://www.starnetwx.net \      (847) 963-0116
oOo---(_)---oOo--\------------------------------------------------------
                   \ Without C we would have 'obol', 'basi', and 'pasal'


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

Reply via email to