Re: radius client parameters

[ Available lists | Index of freebsd-net | Month of Apr 2005 | Week of 1 Apr 2005 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
fooler <fooler@skyinet.net>
Date
1 Apr 2005 05:10:50
Subject
Re: radius client parameters
Message-ID
024e01c53679$2c2cbf80$42764eca@ilo.skyinet.net


[ Hide this part ]
----- Original Message -----
From: "Marcin Jessa" <lists@yazzy.org>
To: "Brian Somers" <brian@Awfulhak.org>
Cc: <fooler@skyinet.net>; <freebsd-isp@freebsd.org>;
<freebsd-net@freebsd.org>; <bikrant_ml@wlink.com.np>
Sent: Thursday, March 31, 2005 11:41 PM
Subject: Re: radius client parameters


> Hi Brian, guys.
>
> Do you plan to add additional radius atributes to the PPP code ?
> The one I really miss is tx/rx data rate limitation.
> It'd be great if PPP could set bandwith limit based on those atributes
received from radius server(s).
> I can't unfortunately code that myself but I know this is done with
Linux's ppp by www.mikrotik.com/ and http://www.staros.com/
> They all provide their changed code as it's GPL'd.

hello marcin... current radius rfc (rfc2865) didnt say anything about tx/rx
data rate limitation radius attribute... but there is a way how to do it
with freebsd :->

since freebsd ppp supported RAD_FILTER_ID and part of the access-accept
radius packet type... just simply send the label to FILTER_ID radius
attribute and put that label into /etc/ppp/ppp.linkup file where inside that
label is doing the bandwidth management using IPFW as its bandwidth
manager... just make sure you do a cleanup (removing ipfw pipe rules) inside
/etc/ppp/ppp.linkdown file upon disconnection...

you need a pipe number for ipfw for identification for that connection...
just play with the tunnel interface number as its pipe number for easy
creating and removing pipe :->

fooler.


Elapsed time: 0.163 seconds