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

Ben Campbell <ben@nostrum.com> Fri, 14 February 2014 22:30 UTC

Return-Path: <ben@nostrum.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 570D11A01B4 for <dime@ietfa.amsl.com>; Fri, 14 Feb 2014 14:30:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.036
X-Spam-Level:
X-Spam-Status: No, score=-1.036 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553, HOST_MISMATCH_NET=0.311] autolearn=no
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 h2gJ0oj22hyf for <dime@ietfa.amsl.com>; Fri, 14 Feb 2014 14:30:07 -0800 (PST)
Received: from shaman.nostrum.com (nostrum-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:267::2]) by ietfa.amsl.com (Postfix) with ESMTP id 37FFA1A00A7 for <dime@ietf.org>; Fri, 14 Feb 2014 14:30:07 -0800 (PST)
Received: from [10.0.1.29] (cpe-173-172-146-58.tx.res.rr.com [173.172.146.58]) (authenticated bits=0) by shaman.nostrum.com (8.14.3/8.14.3) with ESMTP id s1EMTuFj055196 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 14 Feb 2014 16:30:03 -0600 (CST) (envelope-from ben@nostrum.com)
Content-Type: text/plain; charset="iso-8859-1"
Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\))
From: Ben Campbell <ben@nostrum.com>
In-Reply-To: <52F91354.4090101@usdonovans.com>
Date: Fri, 14 Feb 2014 16:29:52 -0600
Content-Transfer-Encoding: quoted-printable
Message-Id: <80595915-0FB5-456B-B2B6-67CC86C0B975@nostrum.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>
To: Steve Donovan <srdonovan@usdonovans.com>
X-Mailer: Apple Mail (2.1827)
Received-SPF: pass (shaman.nostrum.com: 173.172.146.58 is authenticated by a trusted mechanism)
Archived-At: http://mailarchive.ietf.org/arch/msg/dime/QEnM0kRoXJF-8NqDaYkj9lt7Qlo
Cc: "dime@ietf.org" <dime@ietf.org>
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, 14 Feb 2014 22:30:09 -0000

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