Support of dummynet in ipfw for bandwidth limiting
Support of dummynet in ipfw for bandwidth limiting
- Subject: Support of dummynet in ipfw for bandwidth limiting
- From: Chris Lewicki <email@hidden>
- Date: Thu, 13 Dec 2001 14:14:53 -0800
Hi,
I'd like to bandwidth limit some services coming from my Mac OS X
machine, and the use of ipfw w/dummynet
(
http://info.iet.unipi.it/~luigi/ip_dummynet/) seemed like the easiest and
most appropriate thing for my application.
However, it would seem that dummynet is not supported in Darwin, despite
the presence of a few header files throughout the system to the contrary.
When trying to add a pipe and configure it I get the following error:
ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Protocol not available
So, my question: Is anyone working on a port? I gave a quick try
from FreeBSD sources, but haven't had much luck. I think I'm missing things
like ip_dummynet.c, bridge.c etc.... Also, while I've been able to
recompile a working IPFirewall kernel extension, perhaps I need to be
updating /sbin/ipfw as well? But where's the source? Can't seem to find an
Apple version of it anywhere.
Anyway, hope this finds a quick solution.
Thanks!
-Chris