Re: [pcp] Review of draft-maglione-pcp-radius-ext-05

<mohamed.boucadair@orange.com> Tue, 12 March 2013 16:30 UTC

Return-Path: <mohamed.boucadair@orange.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 BAC2421F8BBA for <pcp@ietfa.amsl.com>; Tue, 12 Mar 2013 09:30:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.839
X-Spam-Level:
X-Spam-Status: No, score=-1.839 tagged_above=-999 required=5 tests=[AWL=0.409, BAYES_00=-2.599, HELO_EQ_FR=0.35, UNPARSEABLE_RELAY=0.001]
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 Dqi39ICWu7Lq for <pcp@ietfa.amsl.com>; Tue, 12 Mar 2013 09:30:38 -0700 (PDT)
Received: from relais-inet.francetelecom.com (relais-ias92.francetelecom.com [193.251.215.92]) by ietfa.amsl.com (Postfix) with ESMTP id E497021F8BAE for <pcp@ietf.org>; Tue, 12 Mar 2013 09:30:37 -0700 (PDT)
Received: from omfedm06.si.francetelecom.fr (unknown [xx.xx.xx.2]) by omfedm12.si.francetelecom.fr (ESMTP service) with ESMTP id 2064B18C64A; Tue, 12 Mar 2013 17:30:37 +0100 (CET)
Received: from PUEXCH11.nanterre.francetelecom.fr (unknown [10.101.44.27]) by omfedm06.si.francetelecom.fr (ESMTP service) with ESMTP id 0401327C046; Tue, 12 Mar 2013 17:30:37 +0100 (CET)
Received: from PUEXCB1B.nanterre.francetelecom.fr ([10.101.44.8]) by PUEXCH11.nanterre.francetelecom.fr ([10.101.44.27]) with mapi; Tue, 12 Mar 2013 17:30:36 +0100
From: mohamed.boucadair@orange.com
To: Alan DeKok <aland@deployingradius.com>, "pcp@ietf.org" <pcp@ietf.org>
Date: Tue, 12 Mar 2013 17:30:35 +0100
Thread-Topic: [pcp] Review of draft-maglione-pcp-radius-ext-05
Thread-Index: Ac4fLPBEUuGAZUYVQLeLPADLzYTL0AAESxEw
Message-ID: <94C682931C08B048B7A8645303FDC9F36EB735622C@PUEXCB1B.nanterre.francetelecom.fr>
References: <513F39CA.4070701@deployingradius.com>
In-Reply-To: <513F39CA.4070701@deployingradius.com>
Accept-Language: fr-FR
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: fr-FR
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.3.12.161519
Subject: Re: [pcp] Review of draft-maglione-pcp-radius-ext-05
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: Tue, 12 Mar 2013 16:30:38 -0000

Dear Alan,

Many thanks for the review. 

Most of your comments have been incorporated in -06: http://tools.ietf.org/id/draft-maglione-pcp-radius-ext-06.txt. 
A diff is available here to track the changes: http://www.ietf.org/rfcdiff?url2=draft-maglione-pcp-radius-ext-06. 

-06 does not define Context as a separate attribute as this may complicate the procedure: having this field indicated in each instance of the name attribute makes it easier to associate a context with a name. 

Cheers,
Med

>-----Message d'origine-----
>De : pcp-bounces@ietf.org [mailto:pcp-bounces@ietf.org] De la 
>part de Alan DeKok
>Envoyé : mardi 12 mars 2013 15:21
>À : pcp@ietf.org
>Objet : [pcp] Review of draft-maglione-pcp-radius-ext-05
>
>  This email is a quick review of the draft-maglione-pcp-radius-ext-05
>document.  Overall, it looks fairly good.
>
>  The main issue I see is the definition of the PCP-server-name
>attribute.  It is defined in reference to draft-ietf-pcp-dhcp, which
>says that the attribute is a list of domain names, separated by spaces.
> This encoding does not follow the traditional RADIUS methods.
>
>  Normally, the data would have been sent as a series of attributes of
>the same "type", with different content.  e.g. instead of
>
>	PCP-Server-Name = "name1 name2 name3"
>
>  it would be
>
>	PCP-Server-Name = "name1"
>	PCP-Server-Name = "name2"
>	PCP-Server-Name = "name3"
>
>  I think there is good reason to change the definition.  Keeping it as
>a series of space-delimited strings means changing existing RADIUS
>systems.  RADIUS systems already have the means to select one of N
>attributes.  Searching inside of strings is a little more complex.
>
>  The ASCII art shows this for the definition:
>
>       0                   1                   2                   3
>       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>      |     Type      |    Length     |  PCP-Server-Name  ....
>      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>      |             Context           |
>      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>
>  I'm not sure why a fixed-length field "context" comes after a
>variable-length field.  In general, the fixed-length fields should be
>first, as it assists with decoding the data.
>
>  Further, the document asserts:
>
>   The data type of PCP Server Name is a string with opaque
>   encapsulation, according to section 2.1 of [RFC6158]
>
>  I don't see how this is true.  The ietf-pcp-dhcp document does not
>define a structure encoding PCP-Server-Name followed by context.  If it
>did, that structure should be referenced here.
>
>  It seems to me that both of the fields need to be administered by the
>RADIUS server.  Therefore, they are *not* "opaque data" as per the
>requirements of RFC 6518.
>
>  I suggest using two attributes instead of one, which has an arbitrary
>structure.  I suggest encoding the PCP-Server-Name as a series of
>attributes, rather than as space-separated strings.
>
>  Alan DeKok.
>_______________________________________________
>pcp mailing list
>pcp@ietf.org
>https://www.ietf.org/mailman/listinfo/pcp
>