Summary

  • RFC 3129, published in June 2001, proposed deriving IPsec Security Association keys from Kerberos ticket session keys — trading a mesh of pairwise long-term secrets for one administered trust relationship.
  • It never pretended KINK replaced IKE. It explicitly paid for central authentication, policy and computational economy with IKE's proudest property: two peers agreeing on fresh keys with no third party in the room.
  • Its durable lesson is that key-management complexity gets redistributed, never deleted. Less work at each peer means more weight on KDC availability, realm design, clocks, naming and local authorization.

The quadratic key problem

Picture a company where every employee must share a separate house key with every other employee. Ten people, forty-five keys. A hundred people, four thousand nine hundred and fifty. Nobody designs this on purpose; it accumulates one well-meaning handshake at a time, until the keyring is the job.

That arithmetic sits behind RFC 3129, and it is why a 2001 memo about Kerberos and IPsec reads less like cryptography than like an argument about where to put the furniture. The most revealing equation in the document was not cryptographic. It was organizational. A fleet using a distinct pre-shared key for every pair of IPsec peers faced what the memo called an O(n²) distribution problem. A Kerberos realm, by contrast, could hold one long-term relationship per principal at its Key Distribution Center. The comparison was simplified; the diagnosis was durable.

Security systems fail as often from the number of relationships people must administer as from the mathematics inside a cipher.

IPsec had already separated protection from negotiation. RFC 2401 described Security Associations and the use of AH or ESP to protect IP traffic. RFC 2409 described IKE, through which two peers could authenticate, negotiate parameters and establish keying material. That peer-to-peer property was genuinely powerful: two machines did not need a live central broker to agree on fresh keys.

Independence, though, sends a bill to every edge. Each peer needed a way to authenticate the other. Scalable public-key authentication meant certificates, trust paths and signature operations. Diffie–Hellman produced a shared secret but consumed computation and exposed responders to denial-of-service pressure. Pre-shared symmetric keys dodged certificates and then became unmanageable once every peer needed a secret with every other peer. Site policy still had to be expressed and obeyed across machines an organization might not equally trust.

The Kerberos bargain: what a KDC could carry

RFC 3129 asked whether Kerberos could change that allocation. Kerberos V5, specified at the time by RFC 1510, already let a client authenticate to a KDC and obtain a service ticket. The ticket carried a session key known to the client and recoverable by the service. The proposed Kerberized Internet Negotiation of Keys — KINK — would use those session keys as the basis for IPsec SA keys.

This was more than swapping one handshake for another. It moved a substantial portion of trust out of every bilateral encounter and into an administrative centre. Long-term symmetric keys could live between principals and the KDC rather than between every possible pair. Public-key work, where PKINIT was used, could be paid once during initial credential acquisition and amortized across tickets for many services. Policy could be concentrated where a realm administrator could actually manage it, instead of merely announced to every peer and trusted to survive local interpretation.

The price tag: "KINK is not a replacement for IKE"

The memo was candid about what it cost. "KINK is not a replacement for IKE," it said in explicit wording. IKE could let two peers authenticate and exchange keys without an actively participating third party. KINK could not reproduce that property. A trusted third party is useful only where such an authority is both viable and desirable.

That limitation is the document's historical importance. Centralization was not sold as a free simplification; it was a choice about failure domains. A KDC cut pairwise provisioning and repeated public-key work — and became the authority whose tickets, clocks, principal names, realm relationships and reachability decided whether new protected relationships could begin at all.

The requirements show how hard the authors worked to keep that centre out of every moment. Either IPsec peer had to be able to initiate, whether it held a service keytab or only a ticket-granting ticket. User-to-user Kerberos had to cover the case where a responder could not decrypt an ordinary service ticket. A peer had to participate in multiple realms. Absolute clock skew had to be handled gracefully. Most importantly, rekeying had to proceed without KDC assistance while the Kerberos session ticket remained valid.

So the KDC was never meant to sit in the data path, blessing each packet or each rekey. It established authenticated shared material and a bounded lease on authority. The peers still negotiated ciphers, chose transport or tunnel mode, created AH or ESP SAs, installed flow selectors, modified and deleted state, and ran over IPv4 and IPv6. Local systems still decided what an authenticated identity was allowed to protect.

Authentication is not authorization

That distinction matters because the two are so easily confused. A valid Kerberos ticket can say who a principal is and hand over keying material. It cannot by itself decide that the principal may build a tunnel for a particular subnet, choose a broad selector, or impersonate a gateway. Those choices stay in IPsec policy and local administration. Moving identity proof toward a KDC does not move every traffic decision with it.

Requirements first, protocol five years later

RFC 3129 did not finish the protocol. It was an Informational requirements memo. Five years later, RFC 4430 supplied the Standards Track KINK specification and explicitly treated RFC 3129 as its requirements foundation. The sequence is the point: 2001 defined the burden to be moved and the properties that had to survive the move; 2006 described something interoperable. Publication of either document proves neither broad deployment nor the displacement of IKE.

The neighbourhood kept moving too. RFC 4120 later replaced the original Kerberos V5 specification. RFC 3961 separated Kerberos encryption and checksum profiles from the core protocol. RFC 4556 standardized PKINIT. IKE itself became IKEv2 in RFC 4306 and later RFC 7296. RFC 6113 generalized Kerberos pre-authentication. History did not pick one clean branch; it grew several ways to distribute trust, each with a different control surface.

Read RFC 3129's O(n) against O(n²) language, then, as an architectural prompt rather than a complete economic proof. A KDC reduces the number of pairwise long-term secrets in the simplified model. It does not remove cross-realm trust, disaster recovery, master-key protection, keytab rotation, credential renewal, clock discipline, audit, capacity planning or local access rules. It exchanges a broad mesh of bilateral obligations for a smaller number of far more consequential institutions. Every centralisation is a promise that the centre will stay boring.

The exchange rewrites the incident report. In a pairwise model, investigators ask which peer key or certificate path failed. In a Kerberos-backed model, they must also ask which principal obtained which ticket, through what pre-authentication, under which realm policy, for what lifetime, and whether the service then authorized the identity correctly. A KDC log can greatly strengthen attribution — and a compromised or misconfigured authority can mint trust at scale.

Availability shifts the same way. Existing SAs and valid tickets may outlive a brief KDC outage, especially since RFC 3129 required local rekey during ticket validity. New credentials, expired tickets and fresh service relationships may not. The real outage boundary is not "KDC down means all IPsec down." It is the interaction among cached credentials, ticket lifetime, SA lifetime, rekey rules, and the precise moment a peer needs central assistance again.

The security considerations delivered the sober conclusion. A system built from Kerberos and IPsec inherits the union of their weaknesses. Combining two mature mechanisms does not cancel either one's failure modes; it may also breed a new weakness at their junction, which the protocol would then have to address.

Why RFC 3129 still matters

That is why the memo belongs in a history of the Internet. It caught the moment protocol design admitted that administration is part of cryptography. The decisive question stopped being only whether two endpoints could derive the same key. It became: who has to know whom, who gets to impose policy, which computations repeat at the edge, and which institution is trusted to make a large network manageable.

The KDC did not make trust disappear. It made trust legible, reusable and concentrated — an enormous operational advantage, and a single point where realm governance, availability and compromise become everyone's problem at once. RFC 3129's achievement was to write both sides of that bargain into the requirements before anyone declared the protocol finished. The cipher was never the hard part. The hard part was deciding whose building the keys live in — and whether anyone would notice if the landlord changed the locks.

Sources