From: "Michael Kerrisk" <m.kerrisk@gmx.net>
To: "Alan Cox" <alan@lxorguk.ukuu.org.uk>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: Weirdness with AF_INET listen() backlog [2.4.18]
Date: Tue, 30 Jul 2002 17:31:20 +0200 [thread overview]
Message-ID: <008a01c237de$29d6b700$0200a8c0@MichaelKerrisk> (raw)
Hello Alan (et al.),
Thanks for the quick replies.
>> 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)
Yes, I was gathering that it was synflooding that led to these changes.
>You will get connections completing, they will time out.
What causes the delay of a few seconds following each of the connect()s
in excess of backlog?
> If you expect
>the server to say something you'll see the timeout there instead of
>seeing it on the connect.
Sorry, I don't quite understand this last sentence! Can you elaborate?
>Since a timeout on the data can happen in the real world Im sure your
>code already correctly handles this case ;)
You mean on a send() or write(), right?
Cheers
Michael
next reply other threads:[~2002-07-30 15:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-30 15:31 Michael Kerrisk [this message]
2002-07-30 17:18 ` Weirdness with AF_INET listen() backlog [2.4.18] Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2002-07-30 16:59 Michael Kerrisk
2002-07-30 16:13 Michael Kerrisk
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
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='008a01c237de$29d6b700$0200a8c0@MichaelKerrisk' \
--to=m.kerrisk@gmx.net \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.