Re: [pcp] PCP Draft 29 question about PREFER_FAILURE and Suggested External Address field of all zeroes

"Dan Wing" <dwing@cisco.com> Thu, 14 February 2013 22:21 UTC

Return-Path: <dwing@cisco.com>
X-Original-To: pcp@ietfa.amsl.com
Delivered-To: pcp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0E91521F86D4 for <pcp@ietfa.amsl.com>; Thu, 14 Feb 2013 14:21:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.162
X-Spam-Level:
X-Spam-Status: No, score=-110.162 tagged_above=-999 required=5 tests=[AWL=0.437, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y6ZbQK0A01J0 for <pcp@ietfa.amsl.com>; Thu, 14 Feb 2013 14:21:19 -0800 (PST)
Received: from mtv-iport-3.cisco.com (mtv-iport-3.cisco.com [173.36.130.14]) by ietfa.amsl.com (Postfix) with ESMTP id 3FF6E21F86C4 for <pcp@ietf.org>; Thu, 14 Feb 2013 14:21:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2679; q=dns/txt; s=iport; t=1360880479; x=1362090079; h=from:to:references:in-reply-to:subject:date:message-id: mime-version:content-transfer-encoding; bh=0mODtjI1N2+aZUmTPfSNKMfGFxBZKDAvPmN8dHatMfc=; b=Ny/OuEKwAueOaoqNMNNy/FTcxK0AqurejoIGyslizA10SY098BXlJvPu jz+Ijz4IL84MmAHfflpt2zQ8rWYNJovkhT9wG2STmjln/2XGM+4xaFwoh dqYRRab7B979hJgLXGTif7jXqMtCMurcfq0PWe2AdwpzYQENIxA+Bt55k g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AlQJAONiHVGrRDoI/2dsb2JhbABEv2YEBH0Wc4IfAQEBAwEBAQEFAjA0EAcBAwIJEQQBASQEBxkOHwkIAgQBEgsFh3wFDb0bkgQDiGaFIYgdgR2IOYZ9gVKBVg
X-IronPort-AV: E=Sophos;i="4.84,666,1355097600"; d="scan'208";a="69690281"
Received: from mtv-core-3.cisco.com ([171.68.58.8]) by mtv-iport-3.cisco.com with ESMTP; 14 Feb 2013 22:21:19 +0000
Received: from DWINGWS01 ([10.154.36.85]) by mtv-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id r1EMLIvs000992; Thu, 14 Feb 2013 22:21:18 GMT
From: Dan Wing <dwing@cisco.com>
To: 'Norman Sardella' <sardella@comcast.net>, pcp@ietf.org
References: <511D40B5.70104@comcast.net>
In-Reply-To: <511D40B5.70104@comcast.net>
Date: Thu, 14 Feb 2013 14:21:18 -0800
Message-ID: <081201ce0b01$9c7f14d0$d57d3e70$@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQGzc5GxRsZnrA3bR64nhe53A5cQrZivGtzA
Content-Language: en-us
Subject: Re: [pcp] PCP Draft 29 question about PREFER_FAILURE and Suggested External Address field of all zeroes
X-BeenThere: pcp@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: PCP wg discussion list <pcp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pcp>, <mailto:pcp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/pcp>
List-Post: <mailto:pcp@ietf.org>
List-Help: <mailto:pcp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pcp>, <mailto:pcp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Feb 2013 22:21:21 -0000

> -----Original Message-----
> From: pcp-bounces@ietf.org [mailto:pcp-bounces@ietf.org] On Behalf Of
> Norman Sardella
> Sent: Thursday, February 14, 2013 11:53 AM
> To: pcp@ietf.org
> Subject: [pcp] PCP Draft 29 question about PREFER_FAILURE and Suggested
> External Address field of all zeroes
> 
> In draft-ietf-pcp-base-29,
>   "Section 13.2.  PREFER_FAILURE Option for MAP Opcode", The draft
> mentions that when PREFER_FAILURE is set,
>    "all-zeros IPv4 or all-zeros IPv6 address in the Suggested External
>     Address field, it is invalid."
> 
> Is this a valid case? Its unclear in a CGNAT/DS-LITE environment where
> the CPE would be running a UPnP to PCP gateway and the CGNAT equipment
> provides an External Address, how the CPE could provide an initial PCP
> MAP request with an External IP Address when the CGNAT device maintains
> them.

The draft says:

   If a PCP request contains the PREFER_FAILURE option and has zero in
   the Suggested External Port field, or has the all-zeros IPv4 or all-
   zeros IPv6 address in the Suggested External Address field, it is
   invalid.

I believe it should say:

   If a PCP request contains the PREFER_FAILURE option and has zero in
   the Suggested External Port field, or has the all-zeros IPv4 or all-
......................................^^
                                     "and"
   zeros IPv6 address in the Suggested External Address field, it is
   invalid.

http://tools.ietf.org/html/draft-ietf-pcp-upnp-igd-interworking is the
canonical document explaining the interworking function, which doesn't
go into that level of detail.

Would that fix the problem?

-d

> On a MAPPING update, I could see providing an Suggested External
> Address
> 
> 
> I understand that UPnP IGDv1 client allows to dictate mapping a specific
> port, but its unclear in a CGNAT/DS-LITE environment how to specify an
> Suggested External IP address.
> 
> 
> On a MAPPING update, I could see providing an Suggested External
> Address, but don't understand how a CPE provide the Suggested External
> Address on an initial MAP request.
> 
> > 13.2.  PREFER_FAILURE Option for MAP Opcode
> ...
> >
> >    If a PCP request contains the PREFER_FAILURE option and has zero in
> >    the Suggested External Port field, or has the all-zeros IPv4 or
> all-
> >    zeros IPv6 address in the Suggested External Address field, it is
> >    invalid.  The PCP server MUST reject such a message with the
> >    MALFORMED_OPTION error code.
> 
> _______________________________________________
> pcp mailing list
> pcp@ietf.org
> https://www.ietf.org/mailman/listinfo/pcp