mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
adopt existing altq regress to queueing changes; queuespecs for altq use
"oldqueue" as keyword for the transition phase
This commit is contained in:
parent
909ba6b2a7
commit
b5ab48ab38
@ -2,13 +2,13 @@ ext_if = "lo0"
|
||||
|
||||
altq on $ext_if cbq bandwidth 10Mb tbrsize 1824 \
|
||||
queue { deflt, http, ssh, mail, rsets }
|
||||
queue deflt bandwidth 10% priority 0 cbq(default ecn)
|
||||
queue http bandwidth 1.5Mb priority 3 { http_vhosts, http_cust1 }
|
||||
queue http_vhosts bandwidth 40% cbq(borrow red)
|
||||
queue http_cust1 bandwidth 0.5Mb
|
||||
queue mail bandwidth 10% priority 1
|
||||
queue ssh bandwidth 200Kb priority 7 cbq(borrow)
|
||||
queue rsets bandwidth 150000b priority 0 cbq(red)
|
||||
oldqueue deflt bandwidth 10% priority 0 cbq(default ecn)
|
||||
oldqueue http bandwidth 1.5Mb priority 3 { http_vhosts, http_cust1 }
|
||||
oldqueue http_vhosts bandwidth 40% cbq(borrow red)
|
||||
oldqueue http_cust1 bandwidth 0.5Mb
|
||||
oldqueue mail bandwidth 10% priority 1
|
||||
oldqueue ssh bandwidth 200Kb priority 7 cbq(borrow)
|
||||
oldqueue rsets bandwidth 150000b priority 0 cbq(red)
|
||||
|
||||
block return in on $ext_if inet all queue rsets
|
||||
pass in on $ext_if inet proto tcp from any to any port 80 keep state queue http
|
||||
|
@ -1,12 +1,12 @@
|
||||
ext_if = "lo0"
|
||||
altq on lo0 cbq bandwidth 10Mb tbrsize 1824 queue { deflt http ssh mail rsets }
|
||||
queue deflt bandwidth 10% priority 0 cbq( red ecn default )
|
||||
queue http bandwidth 1.50Mb priority 3 { http_vhosts http_cust1 }
|
||||
queue http_vhosts bandwidth 40% cbq( red borrow )
|
||||
queue http_cust1 bandwidth 500Kb
|
||||
queue mail bandwidth 10%
|
||||
queue ssh bandwidth 200Kb priority 7 cbq( borrow )
|
||||
queue rsets bandwidth 150Kb priority 0 cbq( red )
|
||||
oldqueue deflt bandwidth 10% priority 0 cbq( red ecn default )
|
||||
oldqueue http bandwidth 1.50Mb priority 3 { http_vhosts http_cust1 }
|
||||
oldqueue http_vhosts bandwidth 40% cbq( red borrow )
|
||||
oldqueue http_cust1 bandwidth 500Kb
|
||||
oldqueue mail bandwidth 10%
|
||||
oldqueue ssh bandwidth 200Kb priority 7 cbq( borrow )
|
||||
oldqueue rsets bandwidth 150Kb priority 0 cbq( red )
|
||||
block return in on lo0 inet all set ( queue rsets )
|
||||
pass in on lo0 inet proto tcp from any to any port = 80 flags S/SA set ( queue http )
|
||||
pass out on lo0 inet proto tcp from any to any port = 22 flags S/SA set ( queue ssh )
|
||||
|
@ -10,14 +10,14 @@ employeehosts="10.0.1.0/24"
|
||||
altq on $intf cbq(ecn) bandwidth 10Mb qlimit 100 tbrsize 5000 \
|
||||
queue { std, http, mail, ssh }
|
||||
|
||||
queue std bandwidth 10% qlimit 1 cbq(default)
|
||||
queue http bandwidth 60% priority 2 cbq(borrow red) { employees, developers }
|
||||
queue developers bandwidth 60%
|
||||
queue employees bandwidth 40%
|
||||
queue mail bandwidth 10% priority 0 cbq(borrow ecn)
|
||||
queue ssh bandwidth 20% cbq(borrow) { ssh_interactive, ssh_bulk }
|
||||
queue ssh_interactive priority 7 bandwidth 30%
|
||||
queue ssh_bulk priority 0 qlimit 60 bandwidth 70%
|
||||
oldqueue std bandwidth 10% qlimit 1 cbq(default)
|
||||
oldqueue http bandwidth 60% priority 2 cbq(borrow red) { employees, developers }
|
||||
oldqueue developers bandwidth 60%
|
||||
oldqueue employees bandwidth 40%
|
||||
oldqueue mail bandwidth 10% priority 0 cbq(borrow ecn)
|
||||
oldqueue ssh bandwidth 20% cbq(borrow) { ssh_interactive, ssh_bulk }
|
||||
oldqueue ssh_interactive priority 7 bandwidth 30%
|
||||
oldqueue ssh_bulk priority 0 qlimit 60 bandwidth 70%
|
||||
|
||||
block return out on $intf inet all queue std
|
||||
pass out on $intf inet proto tcp from $developerhosts to any port 80 keep state \
|
||||
|
@ -2,14 +2,14 @@ intf = "lo0"
|
||||
developerhosts = "10.0.0.0/24"
|
||||
employeehosts = "10.0.1.0/24"
|
||||
altq on lo0 cbq( red ecn ) bandwidth 10Mb qlimit 100 tbrsize 5000 queue { std http mail ssh }
|
||||
queue std bandwidth 10% qlimit 1 cbq( default )
|
||||
queue http bandwidth 60% priority 2 cbq( red borrow ) { employees developers }
|
||||
queue developers bandwidth 60%
|
||||
queue employees bandwidth 40%
|
||||
queue mail bandwidth 10% priority 0 cbq( red ecn borrow )
|
||||
queue ssh bandwidth 20% cbq( borrow ) { ssh_interactive ssh_bulk }
|
||||
queue ssh_interactive bandwidth 30% priority 7
|
||||
queue ssh_bulk bandwidth 70% priority 0 qlimit 60
|
||||
oldqueue std bandwidth 10% qlimit 1 cbq( default )
|
||||
oldqueue http bandwidth 60% priority 2 cbq( red borrow ) { employees developers }
|
||||
oldqueue developers bandwidth 60%
|
||||
oldqueue employees bandwidth 40%
|
||||
oldqueue mail bandwidth 10% priority 0 cbq( red ecn borrow )
|
||||
oldqueue ssh bandwidth 20% cbq( borrow ) { ssh_interactive ssh_bulk }
|
||||
oldqueue ssh_interactive bandwidth 30% priority 7
|
||||
oldqueue ssh_bulk bandwidth 70% priority 0 qlimit 60
|
||||
block return out on lo0 inet all set ( queue std )
|
||||
pass out on lo0 inet proto tcp from 10.0.0.0/24 to any port = 80 flags S/SA set ( queue developers )
|
||||
pass out on lo0 inet proto tcp from 10.0.1.0/24 to any port = 80 flags S/SA set ( queue employees )
|
||||
|
@ -2,4 +2,4 @@
|
||||
#also tests multiple queues with the same name but on different interfaces
|
||||
|
||||
altq on { lo0 lo1000000 } tbrsize 1824 cbq bandwidth 10Mb queue std
|
||||
queue std cbq(default)
|
||||
oldqueue std cbq(default)
|
||||
|
@ -1,3 +1,3 @@
|
||||
altq on lo0 cbq bandwidth 10Mb tbrsize 1824 queue { std }
|
||||
altq on lo1000000 cbq bandwidth 10Mb tbrsize 1824 queue { std }
|
||||
queue std cbq( default )
|
||||
oldqueue std cbq( default )
|
||||
|
@ -4,6 +4,6 @@ ext_if = "lo0"
|
||||
|
||||
altq on $ext_if bandwidth 10Mb tbrsize 1824 cbq \
|
||||
queue { deflt, http, ssh, mail, rsets }
|
||||
queue deflt cbq(default ecn) bandwidth 10% priority 0
|
||||
queue http priority 3 bandwidth 1.5Mb { http_vhosts, http_cust1 }
|
||||
queue http_vhosts cbq(borrow red) bandwidth 40%
|
||||
oldqueue deflt cbq(default ecn) bandwidth 10% priority 0
|
||||
oldqueue http priority 3 bandwidth 1.5Mb { http_vhosts, http_cust1 }
|
||||
oldqueue http_vhosts cbq(borrow red) bandwidth 40%
|
||||
|
@ -1,5 +1,5 @@
|
||||
ext_if = "lo0"
|
||||
altq on lo0 cbq bandwidth 10Mb tbrsize 1824 queue { deflt http ssh mail rsets }
|
||||
queue deflt bandwidth 10% priority 0 cbq( red ecn default )
|
||||
queue http bandwidth 1.50Mb priority 3 { http_vhosts http_cust1 }
|
||||
queue http_vhosts bandwidth 40% cbq( red borrow )
|
||||
oldqueue deflt bandwidth 10% priority 0 cbq( red ecn default )
|
||||
oldqueue http bandwidth 1.50Mb priority 3 { http_vhosts http_cust1 }
|
||||
oldqueue http_vhosts bandwidth 40% cbq( red borrow )
|
||||
|
@ -1,8 +1,8 @@
|
||||
#test various forms of queue assignment
|
||||
|
||||
altq on lo0 tbrsize 3648 bandwidth 100Mb cbq queue { bulk, urgent }
|
||||
queue bulk priority 1 cbq(default) bandwidth 70%
|
||||
queue urgent priority 7 bandwidth 30%
|
||||
oldqueue bulk priority 1 cbq(default) bandwidth 70%
|
||||
oldqueue urgent priority 7 bandwidth 30%
|
||||
pass in on lo0 inet proto tcp from any to lo0 port 22 queue (bulk urgent)
|
||||
pass in on lo0 inet proto tcp from any to lo0 port 22 queue bulk
|
||||
pass in on lo0 inet proto tcp from any to lo0 port 22 queue (bulk, urgent)
|
||||
|
@ -1,6 +1,6 @@
|
||||
altq on lo0 cbq bandwidth 100Mb tbrsize 3648 queue { bulk urgent }
|
||||
queue bulk bandwidth 70% cbq( default )
|
||||
queue urgent bandwidth 30% priority 7
|
||||
oldqueue bulk bandwidth 70% cbq( default )
|
||||
oldqueue urgent bandwidth 30% priority 7
|
||||
pass in on lo0 inet proto tcp from any to 127.0.0.1 port = 22 flags S/SA set ( queue(bulk, urgent) )
|
||||
pass in on lo0 inet proto tcp from any to 127.0.0.1 port = 22 flags S/SA set ( queue bulk )
|
||||
pass in on lo0 inet proto tcp from any to 127.0.0.1 port = 22 flags S/SA set ( queue(bulk, urgent) )
|
||||
|
@ -1,4 +1,4 @@
|
||||
altq on lo0 priq bandwidth 10Mb tbrsize 1824 queue { pri-low pri-med pri-high }
|
||||
queue pri-low priority 0
|
||||
queue pri-med priority 1 priq(default)
|
||||
queue pri-high priority 2
|
||||
oldqueue pri-low priority 0
|
||||
oldqueue pri-med priority 1 priq(default)
|
||||
oldqueue pri-high priority 2
|
||||
|
@ -1,4 +1,4 @@
|
||||
altq on lo0 priq bandwidth 10Mb tbrsize 1824 queue { pri-low pri-med pri-high }
|
||||
queue pri-low priority 0
|
||||
queue pri-med priq( default )
|
||||
queue pri-high priority 2
|
||||
oldqueue pri-low priority 0
|
||||
oldqueue pri-med priq( default )
|
||||
oldqueue pri-high priority 2
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
altq on tun1000000 bandwidth 100Kb cbq queue { std ssh }
|
||||
altq on tun1000001 bandwidth 10Mb cbq queue { blah ssh }
|
||||
queue std bandwidth 20% cbq(borrow, default)
|
||||
queue ssh bandwidth 30% cbq(borrow) { ssh2 }
|
||||
queue ssh2 bandwidth 80%
|
||||
queue blah bandwidth 60% cbq(default)
|
||||
oldqueue std bandwidth 20% cbq(borrow, default)
|
||||
oldqueue ssh bandwidth 30% cbq(borrow) { ssh2 }
|
||||
oldqueue ssh2 bandwidth 80%
|
||||
oldqueue blah bandwidth 60% cbq(default)
|
||||
|
@ -1,6 +1,6 @@
|
||||
altq on tun1000000 cbq bandwidth 100Kb tbrsize 1500 queue { std ssh }
|
||||
altq on tun1000001 cbq bandwidth 10Mb tbrsize 6000 queue { blah ssh }
|
||||
queue std bandwidth 20% cbq( borrow default )
|
||||
queue ssh bandwidth 30% cbq( borrow ) { ssh2 }
|
||||
queue ssh2 bandwidth 80%
|
||||
queue blah bandwidth 60% cbq( default )
|
||||
oldqueue std bandwidth 20% cbq( borrow default )
|
||||
oldqueue ssh bandwidth 30% cbq( borrow ) { ssh2 }
|
||||
oldqueue ssh2 bandwidth 80%
|
||||
oldqueue blah bandwidth 60% cbq( default )
|
||||
|
@ -1,4 +1,4 @@
|
||||
#tests an edge case in LOOP_THROUGH behaviour, the one loop despite the
|
||||
#list is empty
|
||||
altq on { lo0 tun1000000 } priq bandwidth 10Mb tbrsize 1824 queue q_def
|
||||
queue q_def priq(default)
|
||||
oldqueue q_def priq(default)
|
||||
|
@ -1,3 +1,3 @@
|
||||
altq on lo0 priq bandwidth 10Mb tbrsize 1824 queue { q_def }
|
||||
altq on tun1000000 priq bandwidth 10Mb tbrsize 1824 queue { q_def }
|
||||
queue q_def priq( default )
|
||||
oldqueue q_def priq( default )
|
||||
|
@ -3,10 +3,10 @@
|
||||
# -two differently named queues must not share a qid, even on different ifs
|
||||
|
||||
altq on lo0 tbrsize 1824 bandwidth 10Mb hfsc queue { eins zwei drei }
|
||||
queue eins bandwidth 10% hfsc(default)
|
||||
queue zwei bandwidth 60% { sub2 sub3 }
|
||||
queue sub2 bandwidth 20%
|
||||
queue sub3 bandwidth 20%
|
||||
queue drei bandwidth 10%
|
||||
oldqueue eins bandwidth 10% hfsc(default)
|
||||
oldqueue zwei bandwidth 60% { sub2 sub3 }
|
||||
oldqueue sub2 bandwidth 20%
|
||||
oldqueue sub3 bandwidth 20%
|
||||
oldqueue drei bandwidth 10%
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
altq on lo0 hfsc bandwidth 10Mb tbrsize 1824 queue { eins zwei drei }
|
||||
queue eins bandwidth 10% hfsc( default )
|
||||
queue zwei bandwidth 60% { sub2 sub3 }
|
||||
queue sub2 bandwidth 20%
|
||||
queue sub3 bandwidth 20%
|
||||
queue drei bandwidth 10%
|
||||
oldqueue eins bandwidth 10% hfsc( default )
|
||||
oldqueue zwei bandwidth 60% { sub2 sub3 }
|
||||
oldqueue sub2 bandwidth 20%
|
||||
oldqueue sub3 bandwidth 20%
|
||||
oldqueue drei bandwidth 10%
|
||||
|
@ -1,9 +1,9 @@
|
||||
# service curve parse/print functions feedback test
|
||||
|
||||
altq on lo0 tbrsize 1824 bandwidth 10Mb hfsc queue { eins zwei drei }
|
||||
queue eins bandwidth 10% hfsc(default linkshare(20% 20 5%) realtime 500Kb)
|
||||
queue zwei bandwidth 40% hfsc(linkshare(35% 10 25%) upperlimit 5Mb)
|
||||
queue drei bandwidth 50% hfsc(linkshare(45% 20 4Mb) \
|
||||
oldqueue eins bandwidth 10% hfsc(default linkshare(20% 20 5%) realtime 500Kb)
|
||||
oldqueue zwei bandwidth 40% hfsc(linkshare(35% 10 25%) upperlimit 5Mb)
|
||||
oldqueue drei bandwidth 50% hfsc(linkshare(45% 20 4Mb) \
|
||||
upperlimit(65% 10 45%))
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
altq on lo0 hfsc bandwidth 10Mb tbrsize 1824 queue { eins zwei drei }
|
||||
queue eins bandwidth 10% hfsc( default realtime 500Kb linkshare(20% 20 5%) )
|
||||
queue zwei bandwidth 40% hfsc( linkshare(35% 10 25%) upperlimit 5Mb )
|
||||
queue drei bandwidth 50% hfsc( linkshare(45% 20 4Mb) upperlimit(65% 10 45%) )
|
||||
oldqueue eins bandwidth 10% hfsc( default realtime 500Kb linkshare(20% 20 5%) )
|
||||
oldqueue zwei bandwidth 40% hfsc( linkshare(35% 10 25%) upperlimit 5Mb )
|
||||
oldqueue drei bandwidth 50% hfsc( linkshare(45% 20 4Mb) upperlimit(65% 10 45%) )
|
||||
|
@ -3,9 +3,9 @@
|
||||
|
||||
altq on lo0 tbrsize 1824 bandwidth 10Mb hfsc queue { eins zwei drei }
|
||||
altq on tun1000000 tbrsize 1824 bandwidth 100Mb hfsc queue { eins zwei drei }
|
||||
queue eins bandwidth 10% hfsc(default linkshare(20% 20 5%) realtime 500Kb)
|
||||
queue zwei bandwidth 40% hfsc(linkshare(35% 10 25%) upperlimit 5Mb)
|
||||
queue drei bandwidth 50% hfsc(linkshare(45% 20 4Mb) \
|
||||
oldqueue eins bandwidth 10% hfsc(default linkshare(20% 20 5%) realtime 500Kb)
|
||||
oldqueue zwei bandwidth 40% hfsc(linkshare(35% 10 25%) upperlimit 5Mb)
|
||||
oldqueue drei bandwidth 50% hfsc(linkshare(45% 20 4Mb) \
|
||||
upperlimit(65% 10 45%))
|
||||
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
altq on lo0 hfsc bandwidth 10Mb tbrsize 1824 queue { eins zwei drei }
|
||||
altq on tun1000000 hfsc bandwidth 100Mb tbrsize 1824 queue { eins zwei drei }
|
||||
queue eins bandwidth 10% hfsc( default realtime 500Kb linkshare(20% 20 5%) )
|
||||
queue zwei bandwidth 40% hfsc( linkshare(35% 10 25%) upperlimit 5Mb )
|
||||
queue drei bandwidth 50% hfsc( linkshare(45% 20 4Mb) upperlimit(65% 10 45%) )
|
||||
oldqueue eins bandwidth 10% hfsc( default realtime 500Kb linkshare(20% 20 5%) )
|
||||
oldqueue zwei bandwidth 40% hfsc( linkshare(35% 10 25%) upperlimit 5Mb )
|
||||
oldqueue drei bandwidth 50% hfsc( linkshare(45% 20 4Mb) upperlimit(65% 10 45%) )
|
||||
|
@ -1,6 +1,6 @@
|
||||
# queue without parent
|
||||
|
||||
altq on lo0 cbq tbrsize 1824 bandwidth 10Mb queue { frenchs eat frogs }
|
||||
queue frenchs bandwidth 30% cbq(default)
|
||||
queue eat bandwidth 30%
|
||||
queue toads bandwidth 30%
|
||||
oldqueue frenchs bandwidth 30% cbq(default)
|
||||
oldqueue eat bandwidth 30%
|
||||
oldqueue toads bandwidth 30%
|
||||
|
@ -1,5 +1,5 @@
|
||||
stdin:6: queue toads has no parent
|
||||
stdin:6: errors in queue definition
|
||||
altq on lo0 cbq bandwidth 10Mb tbrsize 1824 queue { frenchs eat frogs }
|
||||
queue frenchs bandwidth 30% cbq( default )
|
||||
queue eat bandwidth 30%
|
||||
oldqueue frenchs bandwidth 30% cbq( default )
|
||||
oldqueue eat bandwidth 30%
|
||||
|
@ -4,9 +4,9 @@ lan_if = lo0
|
||||
ext_if = nothere0
|
||||
|
||||
altq on $ext_if bandwidth 512Kb tbrsize 33224 cbq queue { q_ext_std }
|
||||
queue q_ext_std bandwidth 100% cbq(default) { q_ext_p2p }
|
||||
queue q_ext_p2p bandwidth 25% cbq(red ecn)
|
||||
oldqueue q_ext_std bandwidth 100% cbq(default) { q_ext_p2p }
|
||||
oldqueue q_ext_p2p bandwidth 25% cbq(red ecn)
|
||||
|
||||
altq on $lan_if bandwidth 512Kb tbrsize 33224 cbq queue { q_lan_std }
|
||||
queue q_lan_std bandwidth 100% cbq(default) { q_lan_p2p }
|
||||
queue q_lan_p2p bandwidth 25% cbq(red ecn)
|
||||
oldqueue q_lan_std bandwidth 100% cbq(default) { q_lan_p2p }
|
||||
oldqueue q_lan_p2p bandwidth 25% cbq(red ecn)
|
||||
|
@ -6,5 +6,5 @@ stdin:8: errors in queue definition
|
||||
lan_if = "lo0"
|
||||
ext_if = "nothere0"
|
||||
altq on lo0 cbq bandwidth 512Kb tbrsize 33224 queue { q_lan_std }
|
||||
queue q_lan_std cbq( default ) { q_lan_p2p }
|
||||
queue q_lan_p2p bandwidth 25% cbq( red ecn )
|
||||
oldqueue q_lan_std cbq( default ) { q_lan_p2p }
|
||||
oldqueue q_lan_p2p bandwidth 25% cbq( red ecn )
|
||||
|
@ -1,4 +1,4 @@
|
||||
# queue doubly defined on one interface
|
||||
altq on gif3 cbq bandwidth 100Kb queue { eins, zwei }
|
||||
queue eins cbq (default) { zwei }
|
||||
queue zwei
|
||||
oldqueue eins cbq (default) { zwei }
|
||||
oldqueue zwei
|
||||
|
@ -2,5 +2,5 @@ pfctl: the sum of the child bandwidth higher than parent "root_gif3"
|
||||
queue zwei already exists on interface gif3
|
||||
stdin:4: errors in queue definition
|
||||
altq on gif3 cbq bandwidth 100Kb tbrsize 1500 queue { eins zwei }
|
||||
queue eins cbq( default ) { zwei }
|
||||
queue zwei
|
||||
oldqueue eins cbq( default ) { zwei }
|
||||
oldqueue zwei
|
||||
|
@ -1,6 +1,6 @@
|
||||
# double linkshare spec
|
||||
|
||||
altq on lo0 tbrsize 1824 bandwidth 10Mb hfsc queue { eins }
|
||||
queue eins bandwidth 10% hfsc(default linkshare(20% 20 5%) linkshare 1Mb)
|
||||
oldqueue eins bandwidth 10% hfsc(default linkshare(20% 20 5%) linkshare 1Mb)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# double upperlimit
|
||||
|
||||
altq on lo0 tbrsize 1824 bandwidth 10Mb hfsc queue { eins }
|
||||
queue eins bandwidth 10% hfsc(default upperlimit(20% 20 5%) upperlimit 1Mb)
|
||||
oldqueue eins bandwidth 10% hfsc(default upperlimit(20% 20 5%) upperlimit 1Mb)
|
||||
|
||||
|
||||
|
@ -3,6 +3,6 @@
|
||||
ext_if = lo0
|
||||
|
||||
altq on $ext_if bandwidth 512Kb tbrsize 33224 cbq queue { q_ext_std }
|
||||
queue q_ext_std priority 9 cbq(default)
|
||||
oldqueue q_ext_std priority 9 cbq(default)
|
||||
|
||||
pass in all
|
||||
|
@ -2,4 +2,4 @@ pfctl: priority out of range: max 7
|
||||
stdin:6: errors in queue definition
|
||||
ext_if = "lo0"
|
||||
altq on lo0 cbq bandwidth 512Kb tbrsize 33224 queue { q_ext_std }
|
||||
queue root_lo0 priority 0 cbq( wrr root )
|
||||
oldqueue root_lo0 priority 0 cbq( wrr root )
|
||||
|
@ -3,4 +3,4 @@
|
||||
ext_if = lo0
|
||||
|
||||
altq on $ext_if bandwidth 512Kb tbrsize 33224 priq queue { q_ext_std }
|
||||
queue q_ext_std priority 16 priq(default)
|
||||
oldqueue q_ext_std priority 16 priq(default)
|
||||
|
@ -2,4 +2,4 @@ pfctl: priority out of range: max 15
|
||||
stdin:6: errors in queue definition
|
||||
ext_if = "lo0"
|
||||
altq on lo0 priq bandwidth 512Kb tbrsize 33224 queue { q_ext_std }
|
||||
queue priority 0
|
||||
oldqueue priority 0
|
||||
|
@ -2,4 +2,4 @@
|
||||
# how one can be stupid enough to specify this in the first place is beyond me
|
||||
|
||||
altq on lo0 bandwidth 512Kb tbrsize 33224 cbq queue { i_am_braindead }
|
||||
queue i_am_braindead cbq(default) { i_am_braindead }
|
||||
oldqueue i_am_braindead cbq(default) { i_am_braindead }
|
||||
|
@ -1,4 +1,4 @@
|
||||
stdin:5: queue cannot have itself as child
|
||||
stdin:5: errors in queue definition
|
||||
altq on lo0 cbq bandwidth 512Kb tbrsize 33224 queue { i_am_braindead }
|
||||
queue i_am_braindead cbq( default ) { i_am_braindead }
|
||||
oldqueue i_am_braindead cbq( default ) { i_am_braindead }
|
||||
|
@ -1,6 +1,6 @@
|
||||
# queuenames cannot be numbers
|
||||
altq on lo0 tbrsize 1824 bandwidth 10Mb priq queue 80
|
||||
queue 80 priority 2 priq(default)
|
||||
oldqueue 80 priority 2 priq(default)
|
||||
|
||||
# tablenames cannot be numbers
|
||||
table <444> { 1.2.3.4 }
|
||||
|
@ -1,5 +1,5 @@
|
||||
#queue id assignment with priq
|
||||
|
||||
altq on { lo0 tun1000000 } tbrsize 1824 priq bandwidth 10Mb queue { one two }
|
||||
queue one priority 1 priq(default)
|
||||
queue two priority 15
|
||||
oldqueue one priority 1 priq(default)
|
||||
oldqueue two priority 15
|
||||
|
@ -1,8 +1,8 @@
|
||||
queue one on lo0 priq( default )
|
||||
oldqueue one on lo0 priq( default )
|
||||
[ qid=1 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue one on tun1000000 priq( default )
|
||||
oldqueue one on tun1000000 priq( default )
|
||||
[ qid=1 ifname=tun1000000 ifbandwidth=10Mb ]
|
||||
queue two on lo0 priority 15
|
||||
oldqueue two on lo0 priority 15
|
||||
[ qid=2 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue two on tun1000000 priority 15
|
||||
oldqueue two on tun1000000 priority 15
|
||||
[ qid=2 ifname=tun1000000 ifbandwidth=10Mb ]
|
||||
|
@ -2,8 +2,8 @@
|
||||
#must have the same qid
|
||||
|
||||
altq on { lo0 tun1000000 } tbrsize 1824 hfsc bandwidth 10Mb queue { one two }
|
||||
queue one bandwidth 10% hfsc(default)
|
||||
queue two bandwidth 90% { three four}
|
||||
queue three bandwidth 50%
|
||||
queue four bandwidth 40%
|
||||
oldqueue one bandwidth 10% hfsc(default)
|
||||
oldqueue two bandwidth 90% { three four}
|
||||
oldqueue three bandwidth 50%
|
||||
oldqueue four bandwidth 40%
|
||||
|
||||
|
@ -1,20 +1,20 @@
|
||||
queue root_lo0 on lo0 bandwidth 10Mb priority 0 {one, two}
|
||||
oldqueue root_lo0 on lo0 bandwidth 10Mb priority 0 {one, two}
|
||||
[ qid=1 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue one on lo0 bandwidth 1Mb hfsc( default )
|
||||
oldqueue one on lo0 bandwidth 1Mb hfsc( default )
|
||||
[ qid=3 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue two on lo0 bandwidth 9Mb {three, four}
|
||||
oldqueue two on lo0 bandwidth 9Mb {three, four}
|
||||
[ qid=4 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue three on lo0 bandwidth 4.50Mb
|
||||
oldqueue three on lo0 bandwidth 4.50Mb
|
||||
[ qid=5 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue four on lo0 bandwidth 3.60Mb
|
||||
oldqueue four on lo0 bandwidth 3.60Mb
|
||||
[ qid=6 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue root_tun1000000 on tun1000000 bandwidth 10Mb priority 0 {one, two}
|
||||
oldqueue root_tun1000000 on tun1000000 bandwidth 10Mb priority 0 {one, two}
|
||||
[ qid=2 ifname=tun1000000 ifbandwidth=10Mb ]
|
||||
queue one on tun1000000 bandwidth 1Mb hfsc( default )
|
||||
oldqueue one on tun1000000 bandwidth 1Mb hfsc( default )
|
||||
[ qid=3 ifname=tun1000000 ifbandwidth=10Mb ]
|
||||
queue two on tun1000000 bandwidth 9Mb {three, four}
|
||||
oldqueue two on tun1000000 bandwidth 9Mb {three, four}
|
||||
[ qid=4 ifname=tun1000000 ifbandwidth=10Mb ]
|
||||
queue three on tun1000000 bandwidth 4.50Mb
|
||||
oldqueue three on tun1000000 bandwidth 4.50Mb
|
||||
[ qid=5 ifname=tun1000000 ifbandwidth=10Mb ]
|
||||
queue four on tun1000000 bandwidth 3.60Mb
|
||||
oldqueue four on tun1000000 bandwidth 3.60Mb
|
||||
[ qid=6 ifname=tun1000000 ifbandwidth=10Mb ]
|
||||
|
@ -4,12 +4,12 @@
|
||||
|
||||
altq on lo0 tbrsize 1824 bandwidth 10Mb hfsc queue { eins zwei drei }
|
||||
altq on tun1000000 tbrsize 1824 bandwidth 33600b hfsc queue { vier zwei fuenf }
|
||||
queue eins bandwidth 10% hfsc(default)
|
||||
queue zwei bandwidth 80% { sub2 sub3 }
|
||||
queue sub2 bandwidth 50%
|
||||
queue sub3 bandwidth 50%
|
||||
queue drei bandwidth 10% subseven
|
||||
queue vier bandwidth 10% hfsc(default)
|
||||
queue fuenf bandwidth 5% subseven
|
||||
queue subseven bandwidth 90%
|
||||
oldqueue eins bandwidth 10% hfsc(default)
|
||||
oldqueue zwei bandwidth 80% { sub2 sub3 }
|
||||
oldqueue sub2 bandwidth 50%
|
||||
oldqueue sub3 bandwidth 50%
|
||||
oldqueue drei bandwidth 10% subseven
|
||||
oldqueue vier bandwidth 10% hfsc(default)
|
||||
oldqueue fuenf bandwidth 5% subseven
|
||||
oldqueue subseven bandwidth 90%
|
||||
|
||||
|
@ -1,28 +1,28 @@
|
||||
queue root_lo0 on lo0 bandwidth 10Mb priority 0 {eins, zwei, drei}
|
||||
oldqueue root_lo0 on lo0 bandwidth 10Mb priority 0 {eins, zwei, drei}
|
||||
[ qid=1 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue eins on lo0 bandwidth 1Mb hfsc( default )
|
||||
oldqueue eins on lo0 bandwidth 1Mb hfsc( default )
|
||||
[ qid=3 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue zwei on lo0 bandwidth 8Mb {sub2, sub3}
|
||||
oldqueue zwei on lo0 bandwidth 8Mb {sub2, sub3}
|
||||
[ qid=4 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue sub2 on lo0 bandwidth 4Mb
|
||||
oldqueue sub2 on lo0 bandwidth 4Mb
|
||||
[ qid=5 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue sub3 on lo0 bandwidth 4Mb
|
||||
oldqueue sub3 on lo0 bandwidth 4Mb
|
||||
[ qid=6 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue drei on lo0 bandwidth 1Mb {subseven}
|
||||
oldqueue drei on lo0 bandwidth 1Mb {subseven}
|
||||
[ qid=7 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue subseven on lo0 bandwidth 900Kb
|
||||
oldqueue subseven on lo0 bandwidth 900Kb
|
||||
[ qid=10 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue root_tun1000000 on tun1000000 bandwidth 33.60Kb priority 0 {zwei, vier, fuenf}
|
||||
oldqueue root_tun1000000 on tun1000000 bandwidth 33.60Kb priority 0 {zwei, vier, fuenf}
|
||||
[ qid=2 ifname=tun1000000 ifbandwidth=33.60Kb ]
|
||||
queue zwei on tun1000000 bandwidth 26.88Kb {sub2, sub3}
|
||||
oldqueue zwei on tun1000000 bandwidth 26.88Kb {sub2, sub3}
|
||||
[ qid=4 ifname=tun1000000 ifbandwidth=33.60Kb ]
|
||||
queue sub2 on tun1000000 bandwidth 13.40Kb
|
||||
oldqueue sub2 on tun1000000 bandwidth 13.40Kb
|
||||
[ qid=5 ifname=tun1000000 ifbandwidth=33.60Kb ]
|
||||
queue sub3 on tun1000000 bandwidth 13.40Kb
|
||||
oldqueue sub3 on tun1000000 bandwidth 13.40Kb
|
||||
[ qid=6 ifname=tun1000000 ifbandwidth=33.60Kb ]
|
||||
queue vier on tun1000000 bandwidth 3.36Kb hfsc( default )
|
||||
oldqueue vier on tun1000000 bandwidth 3.36Kb hfsc( default )
|
||||
[ qid=8 ifname=tun1000000 ifbandwidth=33.60Kb ]
|
||||
queue fuenf on tun1000000 bandwidth 1.68Kb {subseven}
|
||||
oldqueue fuenf on tun1000000 bandwidth 1.68Kb {subseven}
|
||||
[ qid=9 ifname=tun1000000 ifbandwidth=33.60Kb ]
|
||||
queue subseven on tun1000000 bandwidth 1.44Kb
|
||||
oldqueue subseven on tun1000000 bandwidth 1.44Kb
|
||||
[ qid=10 ifname=tun1000000 ifbandwidth=33.60Kb ]
|
||||
|
@ -2,8 +2,8 @@
|
||||
#must have the same qid
|
||||
|
||||
altq on { lo0 tun1000000 } tbrsize 1824 cbq bandwidth 10Mb queue { one two }
|
||||
queue one bandwidth 10% cbq(default)
|
||||
queue two bandwidth 90% { three four}
|
||||
queue three bandwidth 50%
|
||||
queue four bandwidth 40%
|
||||
oldqueue one bandwidth 10% cbq(default)
|
||||
oldqueue two bandwidth 90% { three four}
|
||||
oldqueue three bandwidth 50%
|
||||
oldqueue four bandwidth 40%
|
||||
|
||||
|
@ -1,20 +1,20 @@
|
||||
queue root_lo0 on lo0 bandwidth 10Mb priority 0 cbq( wrr root ) {one, two}
|
||||
oldqueue root_lo0 on lo0 bandwidth 10Mb priority 0 cbq( wrr root ) {one, two}
|
||||
[ qid=1 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue one on lo0 bandwidth 1Mb cbq( default )
|
||||
oldqueue one on lo0 bandwidth 1Mb cbq( default )
|
||||
[ qid=3 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue two on lo0 bandwidth 9Mb {three, four}
|
||||
oldqueue two on lo0 bandwidth 9Mb {three, four}
|
||||
[ qid=4 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue three on lo0 bandwidth 4.50Mb
|
||||
oldqueue three on lo0 bandwidth 4.50Mb
|
||||
[ qid=5 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue four on lo0 bandwidth 3.60Mb
|
||||
oldqueue four on lo0 bandwidth 3.60Mb
|
||||
[ qid=6 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue root_tun1000000 on tun1000000 bandwidth 10Mb priority 0 cbq( wrr root ) {one, two}
|
||||
oldqueue root_tun1000000 on tun1000000 bandwidth 10Mb priority 0 cbq( wrr root ) {one, two}
|
||||
[ qid=2 ifname=tun1000000 ifbandwidth=10Mb ]
|
||||
queue one on tun1000000 bandwidth 1Mb cbq( default )
|
||||
oldqueue one on tun1000000 bandwidth 1Mb cbq( default )
|
||||
[ qid=3 ifname=tun1000000 ifbandwidth=10Mb ]
|
||||
queue two on tun1000000 bandwidth 9Mb {three, four}
|
||||
oldqueue two on tun1000000 bandwidth 9Mb {three, four}
|
||||
[ qid=4 ifname=tun1000000 ifbandwidth=10Mb ]
|
||||
queue three on tun1000000 bandwidth 4.50Mb
|
||||
oldqueue three on tun1000000 bandwidth 4.50Mb
|
||||
[ qid=5 ifname=tun1000000 ifbandwidth=10Mb ]
|
||||
queue four on tun1000000 bandwidth 3.60Mb
|
||||
oldqueue four on tun1000000 bandwidth 3.60Mb
|
||||
[ qid=6 ifname=tun1000000 ifbandwidth=10Mb ]
|
||||
|
@ -4,12 +4,12 @@
|
||||
|
||||
altq on lo0 tbrsize 1824 bandwidth 10Mb cbq queue { eins zwei drei }
|
||||
altq on tun1000000 tbrsize 1824 bandwidth 128000b cbq queue { vier zwei fuenf }
|
||||
queue eins bandwidth 10% cbq(default)
|
||||
queue zwei bandwidth 60% { sub2 sub3 }
|
||||
queue sub2 bandwidth 50%
|
||||
queue sub3 bandwidth 50%
|
||||
queue drei bandwidth 30% subseven
|
||||
queue vier bandwidth 25% cbq(default)
|
||||
queue fuenf bandwidth 15% subseven
|
||||
queue subseven bandwidth 90%
|
||||
oldqueue eins bandwidth 10% cbq(default)
|
||||
oldqueue zwei bandwidth 60% { sub2 sub3 }
|
||||
oldqueue sub2 bandwidth 50%
|
||||
oldqueue sub3 bandwidth 50%
|
||||
oldqueue drei bandwidth 30% subseven
|
||||
oldqueue vier bandwidth 25% cbq(default)
|
||||
oldqueue fuenf bandwidth 15% subseven
|
||||
oldqueue subseven bandwidth 90%
|
||||
|
||||
|
@ -1,28 +1,28 @@
|
||||
queue root_lo0 on lo0 bandwidth 10Mb priority 0 cbq( wrr root ) {eins, zwei, drei}
|
||||
oldqueue root_lo0 on lo0 bandwidth 10Mb priority 0 cbq( wrr root ) {eins, zwei, drei}
|
||||
[ qid=1 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue eins on lo0 bandwidth 1Mb cbq( default )
|
||||
oldqueue eins on lo0 bandwidth 1Mb cbq( default )
|
||||
[ qid=3 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue zwei on lo0 bandwidth 6Mb {sub2, sub3}
|
||||
oldqueue zwei on lo0 bandwidth 6Mb {sub2, sub3}
|
||||
[ qid=4 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue sub2 on lo0 bandwidth 3Mb
|
||||
oldqueue sub2 on lo0 bandwidth 3Mb
|
||||
[ qid=5 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue sub3 on lo0 bandwidth 3Mb
|
||||
oldqueue sub3 on lo0 bandwidth 3Mb
|
||||
[ qid=6 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue drei on lo0 bandwidth 3Mb {subseven}
|
||||
oldqueue drei on lo0 bandwidth 3Mb {subseven}
|
||||
[ qid=7 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue subseven on lo0 bandwidth 2.70Mb
|
||||
oldqueue subseven on lo0 bandwidth 2.70Mb
|
||||
[ qid=10 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue root_tun1000000 on tun1000000 bandwidth 128Kb priority 0 cbq( wrr root ) {zwei, vier, fuenf}
|
||||
oldqueue root_tun1000000 on tun1000000 bandwidth 128Kb priority 0 cbq( wrr root ) {zwei, vier, fuenf}
|
||||
[ qid=2 ifname=tun1000000 ifbandwidth=128Kb ]
|
||||
queue zwei on tun1000000 bandwidth 76.80Kb {sub2, sub3}
|
||||
oldqueue zwei on tun1000000 bandwidth 76.80Kb {sub2, sub3}
|
||||
[ qid=4 ifname=tun1000000 ifbandwidth=128Kb ]
|
||||
queue sub2 on tun1000000 bandwidth 38.40Kb
|
||||
oldqueue sub2 on tun1000000 bandwidth 38.40Kb
|
||||
[ qid=5 ifname=tun1000000 ifbandwidth=128Kb ]
|
||||
queue sub3 on tun1000000 bandwidth 38.40Kb
|
||||
oldqueue sub3 on tun1000000 bandwidth 38.40Kb
|
||||
[ qid=6 ifname=tun1000000 ifbandwidth=128Kb ]
|
||||
queue vier on tun1000000 bandwidth 32Kb cbq( default )
|
||||
oldqueue vier on tun1000000 bandwidth 32Kb cbq( default )
|
||||
[ qid=8 ifname=tun1000000 ifbandwidth=128Kb ]
|
||||
queue fuenf on tun1000000 bandwidth 19.20Kb {subseven}
|
||||
oldqueue fuenf on tun1000000 bandwidth 19.20Kb {subseven}
|
||||
[ qid=9 ifname=tun1000000 ifbandwidth=128Kb ]
|
||||
queue subseven on tun1000000 bandwidth 17.28Kb
|
||||
oldqueue subseven on tun1000000 bandwidth 17.28Kb
|
||||
[ qid=10 ifname=tun1000000 ifbandwidth=128Kb ]
|
||||
|
@ -2,6 +2,6 @@
|
||||
|
||||
altq on lo0 tbrsize 1824 bandwidth 10Mb cbq queue { bloody germans }
|
||||
altq on tun1000000 tbrsize 1824 bandwidth 10Mb cbq queue { bloody toads }
|
||||
queue bloody cbq(default) bandwidth 50%
|
||||
queue germans bandwidth 50%
|
||||
queue toads bandwidth 50%
|
||||
oldqueue bloody cbq(default) bandwidth 50%
|
||||
oldqueue germans bandwidth 50%
|
||||
oldqueue toads bandwidth 50%
|
||||
|
@ -1,12 +1,12 @@
|
||||
queue root_lo0 on lo0 bandwidth 10Mb priority 0 cbq( wrr root ) {bloody, germans}
|
||||
oldqueue root_lo0 on lo0 bandwidth 10Mb priority 0 cbq( wrr root ) {bloody, germans}
|
||||
[ qid=1 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue bloody on lo0 bandwidth 5Mb cbq( default )
|
||||
oldqueue bloody on lo0 bandwidth 5Mb cbq( default )
|
||||
[ qid=3 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue germans on lo0 bandwidth 5Mb
|
||||
oldqueue germans on lo0 bandwidth 5Mb
|
||||
[ qid=4 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue root_tun1000000 on tun1000000 bandwidth 10Mb priority 0 cbq( wrr root ) {bloody, toads}
|
||||
oldqueue root_tun1000000 on tun1000000 bandwidth 10Mb priority 0 cbq( wrr root ) {bloody, toads}
|
||||
[ qid=2 ifname=tun1000000 ifbandwidth=10Mb ]
|
||||
queue bloody on tun1000000 bandwidth 5Mb cbq( default )
|
||||
oldqueue bloody on tun1000000 bandwidth 5Mb cbq( default )
|
||||
[ qid=3 ifname=tun1000000 ifbandwidth=10Mb ]
|
||||
queue toads on tun1000000 bandwidth 5Mb
|
||||
oldqueue toads on tun1000000 bandwidth 5Mb
|
||||
[ qid=5 ifname=tun1000000 ifbandwidth=10Mb ]
|
||||
|
@ -1,9 +1,9 @@
|
||||
# verify the queue IDs on the rules are set correctly
|
||||
|
||||
altq on lo0 tbrsize 1824 priq bandwidth 10Mb queue { praise wim hi }
|
||||
queue praise priq(default)
|
||||
queue wim priority 15
|
||||
queue hi priority 7
|
||||
oldqueue praise priq(default)
|
||||
oldqueue wim priority 15
|
||||
oldqueue hi priority 7
|
||||
pass in on lo0 proto tcp to port 22 keep state queue(hi wim)
|
||||
pass in proto tcp to port 22 keep state queue(hi wim)
|
||||
pass in proto tcp to port 22 keep state queue wim
|
||||
|
@ -1,8 +1,8 @@
|
||||
queue praise on lo0 priq( default )
|
||||
oldqueue praise on lo0 priq( default )
|
||||
[ qid=1 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue wim on lo0 priority 15
|
||||
oldqueue wim on lo0 priority 15
|
||||
[ qid=2 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue hi on lo0 priority 7
|
||||
oldqueue hi on lo0 priority 7
|
||||
[ qid=3 ifname=lo0 ifbandwidth=10Mb ]
|
||||
@0 pass in on lo0 proto tcp from any to any port = 22 flags S/SA keep state queue(hi, wim)
|
||||
[ Skip steps: d=end f=end p=end sa=end sp=end da=end dp=3 ]
|
||||
|
@ -1,11 +1,11 @@
|
||||
# verify the queue IDs on the rules are set correctly
|
||||
|
||||
altq on lo0 tbrsize 1824 cbq bandwidth 10Mb queue { wim, the minibar is empty }
|
||||
queue wim bandwidth 10% cbq(default)
|
||||
queue the bandwidth 10%
|
||||
queue minibar bandwidth 30% priority 7
|
||||
queue is bandwidth 10%
|
||||
queue empty bandwidth 40%
|
||||
oldqueue wim bandwidth 10% cbq(default)
|
||||
oldqueue the bandwidth 10%
|
||||
oldqueue minibar bandwidth 30% priority 7
|
||||
oldqueue is bandwidth 10%
|
||||
oldqueue empty bandwidth 40%
|
||||
pass in on lo0 proto tcp to port 22 keep state queue(the minibar)
|
||||
pass in proto tcp to port 22 keep state queue(is empty)
|
||||
pass in proto tcp to port 22 keep state queue the
|
||||
|
@ -1,14 +1,14 @@
|
||||
queue root_lo0 on lo0 bandwidth 10Mb priority 0 cbq( wrr root ) {wim, the, minibar, is, empty}
|
||||
oldqueue root_lo0 on lo0 bandwidth 10Mb priority 0 cbq( wrr root ) {wim, the, minibar, is, empty}
|
||||
[ qid=1 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue wim on lo0 bandwidth 1Mb cbq( default )
|
||||
oldqueue wim on lo0 bandwidth 1Mb cbq( default )
|
||||
[ qid=2 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue the on lo0 bandwidth 1Mb
|
||||
oldqueue the on lo0 bandwidth 1Mb
|
||||
[ qid=3 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue minibar on lo0 bandwidth 3Mb priority 7
|
||||
oldqueue minibar on lo0 bandwidth 3Mb priority 7
|
||||
[ qid=4 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue is on lo0 bandwidth 1Mb
|
||||
oldqueue is on lo0 bandwidth 1Mb
|
||||
[ qid=5 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue empty on lo0 bandwidth 4Mb
|
||||
oldqueue empty on lo0 bandwidth 4Mb
|
||||
[ qid=6 ifname=lo0 ifbandwidth=10Mb ]
|
||||
@0 pass in on lo0 proto tcp from any to any port = 22 flags S/SA keep state queue(the, minibar)
|
||||
[ Skip steps: d=end f=end p=end sa=end sp=end da=end dp=3 ]
|
||||
|
@ -4,9 +4,9 @@
|
||||
# was: qid = priority + 1
|
||||
|
||||
altq on lo0 tbrsize 1824 bandwidth 10Mb priq queue eins
|
||||
queue eins priority 2 priq(default)
|
||||
oldqueue eins priority 2 priq(default)
|
||||
|
||||
altq on tun1000000 tbrsize 1824 bandwidth 33600b priq queue zwei
|
||||
queue zwei priority 2 priq(default)
|
||||
oldqueue zwei priority 2 priq(default)
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
queue eins on lo0 priority 2 priq( default )
|
||||
oldqueue eins on lo0 priority 2 priq( default )
|
||||
[ qid=1 ifname=lo0 ifbandwidth=10Mb ]
|
||||
queue zwei on tun1000000 priority 2 priq( default )
|
||||
oldqueue zwei on tun1000000 priority 2 priq( default )
|
||||
[ qid=2 ifname=tun1000000 ifbandwidth=33.60Kb ]
|
||||
|
@ -1,7 +1,7 @@
|
||||
# queuespec limited to interface(s)
|
||||
|
||||
altq on { tun1000000 tun1000001 } priq bandwidth 10Mb queue { one two }
|
||||
queue one priority 1 priq(default)
|
||||
queue two on tun1000000 priority 15
|
||||
queue two on tun1000001 priority 0
|
||||
oldqueue one priority 1 priq(default)
|
||||
oldqueue two on tun1000000 priority 15
|
||||
oldqueue two on tun1000001 priority 0
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
queue one on tun1000000 priq( default )
|
||||
oldqueue one on tun1000000 priq( default )
|
||||
[ qid=1 ifname=tun1000000 ifbandwidth=10Mb ]
|
||||
queue one on tun1000001 priq( default )
|
||||
oldqueue one on tun1000001 priq( default )
|
||||
[ qid=1 ifname=tun1000001 ifbandwidth=10Mb ]
|
||||
queue two on tun1000000 priority 15
|
||||
oldqueue two on tun1000000 priority 15
|
||||
[ qid=2 ifname=tun1000000 ifbandwidth=10Mb ]
|
||||
queue two on tun1000001 priority 0
|
||||
oldqueue two on tun1000001 priority 0
|
||||
[ qid=2 ifname=tun1000001 ifbandwidth=10Mb ]
|
||||
|
@ -1,8 +1,8 @@
|
||||
# queuespec limited to interface(s): negation
|
||||
|
||||
altq on { tun1000000 tun1000001 } priq bandwidth 10Mb queue { one two }
|
||||
queue one priority 1 priq(default)
|
||||
queue two on tun1000000 priority 15
|
||||
queue two on ! tun1000000 priority 0
|
||||
oldqueue one priority 1 priq(default)
|
||||
oldqueue two on tun1000000 priority 15
|
||||
oldqueue two on ! tun1000000 priority 0
|
||||
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
queue one on tun1000000 priq( default )
|
||||
oldqueue one on tun1000000 priq( default )
|
||||
[ qid=1 ifname=tun1000000 ifbandwidth=10Mb ]
|
||||
queue one on tun1000001 priq( default )
|
||||
oldqueue one on tun1000001 priq( default )
|
||||
[ qid=1 ifname=tun1000001 ifbandwidth=10Mb ]
|
||||
queue two on tun1000000 priority 15
|
||||
oldqueue two on tun1000000 priority 15
|
||||
[ qid=2 ifname=tun1000000 ifbandwidth=10Mb ]
|
||||
queue two on tun1000001 priority 0
|
||||
oldqueue two on tun1000001 priority 0
|
||||
[ qid=2 ifname=tun1000001 ifbandwidth=10Mb ]
|
||||
|
@ -2,6 +2,6 @@ ext_if="lo0"
|
||||
|
||||
altq on $ext_if priq bandwidth 10Mb tbrsize 1824 \
|
||||
queue { pri-low pri-med pri-high }
|
||||
queue pri-low priority 0
|
||||
queue pri-med priority 1 priq(default)
|
||||
queue pri-high priority 2
|
||||
oldqueue pri-low priority 0
|
||||
oldqueue pri-med priority 1 priq(default)
|
||||
oldqueue pri-high priority 2
|
||||
|
@ -1,5 +1,5 @@
|
||||
ext_if = "lo0"
|
||||
altq on lo0 priq bandwidth 10Mb tbrsize 1824 queue { pri-low pri-med pri-high }
|
||||
queue pri-low priority 0
|
||||
queue pri-med priq( default )
|
||||
queue pri-high priority 2
|
||||
oldqueue pri-low priority 0
|
||||
oldqueue pri-med priq( default )
|
||||
oldqueue pri-high priority 2
|
||||
|
@ -1,4 +1,4 @@
|
||||
#test tbrsize calculation
|
||||
|
||||
altq on lo1000010 bandwidth 10Mb cbq queue { openbsd rocks }
|
||||
queue openbsd cbq(default)
|
||||
oldqueue openbsd cbq(default)
|
||||
|
@ -1,2 +1,2 @@
|
||||
altq on lo1000010 cbq bandwidth 10Mb tbrsize 6000 queue { openbsd rocks }
|
||||
queue openbsd cbq( default )
|
||||
oldqueue openbsd cbq( default )
|
||||
|
@ -1,4 +1,4 @@
|
||||
#test tbrsize calculation
|
||||
|
||||
altq on lo1000010 bandwidth 10Mb cbq queue { openbsd rocks }
|
||||
queue openbsd cbq(default)
|
||||
oldqueue openbsd cbq(default)
|
||||
|
@ -1,2 +1,2 @@
|
||||
altq on lo1000010 cbq bandwidth 10Mb tbrsize 32000 queue { openbsd rocks }
|
||||
queue openbsd cbq( default )
|
||||
oldqueue openbsd cbq( default )
|
||||
|
Loading…
Reference in New Issue
Block a user