On Thu, 25 Nov 1999 23:35:13 -0800, 
"David S. Miller" <[EMAIL PROTECTED]> wrote:
>It's sending RST because the server has not read every byte
>from the client before calling close() or shutdown().

This is an ftp data transfer with no data from client to server, just
one sequence for SYN and one for FIN.  tcpdump data again, converted to
relative sequence numbers.  Where is there any outstanding data from
client to server?

client > server: S 27065655:27065655(0) win 8192 <mss 1460,nop,nop,sackOK> (DF)
server > client: S 3190867278:3190867278(0) ack 1 win 30660 <mss 1460,nop,nop,sackOK> 
(DF)
client > server: . ack 1 win 8760 (DF)
server > client: P 1:98(97) ack 1 win 32120 (DF) [tos 0x10]
server > client: F 98:98 (0) ack 1 win 32120 (DF) [tos 0x10]
client > server: . ack 99 win 8663 (DF)
client > server: F 1:1(0) ack 99 win 8663 (DF)
server > client: R 99:99(0) win 0 <====== Why?

The trace below is between two Linux systems with only a router between
them, using the same server.  It has a normal shutdown, the only
difference is in the timing of the ACK to the last packet.

client > server: S 3454466642:3454466642(0) win 32120 <mss 1460> (DF)
server > client: S 3467120730:3467120730(0) ack 3454466643 win 32120 <mss 1460> (DF)
client > server: . ack 1 win 32120 (DF)
server > client: P 1:431(430) ack 1 win 32120 (DF) [tos 0x10]
client > server: . ack 431 win 32120 (DF)
server > client: F 431:431(0) ack 1 win 32120 (DF) [tos 0x10]
client > server: . ack 432 win 32120 (DF)
client > server: F 1:1(0) ack 432 win 32696 (DF)
server > client: . ack 2 win 32120 (DF) [tos 0x10]


-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to