Re: [Dime] Eric Rescorla's No Objection on draft-ietf-dime-rfc4006bis-08: (with COMMENT)

Eric Rescorla <ekr@rtfm.com> Thu, 24 May 2018 14:26 UTC

Return-Path: <ekr@rtfm.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 4482912E741 for <dime@ietfa.amsl.com>; Thu, 24 May 2018 07:26:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.908
X-Spam-Level:
X-Spam-Status: No, score=-1.908 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, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20150623.gappssmtp.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 08T1y6g8GM92 for <dime@ietfa.amsl.com>; Thu, 24 May 2018 07:26:47 -0700 (PDT)
Received: from mail-ot0-x22c.google.com (mail-ot0-x22c.google.com [IPv6:2607:f8b0:4003:c0f::22c]) (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 1D24512E034 for <dime@ietf.org>; Thu, 24 May 2018 07:26:47 -0700 (PDT)
Received: by mail-ot0-x22c.google.com with SMTP id m11-v6so2157177otf.3 for <dime@ietf.org>; Thu, 24 May 2018 07:26:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JSkbxKfrqxskg+f/mD+1b9GogOr3fFeVxKLdvH9tnzw=; b=LbCO9FmHG8OOQSjNWfr2fcJErvBGh+Iut6ujLiLQLrrK5HQY0QuTWylk+LriTVTHv2 fHQGRyUxJpMc8096DZehnOPhkOt/rAjMz3LYmPLjKmgmUfpg2IiKpkfpJtWLti86osxw NLgnOR/Kl0NUimHB1eNXR6lu6OSEjIvhv3YSwT1JrRZO8G5NM40l/PAdMMDDV2meFpCB sGsirttC2x/XqHs/ywAd2P9D5x7vtxbKobP2HL7Vndg65ina7/P/M8NIZTul7Whib3zG 8azMY+cOKofCcdbEKXQfLYTZsuGimdDc/N9azbFTkxZd7nL1ZC5kKAy/r+N65vlN8WhS JsVQ==
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=JSkbxKfrqxskg+f/mD+1b9GogOr3fFeVxKLdvH9tnzw=; b=C5pkI1eRrSJ/c+10MfrCOS9Djkn4wQbrkLcp58GDo8H2KEDKJ/wtpM0GjquNSUdCaS d7IK9Doj87XCfv4eYst2JDhz5aYnsU3qO5/R+lzqjo3siwhIXiVG4z/sgOD+SnDXZH8u gT3X2Z6II7j6JrSJxJSCl9aSOKP9vY87ZhBn06HAg2yGp1Y+XLjZ64+8BK22Dr4GygNs 5XxqeRzDRDiD4fvKJhsS5SgEvUz4nCuQqlrBGyYFHzj4fZuF3BNhyraZiCh0RXzCrt0M S1aymrFf8+hnS8y428N6HLHnhcpKX80r1MjgQ00T97wE1mf1pewTbAcCdFKSCPKH0Rss NdIg==
X-Gm-Message-State: ALKqPwcqQw69hmxmT4SKLJqOGn7Q8sXOOituxAZE9LAgwhgxli1a7qc6 E1H2UO4VYSdWByxrkqPncnx36m7WzsPYz/o5fui3dA==
X-Google-Smtp-Source: AB8JxZqJ6m9Iwk8uvhXIkoEMMp3qK3zbhyDgUIKPcpPOSHO0qXz+H/LYSQ71pgGvnP9svu+c4vgRq5G0/fVuW2m6710=
X-Received: by 2002:a9d:719a:: with SMTP id o26-v6mr5188154otj.44.1527172006483; Thu, 24 May 2018 07:26:46 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:ac9:66:0:0:0:0:0 with HTTP; Thu, 24 May 2018 07:26:06 -0700 (PDT)
In-Reply-To: <1337069826.4959599.1527171140082@mail.yahoo.com>
References: <152713326803.29850.11203075814656303164.idtracker@ietfa.amsl.com> <2012436261.4832236.1527143593730@mail.yahoo.com> <CABcZeBPC8ZUOpVEGwYoM=rgsBCngJs=wGtxt2UFwT_tJEzr1Kg@mail.gmail.com> <1842664888.4936240.1527169987125@mail.yahoo.com> <CABcZeBOsF-jHSdpEkXXEGFnoLPtzURjOsmRmQR91cWBE8PaW5Q@mail.gmail.com> <1337069826.4959599.1527171140082@mail.yahoo.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Thu, 24 May 2018 07:26:06 -0700
Message-ID: <CABcZeBO3NSPi+CNKzYm30o=fg430+Bdjfj1EmnqxfEFPqZT8LA@mail.gmail.com>
To: Yuval Lifshitz <yuvalif@yahoo.com>
Cc: The IESG <iesg@ietf.org>, dime-chairs@ietf.org, dime@ietf.org, draft-ietf-dime-rfc4006bis@ietf.org
Content-Type: multipart/alternative; boundary="000000000000f528da056cf47066"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dime/iJY3FoXFcpZIytfcaiNk7ly8vLQ>
Subject: Re: [Dime] Eric Rescorla's No Objection on draft-ietf-dime-rfc4006bis-08: (with COMMENT)
X-BeenThere: dime@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 24 May 2018 14:26:51 -0000

On Thu, May 24, 2018 at 7:12 AM, Yuval Lifshitz <yuvalif@yahoo.com> wrote:

> *inline*
>
> On Thursday, May 24, 2018, 4:58:44 p.m. GMT+3, Eric Rescorla <ekr@rtfm.com>
> wrote:
>
>
>
>
> On Thu, May 24, 2018 at 6:53 AM, Yuval Lifshitz <yuvalif@yahoo.com> wrote:
>
> more inline
>
> On Thursday, May 24, 2018, 4:18:06 p.m. GMT+3, Eric Rescorla <ekr@rtfm.com>
> wrote:
>
>
>
>
> On Wed, May 23, 2018 at 11:33 PM, Yuval Lifshitz <yuvalif@yahoo.com>
> wrote:
>
> *inline*
>
> On Thursday, May 24, 2018, 6:41:17 a.m. GMT+3, Eric Rescorla <ekr@rtfm.com>
> wrote:
>
>
> Eric Rescorla has entered the following ballot position for
> draft-ietf-dime-rfc4006bis-08: No Objection
>
> 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 <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-dime- rfc4006bis/
> <https://datatracker.ietf.org/doc/draft-ietf-dime-rfc4006bis/>
>
>
>
> ------------------------------ ------------------------------ ----------
> COMMENT:
> ------------------------------ ------------------------------ ----------
>
> Rich version of this review at:
> https://mozphab-ietf. devsvcdev.mozaws.net/D3353
> <https://mozphab-ietf.devsvcdev.mozaws.net/D3353>
>
>
> I only gave this a light read. Some minor comments below.
>
> COMMENTS
> S 1.2.
> >        deduction of credit from the end user account when service is
> >        completed and refunding of reserved credit that is not used.
> >
> >      Diameter Credit-control Server  A Diameter credit-control server
> acts
> >        as a prepaid server, performing real-time rating and credit-
> >        control.  It is located in the home domain and is accessed by
>
> a definition of "home domain" would be useful
>
> *[yuval] base spec define "home realm" we should probably change to that*
>
> S 2.
> >      credit-control application.
> >
> >      When an end user requests services such as SIP or messaging, the
> >      request is typically forwarded to a service element (e.g., SIP
> Proxy)
> >      in the user's home domain.  In some cases it might be possible that
> >      the service element in the visited domain can offer services to the
>
> also define visited domain, or at least point to a reference.
>
> *[yuval] base spec defined "local realm" for that. will fix*
>
> S 3.1.
> >                                  [ CC-Correlation-Id ]
> >                                  [ User-Equipment-Info ]
> >                                  [ User-Equipment-Info-Extension ]
> >                                  *[ Proxy-Info ]
> >                                  *[ Route-Record ]
> >                                  *[ AVP ]
>
> Please expand AVP on first use.
>
> *[yuval] it is in the base spec*
>
>
> I'm sure it is, but you should still expand it.
>
> [yuval] sure we can (it would be a bit awkward though, in the world of
> "Diameter" it will be like explaining what TCP stands for...)
>
>
> https://tools.ietf.org/rfcmarkup?doc=7322#section-3.6
>
> *[yuval] in the list, but not marked as "well known". OTOH, that document
> gives some freedom to the RFC editor. Given that the first couple of
> occurrences of AVP in the spec are in titles and inside ABNF, there isn't a
> reasonable place to expand that. If someone tries to read any Diameter
> application spec, without the base one they would probably run into other
> issues as well*
>

 Put it in the glossary at the start.

-Ekr


>
> S 4.
> >      control client requests credit authorization from the credit-control
> >      server prior to allowing any service to be delivered to the end
> user.
> >
> >      In the first model, the credit-control server rates the request,
> >      reserves a suitable amount of money from the user's account, and
> >      returns the corresponding amount of credit resources.  Note that
>
> Sorry, reserves the balance or the amount reserved?
>
> *[yuval] not sure what is not clear?*
>
>
> As I said above, do you return the balance or do you return the amount of
> credit that has been reserved.
>
> [yuval] return the reserved amount
>
>
> OK, the text should say it.
>
> *[yuval] ok. will rephrase*
>
> -Ekr
>
>
>
>
>
> S 14.
> >
> >      Even without any modification to the messages, an adversary can
> >      eavesdrop on transactions that contain privacy-sensitive information
> >      about the user.  Also, by monitoring the credit-control messages one
> >      can collect information about the credit-control server's billing
> >      models and business relationships.
>
> I'm having trouble reading these two paragraphs. Are they about what
> happens if TLS isn't used?
>
> *[yuval] will clarify. see here: *https://github.com/
> lbertz02/rfc4006bis/issues/51
> <https://github.com/lbertz02/rfc4006bis/issues/51>
>
>
> This doesn't seem dramatically clearer. What sort of an adversary can do
> that?
>
> [yuval] in some cases e2e security is not possible, this is what this
> section is addressing, the github issue is to clarify that
>
> -Ekr
>
>
>
>
>
>
> ______________________________ _________________
> DiME mailing list
> DiME@ietf.org
> https://www.ietf.org/mailman/ listinfo/dime
> <https://www.ietf.org/mailman/listinfo/dime>
>
>
>
>