From owner-freebsd-net Tue Nov 23 16:20:16 1999 Delivered-To: freebsd-net@freebsd.org Received: from mail-relay2.yahoo.com (mail-relay2.yahoo.com [206.251.17.77]) by hub.freebsd.org (Postfix) with ESMTP id 9EF6D14D96 for ; Tue, 23 Nov 1999 16:20:09 -0800 (PST) (envelope-from jayanth@yahoo-inc.com) Received: from borogove.yahoo.com (borogove.yahoo.com [205.216.162.65]) by mail-relay2.yahoo.com (8.10.0.Beta6/8.10.0.Beta6) with ESMTP id dAO0JLc21360 for ; Tue, 23 Nov 1999 16:19:21 -0800 (PST) Received: from yahoo-inc.com (milk.yahoo.com [206.132.89.117]) by borogove.yahoo.com (8.10.0.Beta6/8.10.0.Beta6) with ESMTP id dAO0JL528246 for ; Tue, 23 Nov 1999 16:19:21 -0800 (PST) Message-ID: <383B2F08.5B2B4D38@yahoo-inc.com> Date: Tue, 23 Nov 1999 16:19:20 -0800 From: jayanth X-Mailer: Mozilla 4.08 [en] (X11; I; FreeBSD 2.2.8-STABLE i386) MIME-Version: 1.0 To: freebsd-net@FreeBSD.ORG Subject: peculiar tcp behavior Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hi, I have a tcpdump below. If a Reset segment is received that is greater than "last_ack_sent" the FreeBSD 2.2.8 tcpip stack does not process the segment and drop the connection. Is the sender(a.b.c.d) of the Reset wrong in sending a Reset that is within the window but greater than our "last_ack_sent "? Since the connection is not dropped the x.y.z.w host has retransmit timeouts. What is the correct behavior ? tcpdump -------- 13:54:45.130913 a.b.c.d.1038 > x.y.z.w.http: S 2478243840:2478243840(0) win 2048 (DF) 13:54:45.130969 x.y.z.w.http > a.b.c.d.1038: S 876676280:876676280(0) ack 2478243841 win 17520 (DF) 13:54:45.131869 a.b.c.d.1038 > x.y.z.w.http: P 1:78(77) ack 1 win 2048 (DF) 13:54:45.161755 x.y.z.w.http > a.b.c.d.1038: . ack 78 win 17520 (DF) 13:54:45.352783 x.y.z.w.http > a.b.c.d.1038: P 1:210(209) ack 78 win 17520 (DF) 13:54:45.353055 x.y.z.w.http > a.b.c.d.1038: F 210:210(0) ack 78 win 17520 (DF) ???????????? 13:54:45.353119 a.b.c.d.1038 > x.y.z.w.http: R 2478261437:2478261437(0) ^^^^^^^^^^^^^^^^^^^^^ win 1 (DF) ??????????? 13:54:46.561619 x.y.z.w.http > a.b.c.d.1038: FP 1:210(209) ack 78 win 17520 (DF) 13:54:49.561403 x.y.z.w.http > a.b.c.d.1038: FP 1:210(209) ack 78 win 17520 (DF) 13:54:55.560988 x.y.z.w.http > a.b.c.d.1038: FP 1:210(209) ack 78 win 17520 (DF) .................. thanks jayanth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message