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

"Roy T. Fielding" <fielding@gbiv.com> Sun, 16 July 2017 23:48 UTC

Return-Path: <fielding@gbiv.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 05657129B25 for <art@ietfa.amsl.com>; Sun, 16 Jul 2017 16:48:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gbiv.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 4E45zsP1_ind for <art@ietfa.amsl.com>; Sun, 16 Jul 2017 16:48:51 -0700 (PDT)
Received: from homiemail-a59.g.dreamhost.com (sub5.mail.dreamhost.com [208.113.200.129]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CFEF3129AD1 for <art@ietf.org>; Sun, 16 Jul 2017 16:48:51 -0700 (PDT)
Received: from homiemail-a59.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a59.g.dreamhost.com (Postfix) with ESMTP id 2ECA6E00092B; Sun, 16 Jul 2017 16:48:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=content-type :mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=gbiv.com; bh=qOKS48w2Z+1v+8b9re47v59zqK0=; b=EaunFLUm2qdLMiwPgEqL+CpSUGlW bwn0/9MJiebNxIsUbF0H6ATb7tveyjXIpEuUSY/BM3tGjBIyq67xVKAkxaZpGsGf BPFN4zI+xTiqxuowgXlCLFO+1JCNIoIuMCHy+oYXZ0RlfsSyCYSxkKTV88W6+zHa gBHbM5VeUtPPYyM=
Received: from [192.168.1.11] (ip68-228-64-138.oc.oc.cox.net [68.228.64.138]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a59.g.dreamhost.com (Postfix) with ESMTPSA id 66BC2E000927; Sun, 16 Jul 2017 16:48:50 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <CAN40gStKReRYijsKW8tCCoZoHcKinarKCGf+uYSLTinDFs_e0A@mail.gmail.com>
Date: Sun, 16 Jul 2017 16:48:49 -0700
Cc: "\"Martin J. Dürst\"" <duerst@it.aoyama.ac.jp>, Ted Hardie <ted.ietf@gmail.com>, Adam Roach <adam@nostrum.com>, Patrick McManus <mcmanus@ducksong.com>, Mark Nottingham <mnot@mnot.net>, art@ietf.org, Alexey Melnikov <alexey.melnikov@isode.com>
Content-Transfer-Encoding: 7bit
Message-Id: <83749F0F-4D1D-4CA1-9C72-CFAA56F4E773@gbiv.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> <CAN40gSvM118c+JUD8kp-K9Noz7BQxYcnLgAoe5QJCt_V=Zq95w@mail.gmail.com> <cc70eccc-b19f-a966-dc1d-0e67b42eea46@it.aoyama.ac.jp> <CAN40gStKReRYijsKW8tCCoZoHcKinarKCGf+uYSLTinDFs_e0A@mail.gmail.com>
To: Ira McDonald <blueroofmusic@gmail.com>
X-Mailer: Apple Mail (2.2104)
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/ZRQavYYTwZP5g2ux4kvshmXFuok>
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: Sun, 16 Jul 2017 23:48:53 -0000

> On Jul 16, 2017, at 5:41 AM, Ira McDonald <blueroofmusic@gmail.com> wrote:
> 
> Hi Martin,
> 
> I'll try to be more specific:
> 
> IPP uses a unique binary encoding of its primitive datatypes (integer,
> language-tagged string, keyword (registered) as distinct from name
> (vendor free-form), etc.).  So the HTTP payload of IPP is opaque.
> 
> IPP original authors were told that using an HTTP substrate would make 
> penetrating firewalls easier - it didn't of course.  

Umm, what advice are you referring to?  I remember

  ftp://ftp.pwg.org/pub/pwg/ipp/minutes/961212-ietf-bof.txt

and being quite explicit about why that plan was bogus. I also remember
advising that HTTP be used as designed, not tunneled through with an
opaque blob of poorly designed vendor-specific options.

Whatever problems IPP may have encountered after that, they weren't due
to the authors following IETF advice, nor were they due to using HTTP
as a substrate (any more than they were due to using TCP as a substrate).
They might have been due to not inventing a completely new protocol that
performed streaming RPC with opaque data through firewalls, but I think
that's a bit fanciful given the lack of successful examples.

....Roy