Captive Portal (CAPPORT) API
draft-donnelly-capport-detection-01

Document Type Active Internet-Draft (individual)
Last updated 2017-03-13
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf html 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)
Captive Portal WG                                            M. Donnelly
Internet-Draft                                                 M. Cullen
Intended status: Informational                         Painless Security
Expires: September 14, 2017                               March 13, 2017

                      Captive Portal (CAPPORT) API
                  draft-donnelly-capport-detection-01

Abstract

   This document describes an HTTP API that allows User Equipment to
   detect the existence of a Captive Portal on the local network,
   determine the properties of the Captive Portal, and satisfy
   requirements for network access.

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 http://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 September 14, 2017.

Copyright Notice

   Copyright (c) 2017 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
   (http://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.

Donnelly & Cullen      Expires September 14, 2017               [Page 1]
Internet-Draft        Captive Portal (CAPPORT) API            March 2017

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Requirements Notation . . . . . . . . . . . . . . . . . . . .   3
   3.  Workflow  . . . . . . . . . . . . . . . . . . . . . . . . . .   3
   4.  Use of the DHCP Captive-Portal Option . . . . . . . . . . . .   4
   5.  CAPPORT API . . . . . . . . . . . . . . . . . . . . . . . . .   4
     5.1.  URLs and HTTP Methods . . . . . . . . . . . . . . . . . .   4
       5.1.1.  Associating User Equipment with its URL . . . . . . .   4
       5.1.2.  Fallback URL  . . . . . . . . . . . . . . . . . . . .   4
       5.1.3.  CAPPORT API POST URL  . . . . . . . . . . . . . . . .   5
       5.1.4.  CAPPORT REST API DELETE URL . . . . . . . . . . . . .   5
     5.2.  JSON Data Structures  . . . . . . . . . . . . . . . . . .   5
       5.2.1.  CAPPORT Common Elements . . . . . . . . . . . . . . .   5
         5.2.1.1.  Toplevel Object . . . . . . . . . . . . . . . . .   5
         5.2.1.2.  Networks Object . . . . . . . . . . . . . . . . .   6
         5.2.1.3.  Network Object  . . . . . . . . . . . . . . . . .   6
         5.2.1.4.  Condition Object  . . . . . . . . . . . . . . . .   7
         5.2.1.5.  Session Token Object  . . . . . . . . . . . . . .   7
       5.2.2.  User Equipment Request  . . . . . . . . . . . . . . .   8
         5.2.2.1.  Satisfaction Details Object . . . . . . . . . . .   8
       5.2.3.  CAPPORT API Server Response . . . . . . . . . . . . .   8
         5.2.3.1.  Requirement Details Object  . . . . . . . . . . .   8
         5.2.3.2.  Network State Object  . . . . . . . . . . . . . .   9
   6.  Network Access Conditions . . . . . . . . . . . . . . . . . .   9
     6.1.  Terms and Conditions  . . . . . . . . . . . . . . . . . .   9
       6.1.1.  Requirements  . . . . . . . . . . . . . . . . . . . .  10
       6.1.2.  Satisfaction  . . . . . . . . . . . . . . . . . . . .  10
     6.2.  Passcode  . . . . . . . . . . . . . . . . . . . . . . . .  10
       6.2.1.  Requirements  . . . . . . . . . . . . . . . . . . . .  11
       6.2.2.  Satisfaction  . . . . . . . . . . . . . . . . . . . .  11
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  11
   8.  Security Considerations . . . . . . . . . . . . . . . . . . .  11
     8.1.  Privacy Considerations  . . . . . . . . . . . . . . . . .  11
   9.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  12
   10. References  . . . . . . . . . . . . . . . . . . . . . . . . .  12
     10.1.  Normative References . . . . . . . . . . . . . . . . . .  12
     10.2.  Informative References . . . . . . . . . . . . . . . . .  12
Show full document text