Re: [core] WG last-call (WGLC) of draft-ietf-core-http-mapping-07

Klaus Hartke <hartke@tzi.org> Tue, 05 April 2016 17:38 UTC

Return-Path: <hartke@tzi.org>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2424312D799 for <core@ietfa.amsl.com>; Tue, 5 Apr 2016 10:38:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=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 hemmXDEsIFyK for <core@ietfa.amsl.com>; Tue, 5 Apr 2016 10:38:36 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6CBCC12D612 for <core@ietf.org>; Tue, 5 Apr 2016 10:38:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::b]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id u35HcX2f027317 for <core@ietf.org>; Tue, 5 Apr 2016 19:38:33 +0200 (CEST)
Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3qfbgF2RJvz397l for <core@ietf.org>; Tue, 5 Apr 2016 19:38:33 +0200 (CEST)
Received: by mail-wm0-f44.google.com with SMTP id n3so31363309wmn.0 for <core@ietf.org>; Tue, 05 Apr 2016 10:38:33 -0700 (PDT)
X-Gm-Message-State: AD7BkJIOWxrUo0etgqkWhaxZLSmlTM/Tt+xWHJBJ9Kypti/3ib7d3ffA+wBxBqBajUKMVsOIO7dyWC2UXkrJ8g==
X-Received: by 10.194.158.98 with SMTP id wt2mr17073424wjb.102.1459877912982; Tue, 05 Apr 2016 10:38:32 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.47.167 with HTTP; Tue, 5 Apr 2016 10:37:53 -0700 (PDT)
In-Reply-To: <36F5869FE31AB24485E5E3222C288E1F5BA61E93@NABESITE.InterDigital.com>
References: <55F83752.3090609@tzi.org> <CAAzbHvYdamD3_XdXORB1dpsfLe1KXxZave0jyf4mp9mahnwA7w@mail.gmail.com> <36F5869FE31AB24485E5E3222C288E1F5BA61E93@NABESITE.InterDigital.com>
From: Klaus Hartke <hartke@tzi.org>
Date: Tue, 05 Apr 2016 19:37:53 +0200
X-Gmail-Original-Message-ID: <CAAzbHvaF00tVwxipkNFCEJKggMWjdu9A1mXZU5PNMPs9XC9sZQ@mail.gmail.com>
Message-ID: <CAAzbHvaF00tVwxipkNFCEJKggMWjdu9A1mXZU5PNMPs9XC9sZQ@mail.gmail.com>
To: "Rahman, Akbar" <Akbar.Rahman@interdigital.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/NKCDms2Jfo-64DFcMUb4ex1qOQs>
Cc: "core@ietf.org WG" <core@ietf.org>
Subject: Re: [core] WG last-call (WGLC) of draft-ietf-core-http-mapping-07
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Apr 2016 17:38:38 -0000

Hi!

I've reviewed the new -08 revision of the draft and am quite happy
with the outcome. There is just one thing that I think is quite
critical:

Akbar Rahman wrote:
> We will clarify that the whole section 5 is only for the special
> (optional) case where a CoAP URI is embedded within the HTTP URI by
> the HTTP client.  The other case is when only a "pure" HTTP URI is
> sent by the HTTP client to the HC proxy, and the HC proxy itself
> generates the CoAP URI.  In this second case the whole section 5 is
> not required.
>
> Specifically, the case where the HTTP client embeds the CoAP URI info
> into the HTTP URI as we describe in Section 5 will map implicitly to
> our 1st use case in section 4.  On the other hand, our 2nd use case in
> section 4 implies that the legacy application probably does not embed
> the CoAP URI info into the HTTP URI as it is legacy and was written
> without CoAP support.  So in this case, section 5 does not imply but
> sections 6 and 7 do apply.  We definitely need to clarify these
> different possible scenarios of "pure reverse proxy" vs the other case
> of embedded CoAP URI info in the HTTP request.

This is a great clarification of the scope and purpose of the
document, and the bit I was missing all the time. Add it to the
introduction? It's currently only mentioned in section 4, quite far
into the document.

The only problem is: the case where the HTTP client actively embeds a
CoAP URI within a HTTP URI is *not* a reverse proxy.

Don't get me wrong. I think this is a valid use case and I'm not
against its inclusion in the document. But you can't call it a reverse
proxy. It doesn't even match your own definition of reverse proxy in
the document ("This mechanism is transparent to the client, which may
assume that it is communicating with the intended target HTTP server.
In other words, the client accesses the proxy as an origin server
[...]"). Only what you describe as a "pure reverse proxy" with a
"legacy HTTP client without CoAP support" is really a reverse proxy.

Can you find a better term for this kind of service? Maybe something
like "HTTP Access Interface to CoAP"?

Klaus