Re: TCP socket close problem
- From: Staffan Ulfberg <staffan@xxxxxxxxxx>
- Date: 18 Jun 2006 22:21:12 +0200
Right. So indeed it looks like the server doesn't really see the
incoming FIN/RST at all.
I added the TCPDEBUG option to the server's kernel; this is the trpt
output on the socket in question:
369 ESTABLISHED:drop (src=212.209.153.82,55478, dst=212.247.27.201,5000)3746edf6@8ed0b5b(win=ffff)<ACK> -> ESTABLISHED
rcv_nxt 3746edf6 rcv_wnd 100a4 snd_una 8ed0b5b snd_nxt 8ed27df snd_max 8ed27df
snd_wl1 3746edf6 snd_wl2 8ed0b5b snd_wnd ffff
370 ESTABLISHED:output (src=212.247.27.201,5000, dst=212.209.153.82,55478)[8ed16c3..8ed16af)@3746edf6(win=ffff)<ACK> -> ESTABLISHED
rcv_nxt 3746edf6 rcv_wnd 100a4 snd_una 8ed0b5b snd_nxt 8ed27df snd_max 8ed27df
snd_wl1 3746edf6 snd_wl2 8ed0b5b snd_wnd ffff
370 ESTABLISHED:drop (src=212.209.153.82,55478, dst=212.247.27.201,5000)3746edf6@8ed0b5b(win=ffff)<ACK,FIN> -> ESTABLISHED
rcv_nxt 3746edf6 rcv_wnd 100a4 snd_una 8ed0b5b snd_nxt 8ed27df snd_max 8ed27df
snd_wl1 3746edf6 snd_wl2 8ed0b5b snd_wnd ffff
370 ESTABLISHED:drop (src=212.209.153.82,55478, dst=212.247.27.201,5000)3746edf7@8ed110f<ACK,RST> -> ESTABLISHED
rcv_nxt 3746edf6 rcv_wnd 100a4 snd_una 8ed0b5b snd_nxt 8ed27df snd_max 8ed27df
snd_wl1 3746edf6 snd_wl2 8ed0b5b snd_wnd ffff
413 ESTABLISHED:output (src=212.247.27.201,5000, dst=212.209.153.82,55478)[8ed0b5b..8ed0b47)@3746edf6(win=ffff)<ACK> -> ESTABLISHED
rcv_nxt 3746edf6 rcv_wnd 100a4 snd_una 8ed0b5b snd_nxt 8ed110f snd_max 8ed27df
snd_wl1 3746edf6 snd_wl2 8ed0b5b snd_wnd ffff
So, indeed, the packets with the FIN and RST (and also, a preceeding
ACK) are dropped by tcp_input. Need to figure out why...
Staffan
.
- Follow-Ups:
- Re: TCP socket close problem
- From: Staffan Ulfberg
- Re: TCP socket close problem
- References:
- TCP socket close problem
- From: Staffan Ulfberg
- Re: TCP socket close problem
- From: Per Hedeland
- Re: TCP socket close problem
- From: Staffan Ulfberg
- TCP socket close problem
- Prev by Date: Re: TCP socket close problem
- Next by Date: Re: FreeBSD > 4.11 hardware issue with Asus PSCH-SR/SATA mobo
- Previous by thread: Re: TCP socket close problem
- Next by thread: Re: TCP socket close problem
- Index(es):
Relevant Pages
|