SRV and http(s) (was Re: [hybi] Last Call: <draft-ietf-hybi-thewebsocketprotocol-10.txt> (The WebSocket protocol) to Proposed Standard)

Masataka Ohta <mohta@necom830.hpcl.titech.ac.jp> Fri, 22 July 2011 05:02 UTC

Return-Path: <mohta@necom830.hpcl.titech.ac.jp>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BFC9C1F0C37 for <ietf@ietfa.amsl.com>; Thu, 21 Jul 2011 22:02:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.089
X-Spam-Level:
X-Spam-Status: No, score=-0.089 tagged_above=-999 required=5 tests=[AWL=-0.001, BAYES_00=-2.599, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265, WEIRD_PORT=0.001]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XcsHwdkMDli9 for <ietf@ietfa.amsl.com>; Thu, 21 Jul 2011 22:02:54 -0700 (PDT)
Received: from necom830.hpcl.titech.ac.jp (necom830.hpcl.titech.ac.jp [131.112.32.132]) by ietfa.amsl.com (Postfix) with SMTP id EE9911F0C36 for <ietf@ietf.org>; Thu, 21 Jul 2011 22:02:53 -0700 (PDT)
Received: (qmail 22079 invoked from network); 22 Jul 2011 05:21:11 -0000
Received: from necom830.hpcl.titech.ac.jp (HELO ?127.0.0.1?) (131.112.32.132) by necom830.hpcl.titech.ac.jp with SMTP; 22 Jul 2011 05:21:11 -0000
Message-ID: <4E290442.3010402@necom830.hpcl.titech.ac.jp>
Date: Fri, 22 Jul 2011 14:01:54 +0900
From: Masataka Ohta <mohta@necom830.hpcl.titech.ac.jp>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-Version: 1.0
To: Mark Andrews <marka@isc.org>
Subject: SRV and http(s) (was Re: [hybi] Last Call: <draft-ietf-hybi-thewebsocketprotocol-10.txt> (The WebSocket protocol) to Proposed Standard)
References: <20110711140229.17432.23519.idtracker@ietfa.amsl.com> <CALiegfk0zVVRBbOP4ugsVXKmcLnryujP6DZqF6Bu_dC2C3PpeQ@mail.gmail.com> <9031.1311082001.631622@puncture> <CALiegfk_GLAhAf=yEe6hYw2bwtxEwg9aJN+f0Bm9he5QgsRavA@mail.gmail.com> <CAP992=Ft6NwG+rbcuWUP0npwVNHY_znHmXmznBQO_krMo3RT6g@mail.gmail.com> <CALiegfmTWMP3GhS1-k2aoHHXkUkB+eWqV=2+BufuWVR1s2Z-EA@mail.gmail.com> <20110721163910.GA16854@1wt.eu> <CAP992=FrX5VxP2o0JLNoJs8nXXba7wbZ6RN9wBUYC0ZSN_wbAg@mail.gmail.com> <9031.1311270000.588511@puncture> <4E28C035.6020009@necom830.hpcl.titech.ac.jp> <20110722021627.48D811211E54@drugs.dv.isc.org>
In-Reply-To: <20110722021627.48D811211E54@drugs.dv.isc.org>
Content-Type: text/plain; charset="ISO-2022-JP"
Content-Transfer-Encoding: 7bit
Cc: ietf@ietf.org
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2011 05:02:54 -0000

Mark Andrews wrote:

> Transitioning HTTP to use SRV is trivial even with proxies.
> 
> Transitioning HTTPS to use SRV is complicated because of proxies.
> There needs to be changes to how clients talk to proxies for HTTPS
> + SRV to work through proxies.

What's wrong with:

   https://www.example.com
   _https._tcp.www.example.com SRV 0 1 100 server.example.org

   CONNECT server.example.org:100 HTTP/1.1
   Host: www.example.com

?

> HTTP and HTTPS's use of the DNS is a abomination.  CNAME is totally
> misused.  If you want to host a service on another machine you use
> a record that indicates that.  You don't use a alias because aliases
> mean so much more.

What's wrong with:

   https://www.example.com
   _https._tcp.www.example.com SRV 0 1 100 server.example.org
   server.example.org CNAME cname.example.org

   CONNECT server.example.org:100 HTTP/1.1
   Host: www.example.com

?

						Masataka Ohta