On Tue, 14 Apr 2009 15:39:48 +0200 "Helmut Schneider" <[email protected]> wrote:
> From: "Robert" <[email protected]> > > "Helmut Schneider" <[email protected]> wrote: > >> My proxy has one single GB interface and is connected to the > >> internet using a E3-line (34Mb). I want to shape http traffic to > >> 5Mb/s. How? > >> > >> Something like: > >> > >> altq on $extIF cbq bandwidth 100% queue { default, http_traf } > >> queue default bandwidth 100% cbq(default borrow) > >> queue http_traf bandwidth 5Mb cbq(borrow) > >> > >> What is the correct syntax? > >> > >> Thanks, Helmut > > > > This is explained (with an example you can adapt) in the PF FAQ. > > http://www.openbsd.org/faq/pf/queueing.html > > No, it's not. The FAQ talks about two interfaces, I only do have one > single interface. I also did not find an example where the default > queue may use 100% percent and HTTP may use lets say 5Mb from that > amount. > > If I'm wrong please point me to the specific location. > > Thanks, Helmut Doesn't this section explain how to do it? http://www.openbsd.org/faq/pf/queueing.html#assign - Robert
