Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 12 Feb 2001 17:32:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 12 Feb 2001 17:32:49 -0500 Received: from mhp.lightlink.com ([205.232.34.247]:23046 "EHLO mhp.lightlink.com") by vger.kernel.org with ESMTP id ; Mon, 12 Feb 2001 17:32:34 -0500 Date: Mon, 12 Feb 2001 18:46:27 -0500 (EST) From: Max Parke To: kuznet@ms2.inr.ac.ru cc: Dave Miller , Andi Kleen , linux-kernel@vger.kernel.org Subject: Re: 2.2.x: TCP lockups with tcp_timestamps In-Reply-To: <200102121709.UAA29984@ms2.inr.ac.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 12 Feb 2001 kuznet@ms2.inr.ac.ru wrote: > Hello! > > > Machine (IP address 1.2.3.4) is running kernel 2.2.13 and dials in > > over an annoyingly high-latency PPP link via ordinary modems. > > > > Machine (IP address 5.6.7.8) connects via a cable modem and is running > > RH6.2 and kernel 2.2.14. > > Are they connected directly? Any routers between them? They're both connected to the Internet, there are several routers, etc. (including PPP dial-in server) between them. > Another question: what's about masquerading et al? Yes. The 5.6.7.8 machine is connected to the Internet via a Linksys "router" that is also performing masquerade. I will be very angry if this turns out to be the culprit. The 1.2.3.4 machine has masq compiled into the kernel but isn't in use in the case shown. > > Needed, of course. tcpdump of one bad session on both of ends. Below, both ends are attached. > I am afraid that it is not a workaround. You observe some corruption > _NOT_ detected by checksum. Disabling timestamps can hide problem, > but corruption might remain. Disable vjcomp better (if it is enabled). OK. *Many* thanks Max --------------------------------------------------------------------------- [Note, I can reformat these using tcpdump -x[e] if needed] Trace taken from 1.2.3.4 machine 20:29:34.730716 1.2.3.4.379 > 5.6.7.8.1053: P 16364:16468(104) ack 65097 win 31856 (DF) 20:29:35.115762 5.6.7.8.1053 > 1.2.3.4.379: . 65097:65097(0) ack 16468 win 32120 (DF) 20:29:35.155767 5.6.7.8.1053 > 1.2.3.4.379: P 65097:65157(60) ack 16468 win 32120 (DF) 20:29:35.155818 5.6.7.8.1053 > 1.2.3.4.379: P 65157:65211(54) ack 16468 win 32120 (DF) 20:29:35.175778 1.2.3.4.379 > 5.6.7.8.1053: . 16468:16468(0) ack 65211 win 31856 (DF) 20:29:35.179648 1.2.3.4.379 > 5.6.7.8.1053: P 16468:16528(60) ack 65211 win 31856 (DF) 20:29:35.535768 5.6.7.8.1053 > 1.2.3.4.379: P 65211:66288(1077) ack 16468 win 32120 (DF) 20:29:35.925800 1.2.3.4.379 > 5.6.7.8.1053: . 16528:16528(0) ack 66288 win 31856 (DF) 20:29:35.929720 1.2.3.4.379 > 5.6.7.8.1053: P 16528:16588(60) ack 66288 win 31856 (DF) 20:29:35.995781 5.6.7.8.1053 > 1.2.3.4.379: . 66288:66288(0) ack 16528 win 32120 (DF) 20:29:36.305771 5.6.7.8.1053 > 1.2.3.4.379: . 66288:66288(0) ack 16528 win 32120 (DF) 20:29:36.695769 5.6.7.8.1053 > 1.2.3.4.379: P 66288:67415(1127) ack 16528 win 32120 (DF) 20:29:36.702543 1.2.3.4.379 > 5.6.7.8.1053: P 16588:16648(60) ack 67415 win 31856 (DF) 20:29:36.923237 1.2.3.4.379 > 5.6.7.8.1053: P 16648:16752(104) ack 67415 win 31856 (DF) 20:29:37.215797 5.6.7.8.1053 > 1.2.3.4.379: . 67415:67415(0) ack 16528 win 32120 (DF) 20:29:37.225784 5.6.7.8.1053 > 1.2.3.4.379: . 67415:67415(0) ack 16528 win 32120 (DF) 20:29:37.225872 1.2.3.4.379 > 5.6.7.8.1053: P 16528:16648(120) ack 67415 win 31856 (DF) 20:29:37.830074 1.2.3.4.379 > 5.6.7.8.1053: P 16752:16856(104) ack 67415 win 31856 (DF) 20:29:37.835833 5.6.7.8.1053 > 1.2.3.4.379: . 67415:67415(0) ack 16528 win 32120 (DF) 20:29:38.105797 5.6.7.8.1053 > 1.2.3.4.379: . 67415:67415(0) ack 16528 win 32120 (DF) 20:29:38.635785 5.6.7.8.1053 > 1.2.3.4.379: P 66288:67415(1127) ack 16528 win 32120 (DF) 20:29:38.635869 1.2.3.4.379 > 5.6.7.8.1053: . 16856:16856(0) ack 67415 win 31856 (DF) 20:29:39.295770 5.6.7.8.1053 > 1.2.3.4.379: P 67415:68542(1127) ack 16528 win 32120 (DF) 20:29:39.302532 1.2.3.4.379 > 5.6.7.8.1053: P 16856:16916(60) ack 68542 win 31856 (DF) 20:29:39.515796 5.6.7.8.1053 > 1.2.3.4.379: . 68542:68542(0) ack 16528 win 32120 (DF) 20:29:39.650291 1.2.3.4.379 > 5.6.7.8.1053: P 16916:17020(104) ack 68542 win 31856 (DF) 20:29:40.325784 5.6.7.8.1053 > 1.2.3.4.379: . 68542:68542(0) ack 16528 win 32120 (DF) 20:29:41.545775 5.6.7.8.1053 > 1.2.3.4.379: P 67415:68542(1127) ack 16528 win 32120 (DF) 20:29:41.545865 1.2.3.4.379 > 5.6.7.8.1053: . 17020:17020(0) ack 68542 win 31856 (DF) 20:29:43.290905 1.2.3.4.379 > 5.6.7.8.1053: P 17020:17124(104) ack 68542 win 31856 (DF) 20:29:43.525801 5.6.7.8.1053 > 1.2.3.4.379: . 68542:68542(0) ack 16528 win 32120 (DF) 20:29:44.065769 5.6.7.8.1053 > 1.2.3.4.379: P 68542:69669(1127) ack 16528 win 32120 (DF) 20:29:44.072538 1.2.3.4.379 > 5.6.7.8.1053: P 17124:17184(60) ack 69669 win 31856 (DF) 20:29:44.285753 5.6.7.8.1053 > 1.2.3.4.379: . 69669:69669(0) ack 16528 win 32120 (DF) 20:29:46.005767 5.6.7.8.1053 > 1.2.3.4.379: P 68542:69669(1127) ack 16528 win 32120 (DF) 20:29:46.005851 1.2.3.4.379 > 5.6.7.8.1053: . 17184:17184(0) ack 69669 win 31856 (DF) 20:29:50.572142 1.2.3.4.379 > 5.6.7.8.1053: P 17184:17288(104) ack 69669 win 31856 (DF) 20:29:50.915801 5.6.7.8.1053 > 1.2.3.4.379: . 69669:69669(0) ack 16528 win 32120 (DF) 20:29:53.895781 5.6.7.8.1053 > 1.2.3.4.379: P 69669:70796(1127) ack 16528 win 32120 (DF) 20:29:53.902581 1.2.3.4.379 > 5.6.7.8.1053: P 17288:17348(60) ack 70796 win 31856 (DF) 20:29:54.155798 5.6.7.8.1053 > 1.2.3.4.379: . 70796:70796(0) ack 16528 win 32120 (DF) 20:29:55.825770 5.6.7.8.1053 > 1.2.3.4.379: P 69669:70796(1127) ack 16528 win 32120 (DF) 20:29:55.825857 1.2.3.4.379 > 5.6.7.8.1053: . 17348:17348(0) ack 70796 win 31856 (DF) 20:30:05.135307 1.2.3.4.379 > 5.6.7.8.1053: P 17348:17452(104) ack 70796 win 31856 (DF) 20:30:05.415830 5.6.7.8.1053 > 1.2.3.4.379: . 70796:70796(0) ack 16528 win 32120 (DF) 20:30:13.645759 5.6.7.8.1053 > 1.2.3.4.379: P 70796:71923(1127) ack 16528 win 32120 (DF) 20:30:13.653038 1.2.3.4.379 > 5.6.7.8.1053: P 17452:17512(60) ack 71923 win 31856 (DF) 20:30:14.015771 5.6.7.8.1053 > 1.2.3.4.379: . 71923:71923(0) ack 16528 win 32120 (DF) 20:30:15.385804 5.6.7.8.1053 > 1.2.3.4.379: P 70796:71923(1127) ack 16528 win 32120 (DF) 20:30:15.385890 1.2.3.4.379 > 5.6.7.8.1053: . 17512:17512(0) ack 71923 win 31856 (DF) 20:30:34.259550 1.2.3.4.379 > 5.6.7.8.1053: P 17512:17616(104) ack 71923 win 31856 (DF) 20:30:34.645803 5.6.7.8.1053 > 1.2.3.4.379: . 71923:71923(0) ack 16528 win 32120 (DF) 20:30:52.965776 5.6.7.8.1053 > 1.2.3.4.379: P 71923:73050(1127) ack 16528 win 32120 (DF) 20:30:52.972854 1.2.3.4.379 > 5.6.7.8.1053: P 17616:17676(60) ack 73050 win 31856 (DF) 20:30:53.215783 5.6.7.8.1053 > 1.2.3.4.379: . 73050:73050(0) ack 16528 win 32120 (DF) 20:30:54.595807 5.6.7.8.1053 > 1.2.3.4.379: P 71923:73050(1127) ack 16528 win 32120 (DF) 20:30:54.595900 1.2.3.4.379 > 5.6.7.8.1053: . 17676:17676(0) ack 73050 win 31856 (DF) 20:31:32.509104 1.2.3.4.379 > 5.6.7.8.1053: P 17676:17780(104) ack 73050 win 31856 (DF) 20:31:32.775765 5.6.7.8.1053 > 1.2.3.4.379: . 73050:73050(0) ack 16528 win 32120 (DF) 20:31:37.225814 1.2.3.4.379 > 5.6.7.8.1053: P 16528:16752(224) ack 73050 win 31856 (DF) 20:31:37.545800 5.6.7.8.1053 > 1.2.3.4.379: . 73050:73050(0) ack 16528 win 32120 (DF) Trace taken from 5.6.7.8 (aka 192.168.1.102) machine 19:18:26.376074 < 1.2.3.4.379 > 192.168.1.102.1053: P 16364:16468(104) ack 65097 win 31856 (DF) 19:18:26.390488 > 192.168.1.102.1053 > 1.2.3.4.379: . 65097:65097(0) ack 16468 win 32120 (DF) 19:18:26.391354 > 192.168.1.102.1053 > 1.2.3.4.379: P 65097:65157(60) ack 16468 win 32120 (DF) 19:18:26.393963 > 192.168.1.102.1053 > 1.2.3.4.379: P 65157:65211(54) ack 16468 win 32120 (DF) 19:18:26.396959 > 192.168.1.102.1053 > 1.2.3.4.379: P 65211:66288(1077) ack 16468 win 32120 (DF) 19:18:26.800186 < 1.2.3.4.379 > 192.168.1.102.1053: . 16468:16468(0) ack 65211 win 31856 (DF) 19:18:26.808820 < 1.2.3.4.379 > 192.168.1.102.1053: P 16468:16528(60) ack 65211 win 31856 (DF) 19:18:26.820427 > 192.168.1.102.1053 > 1.2.3.4.379: . 66288:66288(0) ack 16528 win 32120 (DF) 19:18:27.552445 < 1.2.3.4.379 > 192.168.1.102.1053: . 16528:16528(0) ack 66288 win 31856 (DF) 19:18:27.559262 < 1.2.3.4.379 > 192.168.1.102.1053: P 16528:16588(60) ack 66288 win 31856 (DF) 19:18:27.559277 > 192.168.1.102.1053 > 1.2.3.4.379: . 66288:66288(0) ack 16528 win 32120 (DF) 19:18:27.621990 > 192.168.1.102.1053 > 1.2.3.4.379: P 66288:67415(1127) ack 16528 win 32120 (DF) 19:18:28.333020 < 1.2.3.4.379 > 192.168.1.102.1053: P 16588:16648(60) ack 67415 win 31856 (DF) 19:18:28.333049 > 192.168.1.102.1053 > 1.2.3.4.379: . 67415:67415(0) ack 16528 win 32120 (DF) 19:18:28.566957 < 1.2.3.4.379 > 192.168.1.102.1053: P 16648:16752(104) ack 67415 win 31856 (DF) 19:18:28.566971 > 192.168.1.102.1053 > 1.2.3.4.379: . 67415:67415(0) ack 16528 win 32120 (DF) 19:18:28.866541 < 1.2.3.4.379 > 192.168.1.102.1053: P 16528:16648(120) ack 67415 win 31856 (DF) 19:18:28.866560 > 192.168.1.102.1053 > 1.2.3.4.379: . 67415:67415(0) ack 16528 win 32120 (DF) 19:18:29.473407 < 1.2.3.4.379 > 192.168.1.102.1053: P 16752:16856(104) ack 67415 win 31856 (DF) 19:18:29.473421 > 192.168.1.102.1053 > 1.2.3.4.379: . 67415:67415(0) ack 16528 win 32120 (DF) 19:18:29.670424 > 192.168.1.102.1053 > 1.2.3.4.379: P 66288:67415(1127) ack 16528 win 32120 (DF) 19:18:30.220794 < 1.2.3.4.379 > 192.168.1.102.1053: . 16856:16856(0) ack 67415 win 31856 (DF) 19:18:30.220843 > 192.168.1.102.1053 > 1.2.3.4.379: P 67415:68542(1127) ack 16528 win 32120 (DF) 19:18:30.928080 < 1.2.3.4.379 > 192.168.1.102.1053: P 16856:16916(60) ack 68542 win 31856 (DF) 19:18:30.928097 > 192.168.1.102.1053 > 1.2.3.4.379: . 68542:68542(0) ack 16528 win 32120 (DF) 19:18:31.290731 < 1.2.3.4.379 > 192.168.1.102.1053: P 16916:17020(104) ack 68542 win 31856 (DF) 19:18:31.290746 > 192.168.1.102.1053 > 1.2.3.4.379: . 68542:68542(0) ack 16528 win 32120 (DF) 19:18:32.610426 > 192.168.1.102.1053 > 1.2.3.4.379: P 67415:68542(1127) ack 16528 win 32120 (DF) 19:18:33.133577 < 1.2.3.4.379 > 192.168.1.102.1053: . 17020:17020(0) ack 68542 win 31856 (DF) 19:18:34.939897 < 1.2.3.4.379 > 192.168.1.102.1053: P 17020:17124(104) ack 68542 win 31856 (DF) 19:18:34.939916 > 192.168.1.102.1053 > 1.2.3.4.379: . 68542:68542(0) ack 16528 win 32120 (DF) 19:18:35.002067 > 192.168.1.102.1053 > 1.2.3.4.379: P 68542:69669(1127) ack 16528 win 32120 (DF) 19:18:35.698299 < 1.2.3.4.379 > 192.168.1.102.1053: P 17124:17184(60) ack 69669 win 31856 (DF) 19:18:35.698328 > 192.168.1.102.1053 > 1.2.3.4.379: . 69669:69669(0) ack 16528 win 32120 (DF) 19:18:37.100430 > 192.168.1.102.1053 > 1.2.3.4.379: P 68542:69669(1127) ack 16528 win 32120 (DF) 19:18:37.597828 < 1.2.3.4.379 > 192.168.1.102.1053: . 17184:17184(0) ack 69669 win 31856 (DF) 19:18:42.302214 < 1.2.3.4.379 > 192.168.1.102.1053: P 17184:17288(104) ack 69669 win 31856 (DF) 19:18:42.302233 > 192.168.1.102.1053 > 1.2.3.4.379: . 69669:69669(0) ack 16528 win 32120 (DF) 19:18:44.841982 > 192.168.1.102.1053 > 1.2.3.4.379: P 69669:70796(1127) ack 16528 win 32120 (DF) 19:18:45.554316 < 1.2.3.4.379 > 192.168.1.102.1053: P 17288:17348(60) ack 70796 win 31856 (DF) 19:18:45.554348 > 192.168.1.102.1053 > 1.2.3.4.379: . 70796:70796(0) ack 16528 win 32120 (DF) 19:18:46.740425 > 192.168.1.102.1053 > 1.2.3.4.379: P 69669:70796(1127) ack 16528 win 32120 (DF) 19:18:47.419607 < 1.2.3.4.379 > 192.168.1.102.1053: . 17348:17348(0) ack 70796 win 31856 (DF) 19:18:56.789492 < 1.2.3.4.379 > 192.168.1.102.1053: P 17348:17452(104) ack 70796 win 31856 (DF) 19:18:56.789516 > 192.168.1.102.1053 > 1.2.3.4.379: . 70796:70796(0) ack 16528 win 32120 (DF) 19:19:04.522084 > 192.168.1.102.1053 > 1.2.3.4.379: P 70796:71923(1127) ack 16528 win 32120 (DF) 19:19:05.278372 < 1.2.3.4.379 > 192.168.1.102.1053: P 17452:17512(60) ack 71923 win 31856 (DF) 19:19:05.278403 > 192.168.1.102.1053 > 1.2.3.4.379: . 71923:71923(0) ack 16528 win 32120 (DF) 19:19:06.450425 > 192.168.1.102.1053 > 1.2.3.4.379: P 70796:71923(1127) ack 16528 win 32120 (DF) 19:19:06.957898 < 1.2.3.4.379 > 192.168.1.102.1053: . 17512:17512(0) ack 71923 win 31856 (DF) 19:19:25.886216 < 1.2.3.4.379 > 192.168.1.102.1053: P 17512:17616(104) ack 71923 win 31856 (DF) 19:19:25.886253 > 192.168.1.102.1053 > 1.2.3.4.379: . 71923:71923(0) ack 16528 win 32120 (DF) 19:19:43.881933 > 192.168.1.102.1053 > 1.2.3.4.379: P 71923:73050(1127) ack 16528 win 32120 (DF) 19:19:44.582578 < 1.2.3.4.379 > 192.168.1.102.1053: P 17616:17676(60) ack 73050 win 31856 (DF) 19:19:44.582610 > 192.168.1.102.1053 > 1.2.3.4.379: . 73050:73050(0) ack 16528 win 32120 (DF) 19:19:45.670426 > 192.168.1.102.1053 > 1.2.3.4.379: P 71923:73050(1127) ack 16528 win 32120 (DF) 19:19:46.169130 < 1.2.3.4.379 > 192.168.1.102.1053: . 17676:17676(0) ack 73050 win 31856 (DF) 19:20:24.123358 < 1.2.3.4.379 > 192.168.1.102.1053: P 17676:17780(104) ack 73050 win 31856 (DF) 19:20:24.123403 > 192.168.1.102.1053 > 1.2.3.4.379: . 73050:73050(0) ack 16528 win 32120 (DF) 19:20:28.928806 < 1.2.3.4.379 > 192.168.1.102.1053: P 16528:16752(224) ack 73050 win 31856 (DF) 19:20:28.928826 > 192.168.1.102.1053 > 1.2.3.4.379: . 73050:73050(0) ack 16528 win 32120 (DF) 19:21:02.602080 > 192.168.1.102.1053 > 1.2.3.4.379: P 73050:74177(1127) ack 16528 win 32120 (DF) 19:21:03.798319 < 1.2.3.4.379 > 192.168.1.102.1053: . 17780:17780(0) ack 74177 win 31856 (DF) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://vger.kernel.org/lkml/