All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerrit Renker <gerrit@erg.abdn.ac.uk>
To: dccp@vger.kernel.org
Subject: Re: [PATCH 39/43]: Protect against Reset/Sync floods due to buggy applications
Date: Thu, 12 Apr 2007 08:54:47 +0000	[thread overview]
Message-ID: <200704121000.03506@strip-the-willow> (raw)
In-Reply-To: <200704051637.18198@strip-the-willow>

I do suggest to keep it, otherwise there is a security hole 
which can very easily be exploited. 

Especially after the experiences with a computer freezing up 
for several minutes due to Sync floods,
where rate-limiting alone has shown to be a viable countermeasure. 

Rate-limiting is on a per-socket basis, not for the whole stack. 

If one wants to take it out, it can be disabled by setting the parameter to 0. 

The implementation is lightweight and does not require complex calculations.

|  Gerrit Renker wrote:
|  > Quoting Ian McDonald:
|  > |  Will have to read more about rate limiting though as I'm
|  > |  not convinced normally about rate limiting schemes etc as they
|  > |  invariably end up causing problems when doing things like running a
|  > |  huge server with lots of connections.
|  
|  We pictured the rate limit (if implemented) as per connection, not for the 
|  whole stack, which is what Gerrit has done.  If the rate limit is considered 
|  too expensive it's fine to take out, of course; it is only a SHOULD.
|  
|  Eddie
|  
|  
|  > |  However as I said, haven't read
|  > |  it yet so might be wrong on your intent.
|  > RFC 4340. 7.5.4 says that this rate-limiting is a SHOULD. I had similar
|  > thoughts in mind regarding the overhead that this mechanism incurs. That
|  > is why it is kept as simple as possible. Something like xrlim_allow is
|  > already too complicated (cf. comments).
|  > -
|  > To unsubscribe from this list: send the line "unsubscribe dccp" in
|  > the body of a message to majordomo@vger.kernel.org
|  > More majordomo info at  http://vger.kernel.org/majordomo-info.html
|  
|  

      parent reply	other threads:[~2007-04-12  8:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-05 15:37 [PATCH 39/43]: Protect against Reset/Sync floods due to buggy applications Gerrit Renker
2007-04-05 17:02 ` [PATCH 39/43]: Protect against Reset/Sync floods due to buggy Eddie Kohler
2007-04-06 15:38 ` [PATCH 39/43]: Protect against Reset/Sync floods due to buggy applications Gerrit Renker
2007-04-06 16:46 ` [PATCH 39/43]: Protect against Reset/Sync floods due to buggy Eddie Kohler
2007-04-09  7:23 ` [PATCH 39/43]: Protect against Reset/Sync floods due to buggy applications Gerrit Renker
2007-04-10 15:08 ` [PATCH 39/43]: Protect against Reset/Sync floods due to buggy Eddie Kohler
2007-04-10 15:29 ` [PATCH 39/43]: Protect against Reset/Sync floods due to buggy applications Arnaldo Carvalho de Melo
2007-04-10 23:20 ` Ian McDonald
2007-04-11  8:12 ` Gerrit Renker
2007-04-11  8:45 ` Gerrit Renker
2007-04-11 11:57 ` Gerrit Renker
2007-04-11 15:10 ` [PATCH 39/43]: Protect against Reset/Sync floods due to buggy Eddie Kohler
2007-04-12  8:54 ` Gerrit Renker [this message]

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=200704121000.03506@strip-the-willow \
    --to=gerrit@erg.abdn.ac.uk \
    --cc=dccp@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.