Currently i am trying to limit the bandwidth of one computer .113,
however there is almost nothing matching and going into the queue.
.113 is currently running BT, chat messengers, and a multiple of web
browsing instances

right now my rules are not as pretty as they might otherwise be, i am
trying to make them as general and short as possible for this
troubleshooting.

Can someone please hit me with the cluestick, much appreciated. thank you



fire# pfctl -vs queue
queue root_xl1 on xl1 bandwidth 100Mb priority 0 cbq( wrr root )
{wow_in, main_in}
  [ pkts:       5316  bytes:    4864528  dropped pkts:      0 bytes:      0 ]
  [ qlength:   0/ 50  borrows:      0  suspends:      0 ]
queue  wow_in on xl1 bandwidth 50Kb cbq( red )
  [ pkts:          1  bytes:        233  dropped pkts:      0 bytes:      0 ]
  [ qlength:   0/ 50  borrows:      0  suspends:      0 ]
queue  main_in on xl1 bandwidth 90Mb cbq( default )
  [ pkts:       5315  bytes:    4864295  dropped pkts:      0 bytes:      0 ]
  [ qlength:   0/ 50  borrows:      0  suspends:      0 ]
fire# cat /etc/pf.conf.test

#Tables
ext_if="xl0"
int_if="xl1"

table <private> const { 10/8, 172.16/12, 192.168/16 }

set block-policy drop
set skip on {enc0, lo0}

altq on $int_if cbq bandwidth 100Mb queue { main_in, wow_in }
queue wow_in    bandwidth 50Kb cbq(red)
queue main_in     bandwidth 90% cbq(default)

nat on $ext_if from <private> to any -> ($ext_if:0)

pass out from any to 10.0.0.113 queue wow_in

fire# uname -a
OpenBSD fire.sporkton.com 4.3 GENERIC#698 i386


-- 
-Lawrence

Reply via email to