Realm Crossover for SASL and GSS-API via Diameter
draft-vanrein-diameter-sasl-03

Document Type Active Internet-Draft (individual)
Last updated 2020-01-21
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf htmlized (tools) htmlized bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                        R. Van Rein
Internet-Draft                                                 ARPA2.net
Intended status: Informational                          January 21, 2020
Expires: July 24, 2020

           Realm Crossover for SASL and GSS-API via Diameter
                     draft-vanrein-diameter-sasl-03

Abstract

   SASL and GSS-API are used for authentication in many application
   protocols.  This specification extends them to allow credentials of a
   home realm to be used against external services.  To this end, it
   introduces end-to-end encryption for SASL that is safe to relay to
   the client's home realm.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on July 24, 2020.

Copyright Notice

   Copyright (c) 2020 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (https://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Van Rein                  Expires July 24, 2020                 [Page 1]
Internet-Draft                Diameter SASL                 January 2020

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Messages of GS2-SXOVER-PLUS . . . . . . . . . . . . . . . . .   3
     2.1.  Initial Client-to-Server Message  . . . . . . . . . . . .   4
     2.2.  Initial Server-to-Client Message  . . . . . . . . . . . .   5
     2.3.  Continued Client-to-Server Messages . . . . . . . . . . .   6
     2.4.  Continued Server-to-Client Messages . . . . . . . . . . .   6
   3.  GS2-SXOVER-PLUS as a GS2 Mechanism  . . . . . . . . . . . . .   7
     3.1.  Encrypting GS2-SXOVER-PLUS Messages . . . . . . . . . . .   7
     3.2.  Initial Round-trip Optimisation . . . . . . . . . . . . .   8
     3.3.  Initial Header for GSS-API  . . . . . . . . . . . . . . .   8
     3.4.  Initial Header for SASL . . . . . . . . . . . . . . . . .   9
   4.  AVP Definitions for SASL in Diameter  . . . . . . . . . . . .  10
     4.1.  SASL-Mechanism  . . . . . . . . . . . . . . . . . . . . .  10
     4.2.  SASL-Token  . . . . . . . . . . . . . . . . . . . . . . .  11
     4.3.  SASL-Channel-Binding  . . . . . . . . . . . . . . . . . .  11
   5.  Diameter Message Requirements for GS2-SXOVER-PLUS . . . . . .  11
     5.1.  C2S-Init Requests over Diameter . . . . . . . . . . . . .  12
     5.2.  S2C-Init Responses over Diameter  . . . . . . . . . . . .  12
     5.3.  C2S-Cont Requests over Diameter . . . . . . . . . . . . .  13
     5.4.  S2C-Cont Responses over Diameter  . . . . . . . . . . . .  14
   6.  Running Diameter as a SASL Backend  . . . . . . . . . . . . .  14
     6.1.  Diameter is an SCTP service . . . . . . . . . . . . . . .  14
     6.2.  Reliance on DANE and DNSSEC . . . . . . . . . . . . . . .  14
   7.  Security Considerations . . . . . . . . . . . . . . . . . . .  15
   8.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  16
   9.  Normative References  . . . . . . . . . . . . . . . . . . . .  16
   Appendix A.  Acknowledgements . . . . . . . . . . . . . . . . . .  17
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .  17

1.  Introduction

   It is common for Internet users to combine services from a varierity
   of providers.  Along with this, an ad hoc practice has arisen of
   using the local identity schemes of these providers.  These are not
   integrated, and the practice tends to reduce the control of users
   over their online identity.  A solution to this is support for realm
   crossover, where an externally acquired service can make a callback
   to a home realm to authenticate a user's identity and use that for
   service-specific authorisation.

   SASL [RFC4422] is instrumental in authentication across a wide range
   of application protocols; it allows those protocols to abstract from
Show full document text