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

Eric Rescorla <ekr@rtfm.com> Thu, 24 May 2018 13:58 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 4BEB2126DFB for <dime@ietfa.amsl.com>; Thu, 24 May 2018 06:58:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.608
X-Spam-Level:
X-Spam-Status: No, score=-2.608 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_LOW=-0.7, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001] autolearn=unavailable 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 neYReesqGTMT for <dime@ietfa.amsl.com>; Thu, 24 May 2018 06:58:44 -0700 (PDT)
Received: from mail-oi0-x234.google.com (mail-oi0-x234.google.com [IPv6:2607:f8b0:4003:c06::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 2B192127775 for <dime@ietf.org>; Thu, 24 May 2018 06:58:44 -0700 (PDT)
Received: by mail-oi0-x234.google.com with SMTP id k5-v6so1531075oiw.0 for <dime@ietf.org>; Thu, 24 May 2018 06:58:44 -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=NUn+ReqB4XJH/Z9bGTI9rWRS4hnwGcVFUFgPZ7ZTYNM=; b=wslfoSwrx4+aVWSbNiqkhwi69UfDQNAy57NA+jrGcL+hHJujI0604CtXdHn4V2czlA IwgpWNvEcKvHmIk/sxWIXR5E58zjxjPXkv0qcpBQuJmjHwi9LnUASO+QyWOv0SIMk3gp 18bCHSEiujBjjFpeAhDSse5wbbWYwZess67qdkD4+++rDtpdGE6Iy0M/lHFpf7jTKPau tm5duAVjelrvC57JbRoyNOxyrsS7e10F9QFE/F0StI+rxXKPc3ChaemXiYbKdPfLF+Vh 1VcWaucAhXV7FTRmWequ4JcemieeFpo17NmmANvEwTA6euzBlHkDNSzKGeElQ8Kx/enR MyCg==
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=NUn+ReqB4XJH/Z9bGTI9rWRS4hnwGcVFUFgPZ7ZTYNM=; b=jy+b0qKIVuUMiQH6Ve1GJX//6NmpJWQOKotHJE1V9fczqBRnrWoPwijqzs45Y3uL2J IMMVbcZz7GBCOzfdNKC6JWn9UsXRRyzl4y7N93LKOb1hSf0FoVzE2Nbz0t/JuSS4N6ZK kaE4AEGkq3DHEmSAn5WRW3dV21sGpR73JK/vmlncQ9M9DzBewPUjY0NXy2U/hcEwu0gh e3mQs6F9Bsp/bElal47pgmOo3yec0V0jsCQpuUgsFWfzv76ssKEXsci66EqZfb38AlfE qOr/u+cL6oXTiUfdwCjfPzlLAUlQyQwVVShO/77EXFmPTkdjbq41QRe2wyU2hSSCb4Wc MfbQ==
X-Gm-Message-State: ALKqPwdBsea0SngG/vyLQd+m+UwHYSUHKf5sb1CP+M3SRzhN44Hjb2Nn aEvt+vPRBfHTt2K8crsSYyBXTGgWn+iyoRymCzMoYg==
X-Google-Smtp-Source: AB8JxZoiBqTGR6iaFBQxenHnZJy1zOHHmhTyT9tkxT4N60m6dv7E2AcBh35u6DfNlUH0cIcrlewvxY0ql9f6hvWS5Ck=
X-Received: by 2002:aca:c754:: with SMTP id x81-v6mr3767734oif.43.1527170323461; Thu, 24 May 2018 06:58:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:ac9:66:0:0:0:0:0 with HTTP; Thu, 24 May 2018 06:58:03 -0700 (PDT)
In-Reply-To: <1842664888.4936240.1527169987125@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>
From: Eric Rescorla <ekr@rtfm.com>
Date: Thu, 24 May 2018 06:58:03 -0700
Message-ID: <CABcZeBOsF-jHSdpEkXXEGFnoLPtzURjOsmRmQR91cWBE8PaW5Q@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="000000000000a4867b056cf40c71"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dime/_lFg2dYkp_eSF3_MC786q0n2R-U>
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 13:58:52 -0000

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

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.

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