lkml.org 
[lkml]   [2016]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 01/11] rxrpc: Add a common object cache
    From
    From: David Howells <dhowells@redhat.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.

    \
     
     \ /
      Last update: 2016-03-09 04:41    [W:2.778 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site