A specific example needing IPFW help
I'm tagging onto this because I have a similar question about using IPFW which is not handled by WaterRoof (as far as I was able to tell after downloading it).
My specific issue is I want to limit total incoming bandwidth to, say, 90KB/s. I want to have multiple queues within that pipe -- one for HTTP traffic (ports 80 and 443), one for email traffic (ports 25 and 110), and one catch-all for anything else, but... here's the tricky part... I want to be able to have multiple HTTP connections going at once and having equal shares of the HTTP queue. If I only have one HTTP connection going, it should get the full allotment of its queue, but if I have 3 HTTP connections going, then each should get 1/3 of that queue.
I have read the ipfw manpage and several examples online but none address this scenario. I understand that I need to use "masks" on my queue setup, but have had no success in trying. It seems every time I make a change to test it out, even if I set the total bandwidth higher, my actual throughput drops.
I am running MacOS 10.6.