RE: Telnet Disconnects - Please help!



On Mon, 2008-05-26 at 22:39 +1000, Karl Auer wrote:
On Mon, 2008-05-26 at 05:26 -0700, Smoot Carl-Mitchell wrote:
echo 0 >/proc/sys/net/ipv4/tcp_window_scaling

If window scaling is not negotiated properly, then you will experience
"freezing" on receiving large amounts of output from the router or
switch.

But it doesn't freeze. The connection is terminated abruptly. Or did I
misunderstand the OP's description? (which I no longer have).

My only point is you can turn window scaling off on the GNU/Linux box
and see if the problem goes away. If it does, then that is the source
of the problem. If not, it at least eliminates it as an issue.

I experienced the "freezing" issue with a hotel ISP which evidently had
switches or routers which did not negotiate window scaling correctly or
at all. It took me several hours to figure out what was going on. I
tracked down the problem by using tcpdump and watching the packets go
by. My TCP keep sending timeout ACKS, while the remote TCP refused to
send anything. I suspect the remote end thought my TCP's receive window
was zero, even though my TCP kept telling it the receive window was wide
open. The window scaling interfered with the TCP negotiation in some
peculiar way. I suspect it was an old implementation which did not
support window scaling at all and ignored the initial negotiation.
--
Smoot Carl-Mitchell
System/Network Architect
smoot@xxxxxxx
+1 480 922 7313
cell: +1 602 421 9005

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • RE: Telnet Disconnects - Please help! [SOLVED]
    ... If window scaling is not negotiated properly, ... My TCP keep sending timeout ACKS, while the remote TCP refused to ... support window scaling at all and ignored the initial negotiation. ... I am unable to determine if this is caused because of some old router, incompatibility with MPLS Tunnels, etc. ...
    (Ubuntu)
  • Re: low gigE transfer rate
    ... > to know a bit more about the CPUs, ... It is hard to say whether setting jumbo would help here without ... I would definitely bump the tcp high and low water marks, ... jumbo...but I'd bump the buffers and try window scaling ...
    (comp.unix.solaris)
  • Re: Interesting TCP issue
    ... }} Subject: Re: Interesting TCP issue ... }}> idiotically small window the remote server is advertising. ... }} turn off window scaling and see if that helps ...
    (freebsd-hackers)
  • sky2 stable in 2.6.12-rc1 (but still performance problem)...
    ... I am still observing a performance problem - feels like a wmbor ... TCP send window can grow enough even if ACKs are delayed due to this ... could restrict the window scaling factor, so it would be bound by the ... avg UDP packet latency IIRC. ...
    (Linux-Kernel)
  • Re: cant reach internet
    ... I had the same TCP Window scaling problem with a hotel network. ... turn off window scaling negotiation by ... client issuing TCP ACK segments with no response from the remote server. ...
    (Ubuntu)