[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v3 3/6] migration: add support for a "tls-authz"
From: |
Juan Quintela |
Subject: |
Re: [Qemu-block] [PATCH v3 3/6] migration: add support for a "tls-authz" migration parameter |
Date: |
Wed, 17 Oct 2018 14:30:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Daniel P. Berrangé <address@hidden> wrote:
> From: "Daniel P. Berrange" <address@hidden>
>
> The QEMU instance that runs as the server for the migration data
> transport (ie the target QEMU) needs to be able to configure access
> control so it can prevent unauthorized clients initiating an incoming
> migration. This adds a new 'tls-authz' migration parameter that is used
> to provide the QOM ID of a QAuthZ subclass instance that provides the
> access control check. This is checked against the x509 certificate
> obtained during the TLS handshake.
>
> For example, when starting a QEMU for incoming migration, it is
> possible to give an example identity of the source QEMU that is
> intended to be connecting later:
>
> $QEMU \
> -monitor stdio \
> -incoming defer \
> ...other args...
>
> (qemu) object_add tls-creds-x509,id=tls0,dir=/home/berrange/qemutls,\
> endpoint=server,verify-peer=yes \
> (qemu) object_add authz-simple,id=auth0,identity=CN=laptop.example.com,,\
> O=Example Org,,L=London,,ST=London,,C=GB \
> (qemu) migrate_incoming tcp:localhost:9000
>
> Signed-off-by: Daniel P. Berrange <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
- [Qemu-block] [PATCH v3 0/6] Add authorization support to all network services, Daniel P . Berrangé, 2018/10/09
- [Qemu-block] [PATCH v3 1/6] qemu-nbd: add support for authorization of TLS clients, Daniel P . Berrangé, 2018/10/09
- [Qemu-block] [PATCH v3 2/6] nbd: allow authorization with nbd-server-start QMP command, Daniel P . Berrangé, 2018/10/09
- [Qemu-block] [PATCH v3 3/6] migration: add support for a "tls-authz" migration parameter, Daniel P . Berrangé, 2018/10/09
- Re: [Qemu-block] [PATCH v3 3/6] migration: add support for a "tls-authz" migration parameter,
Juan Quintela <=
- [Qemu-block] [PATCH v3 4/6] chardev: add support for authorization for TLS clients, Daniel P . Berrangé, 2018/10/09
- [Qemu-block] [PATCH v3 5/6] vnc: allow specifying a custom authorization object name, Daniel P . Berrangé, 2018/10/09
- [Qemu-block] [PATCH v3 6/6] monitor: deprecate acl_show, acl_reset, acl_policy, acl_add, acl_remove, Daniel P . Berrangé, 2018/10/09