Re: Capping of sockets
Re: Capping of sockets
- Subject: Re: Capping of sockets
- From: "Peter Sichel" <email@hidden>
- Date: Fri, 9 Jun 2006 21:42:24 -0400
On 6/9/06, David Aames wrote:
>Hi all,
>
>I've been trying to implement capping of sockets but apparently it
>didn't work out quite well.
There are two implementations of this I'm familiar with for OS X:
(1) throttled which uses an ipfw divert socket to grab the traffic
and spool it out more slowly based on a nano-timer.
I understand there's an open source command line version
and it does Ack prioritization similar to ALTQ for pf on BSD.
(2) My own IPNetRouterX/IPNetSentryX does TCP rate limiting
using an NKE. I've written more about this here:
<http://sustworks.com/site/app_note_1006.html>.
While more complex to implement, it affords efficient
rate control in both directions by controlling when
and how much the end of the TCP receive window moves.
Once sent, packets are never delayed or dropped
(affecting the RTT estimate). The data buffering is
pushed all the way back to the sending socket and
application.
I'm not aware of any Open Source implementations that do
actual TCP rate limiting. Most do some form of queueing
similar to "DummyNet" that was originally intended to
simulate impaired network connections.
Kind Regards,
- Peter Sichel
Sustainable Softworks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden