* bug in tcp?
@ 2007-04-16 21:45 Sebastian Kuzminsky
2007-04-16 22:10 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Kuzminsky @ 2007-04-16 21:45 UTC (permalink / raw)
To: linux-kernel
I'm seeing some weird behavior in TCP. The issue is perfectly
reproducible using netcat and other programs. This is what I do:
1. Open a TCP connection over the loopback (over IPv4).
2. Send a couple of bytes of data each way. No problems.
3. Wait about 120 hours with no writes on either side of the
connection.
4. write() a few bytes to the server's socket. I'd expect the data
to go through, but it doesnt. I see the TCP frame from the
server to the client, but instead of an ACK, the client sends
back a RST. netstat shows the bytes sitting in the server's
socket's send-buffer.
5. write a few bytes to the client's socket. The server gets
these immediately.
6. On the next server-to-client retransmit, the client gets the
bytes from the server. After this, the connection works normally.
The libpcap capture file is here: http://highlab.com/~seb/tcp-idleness-bug
The behavior is reproducible on all kernels I've tried: 2.4.32, 2.6.19.1,
and 2.6.20.4. I dont think it's iptables-related, though I'm rerunning
the tests on a machine without iptables to be sure. I'll have results
for you in 120 hours. ;-)
--
Sebastian Kuzminsky
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: bug in tcp?
2007-04-16 21:45 bug in tcp? Sebastian Kuzminsky
@ 2007-04-16 22:10 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2007-04-16 22:10 UTC (permalink / raw)
To: seb; +Cc: linux-kernel
From: Sebastian Kuzminsky <seb@highlab.com>
Date: Mon, 16 Apr 2007 15:45:19 -0600
> I'm seeing some weird behavior in TCP. The issue is perfectly
> reproducible using netcat and other programs. This is what I do:
Please send your bug report again, but this time to the
netdev@vger.kernel.org mailing list which is where the
networking developers are subscribed and deal with bug
reports in the networking.
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-04-16 22:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-16 21:45 bug in tcp? Sebastian Kuzminsky
2007-04-16 22:10 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®