Date: Fri, 1 Apr 2005 13:10:49 +0800 From: "fooler" <fooler@skyinet.net> To: "Marcin Jessa" <lists@yazzy.org>, "Brian Somers" <brian@Awfulhak.org> Cc: bikrant_ml@wlink.com.np Subject: Re: radius client parameters Message-ID: <024e01c53679$2c2cbf80$42764eca@ilo.skyinet.net> References: <200503311104.57782.bikrant_ml@wlink.com.np><05af01c535b8$b4a51720$42764eca@ilo.skyinet.net><20050331130213.656c4b88@dev.lan.Awfulhak.org> <20050331154150.05ccb738.lists@yazzy.org>
next in thread | previous in thread | raw e-mail | index | archive | help
----- 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?024e01c53679$2c2cbf80$42764eca>