TOC 
Network Working GroupX. Marjou
Internet-DraftA. Sollaud
Intended status: BCPFrance Telecom
Expires: June 19, 2008December 17, 2007


Application Mechanism for maintaining alive the Network Address Translator (NAT) mappings associated to RTP flows.
draft-ietf-avt-app-rtp-keepalive-01

Status of this Memo

By submitting this Internet-Draft, each author represents that any applicable patent or other IPR claims of which he or she is aware have been or will be disclosed, and any of which he or she becomes aware will be disclosed, in accordance with Section 6 of BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts.

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

The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt.

The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html.

This Internet-Draft will expire on June 19, 2008.

Abstract

This document lists the different mechanisms that enable applications using Real-time Transport Protocol (RTP) to maintain their RTP Network Address Translator (NAT) mappings alive. It also makes a recommendation for a preferred mechanism. This document is not applicable to Interactive Connectivity Establishment (ICE) agents.



Table of Contents

1.  Introduction
2.  Terminology
3.  Requirements
4.  List of Alternatives for Performing RTP Keepalive
    4.1.  UDP Packet of 0-byte
    4.2.  DCCP Packet of 0-byte
    4.3.  RTP Packet with Comfort Noise Payload
    4.4.  RTCP Packets Multiplexed with RTP Packets
    4.5.  STUN Indication Packet
    4.6.  RTP Packet with No-Op Payload
    4.7.  RTP Packet with Incorrect Version Number
    4.8.  RTP Packet with Unknown Payload Type
5.  Recommended solution
6.  Additional considerations
7.  Security Considerations
8.  IANA Considerations
9.  Acknowledgements
10.  References
    10.1.  Normative references
    10.2.  Informative references
§  Authors' Addresses
§  Intellectual Property and Copyright Statements




 TOC 

1.  Introduction

Documents [RFC4787] (Audet, F. and C. Jennings, “Network Address Translation (NAT) Behavioral Requirements for Unicast UDP,” January 2007.) and [DRAFT‑NAT‑TCP‑REQS] (Guha, S., Biswas, K., Ford, B., Francis, P., Sivarkumar, S., and P. Srisuresh, “NAT Behavioral Requirements for TCP,” April 2007.) describe NAT behaviors and point out that two key aspects of NAT are mappings (a.k.a. bindings) and their refreshment. This introduces a derived requirement for applications engaged in a multimedia session involving NAT traversal: they need to generate a minimum of flow activity in order to create NAT mappings and maintain them alive.

When applied to applications using RTP [RFC3550] (Schulzrinne, H., Casner, S., Frederick, R., and V. Jacobson, “RTP: A Transport Protocol for Real-Time Applications,” July 2003.), the RTP media stream packets themselves normally fulfill this requirement. However there exist some cases where RTP do not generate a minimum flow activity.

The examples are:

To solve these problems, an agent therefore needs to periodically send keepalive data within the outgoing RTP session of an RTP media stream regardless of whether the media stream is currently inactive, sendonly, recvonly or sendrecv, and regardless of the presence or value of the bandwidth attribute.

It is also important to note that the above examples also require the agents to use symmetric RTP [RFC4961] (Wing, D., “Symmetric RTP / RTP Control Protocol (RTCP),” July 2007.) in addition to RTP keepalive.

This document first states the requirements that must be supported to perform RTP keepalives (Section 3 (Requirements)). In a second step, the document reports the different mechanisms to overcome this problem (Section 4 (List of Alternatives for Performing RTP Keepalive)) and makes recommendations about their use.

The scope of the draft is limited to non ICE agents. Indeed, ICE agents need to follow the RTP keepalive mechanism specified in the ICE specification [DRAFT‑ICE] (Rosenberg, J., “Interactive Connectivity Establishment (ICE): A Methodology for Network Address Translator (NAT) Traversal for Offer/Answer Protocols,” October 2007.).

The scope of the draft is also limited to RTP flows. In particular, this document does not address keepalive activity related to:

Note that if a given media uses a codec that already integrates a keepalive mechanism, no keepalive mechanism is required at the RTP level.



 TOC 

2.  Terminology

In this document, the key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" are to be interpreted as described in RFC 2119 [RFC2119] (Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” March 1997.).



 TOC 

3.  Requirements

This section outlines the key requirements that need to be satisfied in order to provide RTP media keepalive.

REQ-1
Some data is sent periodically within the outgoing RTP session for the whole duration of the RTP media stream.
REQ-2
Any type of transport (e.g. UDP, TCP) MUST be supported.
REQ-3
Any media type (e.g. audio, video, text) MUST be supported.
REQ-4
Any media format (e.g. G.711, H.263) MUST be supported.
REQ-5
Session signaling protocols SHOULD not be impacted.
REQ-6
Session description protocols SHOULD not be impacted.
REQ-7
Impacts on existing software SHOULD be minimized.
REQ-8
Remote peer SHOULD not be impacted.
REQ-9
More than one mechanism MAY exist.


 TOC 

4.  List of Alternatives for Performing RTP Keepalive

This section lists some alternatives that can be used in order to perform a keepalive message within RTP media streams.



 TOC 

4.1.  UDP Packet of 0-byte

The application sends an empty UDP packet.

Cons:

Recommendation:



 TOC 

4.2.  DCCP Packet of 0-byte

The application sends an empty DCCP packet.

Cons:

Recommendation:



 TOC 

4.3.  RTP Packet with Comfort Noise Payload

The application sends an RTP packet with a comfort-noise payload [RFC3389] (Zopf, R., “Real-time Transport Protocol (RTP) Payload for Comfort Noise (CN),” September 2002.).

Cons:

Recommendation:



 TOC 

4.4.  RTCP Packets Multiplexed with RTP Packets

The application sends RTCP packets in the RTP media path itself (i.e. same tuples for both RTP and RTCP packets) [DRAFT‑RTP‑RTCP] (Perkins, C. and M. Magnus, “Multiplexing RTP Data and Control Packets on a Single Port,” August 2007.). RTCP packets therefore maintain the NAT mappings open.

Cons:

Recommendation:



 TOC 

4.5.  STUN Indication Packet

The application sends a STUN [DRAFT‑STUN] (Rosenberg, J., Huitema, C., Mahy, R., and D. Wing, “Simple Traversal Underneath Network Address Translators (NAT) (STUN),” November 2007.) Binding Indication packet as specified in ICE [DRAFT‑ICE] (Rosenberg, J., “Interactive Connectivity Establishment (ICE): A Methodology for Network Address Translator (NAT) Traversal for Offer/Answer Protocols,” October 2007.).

Thanks to the RTP validy check, STUN packets will be ignored by the RTP stack.

Cons:

Recommendation:



 TOC 

4.6.  RTP Packet with No-Op Payload

The application sends an RTP No-OP payload [DRAFT‑RTP‑NO‑OP] (Andreason, F., Oran, D., and D. Wing, “A No-Op Payload Format for RTP,” May 2007.) .

Cons:

Recommendation:



 TOC 

4.7.  RTP Packet with Incorrect Version Number

The application sends an RTP packet with an incorrect version number, which value is zero.

Based on RTP specification [RFC3550] (Schulzrinne, H., Casner, S., Frederick, R., and V. Jacobson, “RTP: A Transport Protocol for Real-Time Applications,” July 2003.), the peer should perform a header validity check, and therefore ignore these types of packet.

Cons:

Recommendation:



 TOC 

4.8.  RTP Packet with Unknown Payload Type

The application sends an RTP packet of 0 length with a dynamic payload type that has not been negotiated by the peers (e.g. not negotiated within the SDP offer/answer, and thus not mapped to any media format).

Normally the peer will ignore it, as RTP [RFC3550] (Schulzrinne, H., Casner, S., Frederick, R., and V. Jacobson, “RTP: A Transport Protocol for Real-Time Applications,” July 2003.) states that "a receiver MUST ignore packets with payload types that it does not understand".

Cons:

Recommendation:



 TOC 

5.  Recommended solution

Some mechanisms do not meet the requirements as they are either specific to the transport (Section 4.1 (UDP Packet of 0-byte), Section 4.2 (DCCP Packet of 0-byte)), specific to a media type (Section 4.3 (RTP Packet with Comfort Noise Payload)), or dependent on the capabilities of the peer (Section 4.4 (RTCP Packets Multiplexed with RTP Packets), Section 4.5 (STUN Indication Packet), Section 4.6 (RTP Packet with No-Op Payload)). The RECOMMENDED solution is thus the "RTP Packet with Unknown Payload Type" mechanism of Section 4.8 (RTP Packet with Unknown Payload Type) as it will always work.



 TOC 

6.  Additional considerations

An application supporting this specification must transmit keepalive packets during the whole duration of the media session.

Keepalives packets within a particular RTP session MUST use the tuple (source IP address, source TCP/UDP ports, target IP address, target TCP/UDP Port) of the regular RTP packets.

Keepalive packets MUST be sent every Tr seconds. Tr SHOULD be configurable, and otherwise MUST default to 15 seconds.

The agent SHOULD only send RTP keepalive when it does not send regular RTP paquets.



 TOC 

7.  Security Considerations

The keepalive packets are sent on the same path as regular RTP media packets. In addition, they do not convey any valuable information. So the mechanism described here doest not imply new security issues.



 TOC 

8.  IANA Considerations

This document has no actions for IANA.



 TOC 

9.  Acknowledgements

Jonathan Rosenberg provided the major inputs for this draft via the ICE specification. In addition, thanks to Dan Wing for his useful inputs and comments.



 TOC 

10.  References



 TOC 

10.1. Normative references

[DRAFT-ICE] Rosenberg, J., “Interactive Connectivity Establishment (ICE): A Methodology for Network Address Translator (NAT) Traversal for Offer/Answer Protocols,” draft-ietf-mmusic-ice-19 (work in progress), October 2007.
[DRAFT-NAT-TCP-REQS] Guha, S., Biswas, K., Ford, B., Francis, P., Sivarkumar, S., and P. Srisuresh, “NAT Behavioral Requirements for TCP,” draft-ietf-behave-tcp-07 (work in progress), April 2007.
[DRAFT-RTP-NO-OP] Andreason, F., Oran, D., and D. Wing, “A No-Op Payload Format for RTP,” draft-ietf-avt-rtp-no-op-04 (work in progress), May 2007.
[DRAFT-RTP-RTCP] Perkins, C. and M. Magnus, “Multiplexing RTP Data and Control Packets on a Single Port,” draft-ietf-avt-rtp-and-rtcp-mux-07 (work in progress), August 2007.
[DRAFT-STUN] Rosenberg, J., Huitema, C., Mahy, R., and D. Wing, “Simple Traversal Underneath Network Address Translators (NAT) (STUN),” draft-ietf-behave-rfc3489bis-13 (work in progress), November 2007.
[RFC2119] Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” BCP 14, RFC 2119, March 1997 (TXT, HTML, XML).
[RFC3264] Rosenberg, J. and H. Schulzrinne, “An Offer/Answer Model with Session Description Protocol (SDP),” RFC 3264, June 2002 (TXT).
[RFC3389] Zopf, R., “Real-time Transport Protocol (RTP) Payload for Comfort Noise (CN),” RFC 3389, September 2002 (TXT).
[RFC3550] Schulzrinne, H., Casner, S., Frederick, R., and V. Jacobson, “RTP: A Transport Protocol for Real-Time Applications,” STD 64, RFC 3550, July 2003 (TXT, PS, PDF).
[RFC4566] Handley, M., Jacobson, V., and C. Perkins, “SDP: Session Description Protocol,” RFC 4566, July 2006 (TXT).
[RFC4787] Audet, F. and C. Jennings, “Network Address Translation (NAT) Behavioral Requirements for Unicast UDP,” BCP 127, RFC 4787, January 2007 (TXT).


 TOC 

10.2. Informative references

[RFC4103] Hellstrom, G. and P. Jones, “RTP Payload for Text Conversation,” RFC 4103, June 2005 (TXT).
[RFC4961] Wing, D., “Symmetric RTP / RTP Control Protocol (RTCP),” BCP 131, RFC 4961, July 2007 (TXT).


 TOC 

Authors' Addresses

  Xavier Marjou
  France Telecom
  2, avenue Pierre Marzin
  Lannion 22307
  France
Email:  xavier.marjou@orange-ftgroup.com
  
  Aurelien Sollaud
  France Telecom
  2, avenue Pierre Marzin
  Lannion 22307
  France
Email:  aurelien.sollaud@orange-ftgroup.com


 TOC 

Full Copyright Statement

Intellectual Property