Re: [pcp] #75 (third-party-id-option): Dave Thaler's comments on draft-ietf-pcp-third-party-id-option-00

Andreas Ripke <Andreas.Ripke@neclab.eu> Fri, 16 January 2015 11:01 UTC

Return-Path: <Andreas.Ripke@neclab.eu>
X-Original-To: pcp@ietfa.amsl.com
Delivered-To: pcp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 083031AC398 for <pcp@ietfa.amsl.com>; Fri, 16 Jan 2015 03:01:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.612
X-Spam-Level:
X-Spam-Status: No, score=-2.612 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qxhnWp0DyGq0 for <pcp@ietfa.amsl.com>; Fri, 16 Jan 2015 03:01:07 -0800 (PST)
Received: from mailer1.neclab.eu (mailer1.neclab.eu [195.37.70.40]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 528BF1ACD04 for <pcp@ietf.org>; Fri, 16 Jan 2015 03:01:07 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mailer1.neclab.eu (Postfix) with ESMTP id 2B27D108F1A for <pcp@ietf.org>; Fri, 16 Jan 2015 12:01:06 +0100 (CET)
X-Virus-Scanned: Amavisd on Debian GNU/Linux (netlab.nec.de)
Received: from mailer1.neclab.eu ([127.0.0.1]) by localhost (atlas-a.office.hd [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o0n3JI0LdQGS for <pcp@ietf.org>; Fri, 16 Jan 2015 12:01:06 +0100 (CET)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
Received: from METHONE.office.hd (methone.office.hd [192.168.24.54]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mailer1.neclab.eu (Postfix) with ESMTPS id 0A844108F09 for <pcp@ietf.org>; Fri, 16 Jan 2015 12:01:04 +0100 (CET)
Received: from PALLENE.office.hd ([169.254.1.100]) by METHONE.office.hd ([192.168.24.54]) with mapi id 14.03.0210.002; Fri, 16 Jan 2015 12:01:03 +0100
From: Andreas Ripke <Andreas.Ripke@neclab.eu>
To: "pcp@ietf.org" <pcp@ietf.org>
Thread-Topic: [pcp] #75 (third-party-id-option): Dave Thaler's comments on draft-ietf-pcp-third-party-id-option-00
Thread-Index: AQHQKstK6kSDhCyF+EeqKDRHBxreV5y2V+IAgABFgwCACyLEwA==
Date: Fri, 16 Jan 2015 11:01:03 +0000
Message-ID: <2D2FFE4726FAF74285C45D69FDC30E79912DBB02@PALLENE.office.hd>
References: <059.b391db7d29982cc510d59e4791c48b07@tools.ietf.org> <6F19A6AF-D403-439F-90A4-C1D3FC0DD1D5@cisco.com> <BY2PR03MB412C8D023FD0FAE70B8231EA3470@BY2PR03MB412.namprd03.prod.outlook.com>
In-Reply-To: <BY2PR03MB412C8D023FD0FAE70B8231EA3470@BY2PR03MB412.namprd03.prod.outlook.com>
Accept-Language: de-DE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.1.6.215]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/pcp/W7eNVG6QNYDMpJhu6LXbdUQDR04>
Subject: Re: [pcp] #75 (third-party-id-option): Dave Thaler's comments on draft-ietf-pcp-third-party-id-option-00
X-BeenThere: pcp@ietf.org
X-Mailman-Version: 2.1.15
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: Fri, 16 Jan 2015 11:01:10 -0000

The new draft-ietf-pcp-third-party-id-option-01 addresses these comments.
See inline.

Andreas

> -----Original Message-----
> From: pcp [mailto:pcp-bounces@ietf.org] On Behalf Of Dave Thaler
> Sent: Thursday, January 08, 2015 9:30 PM
> To: šŸ”“Dan Wing; pcp issue tracker
> Cc: draft-ietf-pcp-third-party-id-option@tools.ietf.org; pcp@ietf.org
> Subject: Re: [pcp] #75 (third-party-id-option): Dave Thaler's comments on draft-
> ietf-pcp-third-party-id-option-00
> 
> > -----Original Message-----
> > From: šŸ”“Dan Wing [mailto:dwing@cisco.com]
> > Sent: Thursday, January 8, 2015 8:21 AM
> > To: pcp issue tracker
> > Cc: draft-ietf-pcp-third-party-id-option@tools.ietf.org; Dave Thaler;
> > pcp@ietf.org
> > Subject: Re: [pcp] #75 (third-party-id-option): Dave Thaler's comments
> > on
> > draft-ietf-pcp-third-party-id-option-00
> >
> >
> > On Jan 7, 2015, at 2:42 PM, pcp issue tracker <trac@tools.ietf.org> wrote:
> >
> > > #75: Dave Thaler's comments on
> > > draft-ietf-pcp-third-party-id-option-00
> > >
> > > A copy with my comments inline is now at
> > > http://research.microsoft.com/~dthaler/draft-ietf-pcp-third-party-id
> > > -
> > > option-00.pdf
> > >
> > > Summary:
> > > 1) Too many places are still worded to be about "tunnel ID" rather
> > > than "third party ID".
> > >    This draft shouldn't assume tunnels, that's just one example case.

Some were changed but there are still places mentioning a "tunnel"
because the described scenarios use tunnels. It is mentioned in
section 3.3 that other identifiers can be used as well.

> > > 2) Need to explicitly state the assumption that the same PCP-IWF
> > > serves multiple subscribers.
> > >     (It was implicit currently, but should be explicit.)

This is now mentioned in section 3.

"For
this purpose the PCP IWF contains a PCP client serving multiple 
subscribers and the CGN is co-located with a PCP server."

> > > 3) Need to explicitly state the assumption that the PCP client and
> > > PCP server have some
> > >     out-of-band mechanism to agree on what to put in the
> > > THIRD_PARTY_ID field.
> > >     (Again it was implicit, but should be explicit.)

