Re: [pcp] pcp-base-19

"Dan Wing" <dwing@cisco.com> Wed, 21 December 2011 22:56 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 1C92B11E80B8 for <pcp@ietfa.amsl.com>; Wed, 21 Dec 2011 14:56:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level:
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zzSBMfI-9hPS for <pcp@ietfa.amsl.com>; Wed, 21 Dec 2011 14:56:04 -0800 (PST)
Received: from mtv-iport-4.cisco.com (mtv-iport-4.cisco.com [173.36.130.15]) by ietfa.amsl.com (Postfix) with ESMTP id 3CE3A11E80B5 for <pcp@ietf.org>; Wed, 21 Dec 2011 14:56:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=dwing@cisco.com; l=6002; q=dns/txt; s=iport; t=1324508164; x=1325717764; h=from:to:cc:references:in-reply-to:subject:date: message-id:mime-version:content-transfer-encoding; bh=BuzeLjtpTyAproyp5SaZnG6HFCCNGGZekz8zG59uCIQ=; b=NNTbaSU++QMTAu/ZhKH6D5/WbuY3xC4XImbAEAHcglnl/0mt3xdQhglv T1Am3yJyikNkg8qYePWxJXf6CjF7FjY7kQ8+qC5nu1PMOeWfu33By53z5 vDs5fdIk1nbEcUVg7vS5VKrOk1q4UzKcCgwv5lQICzONrwJHMRWhUwWnp k=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AogAAHNj8k6rRDoJ/2dsb2JhbABDm0yBao5tgQWBcgEBAQMBAQEBBQoBFxA0CwUHAQMCCQ8CBAEBKAcZDhUKCQgCBBMLF4dYCJkeAZ4yjA8EiDeETikBmiQ
X-IronPort-AV: E=Sophos;i="4.71,390,1320624000"; d="scan'208";a="21985333"
Received: from mtv-core-4.cisco.com ([171.68.58.9]) by mtv-iport-4.cisco.com with ESMTP; 21 Dec 2011 22:56:04 +0000
Received: from dwingWS (sjc-vpn7-404.cisco.com [10.21.145.148]) by mtv-core-4.cisco.com (8.14.3/8.14.3) with ESMTP id pBLMu3DH016396; Wed, 21 Dec 2011 22:56:03 GMT
From: Dan Wing <dwing@cisco.com>
To: 'Tina TSOU' <Tina.Tsou.Zouting@huawei.com>
References: <C0E0A32284495243BDE0AC8A066631A80C233F2F@szxeml526-mbx.china.huawei.com>
In-Reply-To: <C0E0A32284495243BDE0AC8A066631A80C233F2F@szxeml526-mbx.china.huawei.com>
Date: Wed, 21 Dec 2011 14:56:03 -0800
Message-ID: <020201ccc033$b75e08c0$261a1a40$@com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: AQHMvshLlgQo2yg0SuKgPIbgmlIgJZXmCNUggACR36CAAEr20A==
Content-Language: en-us
Cc: pcp@ietf.org
Subject: Re: [pcp] pcp-base-19
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: Wed, 21 Dec 2011 22:56:05 -0000

> -----Original Message-----
> From: Tina TSOU [mailto:Tina.Tsou.Zouting@huawei.com]
> Sent: Wednesday, December 21, 2011 10:19 AM
> To: Dan Wing
> Cc: pcp@ietf.org
> Subject: Re: [pcp] pcp-base-19
> 
> Hi all,
> Some comments on pcp-base-19:
> 
> 1. P17, section 6.3 / P18, section 6.4
> "If the PCP server does not implement this Option, ..."
> "UNSUPP_OPTION: Unsupported Option.  This error only occurs if the
> Option is in the mandatory-to-process range."
> 
> Why do we set this restriction "only occurs if the Option is in the
> mandatory-to-process range."?
> I think UNSUPP_OPTION error code is better than MALFORMED_OPTION if
> there is an unsupported optional Option.

Unsupported optional Options don't cause errors to be generated;
they are simply ignored (as if not present in the request) and the 
PCP response won't contain those Options (as if not present in the 
request)

