Fwd: [PATCH] PF+dummynet

Ermal Luçi ermal.luci at gmail.com
Sun Oct 28 13:11:11 PDT 2007


Ok thanks to remko@ for hosting it!

You can find it here:
http://people.freebsd.org/~remko/patches/dummynet_pf.tar.gz

Please test and give feedback.

>
> > 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
> > difficult.
> >
> > 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.
>
> > _______________________________________________
> > freebsd-net at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-net
> > To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_dummynet3.diff
Type: text/x-patch
Size: 50273 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20071028/c3fc1a5f/test_dummynet3-0001.bin


More information about the freebsd-net mailing list