TCP Window Scaling is part of RFC1323 - TCP Extensions for High Performance

I'm on Ubuntu 10.10 at the moment.

For an immediate effect I have run the following:

sudo sysctl -w net.ipv4.tcp_window_scaling=0

For a more lasting effect:

sudo sh -c 'echo "net.ipv4.tcp_window_scaling=0" >> /etc/sysctl.conf'

Is there a better or perhaps more user specific way to disable either all of RFC1323 or specifically disable TCP Window Scaling on Ubuntu for all outgoing requests from the machine?

For related information why I am doing this, see this ServerFault answer for my situation.

  • You want to disable the tcp window scaling on a specific connection or do you want to disable it for an application? – Andreas Roth Apr 29 '11 at 18:21
  • What spawned this question is the difference between MacOSX where you can disable the entire RFC1323 extension or the tcp_window_scale factor versus Ubuntu where the only option I found was disabling tcp_window_scaling. Just looking to see if there's a more correct way on Ubuntu to disable it. – Freddy May 2 '11 at 15:23

For me, the

sysctl -w net.ipv4.tcp_window_scaling=0

is the best. To enable that setting automatically, add the "net.ipv4.tcp_window_scaling=0" to /etc/sysctl.conf

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.