Explicit Congestion Notification - Implementations - ECN Support in TCP By Hosts - Apple Macintosh

Apple Macintosh

Mac OS X 10.5 and 10.6 implements ECN support for TCP. It is controlled using the following boolean sysctl variables:

net.inet.tcp.ecn_negotiate_in
net.inet.tcp.ecn_initiate_out

The first enables ECN on incoming connections that already have ECN flags set; the second tries to initiate outgoing connections with ECN enabled. Both variables default to 0, but can be set to 1 to enable the respective behavior:

sysctl -w net.inet.tcp.ecn_negotiate_in=1
sysctl -w net.inet.tcp.ecn_initiate_out=1

To make the settings persistent, put following lines in /etc/sysctl.conf:

net.inet.tcp.ecn_initiate_out=1
net.inet.tcp.ecn_negotiate_in=1

Read more about this topic:  Explicit Congestion Notification, Implementations, ECN Support in TCP By Hosts

Famous quotes containing the word apple:

    The finished man of the world must eat of every apple at once. He must hold his hatreds also at arm’s length, and not remember spite. He has neither friends nor enemies, but values men only as channels of power.
    Ralph Waldo Emerson (1803–1882)