[38752] in Kerberos
Re: Replacing master/slave terminology
daemon@ATHENA.MIT.EDU (Jeffrey Altman)
Wed Jun 10 20:03:45 2020
X-Envelope-From: jaltman@secure-endpoints.com
X-MDaemon-Deliver-To: kerberos@mit.edu
To: "Nate Coraor (nate@bx.psu.edu)" <nate@bx.psu.edu>,
Greg Hudson <ghudson@mit.edu>
From: Jeffrey Altman <jaltman@secure-endpoints.com>
Message-ID: <e75c9bce-fc28-3f34-3671-06639e87b396@secure-endpoints.com>
Date: Wed, 10 Jun 2020 20:00:38 -0400
MIME-Version: 1.0
In-Reply-To: <CALT861Fwi=XpK2pW=nc0ZDzMePLBwoA_JrQW2F_i2nOGdishjA@mail.gmail.com>
Cc: kerberos@mit.edu
Content-Type: multipart/mixed; boundary="===============7691683585581263711=="
Errors-To: kerberos-bounces@mit.edu
--===============7691683585581263711==
Content-Type: multipart/signed; protocol="application/pkcs7-signature";
micalg=sha-256; boundary="------------ms090601090703060408080603"
--------------ms090601090703060408080603
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
On 6/10/2020 5:26 PM, Nate Coraor (nate@bx.psu.edu) wrote:
> On Wed, Jun 10, 2020 at 5:04 PM Greg Hudson <ghudson@mit.edu> wrote:
>=20
>> MIT krb5 switched to using "replica" for non-primary KDCs as of releas=
e
>> 1.17. This was an easy change technically, as the old term was only
>> used in a user-visible way in documentation and in the name of one
>> profile relation. The pull request for that change was here:
>> https://github.com/krb5/krb5/pull/851
>=20
>=20
> Hi Greg,
>=20
> This is fantastic and encouraging news, thanks! I'm not sure how I miss=
ed
> this. If I can find the time I'll see if it'd be as simple for Heimdal,=
or
> perhaps someone from the Heimdal side will chime in. In specific, iprop=
> uses "slave" even more prominently than kprop did, I believe.
For Heimdal, the term "slave" is part of the both the iprop process name
and command line switches for the iprop_master. Changing these could
adversely impact end user deployments that are not expecting their
configuration scripts and packaging to break.
>> Replacing the term "master" is a larger technical challenge. We use
>> that term in a DNS SRV record label (_master_kdc), and migrating that
>> would come with a cost in network traffic and latency. Aside from the=
>> kprop architecture, we also use the term "master key" to describe the
>> key used to encrypt long-term keys in the KDC database.
>>
Changing the name in DNS SRV records is really untenable. The impact on
end user organizations would be significant. The support for master_kdc
lookups and configuration parsing could not be removed because doing so
would result in interop failures. Likewise end user organizations would
be required to publish both the new record and the old.
> Technical considerations are certainly factors. I wonder if it'd be
> reasonable to allow clients to specify a preference when performing the=
SRV
> record lookup?
Not really. It doesn't change anything other than adding a new
configuration option that must reference the "master_kdc" service name
in its documentation.
As a real world example, in 2011 the IETF deprecated the use of AFSDB
records in favor of SRV records for AFS services. This was an official
standardization action that took more than a year to complete. It has
been nearly a decade and by my most recent inventory nearly 2/3 of AFS
cells are still configured with AFSDB records and only 40% have SRV
records. Approximately five percent support both. As a result it has
been impossible to even consider removing the support for AFSDB records
and the additional delays that result from trying one and falling back
to the other.
> I have rationalized to myself that the term "master" is the less
>> problematic of the two terms, as it is used in a lot of different
>> contexts (such as physical master keys, martial arts masters, master
>> plumbers, and master recordings of records). But I don't know if that=
>> rationalization is adequate; from recent discussion I know that git's
>> use of "master" for the initial default branch name has become a point=
>> of contention.
>>=20
> I largely agree here, it's less problematic. I do think it'd be prefera=
ble
> to refer to the "master" server as e.g. "primary", but master key seems=
> fine as it has an established unencumbered meaning.
The term "master" applies to the database not the server. The question
is whether or not the answer to a query is definitive. All of the KDCs
can serve data from the "master" database. The client needs to know
that it should retry against another server when it can determine that
the database isn't a "master" as a noun; its "master" as an adjective.
Where the use of "master" indicates being an expert, principal or
instructor.
Heimdal's documentation should be rewritten to remove the master-slave
relationship. If and when there is ever a volunteer to perform that
work along with all of the other changes that Heimdal's documentation
requires I will happily merge the pull request.
Jeffrey Altman
--------------ms090601090703060408080603
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZ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ymHc+RRJwLBQZ46Jdwt+J55IJIHxtnuE
m5DvO+oi2Vz4KnuFJMwou2mUdWV3Le02GH4TFBlzIHg6aKjNU44UkJerwXaEjccLX/i6h++T
k7oI3iO7Dr7lYawTpCPCd65+qbwYO3/UAAAAAAAA
--------------ms090601090703060408080603--
--===============7691683585581263711==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos
--===============7691683585581263711==--