[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: client-side memory buffers

From: Neal H. Walfield
Subject: Re: client-side memory buffers
Date: Tue, 01 Apr 2008 23:50:37 +0200
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shij┼Ź) APEL/10.6 Emacs/21.4 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI)

Please don't top post.

At Tue, 1 Apr 2008 10:48:02 -0600,
Joshua Stratton wrote:
> The problem you described was the client owning the memory object, sending
> it to the server, and the server having the ability to unmap the memory
> because it has ownership, if I understand correctly.

No.  The client has the ability to DoS the server because it manages
the memory object.

>  I assumed that a lock
> was built into the system to prevent this, but I was wondering if this
> weren't the case, the client could give the ownership to the server before
> the server does any operations so the client could not unmap the memory
> object.  The server would then give the ownership back to the client after
> the operation is complete such that the client couldn't unmap the memory
> while the server is using it, and in the default state the client would have
> the responsibility of the memory block (which would help the denial of
> service inside the network stack).

If the server owns the memory, that means it is account to the
server.  In which case, why not just let the server allocate it?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]