From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Kent Subject: Re: web interface? Date: Tue, 31 Jul 2007 09:33:30 -0700 Message-ID: <1185899610.6486.273.camel@fuego> References: <46AF5AC7.7080509@pjr.cc> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: In-Reply-To: <46AF5AC7.7080509-wwXWdph6gTo@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org On Wed, 2007-01-08 at 01:52 +1000, Paul J R wrote: > Hi guys, I had a quick question. > > I was playing around writing a php-based web interface for KVM. Well since KVM uses QEMU you'd really be writing a frontend for that. I've already seen a number of other projects for QEMU frontends, google should turn up a few. > Basically something that would allow you to use a tiny distro and let > you manage disk/net etc via php (atm its crude to say the least). > > It all seems relatively straight forward except for one component - the > console bits. I wanted to make it so you could click on your new vm, > then click on a "console" link and *poof* your console appears on your > web browser via an embedded java applet. Try http://www.oszoo.org/wiki/index.php/Free_Live_OS_Zoo > The problem is security, > Authenticating users on the page is simple enough, but i cant see a > method by which i could put a password on the vnc port in qemu? > http://fedoraproject.org/wiki/Releases/FeatureVirtSecurity is a project tasked with improving VNC security among other things, right now qemu doesn't have many options in that regard. > Ideally, what i would like to be able to do is when someone accesses the > console it sets the password randomly, then embed's it into the request. > Once everyone disconnects it resets the password (but thats not quite so > important at this point). > Xen has patches to qemu vnc for supporting passwords if you need a starting point. Though iirc they are pulled from the xenstore or whatever they call it, so it would need some work I'd imagine. -- Matthew Kent \ SA \ bravenet.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/