WebRTC IP Address Handling Requirements
draft-ietf-rtcweb-ip-handling-09

Document Type Active Internet-Draft (rtcweb WG)
Last updated 2018-07-17 (latest revision 2018-06-13)
Replaces draft-shieh-rtcweb-ip-handling
Stream IETF
Intended RFC status Proposed Standard
Formats plain text xml pdf html bibtex
Stream WG state Submitted to IESG for Publication
Revised I-D Needed - Issue raised by WG
Document shepherd Sean Turner
Shepherd write-up Show (last changed 2018-04-11)
IESG IESG state Publication Requested
Consensus Boilerplate Yes
Telechat date
Responsible AD Adam Roach
Send notices to Sean Turner <sean@sn3rd.com>
Network Working Group                                          J. Uberti
Internet-Draft                                                    Google
Intended status: Standards Track                                G. Shieh
Expires: December 15, 2018                                      Facebook
                                                           June 13, 2018

                WebRTC IP Address Handling Requirements
                    draft-ietf-rtcweb-ip-handling-09

Abstract

   This document provides information and requirements for how IP
   addresses should be handled by WebRTC implementations.

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 December 15, 2018.

Copyright Notice

   Copyright (c) 2018 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.

Uberti & Shieh          Expires December 15, 2018               [Page 1]
Internet-Draft             WebRTC IP Handling                  June 2018

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   2
   3.  Problem Statement . . . . . . . . . . . . . . . . . . . . . .   2
   4.  Goals . . . . . . . . . . . . . . . . . . . . . . . . . . . .   4
   5.  Detailed Design . . . . . . . . . . . . . . . . . . . . . . .   4
     5.1.  Principles  . . . . . . . . . . . . . . . . . . . . . . .   4
     5.2.  Modes and Recommendations . . . . . . . . . . . . . . . .   5
   6.  Implementation Guidance . . . . . . . . . . . . . . . . . . .   6
     6.1.  Ensuring Normal Routing . . . . . . . . . . . . . . . . .   6
     6.2.  Determining Host Candidates . . . . . . . . . . . . . . .   7
   7.  Application Guidance  . . . . . . . . . . . . . . . . . . . .   7
   8.  Security Considerations . . . . . . . . . . . . . . . . . . .   7
   9.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   8
   10. Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   8
   11. References  . . . . . . . . . . . . . . . . . . . . . . . . .   8
     11.1.  Normative References . . . . . . . . . . . . . . . . . .   8
     11.2.  Informative References . . . . . . . . . . . . . . . . .   8
   Appendix A.  Change log . . . . . . . . . . . . . . . . . . . . .   9
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  11

1.  Introduction

   One of WebRTC's key features is its support of peer-to-peer
   connections.  However, when establishing such a connection, which
   involves connection attempts from various IP addresses, WebRTC may
   allow a web application to learn additional information about the
   user compared to an application that only uses the Hypertext Transfer
   Protocol (HTTP) [RFC7230].  This may be problematic in certain cases.
   This document summarizes the concerns, and makes recommendations on
   how WebRTC implementations should best handle the tradeoff between
   privacy and media performance.

2.  Terminology

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [RFC2119].

3.  Problem Statement

   In order to establish a peer-to-peer connection, WebRTC
   implementations use Interactive Connectivity Establishment (ICE)
   [RFC5245], which attempts to discover multiple IP addresses using
   techniques such as Session Traversal Utilities for NAT (STUN)
   [RFC5389] and Traversal Using Relays around NAT (TURN) [RFC5766], and
   then checks the connectivity of each local-address-remote-address

Uberti & Shieh          Expires December 15, 2018               [Page 2]
Internet-Draft             WebRTC IP Handling                  June 2018
Show full document text