Re: [art] Revising BCP56: On the use of HTTP as a Substrate

Ira McDonald <blueroofmusic@gmail.com> Sat, 15 July 2017 15:22 UTC

Return-Path: <blueroofmusic@gmail.com>
X-Original-To: art@ietfa.amsl.com
Delivered-To: art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F310D124E15 for <art@ietfa.amsl.com>; Sat, 15 Jul 2017 08:22:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.697
X-Spam-Level:
X-Spam-Status: No, score=-2.697 tagged_above=-999 required=5 tests=[AC_DIV_BONANZA=0.001, 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_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=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 jYfl-wGjg183 for <art@ietfa.amsl.com>; Sat, 15 Jul 2017 08:22:24 -0700 (PDT)
Received: from mail-qk0-x22d.google.com (mail-qk0-x22d.google.com [IPv6:2607:f8b0:400d:c09::22d]) (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 92B481316A1 for <art@ietf.org>; Sat, 15 Jul 2017 08:22:24 -0700 (PDT)
Received: by mail-qk0-x22d.google.com with SMTP id p73so31630672qka.2 for <art@ietf.org>; Sat, 15 Jul 2017 08:22:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bhKoMvNqfMCKkVQcUuJMF/WbeiRnlnrsZ3/e1MjOysM=; b=hLvCvNlIhqjaCzTxNC9rLOQ7IPSWLNXgNx48aH9iaTja/2h37e0W0MKAfS01mZQH0D uDFGHDkohZoX2TSNCQbqvOA35i0vFlsAEMLuGgmso3MQrZ6oP1+HI0QSMy+2a2O+8nNU PZzTu7urCp2AN/9wFvEQ0nJbd3tad8wrA8XaHLOeexJRxGNStijNPPWzPhREms4c2Mgv Cd0BOBsuSVw0fS6zvz8iHRfZlDHn6Y+z4UGpiu9jeGKI2ULItXguJBg7bw+KkxoSxpmQ xP/3iB+rZOvsvbrvTiia59huL8QZSHWIrs90lnucJaCEGQ0PdXnq1hN6rvEHDJypjRik tSpw==
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=bhKoMvNqfMCKkVQcUuJMF/WbeiRnlnrsZ3/e1MjOysM=; b=o131URSqG7AfdpUGoPrf/JpRqge0ySIQzsq6BdAGkaco0S3X6Lr19q7HG+39D6SZA3 7SiWhCnputso95WILIs44T7bJHF5JBn/WesWeUZNDSs8SLJ/t0HEGTP1CuUWMTLc+UnX KOwViHas3LrXLFdX6/1CySpiM9D68OQ4rGbglYuJqshnj6qj7upVA/0UgZOiSs436kT1 lllG+nXhnb80Qd5Q6tjUqH/RlJq2sc/NnBTlnOiQphuqu9LWEgAiKobBJM/IFPdbiP2Q AxEFTjFLhi4HPAn5t7BH8VhO44kNIICDfcD9Dw60qJrEC1qwemRmkL9CJP09xi3ezcRp g43Q==
X-Gm-Message-State: AIVw112fjAKrMSizy6m+7A+dodTXBhrVq2VR4HQyJnLWbhG0tTBD9cgW suZ3j9BdBUp2NosJ3PL7jZvXFyPpDQ==
X-Received: by 10.55.103.23 with SMTP id b23mr15808942qkc.55.1500132143760; Sat, 15 Jul 2017 08:22:23 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.43.101 with HTTP; Sat, 15 Jul 2017 08:22:03 -0700 (PDT)
In-Reply-To: <989a76b8-7006-5c9b-66cb-0a03f8e9e517@nostrum.com>
References: <83273F06-63D3-41C1-BC3C-9ECE401C2279@mnot.net> <ebabe106-d914-f21b-30c2-f91f583f4de5@nostrum.com> <DE1772EA-E54A-4FC5-AF5B-6958477B0F44@mnot.net> <CA+9kkMCaSqH=RwQgKJaLdRWA8mYnGL2Lw=cb20Szx4O__mg_Hw@mail.gmail.com> <989a76b8-7006-5c9b-66cb-0a03f8e9e517@nostrum.com>
From: Ira McDonald <blueroofmusic@gmail.com>
Date: Sat, 15 Jul 2017 11:22:03 -0400
Message-ID: <CAN40gSvM118c+JUD8kp-K9Noz7BQxYcnLgAoe5QJCt_V=Zq95w@mail.gmail.com>
To: Adam Roach <adam@nostrum.com>, Ira McDonald <blueroofmusic@gmail.com>
Cc: Ted Hardie <ted.ietf@gmail.com>, Mark Nottingham <mnot@mnot.net>, Alexey Melnikov <alexey.melnikov@isode.com>, Patrick McManus <mcmanus@ducksong.com>, art@ietf.org
Content-Type: multipart/alternative; boundary="94eb2c059c708b8be105545cbba2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/2zIy7NXeV4Zyhq6hQuVSmNVUmBc>
Subject: Re: [art] Revising BCP56: On the use of HTTP as a Substrate
X-BeenThere: art@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Applications and Real-Time Area Discussion <art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/art>, <mailto:art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/art/>
List-Post: <mailto:art@ietf.org>
List-Help: <mailto:art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/art>, <mailto:art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Jul 2017 15:22:27 -0000

Hi,

Speaking as the co-editor of both the "ipp" and "ipps" URI schemes and the
successor (RFC 8010) to RFC 2910, using HTTP as a substrate for IPP was
a serious design mistake that has added numerous implementation errors and
no functional value.

One prominent (non-conforming) implementation of IPP does use port 443,
but that's just plain wrong and fails the IEEE-ISTO PWG IPP Everywhere
conformance certification tests.

Please don't use IPP as justification in this discussion.  The use of HTTP
as
a substrate was based on bad advice from IETF regulars who should have
known better.

[ok - back into my cave...]

Cheers,
- Ira


Ira McDonald (Musician / Software Architect)
Co-Chair - TCG Trusted Mobility Solutions WG
Chair - Linux Foundation Open Printing WG
Secretary - IEEE-ISTO Printer Working Group
Co-Chair - IEEE-ISTO PWG Internet Printing Protocol WG
IETF Designated Expert - IPP & Printer MIB
Blue Roof Music / High North Inc
http://sites.google.com/site/blueroofmusic
http://sites.google.com/site/highnorthinc
mailto: blueroofmusic@gmail.com
Jan-April: 579 Park Place  Saline, MI  48176  734-944-0094
May-Dec: PO Box 221  Grand Marais, MI 49839  906-494-2434


On Sat, Jul 15, 2017 at 10:55 AM, Adam Roach <adam@nostrum.com> wrote:

> On 7/15/17 16:25, Ted Hardie wrote:
>
> On Sat, Jul 15, 2017 at 4:09 PM, Mark Nottingham <mnot@mnot.net> wrote:
>
>>
>> > On 15 Jul 2017, at 11:20 am, Adam Roach <adam@nostrum.com> wrote:
>> >
>> > I found 4.3.2 particularly interesting, as there doesn't seem to have
>> been consensus in this space in the past. For example, the ws(s) and ipp(s)
>> schemes made a different decision. I presume your assertion is that, were
>> we defining these protocols today, they would be using http(s) instead?
>>
>> AFAICT IPP doesn't use the HTTP port, scheme nor HTTP's registries, so as
>> per section 2, it's not "using" HTTP.
>>
>>
> RFC 7472 describes the  HTTPS tranport binding and its relationship to the
> ipps scheme (it's a successor to some previous work doing similar things
> for HTTP).  It notes:
>
> The IPP Client converts the 'ipps' URI to an 'https' URI [RFC7230 <https://tools.ietf.org/html/rfc7230>]
>       (replacing 'ipps' with 'https' and inserting the port number from
>       the URI or port 631 if the URI doesn't include an explicit port
>       number);
>
> While the default isn't the existing HTTPS port, it's my understanding
> that in some deployments the ipps scheme uses the HTTPS port and so ends up
> with an HTTPS scheme message over the standard HTTPS port.
>
>
> You don't have to rely on the ipps spec for this -- the original design of
> IPP has a similar transformation for ipp URLs; RFC2910 stipulates:
>
>    Because the HTTP layer does not support the 'ipp' scheme, a client
>    MUST map 'ipp' URLs to 'http' URLs, and then follows the HTTP
>    [RFC2616][RFC2617] rules for constructing a Request-Line and HTTP
>    headers.  The mapping is simple because the 'ipp' scheme implies all
>    of the same protocol semantics as that of the 'http' scheme
>    [RFC2616], except that it represents a print service and the implicit
>    (default) port number that clients use to connect to a server is port
>    631.
>
> Mark -- if you think the guidance in your document wouldn't apply in these
> cases, you'll have to be clearer by what you mean when you say 'The URL
> scheme "http" or "https" is used': I would have thought this qualifies.
>
>
> /a
>
> _______________________________________________
> art mailing list
> art@ietf.org
> https://www.ietf.org/mailman/listinfo/art
>
>