[BACK]Return to queue1 CVS log [TXT][DIR] Up to [local] / src / share / pf

Annotation of src/share/pf/queue1, Revision 1.4

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