Re: setting idle-time based on port

2001-09-29 Thread Aamer Akhter

Chris,

cool. thanks. i'll give it a try.


- Original Message -
From: Chris Parker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 28, 2001 10:31 AM
Subject: Re: setting idle-time based on port


 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


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



Re: setting idle-time based on port

2001-09-28 Thread Chris Parker

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



Re: setting idle-time based on port

2001-09-28 Thread aland

Aamer Akhter [EMAIL PROTECTED] wrote:
 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?

  Yes.

  Alan DeKok.

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



setting idle-time based on port

2001-09-27 Thread Aamer Akhter

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?

thanks.
---
Aamer Akhter / [EMAIL PROTECTED]
NSITE - cisco Systems


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