From owner-freebsd-isp@FreeBSD.ORG Fri Apr 1 10:20:34 2005 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AED2316A4CE for ; Fri, 1 Apr 2005 10:20:34 +0000 (GMT) Received: from lakepoint.domeneshop.no (lakepoint.domeneshop.no [194.63.248.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD38843D1D for ; Fri, 1 Apr 2005 10:20:33 +0000 (GMT) (envelope-from lists@wm-access.no) Received: from [192.168.2.8] (gw1.wm-access.no [81.191.131.91]) (authenticated bits=0)j31AKUKS013392; Fri, 1 Apr 2005 12:20:32 +0200 Message-ID: <424D206A.4050007@wm-access.no> Date: Fri, 01 Apr 2005 12:20:26 +0200 From: =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marcin Jessa , freebsd-isp@freebsd.org 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> In-Reply-To: <20050331154150.05ccb738.lists@yazzy.org> X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: radius client parameters X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 10:20:34 -0000 Marcin Jessa wrote: > 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. > Why cant you use the sh scripts i wrote, you probably have a copy around somwhere. (The scripts would be /etc/ppp/pppconnection.sh and references in /etc/ppp.linkup and /etc/ppp/ppp.linkdown) These used FILTER_ID and IPFW2/Dummynet. fooler@skynet explains the principle of the scripts. Hacking in tx/rx data rate limitation would mean adding queueing to ppp, which IMHO would be cool but unnecessary. Especially with ALTQ and Dummynet around. RouterOS ppp only adds dynamic queues (somewhat like ALTQ) so they do not have queueing inside ppp. I bet Star-OS does the same. Perhaps someone would be generous with their time and adds fine-grained /dev/altq locking support enabling the altq command line utility. -- Sten Daniel Sørsdal