Annotation of src/share/pf/queue1, Revision 1.2
1.1 henning 1: ext_if = "dc0"
2:
1.2 ! henning 3: altq on $ext_if cbq bandwidth 10Mb \
1.1 henning 4: queue { deflt, http, ssh, mail, rsets }
5: queue deflt bandwidth 10% priority 0 cbq(default ecn)
6: queue http bandwidth 1.5Mb priority 3 { http_vhosts, http_cust1 }
7: queue http_vhosts bandwidth 40% cbq(borrow red)
8: queue http_cust1 bandwidth 0.5Mb
9: queue mail bandwidth 10% priority 1
10: queue ssh bandwidth 100Kb priority 7 cbq(borrow)
11: queue rsets bandwidth 7500b priority 0 cbq(red)
12:
13: block return in on $ext_if inet all queue rsets
14: pass in on $ext_if inet proto tcp from any to any port 80 keep state queue http
15: pass out on $ext_if inet proto tcp from any to any port 22 keep state queue ssh
16: pass in on $ext_if inet proto tcp from any to any port 22 keep state queue ssh
17: pass out on $ext_if inet proto tcp from any to any port 25 keep state queue mail
18: pass out on $ext_if inet all keep state
19:
20: