NAT Port Mapping Protocol (NAT-PMP)
draft-cheshire-nat-pmp-05

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Last updated 2012-09-08
Stream (None)
Intended RFC status (None)
Formats plain text pdf html
IETF conflict review conflict-review-cheshire-nat-pmp
Stream Stream state (No stream defined)
Document shepherd None
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Document: draft-cheshire-nat-pmp-05.txt                  Stuart Cheshire
Internet-Draft                                             Marc Krochmal
Category: Informational                                       Apple Inc.
Expires 8th March 2013                                  8 September 2012

                   NAT Port Mapping Protocol (NAT-PMP)
                     <draft-cheshire-nat-pmp-05.txt>

Abstract

   This document describes a protocol for automating the process of
   creating Network Address Translation (NAT) port mappings. Included in
   the protocol is a method for retrieving the external IPv4 address of
   a NAT gateway, thus allowing a client to make this external IPv4
   address and port known to peers that may wish to communicate with it.
   This protocol is implemented in current Apple products including Mac
   OS X, Bonjour for Windows, and AirPort wireless base stations.

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."

Copyright Notice

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

Expires 8th March 2013         Cheshire, et al.                 [Page 1]
Internet Draft          NAT Port Mapping Protocol     8th September 2012

Table of Contents

   1.    Introduction.................................................3
   2.    Conventions and Terminology Used in this Document............4
   3.    Protocol and Packet Format...................................5
   3.1   Requests and Responses.......................................5
   3.2   Determining the External Address.............................7
   3.2.1 Announcing Address Changes...................................7
   3.3   Requesting a Mapping.........................................9
   3.4   Destroying a Mapping........................................12
   3.5   Result Codes................................................13
   3.6   Seconds Since Start of Epoch................................14
   3.7   Recreating Mappings On NAT Gateway Reboot...................15
   3.8   NAT Gateways with NAT Function Disabled.....................17
   3.9   All Mappings are Bidirectional..............................18
   4.    UNSAF Considerations........................................19
   4.1   Scope.......................................................19
   4.2   Transition Plan.............................................19
   4.3   Failure Cases...............................................19
   4.4   Long Term Solution..........................................21
   4.5   Existing Deployed NATs......................................21
   5.    Security Considerations.....................................22
   6.    IANA Considerations.........................................22
   7.    Acknowledgments.............................................23
   8.    Deployment History..........................................23
   9.    Noteworthy Features of NAT Port Mapping Protocol and PCP....24
   9.1   Simplicity..................................................25
   9.2   Focussed Scope..............................................25
   9.3   Efficiency..................................................25
   9.4   Atomic Allocation Operations................................27
   9.5   Garbage Collection..........................................27
   9.6   State Change Announcements..................................28
   9.7   Soft State Recovery.........................................29
   9.8   On-Path NAT Discovery ......................................29
   10.   Normative References .......................................30
   11.   Informative References .....................................30
Show full document text