[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160308.220004.1907883099752626015.davem@davemloft.net>
Date: Tue, 08 Mar 2016 22:00:04 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: dhowells@...hat.com
Cc: linux-afs@...ts.infradead.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 01/11] rxrpc: Add a common object cache
From: David Howells <dhowells@...hat.com>
Date: Tue, 08 Mar 2016 21:11:09 +0000
> I can put in a limit per peer, where a 'peer' is either a particular remote
> UDP port or particulat remote host. TCP has this by virtue of having a
> limited number of ports available per IP address. But if I have 10 IP
> addresses available, I can attempt to set up half a million TCP connections to
> a server simultaneously. If I have access to a box that has an NFS mount on
> it, I can potentially open sufficient TCP ports that the NFS mount can't make
> a connection if it's not allowed to use privileged ports.
You must hold onto and commit locally to state for each and every one
of those remote TCP connections you create and actually move to
established state.
It's completely different, both sides have to make a non-trivial
resource commitment.
For this RXRPC stuff, you don't.
That's the important and critical difference.
My core argument still stands that RXRPC is fundamental DoS'able, in a
way that is not matched by TCP or our routing code or similar
subsystems.
Powered by blists - more mailing lists