Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2011 09:25:57 +0200
From:      =?ISO-8859-1?Q?Ermal_Lu=E7i?= <eri@freebsd.org>
To:        Peter Jeremy <peter.jeremy@alcatel-lucent.com>
Cc:        Luigi Rizzo <luigi@freebsd.org>, "freebsd-pf@freebsd.org" <freebsd-pf@freebsd.org>
Subject:   Re: [PATCH] PF+dummynet
Message-ID:  <CAPBZQG3q29yTuH0gHmj9tkUyfgActXe%2Bp-AK8yicjfqSrMvPyQ@mail.gmail.com>
In-Reply-To: <20110822022336.GL6142@pjdesk.au.alcatel-lucent.com>
References:  <200710171043.08126.max@love2party.net> <d5992baf0710171324n65c4b171l71db8aeac445b52d@mail.gmail.com> <9a542da30710211232v4d3c930fg8ea778a12f3f16cb@mail.gmail.com> <9a542da30710280617t11e668e2o4d122998192f71c@mail.gmail.com> <20081103060321.GA45414@server.vk2pj.dyndns.org> <9a542da30811040753m1a2728bcu365c65da8fb61721@mail.gmail.com> <20110629044233.GB65891@pjdesk.au.alcatel-lucent.com> <BANLkTimyfZ=-UCxLAE_XX7BH3a0YLHdFKQ@mail.gmail.com> <20110713010029.GE65891@pjdesk.au.alcatel-lucent.com> <CAPBZQG2KZww5MfX6HB=YMX0MrtTPrQwinxok-nLjnLNTN33O=w@mail.gmail.com> <20110822022336.GL6142@pjdesk.au.alcatel-lucent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 22, 2011 at 4:23 AM, Peter Jeremy
<peter.jeremy@alcatel-lucent.com> wrote:
> [This is fairly old but has recently bubbled to the top of my TODO list]
>
> On 2011-Jul-13 23:35:44 +0800, Ermal Lu=E7i <eri@freebsd.org> wrote:
>>I reverted back from having the pipes configured in pfctl because it
>>will be a catching game with ipfw.
>>To me it seems quite awkward that you cannot use ipfw to do all the
>>configuration and
>>just use the pipe/queue numbers for sending traffic to it on pfctl.
>
> Whereas, to me it seems awkward that you use pfctl to attach
> dummynet flows to pf rules but you can't use pfctl to manage the
> dmmmynet configuration.
>

To me this is a not really useful work.
The only needed way for this is just feeling to have a solution integrated.

Since 9.0 dummynet can be loaded without ipfw(4) and ipfw(8) tool can
be used for it.

> I have managed to integrate ipfw/dummynet.c into pfctl and it all
> seems to work for me - except that flows are not persistent so that
> my statistics doesn't work. =A0I am still working through to see if
> this is something I broke or a new "feature".
>
> I hope to forward patches once I'm happy with it.
>
>>To me something that is glued on ipfw should stay there as it will get
>>the best support.
>>Possibly splitting dummynet configuration out to dnctl might have an argu=
ment.
>
> IMHO, it would be a great improvement to separate dummynet from ipfw.
>
As a start it is very easy to separate dummynet functions from ipfw(8)
and come up with a dnctl utility.
Later on it can be improved. Just that a big warning would have to be
put on ipfw(8) to let many people aware of this.
This IMHO would be worth spending time on if you really want to feel
dummynet as its own solution.
It is not a very big job per se as well.

CC'ing Luigi to see what he thinks about this.

> --
> Peter Jeremy
>



--=20
Ermal



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPBZQG3q29yTuH0gHmj9tkUyfgActXe%2Bp-AK8yicjfqSrMvPyQ>