Re: [Dime] RFC4006bis - Subscription-Id-Extension AVP

Misha Zaytsev <misha.zaytsev.rus@gmail.com> Sat, 28 January 2017 21:07 UTC

Return-Path: <misha.zaytsev.rus@gmail.com>
X-Original-To: dime@ietfa.amsl.com
Delivered-To: dime@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C2478129868 for <dime@ietfa.amsl.com>; Sat, 28 Jan 2017 13:07:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=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 BLYFYiQRG-hz for <dime@ietfa.amsl.com>; Sat, 28 Jan 2017 13:07:17 -0800 (PST)
Received: from mail-lf0-x234.google.com (mail-lf0-x234.google.com [IPv6:2a00:1450:4010:c07::234]) (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 85F9012988A for <dime@ietf.org>; Sat, 28 Jan 2017 13:07:16 -0800 (PST)
Received: by mail-lf0-x234.google.com with SMTP id x1so91111670lff.0 for <dime@ietf.org>; Sat, 28 Jan 2017 13:07:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=8u+qSg9mz9vGIGo/NguXdXJb9RnZyhqxog2NupKjr4U=; b=F/a5cs+e/Qt0g5gEn6YgFqxG0EBzw+lrM+6vq12yG2AyJtDQc1QoFmjVgNZQWb0DbT XPd+Y0q0dqG1Kf73OODEKLIQwyo5/cew45UTmFOfSKiMW8riwXzHXQeDcnk1rMHgrEFm ugUCHCS+bC//GrdtLx/VoHR7ry6A1Ip2zWkIfRaWjtwZHBLFZsgrOGbSx+XFlFY+4n8l cTtMyCTPkQFTReySniLfbpubP2/msWwQlxfxvn1MkcZ+DVi3N94+Ael47BhZ7T1o/Ck9 unv3M/w8WeF0sG/uX3DWoiAb6+/nXOybiTWEsLWBa7Ul76i4GXNbZaaQtDq6I7DN7jmv BUuA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8u+qSg9mz9vGIGo/NguXdXJb9RnZyhqxog2NupKjr4U=; b=POhvwhPg4fBFilTmIbwqDwnrim0yanWlb7uSTONRr89VupsYjw3u9+ezGwwBinE6Wy GwXNUuKv5L/UcJ7MOqdy8Bn5R/AtG80+tgpHG/HjXQRebWUHsgRjdacpvj+Tx3dstH/C SdXMd0pGQQbWch2bvsCQCNvCzyNIsmcPDZ8OX4xvmmOoChB/gcnaexnWhbZZ5ie1z/VI /lJoJR8uzZ2MnuWVEFcX9hKj12D+om/VljrXF/PHlDZHZ1Vt2Ulr/kcDgU09nThKgwd/ D+rs9Wv3tJ6NmTcZoJLJtuCipw9CrCyW70RSoIH2Un2bn9Qi6NyCV+EuXG0302PZZ9iG XHGw==
X-Gm-Message-State: AIkVDXJyP/eQkhA5qXvmwfgWLSAs8epDfI163n9hsYcUO3jnwZnAPdYdp7r44ewLEMQbr4qFF8dqed0xs3s4vw==
X-Received: by 10.25.79.79 with SMTP id a15mr4818489lfk.58.1485637634650; Sat, 28 Jan 2017 13:07:14 -0800 (PST)
MIME-Version: 1.0
Received: by 10.25.228.12 with HTTP; Sat, 28 Jan 2017 13:07:13 -0800 (PST)
In-Reply-To: <C43C255C7106314F8D13D03FA20CFE497002AC18@wtl-exchp-1.sandvine.com>
References: <C43C255C7106314F8D13D03FA20CFE497000AF59@wtl-exchp-1.sandvine.com> <HE1PR0701MB28573F830861577D13DBC916FC750@HE1PR0701MB2857.eurprd07.prod.outlook.com> <C43C255C7106314F8D13D03FA20CFE497002AC18@wtl-exchp-1.sandvine.com>
From: Misha Zaytsev <misha.zaytsev.rus@gmail.com>
Date: Sun, 29 Jan 2017 00:07:13 +0300
Message-ID: <CABPQr243oqJxrC52+FAJUaLv9K2aQEuO0sD8ouD49rr5kXR4xQ@mail.gmail.com>
To: Yuval Lifshitz <ylifshitz@sandvine.com>
Content-Type: multipart/alternative; boundary="94eb2c1cdb0a7a78da05472df777"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dime/m-lKjuXv3vgMnGzf7YBPoc2OhS4>
Cc: "dime@ietf.org" <dime@ietf.org>, "Gardella, Maryse (Nokia - FR)" <maryse.gardella@nokia.com>
Subject: Re: [Dime] RFC4006bis - Subscription-Id-Extension AVP
X-BeenThere: dime@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Diameter Maintanence and Extentions Working Group <dime.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dime>, <mailto:dime-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dime/>
List-Post: <mailto:dime@ietf.org>
List-Help: <mailto:dime-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dime>, <mailto:dime-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Jan 2017 21:07:19 -0000

Hi Yuval,

May I ask you several questions to be able to understand the whole
situation:

1. Why are you proposing to add new extendable AVPs only for *some *of the
AVPs listed in section 12?
I think the same concern is applicable for all these AVPs, isn't?

2. Could you clarify what official procedure to assign new available values
is meant here?
It is not working w/o defining new Application-ID as you mentioned above?


12.16.  Subscription-Id-Type AVP

   As defined in Section 8.47, the Subscription-Id-Type AVP includes
   Enumerated type values 0 - 4.  IANA has created and is maintaining a
   namespace for this AVP.  All remaining values are available for
   assignment by a Designated Expert [RFC2434].


Excuse me in advance if what I'm asking about are well-known things.
But still please clarify them at least for me...

Thanks a lot in advance!

/Misha

2017-01-25 11:29 GMT+03:00 Yuval Lifshitz <ylifshitz@sandvine.com>:

> Hi Maryse,
>
> The idea is the following:
>
> ·         If the CC client want to work with RFC4006bis only CC server,
> and want to make sure that the subscription ID is understood by the server,
> it may set the M-bit. Any RFC4006 server will reply with
> DIAMETER_AVP_UNSUPPORTED (5001)
>
> ·         If the CC client is not sure whether the CC servers are RFC4006
> or RFC4006bis, or have a mix of servers, and want to work with both, it may
> not set the M-bit
>
> o   In this case it would send both AVPs for the old types, so that the
> new AVP will be ignored by the RFC4006 servers
>
> o   In a case of a new type of subscription, not covered in RFC4006, it
> may send the new AVP with the M-bit set, causing any old server to reply
> with DIAMETER_AVP_UNSUPPORTED (5001). It may also send the new AVP without
> the M-bit set, here the server would just ignore the AVP, but would
> probably reply DIAMETER_MISSING_AVP (5005) as it will not have any
> subscription ID
>
>
>
> Yuval
>
>
>
> *From:* Gardella, Maryse (Nokia - FR) [mailto:maryse.gardella@nokia.com]
> *Sent:* Tuesday, January 24, 2017 5:25 PM
> *To:* Yuval Lifshitz; dime@ietf.org
> *Subject:* RE: RFC4006bis - Subscription-Id-Extension AVP
>
>
>
> Hi Yuval,
>
>
>
> Thanks for continuing on this.
>
> I am not sure to understand the difference between “may” and “must”, since
> with  “May” we can end having the M-bit set by the RFC4006bis CC client.
>
> I guess from the protocol’s perspective “may” and “must” makes no
> difference right?
>
>
>
> BR
>
> Maryse
>
>
>
> *From:* DiME [mailto:dime-bounces@ietf.org <dime-bounces@ietf.org>] *On
> Behalf Of *Yuval Lifshitz
> *Sent:* vendredi 13 janvier 2017 15:24
> *To:* dime@ietf.org
> *Subject:* [ALU] [Dime] RFC4006bis - Subscription-Id-Extension AVP
>
>
>
> Hi All,
>
> As part of the RFC4006bis work there are several AVPs that we plan on
> making future proof (See also: https://trac.ietf.org/trac/dime/ticket/95).
> For example, Subscription-Id AVP cannot be extended to new types without
> changing the enumeration in Subscription-Id-Type AVP, which in turn
> requires a new application ID (something we really want to avoid).
>
> To solve this issue we propose adding a new, extendable AVP. In this
> example:
>
>
>
> Subscription-Id-Extension ::= < AVP Header: XXX >
>
>                              [ Subscription-Id-E164 ]
>
>                              [ Subscription-Id-IMSI ]
>
>                              [ Subscription-Id-SIP-URI ]
>
>                              [ Subscription-Id-NAI ]
>
>                              [ Subscription-Id-Private ]
>
>                             *[ AVP ]
>
>
>
> When looking into Subscription-ID-Extension AVP  header flags I ran into a
> problem. The existing Subscription-ID AVP (and its sub-AVPs) are all marked
> with the M-bit as a “must”, probably because they hold the subscriber’s
> name which is critical information.
>
> However, in order for a RFC4006bis CC client to be able to communicate
> with an RFC4006 CC-server, they will have to be marked as “may”.
>
>
>
> Would appreciate your point of view on that topic?
>
>
>
> Best Regards,
>
>
>
> Yuval
>
>
>
> _______________________________________________
> DiME mailing list
> DiME@ietf.org
> https://www.ietf.org/mailman/listinfo/dime
>
>