summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Knight <joel@cvs.openbsd.org>2005-02-25 13:59:15 +0000
committerJoel Knight <joel@cvs.openbsd.org>2005-02-25 13:59:15 +0000
commitb0d52f478adb81b269652ad5985305ccf04d4f44 (patch)
tree6565d6d2090c1dce5d987e57068747a387414fc4
parent7f6da42939698e779adbf77a647068c3f04e2507 (diff)
Mention that if a cbq/hfsc queue definition doesn't specify 'bandwidth'
that it defauls to 100% of the parent queue. Fix examples to match. ok dhartmei@
-rw-r--r--share/man/man5/pf.conf.57
1 files changed, 4 insertions, 3 deletions
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
index a01976b0816..0910ff7686e 100644
--- a/share/man/man5/pf.conf.5
+++ b/share/man/man5/pf.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pf.conf.5,v 1.323 2005/02/24 04:36:45 joel Exp $
+.\" $OpenBSD: pf.conf.5,v 1.324 2005/02/25 13:59:14 joel Exp $
.\"
.\" Copyright (c) 2002, Daniel Hartmeier
.\" All rights reserved.
@@ -839,6 +839,7 @@ This value must not exceed the value of the parent
.Ar queue
and can be specified as an absolute value or a percentage of the parent
queue's bandwidth.
+If not specified, defaults to 100% of the parent queue's bandwidth.
The
.Ar priq
scheduler does not support bandwidth specification.
@@ -967,8 +968,8 @@ queue developers bandwidth 75% cbq(borrow)
queue employees bandwidth 15%
queue mail bandwidth 10% priority 0 cbq(borrow ecn)
queue ssh bandwidth 20% cbq(borrow) { ssh_interactive, ssh_bulk }
-queue ssh_interactive priority 7
-queue ssh_bulk priority 0
+queue ssh_interactive bandwidth 50% priority 7 cbq(borrow)
+queue ssh_bulk bandwidth 50% priority 0 cbq(borrow)
block return out on dc0 inet all queue std
pass out on dc0 inet proto tcp from $developerhosts to any port 80 \e