From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Michael Kerrisk <m.kerrisk@gmx.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Weirdness with AF_INET listen() backlog [2.4.18]
Date: 30 Jul 2002 16:59:22 +0100 [thread overview]
Message-ID: <1028044762.6726.44.camel@irongate.swansea.linux.org.uk> (raw)
In-Reply-To: <7911.1028039755@www55.gmx.net>
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 ;)
next prev parent reply other threads:[~2002-07-30 14:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-30 14:35 Michael Kerrisk
2002-07-30 15:01 ` Richard B. Johnson
2002-07-30 15:03 ` kuznet
2002-07-30 15:59 ` Alan Cox [this message]
2002-07-30 15:31 Michael Kerrisk
2002-07-30 17:18 ` Alan Cox
2002-07-30 16:13 Michael Kerrisk
2002-07-30 16:59 Michael Kerrisk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1028044762.6726.44.camel@irongate.swansea.linux.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=m.kerrisk@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®