From: Keir Fraser Subject: Re: xenconsoled CPU denial of service problem Date: Mon, 28 Aug 2006 21:57:22 +0100 Message-ID: References: <20060828180224.GG862@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060828180224.GG862@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Daniel P. Berrange" , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 28/8/06 7:02 pm, "Daniel P. Berrange" wrote: > Does anyone know of any alternative approach to detecting whether the fd > for the master end of a psuedo-TTY, has a its end slave open / active ? > Without being able to detect this I don't see any good way to avoid the DOS > attack in the general case - only other option would be to start dropping > data once > a certain rate, but this isn't really very desirable because > there are (debug) scenarios in which you really do want the ability to > capture all data. The protocol has flow control. If we rate-limited xenconsoled consumption of data from each domU ring, we would limit resource consumption in dom0 and not lose any data (since the domU will simply buffer it internally). -- Keir