Re: [sipcore] Comments on draft-ietf-sipcore-sip-authn-02
Rifaat Shekh-Yusef <rifaat.ietf@gmail.com> Mon, 11 June 2018 20:41 UTC
Return-Path: <rifaat.ietf@gmail.com>
X-Original-To: sipcore@ietfa.amsl.com
Delivered-To: sipcore@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 94F09130ED0 for <sipcore@ietfa.amsl.com>; Mon, 11 Jun 2018 13:41:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 Z-_KB9fLOfq5 for <sipcore@ietfa.amsl.com>; Mon, 11 Jun 2018 13:41:04 -0700 (PDT)
Received: from mail-ua0-x231.google.com (mail-ua0-x231.google.com [IPv6:2607:f8b0:400c:c08::231]) (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 014A9130EC4 for <sipcore@ietf.org>; Mon, 11 Jun 2018 13:41:04 -0700 (PDT)
Received: by mail-ua0-x231.google.com with SMTP id k14-v6so14432935uao.12 for <sipcore@ietf.org>; Mon, 11 Jun 2018 13:41:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LVsKt0S6V1+LGugpr662+Yu2t6t6ZJ232g+U8tTWiqM=; b=UoYXxX6W+Pw2jbAxVqm6xOYtCEnTETkWBOzDZZISrIbvHArvZcO2baWBNtE0VQs79i I0qXeoM9GOblhQ3b2yf7BTMd06nQUubrER1WLzRppfHvWj1ccrB0671x6FD/7hzZ2xsZ rSPAnQgSMUpgaiq4hshsWyPyeoV97N/Wbvg2IIxgrwn+z4ENk6y/EUzjwh/Nx9HtqTUh MogJfkpe+/9nHu7MVRo6BbQZuYoitD+kN4n276SXSnrPZQ3e8ZQXJaX6v2ZHnR9bztqJ No9Ax1OvJHxrrfPBTfV199mwMlW0UCX3ew7MlnpSNFWfbXKtMY1RV0gSeQtP/X0aYlAD TFFQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LVsKt0S6V1+LGugpr662+Yu2t6t6ZJ232g+U8tTWiqM=; b=oKps4VZ3jUBzWqvQVvrG0a19jqUcZVf+hJ2UW8Slm/X2oSs59a3J2iBPHrCVw43ZPS esdkCbVQ1XDlcpgmjfKHp7NIDYFvFztdXPTmElTUJJcCywClnSN3/r+kiHjJkCHRa2+u K3uVnf7p2TzyneUWEWgnUimu8Fgq8eUIb2pZdyI4VYTuMe7GHSHUXWctNhc8BtFed9sW Ql9mas9aGEYQmYR21CIp0ivtLCnt3GUN2cwyKO5AGPfp9rTR6oJIm1YkVj82kyKqZAU/ dwh6cWhBFx+VwzaYXZkFB+PKS46GznbW1TIltSwEC/09B8KBgE7it1unFK940zuI98k2 s6Qg==
X-Gm-Message-State: APt69E2H/aHq1rghR/klcjozFc95eFbaChlfiSa66BelasIl4Yu/MJDW mowdSIf0lqP/QNu2iCuN1cTb/eKwMnAyw8iC3VLxng==
X-Google-Smtp-Source: ADUXVKIDhfs6W5a1MfbSQnFnpO5nzYyNGTKWuNKp00BIjfGkyvB/VHoLzJAEyn5zrwvfkJyXsLlEnK0fKHaA+sDmDUs=
X-Received: by 2002:a9f:3c13:: with SMTP id u19-v6mr511856uah.70.1528749662518; Mon, 11 Jun 2018 13:41:02 -0700 (PDT)
MIME-Version: 1.0
References: <87h8magx2s.fsf@hobgoblin.ariadne.com>
In-Reply-To: <87h8magx2s.fsf@hobgoblin.ariadne.com>
From: Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>
Date: Mon, 11 Jun 2018 16:41:21 -0400
Message-ID: <CAGL6epLiGUdnj6oiMA2ZfoQQf32jvW+xXVUW43J9JO1it9tfAw@mail.gmail.com>
To: "Dale R. Worley" <worley@ariadne.com>
Cc: SIPCORE <sipcore@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000095c222056e63c483"
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/ymtifcVzsIbkDgf_rWyC5zYKLdQ>
Subject: Re: [sipcore] Comments on draft-ietf-sipcore-sip-authn-02
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sipcore>, <mailto:sipcore-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sipcore/>
List-Post: <mailto:sipcore@ietf.org>
List-Help: <mailto:sipcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Jun 2018 20:41:07 -0000
Hi Dale, Thanks for your review and comments. Please, see my replies inline. Regards, Rifaat On Sun, Jun 10, 2018 at 5:18 PM Dale R. Worley <worley@ariadne.com> wrote: > This is an interesting and important piece of work. I've attempted to > read earlier versions once or twice and never successfully understood > it. This version of the draft is more comprehensible than previous > versions and seems to be on the right track, but there are a number of > important issues that need to be addressed. Trying to list them in > order of importance: > > - All of the interactions with the "authorization server" are > described as out of scope. This is rather a problem, since all of the > call flows that the document describes require the authorization > server as an integral part of the flow. If interacting with the > authorization server is not standardized, then no interoperability has > been defined in practice -- both the UA and the proxy must have > special knowledge of the authorization server. In practice, that > means that all components of the system will have to be purchased from > one vendor. > (As a consequence, the meaning of the Location header in the 401 > response (section 2.1.1) is not fixed -- the UA is expected to do > something with the value of the header, but there is no specification > of what that is.) > > The missing parts are the ones that use the existing OAuth 2.0 mechanism defined in RFC6749. I will try to add more details to make it clearer. - The Security Considerations section does not describe whether and > how the messages in the call flows need to be protected from > eavesdropping. > > Yeah, I will add these details. > - The document doesn't give a clear statement of which requests are > authenticated, what guarantees the authentication provides, or how the > call flows might be used in authorizing requests. The only use of the > authentication/authorization information specified in the document is > SIP registration, but I suspect the intention is that SIP requests > carrying authentication/authorization can be forwarded to other server > entities, which can validate the AA information to determine whether > to service the request. > > This part is out of scope for this document. We had a long debate on the mailing list about this, so we left it for future documents. > - The terminology is not consistent throughout the document. It's > really important to use only one phrase to name each thing in a > system, and to put the definition in the glossary. E.g., > "Authorization Server" and "AuthZ" server are used interchangeably, > and I suspect that "the server" and "IdP entity" also mean the same > thing. Of course, SIP and OAuth may use different terms for the same > entity, which makes things harder, but the glossary can show the > correspondence between the two sets of terms. > > I will fix that. > - The meaning, use, and format of the various data items is not clear. > E.g., what is the format and significance of an "authorization code"? > In particular, HMAC is used without specifying how its output (which > is a sequence of binary octets) is encoded when it is included in SIP > messages. > > I will fix that. > - The example call flow diagrams do not include enough detail, which > means I can't study them to get into my memory a good idea of what the > flow diagram illustrates. Also, though the description gives an > overview, but there's considerable information about the dataflow of > authorization values that is under-described. E.g., at the end of the > section 2.1 flow, it *seems* that the proxy will retain "tokens" > associated with the registration, but that's not stated, nor is it > stated how the tokens might be used. Is the proxy expected to attach > them to later requests by the UA so that other servers can determine > that the request is authorized? > > I will clarify that > - Various nits, including: > > The document uses RFC 2119 rather than RFC 8174, which updates 2119. > > There is a reference to "RFC474bis" which should be "RFC4474bis". > > Thanks, Rifaat > Dale > > _______________________________________________ > sipcore mailing list > sipcore@ietf.org > https://www.ietf.org/mailman/listinfo/sipcore >
- Re: [sipcore] Comments on draft-ietf-sipcore-sip-… Rifaat Shekh-Yusef
- Re: [sipcore] Comments on draft-ietf-sipcore-sip-… Dale R. Worley
- [sipcore] Comments on draft-ietf-sipcore-sip-auth… Dale R. Worley
- Re: [sipcore] Comments on draft-ietf-sipcore-sip-… Rifaat Shekh-Yusef