Date: Tue, 1 Apr 2008 16:43:07 -0700 (PDT) From: Luke Dean <LukeD@pobox.com> To: freebsd@top-consulting.net Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD Traffic Shaping Message-ID: <20080401163754.U40377@border.lukas.is-a-geek.org> In-Reply-To: <20080401181836.13596owuuxf9az48@mail.top-consulting.net> References: <20080401181836.13596owuuxf9az48@mail.top-consulting.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 Apr 2008, freebsd@top-consulting.net wrote: > I am trying to limit the bandwidth available to some connections and I'm not > sure FreeBSD can handle this. Maybe some of you can help. Here's what I need > to have exactly. > > No matter what the number of connections, each connection should have at > most/least 50kbps guaranteed outbound on port 80. > > I've tried dummynet but it doesn't do what I need because if I define a pipe > with 1mbps and if I have 1000 connections, each connection will have less > than 50kbps. > > Any way to do this in FreeBSD ? I can't think of any way to dynamically allocate a new pipe for each individual connection with any firewall software I've used. Have you considered getting your web server to do the limiting for you? I think "mod_bandwidth" for Apache is designed to do what you're asking, but I've never used it.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080401163754.U40377>