mbox series

[0/8] libceph: support for cephx v2

Message ID 20180801190350.857-1-idryomov@gmail.com (mailing list archive)
Headers show
Series libceph: support for cephx v2 | expand

Message

Ilya Dryomov Aug. 1, 2018, 7:03 p.m. UTC
Hello,

These are client side bits of cephx v2 for the kernel client
and two smaller related fixes (patches 7 and 8).

Thanks,

                Ilya


Ilya Dryomov (8):
  libceph: store ceph_auth_handshake pointer in ceph_connection
  libceph: factor out __prepare_write_connect()
  libceph: factor out __ceph_x_decrypt()
  libceph: factor out encrypt_authorizer()
  libceph: add authorizer challenge
  libceph: implement CEPHX_V2 calculation mode
  libceph: check authorizer reply/challenge length before reading
  libceph: weaken sizeof check in ceph_x_verify_authorizer_reply()

 fs/ceph/mds_client.c               |  11 ++
 include/linux/ceph/auth.h          |   8 ++
 include/linux/ceph/ceph_features.h |   7 +-
 include/linux/ceph/messenger.h     |   6 +-
 include/linux/ceph/msgr.h          |   2 +-
 net/ceph/auth.c                    |  16 +++
 net/ceph/auth_x.c                  | 223 ++++++++++++++++++++++++++++++-------
 net/ceph/auth_x_protocol.h         |   7 ++
 net/ceph/messenger.c               |  93 ++++++++++------
 net/ceph/osd_client.c              |  11 ++
 10 files changed, 302 insertions(+), 82 deletions(-)

Comments

Sage Weil Aug. 1, 2018, 8:09 p.m. UTC | #1
On Wed, 1 Aug 2018, Ilya Dryomov wrote:
> Hello,
> 
> These are client side bits of cephx v2 for the kernel client
> and two smaller related fixes (patches 7 and 8).
> 
> Thanks,
> 
>                 Ilya
> 
> 
> Ilya Dryomov (8):
>   libceph: store ceph_auth_handshake pointer in ceph_connection
>   libceph: factor out __prepare_write_connect()
>   libceph: factor out __ceph_x_decrypt()
>   libceph: factor out encrypt_authorizer()
>   libceph: add authorizer challenge
>   libceph: implement CEPHX_V2 calculation mode
>   libceph: check authorizer reply/challenge length before reading
>   libceph: weaken sizeof check in ceph_x_verify_authorizer_reply()
> 
>  fs/ceph/mds_client.c               |  11 ++
>  include/linux/ceph/auth.h          |   8 ++
>  include/linux/ceph/ceph_features.h |   7 +-
>  include/linux/ceph/messenger.h     |   6 +-
>  include/linux/ceph/msgr.h          |   2 +-
>  net/ceph/auth.c                    |  16 +++
>  net/ceph/auth_x.c                  | 223 ++++++++++++++++++++++++++++++-------
>  net/ceph/auth_x_protocol.h         |   7 ++
>  net/ceph/messenger.c               |  93 ++++++++++------
>  net/ceph/osd_client.c              |  11 ++
>  10 files changed, 302 insertions(+), 82 deletions(-)

Looks good!

Reviewed-by: Sage Weil <sage@redhat.com>

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html