Re: [PATCH] tcp: limit window scaling if window is clamped

From: David Miller
Date: Fri Aug 18 2006 - 19:57:53 EST


From: Stephen Hemminger <shemminger@xxxxxxxx>
Date: Fri, 18 Aug 2006 10:29:38 -0700

> This small change allows for easy per-route workarounds for broken hosts or
> middleboxes that are not compliant with TCP standards for window scaling.
> Rather than having to turn off window scaling globally. This patch allows
> reducing or disabling window scaling if window clamp is present.
>
> Example: Mark Lord reported a problem with 2.6.17 kernel being unable to
> access http://www.everymac.com
>
> # ip route add 216.145.246.23/32 via 10.8.0.1 window 65535
>
> I would argue this ought to go in stable kernel as well.
>
> Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxx>

I want to think about this some more, it might have unintended
consequences. I really am not all that thrilled about putting in
workaround for this problem especially if it hurts a legitimate use of
some kind.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/