Re: [radext] Benoit Claise's Discuss on draft-ietf-radext-ip-port-radius-ext-11: (with DISCUSS and COMMENT)

Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com> Wed, 21 September 2016 20:17 UTC

Return-Path: <kathleen.moriarty.ietf@gmail.com>
X-Original-To: radext@ietfa.amsl.com
Delivered-To: radext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A81F412BED4; Wed, 21 Sep 2016 13:17:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 iZ7sssDmftbq; Wed, 21 Sep 2016 13:17:12 -0700 (PDT)
Received: from mail-yw0-x232.google.com (mail-yw0-x232.google.com [IPv6:2607:f8b0:4002:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E860012BED3; Wed, 21 Sep 2016 13:17:11 -0700 (PDT)
Received: by mail-yw0-x232.google.com with SMTP id g192so73355367ywh.1; Wed, 21 Sep 2016 13:17:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=1sRl9ShhFELqQydQKSq8ss2v86qS9PUVAyTHv6ejypE=; b=SbaDbjhroqJPQZxFTWo6lwUg3KM3RPQnofbc+5pRzIYYUkKD6P1SW49xHspp+nwkzR 3NrfkdT6wuLR9ygLFcxChrGt4RpSF3+oH+B92URaBwTH/UEazmrszEMW53ZNeWY5xf9/ iiaY9w7ke4ppgEO0iNB4DA/PIzzOQLxDLCn0h83+yziJdXF0HsOMN473LRUsaTpbXz+/ gyxlaI3cASwPZ8Pq+Y4C7VkOv2jcPRtmVTk5270aMKayyVonq6tA+LpIanK7IxzWxLpv 02woNzh+5VQoqzrjUea2iHspcXKZg5G9A1yhCv5twu/PxqOuQlw/McDrk3mX/CThHcTd 3PnQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=1sRl9ShhFELqQydQKSq8ss2v86qS9PUVAyTHv6ejypE=; b=CNCfvwl1KBPcppt7wXkpy3KDIzRzTLcFfltV4bvHPtIN4+CYB6oSn7EOxXS94Qt+/G 72jYC/T22ZLV53sQGSf9mfOlsNV8y0Lyqgocxfiha2D8SbfnUOzGyTSeKxJ8KnDwdg3n 5KoGx5ut2+WH68j44cNUbzCaQKXsmfJr9gqJuRdM/PqTtufg1aLrJYzdkUIKd0Xpesbo NmAg1M8SsHmt8DMtmbp/P3OfmT7UXZLqfWjAxVRUDhnF+Hbg3WhoZiw/SIe47vIvGP3S q6uoJ/pROq1SOm7Iu9SqSMNnij/3Trp1BidllKlcVMjcQvP1HTD9HB7KJSIBPWs7d3DU ARGQ==
X-Gm-Message-State: AE9vXwPLVCXRV2N46xO0ccNSO1zWF/+f2RX9UX46lPABma+uzLm9igfPQfT85hb3P16yCpRZlQjdGpw0iHjWOA==
X-Received: by 10.129.56.85 with SMTP id f82mr37904622ywa.45.1474489031123; Wed, 21 Sep 2016 13:17:11 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.176.65.8 with HTTP; Wed, 21 Sep 2016 13:17:10 -0700 (PDT)
In-Reply-To: <DC7880973D477648AC15A3BA66253F686E95DB56@SJCEML701-CHM.china.huawei.com>
References: <147394238317.12106.98287185089633062.idtracker@ietfa.amsl.com> <DC7880973D477648AC15A3BA66253F686E95DB56@SJCEML701-CHM.china.huawei.com>
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Date: Wed, 21 Sep 2016 16:17:10 -0400
Message-ID: <CAHbuEH7oCNGq1sCeuvcDrUcneMFVWP9jGB=8S_1=Tugg_sUYxg@mail.gmail.com>
To: Dean cheng <dean.cheng@huawei.com>, "radext@ietf.org" <radext@ietf.org>, "radext-chairs@ietf.org" <radext-chairs@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/radext/_sNKy5A-9NcRd_6pu3QezPvDh9w>
Cc: Benoit Claise <bclaise@cisco.com>, "Tim.Chown@jisc.ac.uk" <Tim.Chown@jisc.ac.uk>, "lionel.morand@orange.com" <lionel.morand@orange.com>, The IESG <iesg@ietf.org>, "draft-ietf-radext-ip-port-radius-ext@ietf.org" <draft-ietf-radext-ip-port-radius-ext@ietf.org>
Subject: Re: [radext] Benoit Claise's Discuss on draft-ietf-radext-ip-port-radius-ext-11: (with DISCUSS and COMMENT)
X-BeenThere: radext@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: RADIUS EXTensions working group discussion list <radext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/radext>, <mailto:radext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/radext/>
List-Post: <mailto:radext@ietf.org>
List-Help: <mailto:radext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/radext>, <mailto:radext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Sep 2016 20:17:15 -0000

Hello,

Since I haven't seen much movement on this draft and the comment below
indicates there will be another pass at this draft by the WG, is it
safe to pull this off of the next telechat and wait for the WG?  If
another WGLC is needed to address the expert review, I think that is
the right course of action.  If not and comments and discusses will be
addressed by this Friday, please let me know.

Thank you,
Kathleen



On Mon, Sep 19, 2016 at 6:11 AM, Dean cheng <dean.cheng@huawei.com> wrote:
> Hi Benoit,
>
>
>
> Many thanks for your comments. We'll incorporate
>
> your proposals and fixes for other comments we
>
> have received together into a new revision of
>
> this draft at a later time when this round of
>
> discussion concludes. We'll need some time
>
> requiring consensus among authors but also the WG.
>
>
>
> Please see below as well.
>
>
>
> Regards
>
> Dean
>
>
>
>> -----Original Message-----
>
>> From: radext [mailto:radext-bounces@ietf.org] On Behalf Of Benoit
>
>> Claise
>
>> Sent: Thursday, September 15, 2016 5:26 AM
>
>> To: The IESG
>
>> Cc: Tim.Chown@jisc.ac.uk; draft-ietf-radext-ip-port-radius-ext@ietf.org;
>
>> lionel.morand@orange.com; radext-chairs@ietf.org; radext@ietf.org
>
>> Subject: [radext] Benoit Claise's Discuss on draft-ietf-radext-ip-port-
>
>> radius-ext-11: (with DISCUSS and COMMENT)
>
>>
>
>> Benoit Claise has entered the following ballot position for
>
>> draft-ietf-radext-ip-port-radius-ext-11: Discuss
>
>>
>
>> When responding, please keep the subject line intact and reply to all
>
>> email addresses included in the To and CC lines. (Feel free to cut this
>
>> introductory paragraph, however.)
>
>>
>
>>
>
>> Please refer to https://www.ietf.org/iesg/statement/discuss-
>
>> criteria.html
>
>> for more information about IESG DISCUSS and COMMENT positions.
>
>>
>
>>
>
>> The document, along with other ballot positions, can be found here:
>
>> https://datatracker.ietf.org/doc/draft-ietf-radext-ip-port-radius-ext/
>
>>
>
>>
>
>>
>
>> ----------------------------------------------------------------------
>
>> DISCUSS:
>
>> ----------------------------------------------------------------------
>
>>
>
>> I'm late for my review here. If some points in my DISCUSS/COMMENT have
>
>> been discussed already let me know.
>
>>
>
>> I'll flag this as a DISCUSS to follow up on the IPFIX issues.
>
>> First of, I applause the attempt to reuse/map/combine data models
>
>> (IPFIX information element and RADIUS attribute).
>
>>
>
>> Now, there are a couple of issues.
>
>> The first set of issues has been sent via the IPFIX experts, copied
>
>> here for tracking purposes.
>
>>
>
>>     Dear Authors,
>
>>
>
>>     The experts for the IPFIX IE registry have returned the following
>
>>     review:
>
>>
>
>>     In general, the Information Elements in draft-ietf-radext-ip-port-
>
>>     radius-ext are so underspecified as to be unimplementable. They
>
>> should
>
>>     not be added to the registry in their present form. The authors are
>
>>     advised to read RFC 7013, especially Section 4, which provides
>
>> useful
>
>>     information on defining Information Elements. Specifically:
>
>>
>
>>     The Information Element transportType is underspecified: (a) I
>
>> presume
>
>>     this is in reference to sourceTransportPort and
>
>>     destinationTransportPort, but the description must say this if it
>
>> is
>
>>     the case; (b) It's not clear at all from the description in what
>
>>     context this distinction is useful; (c) What's an ICMP identifier?
>
>>
>
>>     In addition, the description of transportType appears to create a
>
>>     table which should probably be handled as a subregistry. See See
>
>>     RFC7013 section 4.7. for advice on the creation of tables without
>
>>     subregistries (in short, "don't".)
>
>>
>
>>     The Information Element natTransportLimit has an inappropriate name;
>
>>     it does not describe that which it (presumably) is supposed to
>
>>     represent (see RFC 7013 section 4.1). In addition, it is
>
>>     underspecified. It is impossible to implement from the description.
>
>> Is
>
>>     the field IPv4 specific, or is IPv6 supported as well? (If not, why
>
>>     not?)
>
>>
>
>>     The Information Element localID has an inappropriate name; it is
>
>> far
>
>>     too general (see RFC 7013 section 4.1). It uses an inappropriate
>
>>     abstract data type (addresses should never be represented as UTF-8
>
>>     strings in IPFIX, see RFC 7013 section 4.2). It is underspecified
>
>> as
>
>>     well as poorly designed. Without the ability to disambiguate the
>
>> type
>
>>     of information in the field, this is not a useful Information
>
>> Element.
>
>>     Without a complete enumeration of possible types (n.b. 'etc.' in
>
>> the
>
>>     description), it is not a useful Information Element. Its purpose
>
>> is
>
>>     unclear from its description; further, it appears to violate the
>
>>     following guidance in RFC 7013 section 4: "The Information Element
>
>>     must be unique within the registry, and its description must
>
>> represent
>
>>     a substantially different meaning from that of any existing
>
>>     Information Element. An existing Information Element that can be
>
>>     reused for a given purpose should be reused."
>
>
>
> In my email on 9/11, we're planning to replace "transportType"
>
> (as a proposed new IE) by just a port type and make IP-Port-Type
>
> TLV optional. Also, we're planning to remove IP-Port-Local-Id TLV
>
> so that "localID" (as a proposed new IE) will not be needed.
>
>
>
> For the remaining proposed IE, i.e., "natTransportLimit", we'll
>
> change the name to "transportLimit" (or something similar) so that
>
> this IE can be used for other scenario in addition to
>
> NAT case, but also in both IPv4 and IPv6 networking. Text
>
> will be added for the explanation.
>
>
>
>>
>
>> I have some more issues I would like to discuss:
>
>> - section 3.2.5, as an example, contains a list of sourceIPv6Address.
>
>> In IPFIX, we would export those as a list [RFC 6313] Does this RADIUS
>
>> document want to only reuse the semantic of individual IPFIX
>
>> information element?
>
>> And also the semantic of multiple information elements [RFC 6313]?
>
>> And also the IPFIX encoding? For example, some IPFIX fields are "right
>
>> justified" (sourceTransportPort), while some others are not (localID)
>
>> The document should be clear.
>
>>
>
> In Section 3.2.5, the IP-Port-Int-IPv6-Addr TLV contains
>
> a single sourceIPv6Address (not a list), and we intend to
>
> reuse the semantics of the original IPFIX definition. This
>
> is true also for IP-Port-Int-IPv4-Addr TLV defined in
>
> Section 3.2.4, where sourceIPv4Address is also an IPFIX IE.
>
>
>
>>
>
>> ----------------------------------------------------------------------
>
>> COMMENT:
>
>> ----------------------------------------------------------------------
>
>>
>
>> -
>
>>
>
>>    1.  IP-Port-Limit-Info: This attribute may be carried in RADIUS
>
>>        Access-Accept, Access-Request, Accounting-Request or CoA-Request
>
>>        packet.  The purpose of this attribute is to limit the total
>
>>        number of TCP/UDP ports and/or ICMP identifiers allocated to a
>
>>        user, associated with one or more IPv4 addresses.
>
>>
>
>> I see "may be carried". Could it be carried in other packets ... was my
>
>> first question.
>
>> It was not clear (until I read the rest of the document) that it's a
>
>> non compulsory attribute only in Access-Accept, Access-Request,
>
>> Accounting-Request or CoA-Request packets.
>
>> Proposal:
>
>>    1.  IP-Port-Limit-Info: The purpose of this attribute is to limit
>
>> the total
>
>>        number of TCP/UDP ports and/or ICMP identifiers allocated to a
>
>>        user, associated with one or more IPv4 addresses. This attribute
>
>> is
>
>>        carried in RADIUS Access-Accept, Access-Request, Accounting-
>
>> Request or
>
>>        CoA-Request packets.
>
>
>
> Thank you very much for your proposal, and we'll incorporate this
>
> into the next revision.
>
>
>
>>
>
>> Same remark for the other two points below.
>
>
>
> Thank you and we will update the text for the following
>
> two in the same fashion as you proposed above.
>
>
>
>>
>
>>  2.  IP-Port-Range: This attribute may be carried in RADIUS
>
>>        Accounting-Request packet.  The purpose of this attribute is to
>
>>        report by an address sharing device (e.g., a CGN) to the RADIUS
>
>>        server the range of TCP/UDP ports and/or ICMP identifiers that
>
>>        have been allocated or deallocated associated with a given IPv4
>
>>        address for a user.
>
>>
>
>>    3.  IP-Port-Forwarding-Map: This attribute may be carried in RADIUS
>
>>        Access-Accept, Access-Request, Accounting-Request or CoA-Request
>
>>        packet.  The purpose of this attribute is to specify how an IPv4
>
>>        address and a TCP/ UDP port (or an ICMP identifier) is mapped to
>
>>        another IPv4 address and a TCP/UDP port (or an ICMP identifier).
>
>>
>
>> -
>
>>
>
>>    1.  IP-Port-Limit-Info: This attribute may be carried in RADIUS
>
>>        Access-Accept, Access-Request, Accounting-Request or CoA-Request
>
>>        packet.  The purpose of this attribute is to limit the total
>
>>        number of TCP/UDP ports and/or ICMP identifiers allocated to a
>
>>        user, associated with one or more IPv4 addresses.
>
>>
>
>>
>
>> Only for TCP/UDP? I believe Mirja had the same question.
>
>
>
> We're planning to make change to IP-Port-Type TLV as described
>
> in my email on 9/11, summarized below:
>
>
>
>    - Make this TLV optionally included in
>
>      IP-Port-Limit-Info Attribute and
>
>      IP-Port-Forwarding-Map Attribute
>
>
>
>    - If not included, the port type/number is a "don’t care".
>
>
>
>    - The value of this TLV contains an single entry from
> http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
>
>
>
>>
>
>> - Section 2. Terminology.
>
>> Typically, you want to have that note at the beginning:
>
>>
>
>>    Note that the definitions of "internal IP address", "internal port",
>
>>    "internal realm", "external IP address", "external port", "external
>
>>    realm", and "mapping" are the same as defined in Port Control
>
>>    Protocol (PCP) [RFC6887], and the Common Requirements for Carrier-
>
>>    Grade NATs (CGNs) [RFC6888].
>
>>
>
>> If I know of RFC6887 and RFC6888, I don't read the definitions.
>
>
>
> OK, we'll remove this paragraph.
>
>
>
>>
>
>> - Section 3.1.3
>
>>
>
>>    This attribute is of type "TLV" as defined in the RADIUS Protocol
>
>>    Extensions [RFC6929].  It contains the following sub-attributes:
>
>>
>
>>    ...
>
>>
>
>>    o  either an IP-Port-Int-IPv4-Addr TLV (see Section 3.2.4) or an IP-
>
>>       Port-Local-Id TLV (see Section 3.2.11),
>
>>
>
>>    o  either an IP-Port-Int-IPv6-Addr TLV (see Section 3.2.5) or an IP-
>
>>       Port-Local-Id TLV (see Section 3.2.11),
>
>>
>
>> Depending on the IP-Port-Type value, it's one of the two above, not
>
>> both.
>
>
>
> This is a good catch - thanks! We will update the text so that
>
> only one is included dependindg on IPv4 or IPv6 scenario.
>
>
>
>>
>
>> - I believe the RFC 2119 keywords usage is sometimes weak (generic
>
>> comment for the entire document)
>
>> Example1: section 3.1.3
>
>>
>
>>    The attribute contains a 2-byte IP internal port number that is
>
>>    associated with an internal IPv4 or IPv6 address, or a locally
>
>>    significant identifier at the customer site, and a 2-byte IP
>
>> external
>
>>    port number that is associated with an external IPv4 address.  The
>
>>    internal IPv4 or IPv6 address, or the local identifier must be
>
>>    included; the external IPv4 address may also be included.
>
>>
>
>> Not RFC 2119 keywords. Shoud they be MUST and MAY?
>
>> And the next paragraph contains RFC 2119 keywords.
>
>>
>
>>    The IP-Port-Forwarding-Map Attribute MAY appear in an Access-Accept
>
>>    packet.  It MAY also appear in an Access-Request packet to indicate
>
>> a
>
>>    preferred port mapping by the device co-located with NAS.  However
>
>>    the server is not required to honor such a preference.
>
>>
>
>> Example2:
>
>>
>
>>    IP-Port-Ext-IPv4-Addr TLV MAY be included in the following
>
>>    Attributes:
>
>>
>
>>    o  IP-Port-Limit-Info Attribute, identified as 241.TBD1.3 (see
>
>>       Section 3.1.1).
>
>>
>
>>    o  IP-Port-Range Attribute, identified as 241.TBD2.3 (see
>
>>       Section 3.1.2).
>
>>
>
>>    o  IP-Port-Forwarding-Mapping Attribute, identified as 241.TBD3.3
>
>>       (see Section 3.1.3).
>
>>
>
>> Don't you need the RFC2119 keyword in the reverse situation, in section
>
>> 3.1.1 (IP-Port-Limit-Info Attribute)?
>
>> OLD:
>
>>    o  an optional IP-Port-Ext-IPv4-Addr TLV (see Section 3.2.3).
>
>>
>
>> NEW:
>
>>    o The IP-Port-Limit-Info Attribute MAY contain the IP-Port-Ext-IPv4-
>
>> Addr (see Section 3.2.3).
>
>>
>
>> This logic would not only be clearer, but would also avoid
>
>> inconsistencies.
>
>> See section 3.1.3
>
>> OLD:
>
>>
>
>> It contains the following sub-attributes:
>
>>    ...
>
>>    o  an IP-Port-Ext-IPv4-Addr TLV (see Section 3.2.3).
>
>>
>
>>
>
>> NEW:
>
>>
>
>> It contains the following sub-attributes:
>
>>
>
>>   ...
>
>>    o  an optional IP-Port-Ext-IPv4-Addr TLV (see Section 3.2.3).
>
>>
>
>> Example 3:
>
>>
>
>>    natEvent
>
>>
>
>>       Integer.  This field contains the data (unsigned8) of natEvent
>
>>       (230) defined in IPFIX, right justified, and unused bits must be
>
>>       set to zero.  It indicates the allocation or deallocation of a
>
>>       range of IP ports as follows:
>
>>
>
>> MUST?
>
>
>
> Thanks! We'll take your proposal but also apply it to
>
> others in the text.
>
>
>
>>
>
>>
>
>> _______________________________________________
>
>> radext mailing list
>
>> radext@ietf.org
>
>> https://www.ietf.org/mailman/listinfo/radext



-- 

Best regards,
Kathleen