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

"Gardella, Maryse (Nokia - FR)" <maryse.gardella@nokia.com> Tue, 31 January 2017 16:49 UTC

Return-Path: <maryse.gardella@nokia.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 36274129FBF for <dime@ietfa.amsl.com>; Tue, 31 Jan 2017 08:49:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.057
X-Spam-Level:
X-Spam-Status: No, score=-3.057 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1.156, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nokia.onmicrosoft.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 bo4kzOVcSIso for <dime@ietfa.amsl.com>; Tue, 31 Jan 2017 08:49:24 -0800 (PST)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0098.outbound.protection.outlook.com [104.47.1.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4CB0E129FBB for <dime@ietf.org>; Tue, 31 Jan 2017 08:49:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=upQMeBsBdGCcmqKBF7ZCZBKutTNn04FyQ/oNK0yfi24=; b=O5Zd02EL3ITNQbbwrv9BY23MSczrc1lMSZ5+cYSOYNzU6s/uHprHBTP0HURGU3zbSdHOc8pldFUOl0tBzpBXtgaM1eL++MaG0hQXPfarQdwzk8szq/6N4aneGAMJS0XWN2NShEcVUfjb8FngciXI+vvOp26cBsIK1AA53/6mmGo=
Received: from HE1PR0701MB2857.eurprd07.prod.outlook.com (10.168.91.147) by HE1PR0701MB2860.eurprd07.prod.outlook.com (10.168.91.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.874.6; Tue, 31 Jan 2017 16:49:21 +0000
Received: from HE1PR0701MB2857.eurprd07.prod.outlook.com ([10.168.91.147]) by HE1PR0701MB2857.eurprd07.prod.outlook.com ([10.168.91.147]) with mapi id 15.01.0874.019; Tue, 31 Jan 2017 16:49:20 +0000
From: "Gardella, Maryse (Nokia - FR)" <maryse.gardella@nokia.com>
To: Yuval Lifshitz <ylifshitz@sandvine.com>, "dime@ietf.org" <dime@ietf.org>
Thread-Topic: RFC4006bis - Subscription-Id-Extension AVP
Thread-Index: AdJtpzBPVPEgVuSXSxiP12VbbHIMngFfVP8wAO+8a8ABMmjOsA==
Date: Tue, 31 Jan 2017 16:49:20 +0000
Message-ID: <HE1PR0701MB28577DCAD16325E9CCB0289DFC4A0@HE1PR0701MB2857.eurprd07.prod.outlook.com>
References: <C43C255C7106314F8D13D03FA20CFE497000AF59@wtl-exchp-1.sandvine.com> <HE1PR0701MB28573F830861577D13DBC916FC750@HE1PR0701MB2857.eurprd07.prod.outlook.com> <C43C255C7106314F8D13D03FA20CFE497002AC18@wtl-exchp-1.sandvine.com>
In-Reply-To: <C43C255C7106314F8D13D03FA20CFE497002AC18@wtl-exchp-1.sandvine.com>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=maryse.gardella@nokia.com;
x-originating-ip: [135.245.240.250]
x-ms-office365-filtering-correlation-id: 12144459-4c74-4f8b-63ea-08d449f91a92
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:HE1PR0701MB2860;
x-microsoft-exchange-diagnostics: 1; HE1PR0701MB2860; 7:wPLHwHQamMkbZETMBnjeNYwaKd0tCF6JNF2MZWg828DEfGu3hUy6qnt/92R3Jn635zjcn6qC0l0tQia2z0HtPXAGUm1rqtYzBVlfoSvV1P+FbaewiGSeqwLFDoXhZAS+7f0Fm0vDxDBf6in3ts55eHZDc/w8S1H7R88RPzvNhOFYtTcuQ7/pQxln/Gco20fqWqQmSiHqNQ1+Kei5f9YgPkOd9+pJx7oHg50RI7UkSvy/TNAwJodL8Ydh7kxGEBuKvIDG7mAERNKPpR4Kz9D8Xdu7bRQ5Qo0GMR6AyjK91rLyx52T1A8W2pKm3qgm9xGzFW4U7gFlxYJTar8i/PC7dhWWgcCqLUlklVIiL9StmU66Atb/p1DLgs+XY0c6Y38W2sjwYBGjrN3bF96WZplaJ2vhQctbSBSt5qMHtsAqAgwA/krUfQDLXbJVa+bZtmvCp/Jnvw4sUltgcSYwwquSYrbBmk/xYm1+cRUtzo9omaDm4WM+zo/xtOpFt7IAzLYJriCZob059uSzpP4EYYr/CAAwgCnJ/sKsBg/jil4ORi9bVFtmtUS4wjnUCp0c8JkP
x-microsoft-antispam-prvs: <HE1PR0701MB28604696A8C0A24B2FFE3E4DFC4A0@HE1PR0701MB2860.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(82608151540597)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6041248)(20161123560025)(20161123562025)(20161123564025)(20161123555025)(6072148); SRVR:HE1PR0701MB2860; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0701MB2860;
x-forefront-prvs: 0204F0BDE2
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(7916002)(39860400002)(39840400002)(39850400002)(39410400002)(39450400003)(53754006)(51914003)(199003)(189002)(377454003)(55016002)(7696004)(33656002)(99286003)(2501003)(25786008)(122556002)(107886002)(101416001)(606005)(6116002)(3846002)(97736004)(5660300001)(102836003)(5001770100001)(6436002)(790700001)(2906002)(6506006)(3280700002)(189998001)(66066001)(2950100002)(76176999)(38730400001)(77096006)(68736007)(54356999)(230783001)(3660700001)(92566002)(86362001)(19609705001)(53936002)(81156014)(9686003)(7906003)(50986999)(7736002)(6306002)(8676002)(74316002)(236005)(54896002)(8936002)(81166006)(106356001)(2900100001)(229853002)(105586002)(9326002)(21314002)(19627235001); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0701MB2860; H:HE1PR0701MB2857.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_HE1PR0701MB28577DCAD16325E9CCB0289DFC4A0HE1PR0701MB2857_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jan 2017 16:49:20.5746 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2860
Archived-At: <https://mailarchive.ietf.org/arch/msg/dime/TRiaZIC_1qfZQdKcjlbXvVeLg0Y>
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: Tue, 31 Jan 2017 16:49:27 -0000

Hi Yuval,

Thanks for these explanations.


*         With "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)
=> Does this mean it is acceptable here, for a CC client to use the same application ID, extended with a new AVP and M-bit set, based on "CC Application-level requirement" consideration? i.e. and not considering the rejection as a backward compatibility issue?

*         With "If the CC client is not sure whether the CC servers are RFC4006 or RFC4006bis... 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

=> what would be the RFC4006bis server behavior receiving 2 AVPs with old type?

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).

=> same Q as for first bullet

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

=> is it really the case the RFC4006bis server could alternatively, instead of ignoring the AVP, send an Error? Based on application level decision?


I am just trying to understand the implication of the "may", and especially if it is really a mean to avoid creating a new Application Id while complying  with the rule, and also in case of M-bit not set, if possible for a server to reply with an error (instead of ignoring) if AVP not understood.

Maryse

From: Yuval Lifshitz [mailto:ylifshitz@sandvine.com]
Sent: mercredi 25 janvier 2017 09:30
To: Gardella, Maryse (Nokia - FR) <maryse.gardella@nokia.com>; dime@ietf.org
Cc: Yuval Lifshitz <ylifshitz@sandvine.com>
Subject: RE: RFC4006bis - Subscription-Id-Extension AVP

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<mailto: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] On Behalf Of Yuval Lifshitz
Sent: vendredi 13 janvier 2017 15:24
To: dime@ietf.org<mailto: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