Accessing certain web sites broken from 2.6.19+
Subsystems (2)
When accessing certain web sites when using any kernel above 2.6.19, TCP seems to break. Connection to the site is established but never completes. One particular site is www.dcita.gov.au. Is there a known issue pertaining to this? Using any kernel below 2.6.19 (for example: 2.6.12 or 2.6.15) works fine.
Quoted 5 lines · Andrew Hall
When accessing certain web sites when using any kernel above 2.6.19, TCP seems to break. Connection to the site is established but never completes. One particular site is www.dcita.gov.au. Is there a known issue pertaining to this? Using any kernel below 2.6.19 (for example: 2.6.12 or 2.6.15) works fine.
Including 2.6.21?
Which browser/s have you tried?
Signature · 6 lines
Sincerely, Robert Iakobashvili, coroberti %x40 gmail %x2e com ........................................................... http://curl-loader.sourceforge.net A web testing and traffic generation tool.
Quoted 22 lines
-----Original Message-----
From: Robert Iakobashvili [mailto:[email protected]]
Sent: Friday, 11 May 2007 2:38 PM
To: Andrew Hall
Cc: [email protected]
Subject: Re: Accessing certain web sites broken from 2.6.19+Quoted 1 line · Andrew Hall
When accessing certain web sites when using any kernel above 2.6.19,
TCP
Quoted 1 line
seems to break. Connection to the site is established but never
completes.
Quoted 1 line
One particular site is www.dcita.gov.au. Is there a known issue
pertaining
Quoted 1 line
to this? Using any kernel below 2.6.19 (for example: 2.6.12 or
2.6.15) works
Quoted 1 line
fine.
Including 2.6.21?
Which browser/s have you tried?
Quoted 7 lines
--
Sincerely,
Robert Iakobashvili,
coroberti %x40 gmail %x2e com
...........................................................
http://curl-loader.sourceforge.net
A web testing and traffic generation tool.
I have not yet tried 2.6.21.. only tried to 2.6.20.9. The issue isn't browser dependent ,as a wget directly from the OS will also fail during the connection. Interestingly requests made from hosts behind the 2.6.20 gateway that make the same request work fine, it seems it's only requests made from the localhost itself.
Andrew,
Quoted 3 lines · Andrew Hall
Quoted 3 lines
Quoted 1 line
When accessing certain web sites when using any kernel above 2.6.19,
TCP seems to break. Connection to the site is established but never completes.
Is it happening with a single connection, or when trying tens, hundreds, thousands? Is it stalled?
Could you send a packet capture for such connection? Thank you.
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
One particular site is www.dcita.gov.au. Is there a known issue
pertaining to this? Using any kernel below 2.6.19 (for example: 2.6.12 or 2.6.15) works fine.
I have not yet tried 2.6.21.. only tried to 2.6.20.9.
Please, try it with the most close configuration by using the same config-file and running make oldconfig. There are some issues fixed since that.
Quoted 4 lines
The issue isn't browser dependent ,as a wget directly from the OS will also fail during the connection. Interestingly requests made from hosts behind the 2.6.20 gateway that make the same request work fine, it seems it's only requests made from the localhost itself.
To be in position to assist you, the people of the list may wish more details, like:
1. wireshark or tcpdump capture of the broken/stalled sessions;
2. iptables ruleset dump and running modules list;
3. more knowledge about your kernel configuration (config file);
4. more details about your HW, particular networking and their drivers (is not it a HW/card/driver specific issue?)
Y may wish to look at how other people are submitting issues/bugs with more details.
Signature · 6 lines
Sincerely, Robert Iakobashvili, coroberti %x40 gmail %x2e com ........................................................... http://curl-loader.sourceforge.net A web testing and traffic generation tool.
Quoted 30 lines · Andrew Hall
Quoted 22 lines
-----Original Message-----
From: Robert Iakobashvili [mailto:[email protected]]
Sent: Friday, 11 May 2007 2:38 PM
To: Andrew Hall
Cc: [email protected]
Subject: Re: Accessing certain web sites broken from 2.6.19+Quoted 1 line · Andrew Hall
When accessing certain web sites when using any kernel above 2.6.19,
TCP
Quoted 1 line
seems to break. Connection to the site is established but never
completes.
Quoted 1 line
One particular site is www.dcita.gov.au. Is there a known issue
pertaining
Quoted 1 line
to this? Using any kernel below 2.6.19 (for example: 2.6.12 or
2.6.15) works
Quoted 1 line
fine.
Including 2.6.21?
Which browser/s have you tried?
Quoted 7 lines
--
Sincerely,
Robert Iakobashvili,
coroberti %x40 gmail %x2e com
...........................................................
http://curl-loader.sourceforge.net
A web testing and traffic generation tool.
Quoted 6 lines
I have not yet tried 2.6.21.. only tried to 2.6.20.9. The issue isn't browser dependent ,as a wget directly from the OS will also fail during the connection. Interestingly requests made from hosts behind the 2.6.20 gateway that make the same request work fine, it seems it's only requests made from the localhost itself.
Use tcptraceroute with and without -E to check this isn't a problem with ECN.
Signature · 1 line
Simon Arlott
Quoted 32 lines · On Fri, 11 May 2007 12:27:40 +0100 "Simon Arlott" <[email protected]> wrote:
Quoted 30 lines · Andrew Hall
Quoted 29 lines
-----Original Message-----
From: Robert Iakobashvili [mailto:[email protected]]
Sent: Friday, 11 May 2007 2:38 PM
To: Andrew Hall
Cc: [email protected]
Subject: Re: Accessing certain web sites broken from 2.6.19+Quoted 1 line · Andrew Hall
When accessing certain web sites when using any kernel above 2.6.19,
TCP
Quoted 1 line
seems to break. Connection to the site is established but never
completes.
Quoted 1 line
One particular site is www.dcita.gov.au. Is there a known issue
pertaining
Quoted 1 line
to this? Using any kernel below 2.6.19 (for example: 2.6.12 or
2.6.15) works
Quoted 1 line
fine.
Including 2.6.21?
Which browser/s have you tried?
--
Sincerely,
Robert Iakobashvili,
coroberti %x40 gmail %x2e com
...........................................................
http://curl-loader.sourceforge.net
A web testing and traffic generation tool.
Quoted 10 lines
Quoted 6 lines
I have not yet tried 2.6.21.. only tried to 2.6.20.9. The issue isn't browser dependent ,as a wget directly from the OS will also fail during the connection. Interestingly requests made from hosts behind the 2.6.20 gateway that make the same request work fine, it seems it's only requests made from the localhost itself.
Use tcptraceroute with and without -E to check this isn't a problem with ECN.
The problem is TCP window scaling, see:
http://lwn.net/Articles/92727/
The problem is some sites have firewalls that don't follow the TCP standards. There is no way to automatically detect these.
Linux has supported TCP window scaling for a long time, but only recently has the default memory sizing been adjusted to use larger buffers by default. If the buffer size is >64K then window scaling will be used. If scaling is greater than 2 (ie >128k) then it is possible to have the problem.
The firewall is doing bad job of passing SYN packets and strips off the options. This leaves the receiver is doing window scaling, but the sender is not. The receiver says it has a window of say 1K bytes (with scale of 7) but sender thinks that is only 8 bytes so goes into silly window syndrome (SWS) avoidance and doesn't send.
The kernel developers made a conscious decision not to restrict Linux usage of window scaling, even though it might cause problems with broken networks. You can avoid the problem by restricting buffering by setting tcp_mem lower, turning off window scaling with sysctl, or by setting a cwnd limit on a per route basis.
Signature · 1 line
Stephen Hemminger <[email protected]>