[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 0/7] Admin API: Add support for client identity info retrieval



On 29.04.2016 15:45, Erik Skultety wrote:
> This series adds support for client identity retrieval, i.e. information like
> remote IP (if connected remotely), uid,gid,pid, as well as username if
> connected locally and also information regarding authentication (if used).
> 
> The series is rebased on the listing clients series, because it relies on the
> gendispatch stuff, so for testing purposes checkout my remote branch
> https://github.com/eskultety/libvirt/tree/list-clients-info-disconnect which
> also covers the next series about client disconnect.
> 
> Erik Skultety (7):
>   admin: Introduce virAdmServerLookupClient
>   admin: include: Introduce some client's identity related typed params
>     macros
>   virnetsocket: Provide socket address format in a more standard form
>   virneserverclient: Introduce virNetServerClientHasSASLSession
>   virnetserverclient: Add an internal method to retrieve client's
>     identity
>   admin: Introduce virAdmClientGetInfo API
>   virt-admin: Introduce command client-info
> 
>  daemon/admin.c                  |  59 ++++++++++++++++++
>  daemon/admin_server.c           | 102 +++++++++++++++++++++++++++++++
>  daemon/admin_server.h           |   9 +++
>  daemon/remote.c                 |  13 +++-
>  include/libvirt/libvirt-admin.h | 130 ++++++++++++++++++++++++++++++++++++++++
>  include/libvirt/virterror.h     |   1 +
>  src/admin/admin_protocol.x      |  34 ++++++++++-
>  src/admin/admin_remote.c        |  47 +++++++++++++++
>  src/admin_protocol-structs      |  20 +++++++
>  src/libvirt-admin.c             |  75 +++++++++++++++++++++++
>  src/libvirt_admin_private.syms  |   4 ++
>  src/libvirt_admin_public.syms   |   2 +
>  src/remote/remote_driver.c      |   7 +++
>  src/rpc/virnetclient.c          |  10 ++++
>  src/rpc/virnetclient.h          |   2 +
>  src/rpc/virnetserver.c          |  23 +++++++
>  src/rpc/virnetserver.h          |   3 +
>  src/rpc/virnetserverclient.c    |  48 +++++++++++++++
>  src/rpc/virnetserverclient.h    |   6 ++
>  src/rpc/virnetsocket.c          |  17 +++++-
>  src/rpc/virnetsocket.h          |   2 +
>  src/util/virerror.c             |   6 ++
>  src/util/virsocketaddr.c        |  24 ++++++--
>  tests/virnetsockettest.c        |  10 ++--
>  tools/virt-admin.c              |  91 ++++++++++++++++++++++++++++
>  25 files changed, 731 insertions(+), 14 deletions(-)
> 

ACK series

Michal


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]