Re: [Newbie] Questions about accounting

2004-06-24 Thread Gary McKinney
Keith,

There is a text document in the Docs directory under the source directory
where you un-tarred the source code called "aaa.txt".  It will answer some
of your questions.  As for the others:

> 1. How do I limit the traffic for a user?

You dont, at least not with radius - unless there is a specific attribute
your network access server understands to set the bandwidth for a user -
then you could return that attribute for the user to set the bandwidth
allowed...

> 2. How do I shape the traffic for a user once they have gone over their
limit?

You don't, at least not with radius.  Radius is an authorization and
authentication server - not a bandwidth packet shaper - the only thing you
could do would be to write scripts to control a packet shaper upstream of
the NAS or AP and trigger the scripts to perform this - Don't take offense
but it sounds like this would be more than you can handle at this point.  No
insult intended!!!  It is WAY outside the scope of a radius server!

> 3. How to I limit the time slots for a user?

This is possible with freeradius - check out the rlm_sqlcounter file in the
docs directory and also do a search in the list archive for the same thing
(rlm_sqlcounter) This will require installing an sql server to implement
and your access device will need to "understand" timelimits but it is
possible to do.

> 4. How do I control the amount of time a user has been on?

See the answer above...

Hope this helps...

gm...



- Original Message - 
From: "keith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 24, 2004 8:13 PM
Subject: [Newbie] Questions about accounting


> 1. How do I limit the traffic for a user?
> 2. How do I shape the traffic for a user once they have gone over their
> limit?
> 3. How to I limit the time slots for a user?
> 4. How do I control the amount of time a user has been on?
>
> Users log in via pptpd (--version -> PoPToP v1.1.3)
>
> radiusd (-v -> FreeRADIUS Version 0.9.3, for host i686-pc-linux-gnu, built
> on Jun 16 2004 at 03:00:59)
>
> Logging into freeradius is done via a matched name in
> /etc/raddb/users.conf (default is accept since I am currently unable to
get
> pppd to pass a password pair to freeradius)
>
> Thanks
>
> Keith
>
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
> ---
> [This E-mail scanned for viruses by Declude Ant-Virus Scanner]
>
>

---
[This E-mail scanned for viruses by Declude Ant-Virus Scanner]


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


[Newbie] Questions about accounting

2004-06-24 Thread keith
1. How do I limit the traffic for a user?
2. How do I shape the traffic for a user once they have gone over their
limit?
3. How to I limit the time slots for a user?
4. How do I control the amount of time a user has been on?

Users log in via pptpd (--version -> PoPToP v1.1.3)

radiusd (-v -> FreeRADIUS Version 0.9.3, for host i686-pc-linux-gnu, built
on Jun 16 2004 at 03:00:59)

Logging into freeradius is done via a matched name in
/etc/raddb/users.conf (default is accept since I am currently unable to get
pppd to pass a password pair to freeradius)

Thanks

Keith


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