Re: Support of dummynet in ipfw for bandwidth limiting
This won't be quick. Dummynet lives down in the bowels of the networking subsystem of the kernel, where we've done major, um, reconstructive surgery. If you want to give it a shot, you'll need to learn about DLIL and the NKE mechanisms in Darwin, for which there is, yet, no documentation to speak of. You can check the file NKE.pdf in the /Developer/Documentation tree for documentation that was done at the beginning of the work; it's good in overall concepts, but the details diverged a while back (and continue to do so). Regards, Justin On Thursday, December 13, 2001, at 02:14 , Chris Lewicki wrote: 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 _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored. --- Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | Men are from Earth. | Women are from Earth. | Deal with it. *--------------------------------------*-------------------------------*
participants (1)
-
justin@mac.com