Re: TCP bug? hanging outgoing connections in 2.2.14

From: Jeremy Fitzhardinge (jeremy@goop.org)
Date: Fri Feb 18 2000 - 00:30:04 EST


On 17-Feb-00 Andi Kleen wrote:
> Could you try if this patch helps?
>
> --- linux/net/ipv4/tcp_input.c-o Wed Feb 9 14:35:59 2000
> +++ linux/net/ipv4/tcp_input.c Thu Feb 17 15:23:42 2000
> @@ -2182,11 +2181,11 @@
> /* RFC1323: The window in SYN & SYN/ACK segments is
> * never scaled.
> */
> - tp->snd_wnd = htons(th->window);
> + tp->max_window = tp->snd_wnd = htons(th->window);

It doesn't help, but it looks like a false alarm. The other end is trying to
do a ident on me, but I don't have it. I send back a ICMP port unreachable,
but it doesn't seem to notice. When I do the manual telnet, it drops the
delivery smtp connection; I guess it only allows one connection per host.

Here's a more complete tcpdump:

[root@gw jeremy]# postfix flush
21:17:33.774828 gw.goop.org.1024 > csla.csl.sri.com.smtp: S
588362597:588362597(0) win 32120 <mss 1460,sackOK,timestamp 8283[|tcp]> (DF)
(ttl 64, id 296)
21:17:33.791748 csla.csl.sri.com.smtp > gw.goop.org.1024: S
1710656000:1710656000(0) ack 588362598 win 4096 (ttl 50, id 47417)
21:17:33.791909 gw.goop.org.1024 > csla.csl.sri.com.smtp: . ack 1 win 32120
(DF) (ttl 64, id 299)
21:17:34.091722 csla.csl.sri.com.2224 > gw.goop.org.auth: S
1710784000:1710784000(0) win 4096 (ttl 50, id 47493)
21:17:34.091825 gw.goop.org > csla.csl.sri.com: icmp: gw.goop.org tcp port auth
unreachable [tos 0xc0] (ttl 255, id 301)

[root@gw jeremy]# telnet csla.csl.sri.com smtp
Trying 192.12.33.2...
21:18:55.112184 gw.goop.org.listen > csla.csl.sri.com.smtp: S
671366456:671366456(0) win 32120 <mss 1460,sackOK,timestamp 16416[|tcp]> (DF)
[tos 0x10] (ttl 64, id 385)
21:18:55.129735 csla.csl.sri.com.smtp > gw.goop.org.listen: S
1721856000:1721856000(0) ack 671366457 win 4096 (ttl 50, id 48133)
21:18:55.129888 gw.goop.org.listen > csla.csl.sri.com.smtp: . ack 1 win 32120
(DF) [tos 0x10] (ttl 64, id 387)
Connected to csla.csl.sri.com.
Escape character is '^]'.
21:18:55.418653 csla.csl.sri.com.2232 > gw.goop.org.auth: S
1721920000:1721920000(0) win 4096 (ttl 50, id 48209)
21:18:55.418757 gw.goop.org > csla.csl.sri.com: icmp: gw.goop.org tcp port auth
unreachable [tos 0xc0] (ttl 255, id 389)
21:18:55.488673 csla.csl.sri.com.smtp > gw.goop.org.1024: F 1:1(0) ack 1 win
4096 (ttl 50, id 48210)
21:18:55.488778 gw.goop.org.1024 > csla.csl.sri.com.smtp: . ack 2 win 32696
(DF) (ttl 64, id 391)
21:18:55.489897 gw.goop.org.1024 > csla.csl.sri.com.smtp: F 1:1(0) ack 2 win
32696 (DF) (ttl 64, id 392)
21:18:55.509942 csla.csl.sri.com.smtp > gw.goop.org.1024: . ack 2 win 4096 (ttl
50, id 48213)

Thanks for your help,
        J

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:20 EST