This is now mentioned in the last paragraph of section 4.

"The identifier field can contain any deployment specific value the
PCP client and the PCP server agree on.  How this agreement is
reached if both PCP server and client are not administered by the
same entity is beyond the scope of this document."

> > > 4) Section 5.2 on processing a request needs to cover the success
> > > case, not just the error case.
> >
> > Yes.  Section 5 is very short, and provides little-to-no guidance
> >
> > >     And I believe that behavior changes the basic rules in RFC 6887
> >
> > Yes, draft-ietf-pcp-third-party-id-option-00 requires that if
> > THIRD_PARTY_ID is present, then THIRD_PARTY must also be present.  I'm
> > not sure if that qualifies as an Update to RFC6887, though.  Are there
> > other changes to 6887's basic rules?
> 
> Yes.  6887's use of a mapping table says nothing about any third party ID.
> So there needs to be at least a sentence or two to say that the third party ID is
> used when doing a lookup or creation in the mapping table, for instance.
> Such text belongs in this section, which is about what to do when you get this
> option.
> 
> Section 2 already says:
> "Unlike a standard NAT, it
>    includes a subscriber identifier in addition to the source IP address
>    in entries of the NAT mapping table."
> 
> That's halfway there.  Now 5.2 just needs text that says how that affect
> MAP/PEER processing when the id is received.
> 
> RFC 6887 section 11.3 states:
> "   If the internal port, protocol, and internal address match an
>    existing static mapping (which will have no nonce), then a PCP reply
>    is sent giving the external address and port of that static mapping,
>    using the nonce from the PCP request."
> 
> That's an example of a sentence that's Updated.  So we could just say
> something along the lines of "If the id is legal, then the message is processed as
> specified in RFC 6887, except that the third party id is always used in addition
> to the internal address when accessing a mapping table, whenever RFC 6887
> would access a mapping with a given internal address".
> 
> >
> > Certainly, the I-D should be much clearer that presence of
> > THIRD_PARTY_ID means that THIRD_PARTY must also be present.  Existing
> > wording in 5.1 is not sufficiently clear to make that point obvious
> > when generating a request (needs a MUST and at least sentence
> restructuring).
> >
> > -d
> >
> > > and
> > > hence this document
> > >     should Update 6887.  I.e. you cannot simply implement this as a
> > > layer on top of an
> > >     unmodified 6887-compliant PCP implementation.

The success case is added to section 5.2.

> > > 5) Section 5.3 on processing a response has a new requirement
> > > "SHOULD report an error"
> > >      which is not in RFC 6887 section 11.4 or 12.4.   Is this really a
> > > requirement?  I'm ok
> > >     either way, but not sure why this specific error response would
> > > be special in terms
> > >     of what should be reported to somewhere.
> > >

Reporting an error is kept in the text.
Without reporting an error we wouldn't need a diversity of error codes
because the PCP client can't recover from using a wrong identifier on its own
and most probably must be re-configured manually by the subscriber.

> > > --
> > > -------------------------+------------------------------------------
> > > -------------------------+--
> > > -------------------------+-----
> > > Reporter:               |      Owner:  draft-ietf-pcp-third-party-id-
> > >  dthaler@microsoft.com  |  option@tools.ietf.org
> > >     Type:  defect       |     Status:  new
> > > Priority:  major        |  Milestone:  milestone1
> > > Component:  third-       |    Version:  1.0
> > >  party-id-option        |   Keywords:
> > > Severity:  In WG Last   |
> > >  Call                   |
> > > -------------------------+------------------------------------------
> > > -------------------------+--
> > > -------------------------+-----
> > >
> > > Ticket URL: <http://tools.ietf.org/wg/pcp/trac/ticket/75>
> > > pcp <http://tools.ietf.org/pcp/>
> > >
> > > _______________________________________________
> > > pcp mailing list
> > > pcp@ietf.org
> > > https://www.ietf.org/mailman/listinfo/pcp
> 
> _______________________________________________
> pcp mailing list
> pcp@ietf.org
> https://www.ietf.org/mailman/listinfo/pcp