summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pf35.ok
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sbin/pfctl/pf35.ok')
-rw-r--r--regress/sbin/pfctl/pf35.ok18
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