The full text is:

   The most significant bit in the Option Code indicates if its
   processing is optional or mandatory.  If the most significant bit is
   set, handling this Option is optional, and a PCP server MAY process
   or ignore this Option, entirely at its discretion.  If the most
   significant bit is clear, handling this Option is mandatory, and a
   PCP server MUST process this Option or return an error code if it
   cannot.  If the PCP server does not implement this Option, or cannot
   perform the function indicated by this Option (e.g., due to a parsing
   error with the Option), it MUST generate an error response with code
   UNSUPP_OPTION or MALFORMED_OPTION (as appropriate).

That last sentence is intended to only apply if the significant bit
is clear.  I agree that is not clear.  I will replace the paragraph above
with this new paragraph, which indicates any sort of parsing error
generates MALFORMED_OPTION, and indicates when options are included
in responses:


        <t>If an Option cannot successfully be parsed, the PCP server
        MUST generate an error response with code MALFORMED_OPTION.
        The most significant bit in the Option Code indicates if its
        processing is optional or mandatory.  If the most significant
        bit is set, handling this Option is optional, and a PCP server
        MAY process or ignore this Option, entirely at its discretion.
        If the most significant bit is clear, handling this Option is
        mandatory, and a PCP server MUST process this Option or return
        the error UNSUPP_OPTION if it cannot.  All processed options
        are returned in successful responses, and unprocessed options 
        are not included in successful responses.</t>


> 2. P28, section 9
> "It is REQUIRED that the PCP-controlled device assign the same
> external IP address to PCP-created explicit dynamic mappings and to
> implicit dynamic mappings for a given Internal Address. In the absence
> of a PCP option indicating otherwise, it is REQUIRED that all
> PCP-created explicit dynamic mappings be assigned the same external
> IP address."
> 
> How about replace "In the absence of a PCP option indicating otherwise,
> it is REQUIRED that all PCP-created explicit dynamic mappings be
> assigned the same external IP address."
> with
> "It is indicated by the PCP client that PCP-created explicit dynamic
> mappings be assigned the same external IP address, unless there are
> explicit reasons of not doing so, e.g.
> http://tools.ietf.org/html/draft-penno-pcp-zones-00"?
>
> Because "It is REQUIRED that the PCP" give the requirement from the
> server's point of view, I think we should also give the requirement
> from the client's point of view.
> This is more or less what Dan suggested before, perhaps an oversight.

I don't understand the nuance between the wording.  Can you give an
example of what the existing text prohibits / breaks / disallows?


> 3. P38, section 10.2
> "the PCP server may not be able grant the suggested External IP Address
> and Port"
> 
> typo? be able to?

Thanks, fixed.


> 4. P57, section 12.3
> "the value of the Prefix Length pertains only to to the IPv4 portion of
> the address."
> 
> typo, duplicate "to"

Thanks, fixed.


> 5. P59, section 13.1.1
> "In many networking APIs is is difficult or	impossible to have two
> independent clients listening for both unicasts and multicasts on the
> same port at the same time.  For this reason, two ports are used."
> 
> typo, duplicate "is"

Thanks, fixed to read "it is".


> 6. P61, section 13.1.4 Processing a PEER Response
> 
> the title "PEER Response",
> 
> guess it should be "ANNOUNCE"

Oops, thanks.  Fixed.


> "then for all PCP mappings it made at that server address the client
> should issue new PCP requests to to recreate any lost mapping state. "
> 
> typo, duplicate "to"

Thanks, fixed.

-d

> 
> 
> Happy holidays,
> Tina
> 
> 
> -----Original Message-----
> From: pcp-bounces@ietf.org [mailto:pcp-bounces@ietf.org] On Behalf Of
> Dan Wing
> Sent: Monday, December 19, 2011 5:21 PM
> To: 'PCP'
> Subject: [pcp] pcp-base-19
> 
> Major changes in -19 are summarized in the Changes section, and
> are:
> 
>    o  Described race condition with MAP containing PREFER_FAILURE and
>       Mapping Update.
> 
>    o  Added state machine (Section 14.5).
> 
>    o  Fully integrated Rapid Recovery, with a separate Opcode having
> its
>       own processing description.
> 
>    o  Clarified that due to Mapping Update, a single MAP or PEER
> request
>       can receive multiple responses, each updating the previous
>       request, and that the PCP client needs to handle MAP updates or
>       PEER updates accordingly.
> 
> Side-by-side diffs,
> http://tools.ietf.org/rfcdiff?url2=draft-ietf-pcp-base-19.txt
> 
> -d
> 
> 
> _______________________________________________
> pcp mailing list
> pcp@ietf.org
> https://www.ietf.org/mailman/listinfo/pcp