Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Capping of sockets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Capping of sockets



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

References: 
 >Capping of sockets (From: David Aames <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.