Re: [Dime] [dime] #47: reduction percentages greater than 100 should be ignored

Jouni Korhonen <jouni.nospam@gmail.com> Fri, 28 February 2014 14:07 UTC

Return-Path: <jouni.nospam@gmail.com>
X-Original-To: dime@ietfa.amsl.com
Delivered-To: dime@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7AE1C1A01F8 for <dime@ietfa.amsl.com>; Fri, 28 Feb 2014 06:07:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] 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 0XNqEKUJz1kU for <dime@ietfa.amsl.com>; Fri, 28 Feb 2014 06:07:45 -0800 (PST)
Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com [IPv6:2a00:1450:4010:c03::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 527A61A021F for <dime@ietf.org>; Fri, 28 Feb 2014 06:07:45 -0800 (PST)
Received: by mail-la0-f46.google.com with SMTP id hr17so2712687lab.19 for <dime@ietf.org>; Fri, 28 Feb 2014 06:07:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=V480y/UX7YGumUBy9xUl7sOEFJMiIhLfzv/Lvt24a3E=; b=o1fyJKY7av2nFOfuod2HQLOcohxzAxAE7nb51zsXGNmsm2Cqis0G3ZxP+X8bZNI/ws c1f8TIVx+NofUJeCSo62Haly9uSyVxwGg+o1P5v0R3MT8eLl+5mPE/1x8AqWSKecy5+d ws7IJBPb3IJFPJyi7eZ+D0erUKz93l5w1v02n/wa+NzC0hYoUzJn1DId+7cL1SUBB200 MbPjVraiqXNixcnsoUxIqaj+pWVvhuWwsu7x3yujwEG19wm2ykbdnHvKGXGJCpWrErOp BOc7XSB//fLDyk3u+u106V/PfRz3sAvuGcw2qBkSSG/WcN9KACpF4FaPSp6RNh96n2PV rxPg==
X-Received: by 10.152.120.201 with SMTP id le9mr1400111lab.68.1393596462893; Fri, 28 Feb 2014 06:07:42 -0800 (PST)
Received: from [188.117.15.108] ([188.117.15.108]) by mx.google.com with ESMTPSA id uf9sm4043820lbb.14.2014.02.28.06.07.40 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Feb 2014 06:07:40 -0800 (PST)
Content-Type: text/plain; charset="iso-8859-1"
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Jouni Korhonen <jouni.nospam@gmail.com>
In-Reply-To: <80595915-0FB5-456B-B2B6-67CC86C0B975@nostrum.com>
Date: Fri, 28 Feb 2014 16:07:39 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <DBACFAA2-F61B-4A49-9166-ECA1B112431E@gmail.com>
References: <057.6f1ee674941c8e6f852041883b135c9c@trac.tools.ietf.org> <10919_1391877435_52F65D3B_10919_16935_1_6B7134B31289DC4FAF731D844122B36E4938A3@PEXCVZYM13.corporate.adroot.infra.ftgroup> <A017CA7E-A26B-49A6-8C44-78EF937A6A1E@nostrum.com> <52F9056B.6010405@usdonovans.com> <10970_1392053371_52F90C7A_10970_2992_1_6B7134B31289DC4FAF731D844122B36E497E39@PEXCVZYM13.corporate.adroot.infra.ftgroup> <52F91354.4090101@usdonovans.com> <80595915-0FB5-456B-B2B6-67CC86C0B975@nostrum.com>
To: Ben Campbell <ben@nostrum.com>, "dime@ietf.org list" <dime@ietf.org>
X-Mailer: Apple Mail (2.1510)
Archived-At: http://mailarchive.ietf.org/arch/msg/dime/Job9wR6Z8hRd6sVLCqZebKsZe-Y
Subject: Re: [Dime] [dime] #47: reduction percentages greater than 100 should be ignored
X-BeenThere: dime@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Fri, 28 Feb 2014 14:07:47 -0000

<as a chair>

We seem to have reached a conclusion that invalid reduction percentages
should be ignored.

@ben could you update the ticket and close it?

- JOuni


On Feb 15, 2014, at 12:29 AM, Ben Campbell <ben@nostrum.com> wrote:

> 
> On Feb 10, 2014, at 11:58 AM, Steve Donovan <srdonovan@usdonovans.com> wrote:
> 
>> I agree that a clarification is needed on what it means to be "treated as is the OC-Validity-Duration AVP was not present".  It would e better to say:
>> 
>>  "Invalid validity duration values are given the default value".
>> 
>> 
> 
> +1.
> 
> I recognize this is different from what I said about reduction percentage. My reasoning is, if the sender includes an invalid duration, we don't know the intended duration. But since there is a default duration, we can assume it. Reduction-Percentage, however, has no such default (nor should it.). If we get an invalid reduction percentage, we really have no idea what the sender intended us to do.
> 
> 
>> 
>> Steve
>> 
>> On 2/10/14 11:29 AM, lionel.morand@orange.com wrote:
>>> Hi Steve,
>>> 
>>> About the OC-Validity-Reduction AVP values greater than 24 hours, it is said that the default value 5s applies.
>>> 
>>> I was therefore wondering if it should be also considered as an error and therefore discarded. It is a real open question. Not an issue per se as I'm fine with the existing text. I was reacting on the reason for change explained by Ben.
>>> 
>>> Regards,
>>> 
>>> Lionel
>>> 
>>> De : DiME [mailto:dime-bounces@ietf.org] De la part de Steve Donovan
>>> Envoyé : lundi 10 février 2014 17:59
>>> À : dime@ietf.org
>>> Objet : Re: [Dime] [dime] #47: reduction percentages greater than 100 should be ignored
>>> 
>>> It is possible, the range defined is zero to 24 hours.  I think the text is correct as it says that a value out of this range should be ignored.
>>> 
>>> Steve
>>> 
>>> On 2/10/14 10:50 AM, Ben Campbell wrote:
>>> 
>>> On Feb 8, 2014, at 10:37 AM, lionel.morand@orange.com wrote:
>>> 
>>> Hi Ben,
>>> 
>>> OK with this statement.
>>> But if it is agreed, would it mean that the same consideration should apply for the OC-Validity-Duration AVP values?
>>> 
>>> 
>>> I'm not sure I follow the question. Is it possible to send an invalid OC-Validity-Duration value?
>>> 
>>> Lionel
>>> 
>>> -----Message d'origine-----
>>> De : DiME [mailto:dime-bounces@ietf.org] De la part de dime issue tracker
>>> Envoyé : vendredi 7 février 2014 23:05
>>> À : draft-docdt-dime-ovli@tools.ietf.org; ben@nostrum.com
>>> Cc : dime@ietf.org
>>> Objet : [Dime] [dime] #47: reduction percentages greater than 100 should be ignored
>>> 
>>> #47: reduction percentages greater than 100 should be ignored
>>> 
>>> Section 4.7 says " [Reduction-Percentage] Values greater than 100 are
>>> interpreted as 100."
>>> 
>>> An OLR with an invalid value should be ignored. An invalid value indicates
>>> incorrect behavior on the part of the sender. In this case, it's not safe
>>> to assume we know what the sender really intended.
>>> 
>>> -- 
>>> -------------------------+-------------------------------------------------
>>> Reporter:               |      Owner:  draft-docdt-dime-
>>> ben@nostrum.com        |  ovli@tools.ietf.org
>>>    Type:  defect       |     Status:  new
>>> Priority:  minor        |  Milestone:
>>> Component:  draft-       |    Version:  1.0
>>> docdt-dime-ovli        |   Keywords:
>>> Severity:  Active WG    |
>>> Document               |
>>> -------------------------+-------------------------------------------------
>>> 
>>> Ticket URL: <http://trac.tools.ietf.org/wg/dime/trac/ticket/47>
>>> dime <http://tools.ietf.org/wg/dime/>
>>> 
>>> _______________________________________________
>>> DiME mailing list
>>> DiME@ietf.org
>>> https://www.ietf.org/mailman/listinfo/dime
>>> 
>>> _________________________________________________________________________________________________________________________
>>> 
>>> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
>>> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
>>> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
>>> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>>> 
>>> This message and its attachments may contain confidential or privileged information that may be protected by law;
>>> they should not be distributed, used or copied without authorisation.
>>> If you have received this email in error, please notify the sender and delete this message and its attachments.
>>> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
>>> Thank you.
>>> 
>>> 
>>> _______________________________________________
>>> DiME mailing list
>>> DiME@ietf.org
>>> https://www.ietf.org/mailman/listinfo/dime
>>> 
>>> 
>>> _________________________________________________________________________________________________________________________
>>> 
>>> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
>>> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
>>> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
>>> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>>> 
>>> This message and its attachments may contain confidential or privileged information that may be protected by law;
>>> they should not be distributed, used or copied without authorisation.
>>> If you have received this email in error, please notify the sender and delete this message and its attachments.
>>> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
>>> Thank you.
>>> 
>> 
>> _______________________________________________
>> DiME mailing list
>> DiME@ietf.org
>> https://www.ietf.org/mailman/listinfo/dime
> 
> _______________________________________________
> DiME mailing list
> DiME@ietf.org
> https://www.ietf.org/mailman/listinfo/dime