Return-Path: Delivered-To: apmail-incubator-etch-dev-archive@minotaur.apache.org Received: (qmail 76744 invoked from network); 3 Nov 2010 23:51:30 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Nov 2010 23:51:30 -0000 Received: (qmail 82512 invoked by uid 500); 3 Nov 2010 23:52:01 -0000 Delivered-To: apmail-incubator-etch-dev-archive@incubator.apache.org Received: (qmail 82459 invoked by uid 500); 3 Nov 2010 23:52:01 -0000 Mailing-List: contact etch-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: etch-dev@incubator.apache.org Delivered-To: mailing list etch-dev@incubator.apache.org Received: (qmail 82450 invoked by uid 99); 3 Nov 2010 23:52:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 23:52:01 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of wert1y@mac.com designates 17.148.16.93 as permitted sender) Received: from [17.148.16.93] (HELO asmtpout018.mac.com) (17.148.16.93) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 23:51:53 +0000 MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_01cAn2z6gBuGuFziWxdtbA)" Received: from [192.168.1.105] ([173.172.88.217]) by asmtp018.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0LBC00MKJ29V2500@asmtp018.mac.com> for etch-dev@incubator.apache.org; Wed, 03 Nov 2010 16:51:32 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1011030143 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2010-11-03_07:2010-11-03,2010-11-03,1970-01-01 signatures=0 Message-id: <4CD1F587.2040203@mac.com> Date: Wed, 03 Nov 2010 18:51:35 -0500 From: scott comer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 To: etch-dev@incubator.apache.org Subject: Re: Application protocol URI References: <3D714700369F594EB00BE19F6903DAC3022F5028@SMUCM05V.europe.bmw.corp> In-reply-to: <3D714700369F594EB00BE19F6903DAC3022F5028@SMUCM05V.europe.bmw.corp> X-Virus-Checked: Checked by ClamAV on apache.org --Boundary_(ID_01cAn2z6gBuGuFziWxdtbA) Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT well, "tcp:..." doesn't entirely mean tcp, but rather is just a conveniently picked name which is bound to a transport stack factory. tls is tcp with tls stream encryption. tcp2 is tcp as well, but with a selector scheme for managing sockets. tls2 is tcp2 with tls encryption. your uri scheme is up to you, you can call it udp or something else. there is possibly a length limitation on schemes. and we can always argue about it later, so don't let it drag you down. mnemonic is ok, but i wouldn't go overboard. you can also use uri query terms to select options: udp://host:port?UdpTransport.reliable=true&UdpTransport.encrption=aes256&UdpTransport.encryptionKey=somesecretkey there are several main option groups: * reliability (delivery guaranty) * encryption * tamper resistance (mac) * session / connection management * authentication anyone got any more? mainly, both ends have to have more or less the same scheme and options selected. the best practice in a complex setup is to use the name service to abstract uris. have fun! scott out On 11/3/2010 4:36 AM, Kay.Weckemann@bmw.de wrote: > Hi, > an issue concerning the URI: Right now, only the transport protocol is part of the URI (e.g. tcp:://...). > > Shouldn't there be a hint to the application protocol, e.g. etch_tcp:://... which seems more appropriate? The question arises e.g. with the UDP extensions, which could provide different application semantics like "reliable_etch_udp" or "maybe_etch_udp". These protocols could use different headers, so it could be needed to distinguish between different application protocols in the URI. > > Best regards, > Kay Weckemann > BMW Group > Research and Technology > --Boundary_(ID_01cAn2z6gBuGuFziWxdtbA)--