Ceph authentication/authorization paradignms
A message that is not in the archive (sent off-list or not yet received): 1288213759.97.1408639348899.JavaMail.root@thunderbeast.private.linuxbox.com
This approach/family of approaches is certainly the one taken by all classical Kerberized file sharing systems, including AFS, DCE, and NFSv4.
There's a lot of new work just coming to fruition now in both the AFS and NFSv4 communities (rxgk and RPCSEC_GSS, respectively) that are specifically designed to handle important next-generation multi-party authorization scenarios, and which I think we would be wise to at least have a look at.
Regards,
Matt
Quoted 34 lines
Quoted 2 lines
Right. But you'll either need to plug Kerberos into the
client<->mon
Quoted 1 line
authentication pathways, or (this would be my naive choice) have
some
Quoted 2 lines
sort of agent that Kerberos authenticates and then gives the client its CephX shared secret for authenticating with the monitors
(without
Quoted 3 lines
the users having to get involved). Either way, there's at least a little CephX integration going on, right?
Or am I completely off the mark with what you're trying to do here?My thought is the former. We'd add a new CEPH_AUTH_* type, the client
side would call into kerberos and get a kerberos ticket to pass to the
mon, and the mon would call into kerberos to authenticate it. That would
authenticate the session.I assume there will then be some futzing around to make things behave so
that the mon will provide the client cephx tickets for interactions with
the rest of the cluster so that *only* the mon is doing non-cephx authentication. The focus now is just to make the first step work, though...sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 10 lines
Matt Benjamin The Linux Box 206 South Fifth Ave. Suite 150 Ann Arbor, MI 48104 http://linuxbox.com tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309
Sorry, s/RPCSEC_GSS/RPCSEC_GSSv3/.
Quoted 72 lines · ----- "Matt W. Benjamin
This approach/family of approaches is certainly the one taken by all classical Kerberized file sharing systems, including AFS, DCE, and NFSv4.
There's a lot of new work just coming to fruition now in both the AFS and NFSv4 communities (rxgk and
RPCSEC_GSS, respectively) that are specifically designed to handle important next-generation multi-party authorization scenarios, and which I think we would be wise to at least have a look at.Regards,
Matt
Quoted 6 lines
Quoted 2 lines
Right. But you'll either need to plug Kerberos into the
client<->mon
Quoted 1 line
authentication pathways, or (this would be my naive choice) have
some
Quoted 1 line
sort of agent that Kerberos authenticates and then gives the
client
Quoted 5 lines
Quoted 1 line
its CephX shared secret for authenticating with the monitors
(without
Quoted 3 lines
the users having to get involved). Either way, there's at least a little CephX integration going on, right?
Or am I completely off the mark with what you're trying to dohere?
Quoted 2 lines
My thought is the former. We'd add a new CEPH_AUTH_* type, the
client
Quoted 2 lines
side would call into kerberos and get a kerberos ticket to pass to
the
Quoted 6 lines
mon, and the mon would call into kerberos to authenticate it. That would
authenticate the session.I assume there will then be some futzing around to make things
behave
Quoted 11 lines
so
that the mon will provide the client cephx tickets for interactions with
the rest of the cluster so that *only* the mon is doing non-cephx authentication. The focus now is just to make the first step work,though...
sage
--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 3 lines
in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlSignature · 15 lines
Matt Benjamin The Linux Box 206 South Fifth Ave. Suite 150 Ann Arbor, MI 48104 http://linuxbox.com tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309 -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 10 lines
Matt Benjamin The Linux Box 206 South Fifth Ave. Suite 150 Ann Arbor, MI 48104 http://linuxbox.com tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309
Matt:
Thanks for the pointers. I'm currently knee-deep in traditional Kerberos authentication code and trying to crack the FreeIPA PAM API.
I'm a community-oriented developer. Any deeper dive you can provide would be encouraging. :)
Chris -)-----
----- Original Message -----
From: "Matt W. Benjamin" <[email protected]>
To: "Sage Weil" <[email protected]>
Cc: "Christopher R. Hertel" <[email protected]>, [email protected], "Gregory Farnum" <[email protected]>
Sent: Thursday, August 21, 2014 11:43:02 AM
Subject: Re: Ceph authentication/authorization paradignms
This approach/family of approaches is certainly the one taken by all classical Kerberized file sharing systems, including AFS, DCE, and NFSv4.
There's a lot of new work just coming to fruition now in both the AFS and NFSv4 communities (rxgk and RPCSEC_GSS, respectively) that are specifically designed to handle important next-generation multi-party authorization scenarios, and which I think we would be wise to at least have a look at.
Regards,
Matt
Quoted 34 lines
Quoted 2 lines
Right. But you'll either need to plug Kerberos into the
client<->mon
Quoted 1 line
authentication pathways, or (this would be my naive choice) have
some
Quoted 2 lines
sort of agent that Kerberos authenticates and then gives the client its CephX shared secret for authenticating with the monitors
(without
Quoted 3 lines
the users having to get involved). Either way, there's at least a little CephX integration going on, right?
Or am I completely off the mark with what you're trying to do here?My thought is the former. We'd add a new CEPH_AUTH_* type, the client
side would call into kerberos and get a kerberos ticket to pass to the
mon, and the mon would call into kerberos to authenticate it. That would
authenticate the session.I assume there will then be some futzing around to make things behave so
that the mon will provide the client cephx tickets for interactions with
the rest of the cluster so that *only* the mon is doing non-cephx authentication. The focus now is just to make the first step work, though...sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 10 lines
Matt Benjamin The Linux Box 206 South Fifth Ave. Suite 150 Ann Arbor, MI 48104 http://linuxbox.com tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309
Hi Chris,
Quoted 10 lines · ----- "Christopher R. Hertel
Matt:
Thanks for the pointers. I'm currently knee-deep in traditional Kerberos authentication code and trying to crack the FreeIPA PAM API.
I'm a community-oriented developer. Any deeper dive you can provide would be encouraging. :)
Chris -)-----
The two efforts I am aware of are rxgk (OpenAFS) and RPCSEC_GSSv3 (NFSv4).
The older of the two efforts I believe is rxgk, and had dual goals of addressing the AFS "cache poisoning" problem, and secondarily introducing support for separately managed (file) servers. I believe RPCSEC_GSSv3 was initially conceived (by Nico Williams) as a means of addressing the NFSv4 equivalent of the cache poisoning problem, but the current work on it (by Andy Adamson) is as a dependency of NFSv4.2 server-side copy. (Apologies to the participants if I am mis-reporting any of the history.)
The IETF discussion of these efforts is on Kitten and NFSv4. There's interesting recent discussion on the Kitten WG alias.
Pointers:
http://www.ietf.org/internet-drafts/draft-wilkinson-afs3-rxgk-afs-06.txt
https://datatracker.ietf.org/doc/draft-ietf-nfsv4-rpcsec-gssv3
Signature · 10 lines
Matt Benjamin CohortFS, LLC. 206 South Fifth Ave. Suite 150 Ann Arbor, MI 48104 http://cohortfs.com tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309