diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2002-11-27 19:00:22 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2002-11-27 19:00:22 +0000 |
commit | d0aebf0e1750a901484e966ca4a9f3d76d1e04cb (patch) | |
tree | 2fc1d7f023bb7ae0a68b07d0e6650571cd907fa6 /regress/sbin/pfctl/pf35.ok | |
parent | 849d57038a6cc090790309a164887d0b15cc7bf8 (diff) |
more altq testing
Diffstat (limited to 'regress/sbin/pfctl/pf35.ok')
-rw-r--r-- | regress/sbin/pfctl/pf35.ok | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf35.ok b/regress/sbin/pfctl/pf35.ok new file mode 100644 index 00000000000..f1cc4e6cc45 --- /dev/null +++ b/regress/sbin/pfctl/pf35.ok @@ -0,0 +1,18 @@ +intf = lo0 +developerhosts = 10.0.0.0/24 +employeehosts = 10.0.1.0/24 +altq on lo0 scheduler cbq( red ecn ) bandwidth 10.00Mb tbrsize 5000 queue { std http mail ssh } +queue std bandwidth 1000.00Kb qlimit 1 cbq( default ) +queue http bandwidth 6.00Mb priority 2 cbq( red borrow ) { employees developers } +queue developers bandwidth 6.00Mb +queue employees bandwidth 600.00Kb +queue mail bandwidth 1000.00Kb priority 0 cbq( red ecn borrow ) +queue ssh bandwidth 2.00Mb cbq( borrow ) { ssh_interactive ssh_bulk } +queue ssh_interactive bandwidth 2.00Mb priority 7 +queue ssh_bulk bandwidth 2.00Mb priority 0 qlimit 60 +@0 block return out on lo0 inet all queue std +@1 pass out on lo0 inet proto tcp from 10.0.0.0/24 to any port = www keep state queue developers +@2 pass out on lo0 inet proto tcp from 10.0.1.0/24 to any port = www keep state queue employees +@3 pass out on lo0 inet proto tcp from any to any port = ssh tos 0x10 keep state queue ssh_interactive +@4 pass out on lo0 inet proto tcp from any to any port = ssh tos 0x08 keep state queue ssh_bulk +@5 pass out on lo0 inet proto tcp from any to any port = smtp keep state queue mail |