Re: [Uri-review] URI scheme registration request

John Wason <wason@wasontech.com> Sat, 14 November 2015 05:32 UTC

Return-Path: <wason@wasontech.com>
X-Original-To: uri-review@ietfa.amsl.com
Delivered-To: uri-review@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9A4711B3913 for <uri-review@ietfa.amsl.com>; Fri, 13 Nov 2015 21:32:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
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 Kb_Ytr-Ms-aA for <uri-review@ietfa.amsl.com>; Fri, 13 Nov 2015 21:32:23 -0800 (PST)
Received: from mail-qk0-x22e.google.com (mail-qk0-x22e.google.com [IPv6:2607:f8b0:400d:c09::22e]) (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 5B8181B3911 for <uri-review@ietf.org>; Fri, 13 Nov 2015 21:32:23 -0800 (PST)
Received: by qkao63 with SMTP id o63so68659219qka.2 for <uri-review@ietf.org>; Fri, 13 Nov 2015 21:32:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wasontech_com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type; bh=EGcTV38skLp89xsZZ5MjCwzqf7/a5AsTGfLVexua1Ik=; b=HV8iwuNN4FldvYh4QtDHdOZH4l6YEW7EofX0CDuZV3VpHP7UOdxWJZLkiN7qZs1OFC 8T1c5XZEbS+id8EkZ2a2PlLrcWFaZBeELafyCpb2NTrfBAxUokthtvuyXteZ+62WYeUB zi/voMbwgAM0n/4qZo8ucBY8saoGM1Puj32ppG0BgF7+aT8BT5Asm34TlsT5wgXBlqUY 5R412v8JTKXTvf18J10cmiiBrqS+V5GMjM6MLghqeMbA4L6Fuv9ydXomYVvhVG9LRm6h EHAG7QzVi8YbxSTfAdH1pc3W/qDaw2RoifHn089SGRBXg9L7n3bP9jL+iqqq4IF7lP19 7dgg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type; bh=EGcTV38skLp89xsZZ5MjCwzqf7/a5AsTGfLVexua1Ik=; b=G3SXQoaWFLb5TyE4WTyF/8OTHalQskGKRUUWbyy49RGBWd4kPLpIQsFgjZ00ZlaES3 PmOkME5WRT0JSLOVLaCXMzKhoLc65sALP5ClrNCYUpXWEBMHLERzdZiAJfDq2a3J4nYR SGJUNovNE1scQ8q3RVmtnJUePJMhz6aLs7/3KfBbdIjaOfvNRJDQcOqQ46MdD3yzMhgS p8EeRl5tm3A5Iq1bA2euhklGpnVspp1ujro3VrYa+JQ9CWk6mR7MO5iWsBiN+3QQTQuq wuV9g5eTxc7/DUf+3aEJLeQ+hWVi663YNCEZdjbX8uNymt3yJxKktr/0yNy5DqV3obf9 +Yew==
X-Gm-Message-State: ALoCoQlv5j9dSos7IEgLXnec5iPnsTyFPVU1yZsMQaRx8knnpPYAvXVm855O7rOv4BqMLgV+fcwo
X-Received: by 10.140.143.17 with SMTP id 17mr27864813qhp.36.1447479142477; Fri, 13 Nov 2015 21:32:22 -0800 (PST)
Received: from [192.168.1.94] (ool-44c6b4b5.dyn.optonline.net. [68.198.180.181]) by smtp.googlemail.com with ESMTPSA id b204sm6160881qhb.21.2015.11.13.21.32.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Nov 2015 21:32:21 -0800 (PST)
To: David_Warden@Dell.com, uri-review@ietf.org
References: <564531FC.7000606@wasontech.com> <2D58682309E75147BB3B286C815CAC7E2ACD0A184B@AUSX7MCPS308.AMER.DELL.COM>
From: John Wason <wason@wasontech.com>
Message-ID: <5646C765.4050907@wasontech.com>
Date: Sat, 14 Nov 2015 00:32:21 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <2D58682309E75147BB3B286C815CAC7E2ACD0A184B@AUSX7MCPS308.AMER.DELL.COM>
Content-Type: multipart/alternative; boundary="------------070101040700070708070108"
Archived-At: <http://mailarchive.ietf.org/arch/msg/uri-review/mg3b7JfXH1cBmGSL9lfBoWxgLAg>
Subject: Re: [Uri-review] URI scheme registration request
X-BeenThere: uri-review@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Proposed URI Schemes <uri-review.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uri-review>, <mailto:uri-review-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uri-review/>
List-Post: <mailto:uri-review@ietf.org>
List-Help: <mailto:uri-review-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uri-review>, <mailto:uri-review-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Nov 2015 05:32:26 -0000

Would a web browser be able to understand a question mark in the URI?  
For instance, this is what a current URI looks like:

tcp://192.168.1.2:48653/{7269993b-c6b0-4135-ba55-8129a9cc6402}/example.create.Create

This is obviously not going to work if I want to have a URI that can 
detect the protocol.  So would this:

rr://192.168.1.2:48653?transport=tcp/{7269993b-c6b0-4135-ba55-8129a9cc6402}/example.create.Create

be considered a valid URI if I were to write a plugin for a web browser 
that understands the "rr" scheme?

On 11/14/2015 12:02 AM, David_Warden@Dell.com wrote:
>
> John,
>
> My suggestion is that you use a single “rr” URI scheme for all the 
> variants. I suspect the client will more often know what transports 
> are available than the URI generator will. While they probably have 
> meaning to you, the variants aren’t all that descriptive in general. 
> For example, I can tunnel TCP over USB and you can’t be much more 
> nebulous than “cloud”. If you try and register each variant, it will 
> make it harder on firewall administrators (for instance) who want to 
> handle (allow/disallow) all rr protocols the same way (in principle). 
> It will also clutter the parameters registry.
>
> You could include parameters to handle the variants like 
> rr://foo?transport=tcp&security=tls. You will probably need to define 
> parameters anyway if you want to constrain the TLS negotiation at all 
> (say by including the remote certificate thumbprint) or your other 
> protocol details like PCI slot. You could define these in an RFC or 
> other document.
>
> Regards,
>
> David
>
> (The above reflects my personal opinion and not necessarily that of my 
> employer.)
>
> *From:*Uri-review [mailto:uri-review-bounces@ietf.org] *On Behalf Of 
> *John Wason
> *Sent:* Thursday, November 12, 2015 6:43 PM
> *To:* uri-review@ietf.org
> *Subject:* [Uri-review] URI scheme registration request
>
> Scheme Name:
>
> The requested scheme improvement is for use with Robot Raconteur, a 
> communication framework for robotics and automation. It will have the 
> basic form "rr://" for unsecured transport and "rrs://" for transports 
> secured using StartTLS channel upgrade.  Because Robot Raconteur is 
> capable of running over multiple transports, the scheme will also need 
> to specify which transport to use.  This will be accomplished using 
> the "rr" "plus" /transport type/.  Currently in use transport schemes are:
>
> rr://foo - Cloud Transport (always secure)
> rr+cloud://foo - Cloud Transport (always secure)
> rr+tcp://foo - TCP Transport
> rrs+tcp://foo - TCP secure transport
> rr+usb://localhost - USB transport
> rr+pci://localhost - PCI/PCIe transport
>
> Possible schemes for future use with websockets (currently not used)
> rr+ws://foo
> rrs+ws://foo
> rr+wss://foo
> rrs+wss://foo
>
> Status:
> Provisional
>
> Application/protocols that use this scheme name:
> None
>
> Contact:
> John Wason
> Wason Technology, LLC
> PO Box 669
> Tuxedo, NY 10987
> +1-518-279-6234
> wason@wasontech.com <mailto:wason@wasontech.com>
>
> Change controller:
> John Wason
> Wason Technology, LLC
> PO Box 669
> Tuxedo, NY 10987
> +1-518-279-6234
> wason@wasontech.com <mailto:wason@wasontech.com>
>
> Reference:
> Robot Raconteur is currently a proprietary software project. All 
> documentation can be found at http://robotraconteur.com/documentation 
> .  It currently has port 48653 officially registered for TCP and UDP 
> use along with the host names "robotraconteur" and "rr-discovery".  
> Standardization is of interest however the exact method and commercial 
> implications are still being investigated.
>
> Scheme Syntax:
> See "Scheme Name"
>
> Scheme semantics:
> Each scheme will point to a host (and possibly port).  The host will 
> be "localhost" for the hardware based protocols.
>
> Definition of Operations:
> Asynchronous message stream using binary protocol.
>
> Context of Use:
> Robot Raconteur communication protocol over port 48653 (where applicable).
>
> Internationalization and Character Encoding:
> All strings in the message stream are encoded as UTF-8 and do not have 
> any security implications.  The only part of the URI expecting to 
> contain international characters are hostnames registered through DNS.
>
> Security considerations:
> Robot Raconteur is mainly used for communication over the local 
> network except for the cloud transport.  All transports over the 
> internet use TLS or DTLS security using certificates matched to each 
> node through a UUID unless the user specifically uses unsecured TCP.  
> Nodes can be secured using password and certificate based 
> authentication. The transport itself is immune to parsing attacks as 
> it uses length prefixes for all data fields.
>
>
> -- 
> John Wason, Ph.D.
> Wason Technology, LLC
> PO Box 669
> Tuxedo, NY 10987
> (518) 279-6234
> wason@wasontech.com <mailto:wason@wasontech.com>


-- 
John Wason, Ph.D.
Wason Technology, LLC
PO Box 669
Tuxedo, NY 10987
(518) 279-6234
wason@wasontech.com