Dummynet + PF

Goran Mekić meka at tilda.center
Sun Feb 10 08:02:29 UTC 2019


On Sat, Feb 09, 2019 at 02:17:04PM +0300, Andrey V. Elsukov wrote:
> Hi,
>
> I think it doesn't really depend from ipfw, you can just remove this
> dependency from ip_dummynet.c.
>
> --
> WBR, Andrey V. Elsukov
>


My laptop is only 2-core machine so it took a lot of time for a simple
experiment:

- compiled WITHOUT_IPFW and dummynet loads
- compiled with WITHOUT_IPFW removed and dummynet loads

Now, what would be the quickest and dirtiest example of using dummynet?
Let's say I want one pipe of 300kB/s and put all TCP throught it for
the sake of a really quick PoC? By now I'm sure we have the right spot
to place that PoC in PF code.

What would be proof enough that dummynet can work without module
depending on ipfw? I'd love to submit this patch soonish. I assume tests
need to pass?

Regards,
meka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ipfw/attachments/20190210/c2b81297/attachment.sig>


More information about the freebsd-ipfw mailing list