[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI
From: |
ronnie sahlberg |
Subject: |
Re: [Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI |
Date: |
Thu, 15 Sep 2011 08:51:00 +1000 |
On Thu, Sep 15, 2011 at 12:36 AM, Christoph Hellwig <address@hidden> wrote:
...
>> > +/*
>> > + * We support iscsi url's on the form
>> > + * iscsi://[<username>%<password>@]<host>[:<port>]/<targetname>/<lun>
>> > + */
>
> 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 "<username>%<password>@" 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 will document this better in the next patch.
Libiscsi only support CHAP at this stage. Which other authentication
schemes do you have in mind? Perhaps I can add them.
regards
ronnie sahlberg
- [Qemu-devel] [PATCH] Add iSCSI support for QEMU, Ronnie Sahlberg, 2011/09/10
- Re: [Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI, ronnie sahlberg, 2011/09/14
- Re: [Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI, Paolo Bonzini, 2011/09/15
- Re: [Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI, Dor Laor, 2011/09/15
- Re: [Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI, Paolo Bonzini, 2011/09/15
- Re: [Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI, ronnie sahlberg, 2011/09/15
- Re: [Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI, Dor Laor, 2011/09/15
- Re: [Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI, Christoph Hellwig, 2011/09/15
- Re: [Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI, Dor Laor, 2011/09/15