From: kuznet@ms2.inr.ac.ru
To: alan@bagpuss.swansea.linux.org.uk (Alan Cox)
Cc: samudrala@us.ibm.com, hadi@cyberus.ca,
diffserv-general@lists.sourceforge.net, alan@lxorguk.ukuu.org.uk,
linux-kernel@vger.kernel.org, linux-net@vger.kernel.org,
rusty@rustcorp.com.au, thiemo@sics.se, tewarir@us.ibm.com,
dmfreim@us.ibm.com
Subject: Re: [Linux Diffserv] Re: [PATCH] Inbound Connection Control mechanism:
Date: Fri, 3 Aug 2001 22:33:33 +0400 (MSK DST) [thread overview]
Message-ID: <200108031833.WAA26431@ms2.inr.ac.ru> (raw)
In-Reply-To: <200107292127.f6TLRpC01583@bagpuss.swansea.linux.org.uk> from "Alan Cox" at Jul 29, 1 05:27:50 pm
Hello!
> > Our patch can be used along with SYN policing to prioritize incoming
> > connection requests on a socket. SYN policing can be used to limit
> > the rate of a particular class, but it cannot be used to prioritize a
>
> No. Because you cant prove the packets are not spoofed. An attacker
> becomes able to block classes
Their idea is feedback from prioritized accept queue to syn-table.
SYN floods just have no effect on this algoruthm.
They do really clever thing. Look at the case with single queue:
when apache is overloaded, accept queue grows. After some point
it becomes meaningless to queue new SYNs, they will only clog
syn-table, but we will not able to accept them in time.
>From the other hand, we cannot just drop SYNs after accept queue overflows,
because we will not have any connection ready, when apache overcomes
its troubles. I have thought on this, but without big success.
Typical accept latency is local and low, and typical syn-table latency
is rtt. The processes of establishing and accepting work at different
time scales and it is not quite trivial to get some useful smooth feedback
from high frequency accept queue to low frequency syn-table.
It is exactly the place where RED-like schemes should work well, by the way,
but I did not try this unfortunately. Trying instead to get feedback from
rate of SYNs, which was deemed to fail.
Actually, 2.4 does some trick of this kind in the most primitive form.
If their approach is really working, it can be extremally useful.
Alexey
next prev parent reply other threads:[~2001-08-03 18:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-30 17:36 [Linux Diffserv] Re: [PATCH] Inbound Connection Control mechanism: Prioritized Accept Queue Douglas M Freimuth
2001-07-30 19:26 ` jamal
2001-07-30 22:08 ` Sridhar Samudrala
2001-07-29 21:27 ` [Linux Diffserv] Re: [PATCH] Inbound Connection Control mechanism: Alan Cox
2001-08-03 16:40 ` Sridhar Samudrala
2001-08-03 18:33 ` kuznet [this message]
2001-07-30 22:28 ` [Linux Diffserv] Re: [PATCH] Inbound Connection Control mechanism: Prioritized Accept Queue Justin Guyett
2001-07-31 10:24 ` Chris Wedgwood
2001-07-31 6:13 ` David S. Miller
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=200108031833.WAA26431@ms2.inr.ac.ru \
--to=kuznet@ms2.inr.ac.ru \
--cc=alan@bagpuss.swansea.linux.org.uk \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=diffserv-general@lists.sourceforge.net \
--cc=dmfreim@us.ibm.com \
--cc=hadi@cyberus.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-net@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
--cc=samudrala@us.ibm.com \
--cc=tewarir@us.ibm.com \
--cc=thiemo@sics.se \
/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®