Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 1999 16:19:20 -0800
From:      jayanth <jayanth@yahoo-inc.com>
To:        freebsd-net@FreeBSD.ORG
Subject:   peculiar tcp behavior
Message-ID:  <383B2F08.5B2B4D38@yahoo-inc.com>

next in thread | raw e-mail | index | archive | help
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 <mss 1460> (DF)
13:54:45.130969 x.y.z.w.http > a.b.c.d.1038: S 876676280:876676280(0)
ack 2478243841 win 17520 <mss 1460> (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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?383B2F08.5B2B4D38>