Re: [pcp] #74 (third-party-id-option): Mohamed Boucadair's comments on draft-ietf-pcp-third-party-id-option-00

Rolf Winter <Rolf.Winter@neclab.eu> Mon, 26 January 2015 09:28 UTC

Return-Path: <Rolf.Winter@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 F1FA01A884E for <pcp@ietfa.amsl.com>; Mon, 26 Jan 2015 01:28:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.088
X-Spam-Level:
X-Spam-Status: No, score=0.088 tagged_above=-999 required=5 tests=[BAYES_50=0.8, 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 DhytBvcp2iTY for <pcp@ietfa.amsl.com>; Mon, 26 Jan 2015 01:28:05 -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 BD1771A8850 for <pcp@ietf.org>; Mon, 26 Jan 2015 01:28:04 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mailer1.neclab.eu (Postfix) with ESMTP id 4101B108FF6; Mon, 26 Jan 2015 10:28:03 +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 RwP3mDjbrV3c; Mon, 26 Jan 2015 10:28:03 +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 15951108FEF; Mon, 26 Jan 2015 10:27:59 +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; Mon, 26 Jan 2015 10:27:58 +0100
From: Rolf Winter <Rolf.Winter@neclab.eu>
To: "mohamed.boucadair@orange.com" <mohamed.boucadair@orange.com>, Andreas Ripke <Andreas.Ripke@neclab.eu>
Thread-Topic: [pcp] #74 (third-party-id-option): Mohamed Boucadair's comments on draft-ietf-pcp-third-party-id-option-00
Thread-Index: AQHQFYirmqCkNIF65US/eo5AlUyMlZyQy8oAgADs44CAJWT6AIAAWY2AgAAMNwCAACy0AIAAQByAgArLHACABKZAgIALByfQ
Date: Mon, 26 Jan 2015 09:27:59 +0000
Message-ID: <791AD3077F94194BB2BDD13565B6295D91EA1AD3@PALLENE.office.hd>
References: <066.6faf9d8f2702d081360dcb658d129655@tools.ietf.org> <2D2FFE4726FAF74285C45D69FDC30E79912C7F0E@PALLENE.office.hd> <787AE7BB302AE849A7480A190F8B9330048D8C34@OPEXCLILM23.corporate.adroot.infra.ftgroup> <BY2PR03MB41284D2E1810D223695CD64A3440@BY2PR03MB412.namprd03.prod.outlook.com> <787AE7BB302AE849A7480A190F8B9330048ED4C3@OPEXCLILM23.corporate.adroot.infra.ftgroup> <9AB93E4127C26F4BA7829DEFDCE5A6E894ECC54C@PALLENE.office.hd> <787AE7BB302AE849A7480A190F8B9330048ED668@OPEXCLILM23.corporate.adroot.infra.ftgroup> <9AB93E4127C26F4BA7829DEFDCE5A6E894ECCF08@PALLENE.office.hd> <2D2FFE4726FAF74285C45D69FDC30E79912DBAEF@PALLENE.office.hd> <787AE7BB302AE849A7480A190F8B9330048F1079@OPEXCLILM23.corporate.adroot.infra.ftgroup>
In-Reply-To: <787AE7BB302AE849A7480A190F8B9330048F1079@OPEXCLILM23.corporate.adroot.infra.ftgroup>
Accept-Language: en-US, de-DE
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.7.0.206]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/pcp/UQNWRHNhqGn3aZ5dQk1FPlcySLQ>
Cc: "pcp@ietf.org" <pcp@ietf.org>
Subject: Re: [pcp] #74 (third-party-id-option): Mohamed Boucadair'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: Mon, 26 Jan 2015 09:28:08 -0000

Hi,

see inline.

NEC Europe Ltd | Registered Office: Athene, Odyssey Business Park, West End  Road, London, HA4 6QE, GB | Registered in England 2832014


