ermal.luci at gmail.com
Sun Oct 28 06:44:52 PDT 2007
Attached is the patch against -CURRENT for integrating PF with dummynet!
It gives full dummynet support in pf.conf syntax and removes dummynet
depndency to ipfw.
You can configure a pipe/queue using the same ipfw syntax the only
difference is that i call those 'dnpipe'/'dnqueue' respectivley.
GRED/RED isn't currently finished but that is a pfctl addition so not
For dummynet i preserve ipfw style statistics so tools of ipfw can be
used here to.
Since this is PF i preserved ALTQ priotitizing of ACK, meaning on ALTQ you do
pass in quick proto tcp from any to any flags S/SA queue(pri, que)
You can do the same with dummynet queues only, since for pipes it
doesn't make much sense since they simulate a link. So yuo can do
dnpipe 10 bandwidth 100Kbit
dnqueue 10 dnpipe 10 queue 100
dnqueue 20 dnpipe 10 queue 20
pass in quick proto tcp from any to any flags S/SA dnqueue(10, 20)
Please test and give feedback.
More information about the freebsd-net