Hello, I'm having a bit of trouble with setting up some cbq queues.

Here is the section from pf.conf
---- Include start ----
altq on $red cbq bandwidth 3Mb queue { default, web, mail, ssh, empty_ack }
queue web bandwidth 50% priority 7 cbq(red, borrow)
queue mail bandwidth 15% priority 0 cbq(red, borrow)
queue ssh bandwidth 25% cbq(borrow) { ssh_interactive, ssh_bulk }
queue   ssh_interactive priority 7
queue   ssh_bulk priority 0
queue empty_ack bandwidth 5% priority 7 cbq(borrow)
queue default bandwidth 5% cbq(default, red, borrow)
---- Include end ----

It's based heavily on the example from pf.conf(5). But when I parse the rules with pfctl -nf /etc/pf.conf I am told:

# pfctl  -nf /etc/pf.conf
pfctl: the sum of the child bandwidth higher than parent "ssh"

As I understand it the two child ssh queues should just use up all the bandwidth from the parent.

This config is working on a 3.5 box. I'm moving to a -current box and am running into this trouble.

Thanks for your help.

--
+---
| Jason Murray
+---
| Rome was actually rather genteel. Romans disapproved of Greek sports
| because the athletes competed nude. That was shocking. On the other hand,
| people dripping with blood and dying for entertainment was fine. This is
| strangely similar to the morals standards of today's commercial television
| and family movies.
+--- J.R. Saul, On Equilibrium

Reply via email to