lkml.org 
[lkml]   [2002]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Weirdness with AF_INET listen() backlog [2.4.18]
From
Date
On Tue, 2002-07-30 at 15:35, Michael Kerrisk wrote:
> I had expected that if a server creates a listening socket, but does not
> accept() the incoming connections, then after the (possibly fudge-factored)
> Is this all expected behaviour? If so, is there a way of getting Linux to
> behave more like other implementations here? (As a wild shot I tried setting
> /proc/sys/net/ipv4/tcp_syncookies to 0, but this made no apparent
> difference.)

The world of tcp synflooding changed how stacks handle this sort of
stuff forever. Welcome to the new world order 8)

You will get connections completing, they will time out. If you expect
the server to say something you'll see the timeout there instead of
seeing it on the connect.

Since a timeout on the data can happen in the real world Im sure your
code already correctly handles this case ;)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.029 / U:2.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site