RE: Traffic limits

2005-05-17 Thread Miles Mawyer
Just FYI :)


Archive of the list

There is an archive of the list available on the web. The list can be
searched at The Mail Archive...

http://www.mail-archive.com/freeradius-users@lists.cistron.nl/

 

... Miles Mawyer -=- Webmaster . Centralva.net ... 

... [EMAIL PROTECTED] ...

... 434.385.5053 ...


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Varlaam Sobakkin
Sent: Tuesday, May 17, 2005 8:53 AM
To: freeradius-users@lists.freeradius.org
Subject: Traffic limits

Hello!
   I have a very simple question. Maybe there's an answer for it in
   the archive, but there are no search function in archive =(
   Few years ago I've used an IC-Radius with octets-patch. Is there
   any way to limit traffic to user? Some kind of Total-Octets-Limit
   and Octets-Direction reply items. I haven't found any of that in
   dictionaries and anywhere else in distro =(
   Hope for short answer.

-- 
Regards,
 Varlaam  mailto:[EMAIL PROTECTED]


- 
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: Traffic limits

2005-05-17 Thread Guy Fraser
On Tue, 2005-17-05 at 15:52 +0300, Varlaam Sobakkin wrote:
> Hello!
>I have a very simple question. Maybe there's an answer for it in
>the archive, but there are no search function in archive =(
>Few years ago I've used an IC-Radius with octets-patch. Is there
>any way to limit traffic to user? Some kind of Total-Octets-Limit
>and Octets-Direction reply items. I haven't found any of that in
>dictionaries and anywhere else in distro =(
>Hope for short answer.
Not really.

It is a decision of the NAS or the end user to end a session.

If your NAS supports an attribute that allows the radius server to 
send an octet limit, then it is possible to use rlm_counter to 
sum up the current usage and send the remaining amount.

Read the docs on your NAS and for the rlm_counter module.



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