Re: [hybi] Websocket: two protocols into one, and Internet rules broken
Willy Tarreau <w@1wt.eu> Thu, 16 June 2011 14:40 UTC
Return-Path: <w@1wt.eu>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8A5A411E818E for <hybi@ietfa.amsl.com>; Thu, 16 Jun 2011 07:40:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.13
X-Spam-Level:
X-Spam-Status: No, score=-4.13 tagged_above=-999 required=5 tests=[AWL=-2.987, BAYES_00=-2.599, HELO_IS_SMALL6=0.556, J_CHICKENPOX_43=0.6, MIME_8BIT_HEADER=0.3]
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 m8DLAy9VoxQT for <hybi@ietfa.amsl.com>; Thu, 16 Jun 2011 07:40:29 -0700 (PDT)
Received: from 1wt.eu (1wt.eu [62.212.114.60]) by ietfa.amsl.com (Postfix) with ESMTP id 9F75C11E80F0 for <hybi@ietf.org>; Thu, 16 Jun 2011 07:40:28 -0700 (PDT)
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id p5GEeKHE028369; Thu, 16 Jun 2011 16:40:20 +0200
Date: Thu, 16 Jun 2011 16:40:20 +0200
From: Willy Tarreau <w@1wt.eu>
To: Iñaki Baz Castillo <ibc@aliax.net>
Message-ID: <20110616144020.GA28336@1wt.eu>
References: <BANLkTim4pKwx6wYC3WwXFWET+gx0bnjigQ@mail.gmail.com> <4DFA08A5.3010608@weelya.com> <BANLkTi=JGeFmkYcwqQJ_xe=3CGrXwHxHPg@mail.gmail.com> <4DFA1173.9050509@weelya.com> <BANLkTi=LAiw+JvCOc3VPrXnmog7AkSWwCw@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <BANLkTi=LAiw+JvCOc3VPrXnmog7AkSWwCw@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Cc: hybi@ietf.org
Subject: Re: [hybi] Websocket: two protocols into one, and Internet rules broken
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Jun 2011 14:40:29 -0000
On Thu, Jun 16, 2011 at 04:28:24PM +0200, Iñaki Baz Castillo wrote: > 2011/6/16 Anthony Catel <a.catel@weelya.com>: > > I mean, it the browser can open a "raw" TCP connection and implement any > > kind of protocol. > > This must lead to a prompt "Do you allow your browser to open a connection > > to xxxx:xxx?" which I think it's not suitable for user experience. > > I never said that a web browser should allow opening any kind of > communication with a remote server :) > > I just said that, if it's standarized, why not to allow a web browser > to directly speak other protocols as SIP or XMPP? I don't mean raw > speaking such protocol from JavaScript or whatever, that should be not > allowed as per security reasons. I mean that web browsers could > implement a SIP and/or XMPP client and provide an API (i.e. for > JavaScript) to use it (the very same as WebSocket proposes). Security > would be built-in within the browser implementation. > > PS: I don't want web browsers implementing SIP or XMPP, it was just an > example ;) Those subjects were discussed to great extent last year. One of the points was to reuse existing infrastructure (filtering, proxying, load balancing). Another one was that a protocol relying on existing infrastructure and policy rules will get faster adoption than one which requires new ports to be qualified then opened at many places for the protocol to work. Many of us are used to work at places where only 80 is opened via proxies, 443 is on a white-list and nothing else is allowed. In such environments, XHR has been working well precisely because it did not require revisiting established policies. Regards, Willy
- Re: [hybi] Websocket: two protocols into one, and… Anthony Catel
- [hybi] Websocket: two protocols into one, and Int… Iñaki Baz Castillo
- Re: [hybi] Websocket: two protocols into one, and… Iñaki Baz Castillo
- Re: [hybi] Websocket: two protocols into one, and… Anthony Catel
- Re: [hybi] Websocket: two protocols into one, and… Iñaki Baz Castillo
- Re: [hybi] Websocket: two protocols into one, and… Willy Tarreau
- Re: [hybi] Websocket: two protocols into one, and… Anthony Catel
- Re: [hybi] Websocket: two protocols into one, and… Joel Martin
- Re: [hybi] Websocket: two protocols into one, and… Ian Fette (イアンフェッティ)
- Re: [hybi] Websocket: two protocols into one, and… Joel Martin
- Re: [hybi] Websocket: two protocols into one, and… Ian Fette (イアンフェッティ)
- Re: [hybi] Websocket: two protocols into one, and… Willy Tarreau
- Re: [hybi] Websocket: two protocols into one, and… Philipp Serafin
- Re: [hybi] Websocket: two protocols into one, and… Joel Martin
- Re: [hybi] Websocket: two protocols into one, and… Joel Martin
- Re: [hybi] Websocket: two protocols into one, and… Iñaki Baz Castillo
- Re: [hybi] Websocket: two protocols into one, and… Ian Fette (イアンフェッティ)
- Re: [hybi] Websocket: two protocols into one, and… Dave Cridland