From owner-freebsd-net Tue Jan 16 8:39:11 2001 Delivered-To: freebsd-net@freebsd.org Received: from unity.copyleft.no (unity.copyleft.no [212.71.72.23]) by hub.freebsd.org (Postfix) with ESMTP id 5FF5637B402 for ; Tue, 16 Jan 2001 08:38:53 -0800 (PST) Received: from martin by unity.copyleft.no with local (Exim 3.12 #1) id 14IZ8A-00077y-00; Tue, 16 Jan 2001 17:38:46 +0100 Date: Tue, 16 Jan 2001 17:38:46 +0100 From: Martin Eggen To: Clemens Hermann Cc: BSD NET-List Subject: Re: bandwith limitation Message-ID: <20010116173846.A27210@unity.copyleft.no> References: <20010115222805.A1276@ramses.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010115222805.A1276@ramses.local>; from haribeau@gmx.de on Mon, Jan 15, 2001 at 10:28:05PM +0100 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [Clemens Hermann] > Hi together, > > for quite a while I have been looking around for a way to limit the bandwith > for each IP that accesses my server. I want to slow down any connektion > to 128 KBit/s. > The only thing I found was Dummynet in combination with ipfw. I am using > ipf as firewall an for IP-accounting. It does a very good job and I > really do not want to miss it. Is there any way besides dummynet to get > bandwith limitation to run on my FreeBSD 4.2 box? You might want to take a look at ALTQ[0] from the KAME people, or just use ipfw with a default pass all rule (or IPFIREWALL_DEFAULT_ACCEPT), so that it's only used for bw limiting. (The packets will then first go through ipfw, and then through ipf, IIRC). [0] http://www.csl.sony.co.jp/person/kjc/software.html#ALTQ -- Martin Eggen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message