> -----Original Message-----
> From: pcp [mailto:pcp-bounces@ietf.org] On Behalf Of
> mohamed.boucadair@orange.com
> Sent: Montag, 19. Januar 2015 11:00
> To: Andreas Ripke
> Cc: pcp@ietf.org
> Subject: Re: [pcp] #74 (third-party-id-option): Mohamed Boucadair's
> comments on draft-ietf-pcp-third-party-id-option-00
> 
> Dear Andreas,
> 
> The explanation provided by Juergen for the point about including a
> recommended supported max length makes sense.
> 
> This version is much better. Below some comments about this version:
> 
> * You may consider adding some words about the lifetime of the errors
> (short/long) + a description text for each new result code.
> * Section 7:
>  (1) Cite the appropriate sections from RFC6887.
>  (2) I would update this sentence " The
>    THIRD_PARTY_ID option might carry privacy information like location
>    or profile information. " to for example: "The
>    THIRD_PARTY_ID option might carry privacy information like location
>    or profile information. Means to defend against such practice should
> be enabled."

I don't think this additional sentence makes sense. I think what you mean is something along these lines: "Means to protect unauthorized access to this information should be put in place."

Is that correct?

Best,

Rolf

> 
> Thank you.
> 
> Cheers,
> Med
> 
> -----Message d'origine-----
> De : pcp [mailto:pcp-bounces@ietf.org] De la part de Andreas Ripke
> Envoyé : vendredi 16 janvier 2015 12:00 À : pcp@ietf.org Objet : Re:
> [pcp] #74 (third-party-id-option): Mohamed Boucadair's comments on
> draft-ietf-pcp-third-party-id-option-00
> 
> >From the proposed two technical modifications
> the recommended fixed maximum option length of 128 octets was not
> included into the new draft-ietf-pcp-third-party-id-option-01
> as argued below. The RFC 6887 limits already the overall option space
> and the future use of this identifier shouldn't be unnecessarily
> limited by currently used identifiers.
> 
> Using the THIRD_PARTY_ID option without the THIRD_PARTY option was
> adopted as deployment cases are already known.
> 
> Some of the Med's other editing comments were included as appropriate
> for the technical change.
> 
> Andreas
> 
> > -----Original Message-----
> > From: Juergen Quittek
> > Sent: Friday, January 09, 2015 3:11 PM
> > To: mohamed.boucadair@orange.com; Dave Thaler; Andreas Ripke;
> > pcp@ietf.org
> > Subject: RE: [pcp] #74 (third-party-id-option): Mohamed Boucadair's
> > comments on draft-ietf-pcp-third-party-id-option-00
> >
> > Hi Med,
> >
> > I have a different view on the option length handling. The option is
> > used to managed entries in mapping tables. I would assume that when
> > you implement a server and its mapping tables you know which sizes of
> > THIRD_PARTY_IDs your table can support. If the server receives a
> > request with a not supported option length, it should return an error
> > message. It does not matter if the option length is too long or too
> short.
> >
> > Cheers,
> >     Juergen
> >
> > > -----Original Message-----
> > > From: mohamed.boucadair@orange.com
> > > [mailto:mohamed.boucadair@orange.com]
> > > Sent: Freitag, 9. Januar 2015 11:21
> > > To: Juergen Quittek; Dave Thaler; Andreas Ripke; pcp@ietf.org
> > > Subject: RE: [pcp] #74 (third-party-id-option): Mohamed Boucadair's
> > > comments on draft-ietf-pcp-third-party-id-option-00
> > >
> > > Re-,
> > >
> > > Thank you for the clarification.
> > >
> > > Please see inline.
> > >
> > > Cheers,
> > > Med
> > >
> > > -----Message d'origine-----
> > > De : Juergen Quittek [mailto:Quittek@neclab.eu] Envoyé : vendredi 9
> > > janvier 2015 08:41 À : BOUCADAIR Mohamed IMT/OLN; Dave Thaler;
> > Andreas
> > > Ripke; pcp@ietf.org Objet : RE: [pcp] #74 (third-party-id-option):
> > > Mohamed Boucadair's comments on
> > > draft-ietf-pcp-third-party-id-option-00
> > >
> > > Hi Med,
> > >
> > > > -----Original Message-----
> > > > From: pcp [mailto:pcp-bounces@ietf.org] On Behalf Of
> > > > mohamed.boucadair@orange.com
> > > > Sent: Freitag, 9. Januar 2015 07:57
> > > > To: Dave Thaler; Andreas Ripke; pcp@ietf.org
> > > > Subject: Re: [pcp] #74 (third-party-id-option): Mohamed
> > > > Boucadair's
> > > comments
> > > > on draft-ietf-pcp-third-party-id-option-00
> > > >
> > > > Hi Dave,
> > > >
> > > > Hmm...but what will be the behavior of the server if it is not
> > > > designed to support a length included in the PCP request? Should
> > > > it truncate
> > the fiele?
> > >
> > > Hi Med. This case is pretty clear. Of course it should not truncate
> an ID.
> > > If a server cannot support an ID sent to it, the ID is obviously
> > > unsuited and it should return an error message.
> > >
> > > [Med] Agree. I'm expecting some text to call this out. A new result
> > > code is to be defined IMHO: e.g., UNSUPP_OPTION_LENGTH or something
> > similar.
> > >
> > > > Shouldn't this will lead to some side effects such as
> encountering
> > > > errors to
> > > send
> > > > a response or to validate the response at the client side because
> > > > the content
> > > of
> > > > the THIRD_PARTY_ID as included in the response does not match
> what
> > > > has been included in the response, etc.?
> > >
> > > If a server implements the THIRD_PARTY_ID, it needs to implement
> PCP
> > > variable length options and be able to return them in an error
> > > message.
> > >
> > > [Med] Agree about this. My point is I want to be sure no error is
> > > returned for a THIRD_PARTY_ID < 128 octets.
> > >
> > > > For these reasons and also to help the design of PCP server, I do
> > > > still think a max should be included as part of the specification.
> > > > 128 octets seems reasonable.
> > >
> > > The PCP protocol supports variable length options.
> > > Are you talking about PCP servers that do not support them?
> > >
> > > [Med] No. It is more about the dimensioning of the PCP server + be
> > > sure that schemes that are likely to be deployed are supported by
> > > servers with no risk to encounter errors because of an
> > > implementation choice. Getting an error won't help the client to
> get the service.
> > >
> > > Best regards,
> > >      Juergen
> > >
> > > > Cheers,
> > > > Med
> > > >
> > > > -----Message d'origine-----
> > > > De : Dave Thaler [mailto:dthaler@microsoft.com] Envoyé : vendredi
> > > > 9 janvier 2015 02:37 À : BOUCADAIR Mohamed IMT/OLN; Andreas
> Ripke;
> > > > pcp@ietf.org Objet : RE: [pcp] #74 (third-party-id-option):
> > > > Mohamed Boucadair's
> > > comments
> > > > on draft-ietf-pcp-third-party-id-option-00
> > > >
> > > > Andreas Ripke writes:
> > > > > Med's comments contain two technical modifications.
> > > > >
> > > > > 1. A recommended fixed maximum option length of 128 octets.
> > > > >
> > > > > Why should we (unnecessarily?) set an explicit limit to this
> option?
> > > > > The fixed option length (16 octets) was changed to a variable
> > > > > length with
> > > the
> > > > > current draft version.
> > > > > The maximum PCP packet size is 1100 octets and the client must
> > > > > ensure not
> > > > to
> > > > > cause an overrun according to RFC6887.
> > > > > But then, in RFC7220 the maximum variable length for the
> > > > > description
> > > option
> > > > is
> > > > > limited to 1016 octets.
> > > > > Is there any special reason to have an explicit maximum option
> > > > > length
> > > > defined?
> > > > >
> > > > > [Med] Fixing a maximum is required to help dimensioning the
> > > > > server and to avoid exhausting server's resources. Most of the
> > > > > identifiers I'm aware of
> > > > don't
> > > > > exceed 128 octets. Hence my recommendation to use that maximum.
> > > >
> > > > My personal opinion on the above is that the other limits Andreas
> > > > mentions are already sufficient and we don't need to specify a
> > > > shorter limit than what you naturally get.
> > > >
> > > > -Dave
> > > >
> > > > _______________________________________________
> > > > 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
> 
> _______________________________________________
> pcp mailing list
> pcp@ietf.org
> https://www.ietf.org/mailman/listinfo/pcp