From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R47ob-0008HZ-TQ for qemu-devel@nongnu.org; Thu, 15 Sep 2011 05:01:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R47oa-00079L-Q9 for qemu-devel@nongnu.org; Thu, 15 Sep 2011 05:01:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R47oa-00079H-Ej for qemu-devel@nongnu.org; Thu, 15 Sep 2011 05:01:00 -0400 Message-ID: <4E71BF69.204@redhat.com> Date: Thu, 15 Sep 2011 11:03:37 +0200 From: Kevin Wolf MIME-Version: 1.0 References: <1315628610-28222-1-git-send-email-ronniesahlberg@gmail.com> <1315628610-28222-2-git-send-email-ronniesahlberg@gmail.com> <20110912091408.GA3465@stefanha-thinkpad.localdomain> <20110914143608.GB12218@lst.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: ronnie sahlberg Cc: qemu-devel@nongnu.org, fujita.tomonori@lab.ntt.co.jp, Christoph Hellwig , Stefan Hajnoczi Am 15.09.2011 00:51, schrieb ronnie sahlberg: > On Thu, Sep 15, 2011 at 12:36 AM, Christoph Hellwig wrote: > ... >>>> +/* >>>> + * We support iscsi url's on the form >>>> + * iscsi://[%@][:]// >>>> + */ >> >> Is having username + password on the command line really a that good idea? >> Also what about the more complicated iSCSI authentification schemes? > > In general it is a very bad idea. For local use on a private box it is > convenient to be able to use "%@" syntax. > For use on a shared box, libiscsi supports an alternative method too > by setting the username and/or password via environment variables : > LIBISCSI_CHAP_USERNAME=... LIBISCSI_CHAP_PASSWORD=... I wonder if we could make it look like an encrypted image. qemu already has functionality to deal with passwords for block devices, so it seems to make sense to reuse that for iscsi passwords. Kevin