Re: [tram] New Version Notification for draft-williams-peer-redirect-02.txt

"Pal Martinsen (palmarti)" <palmarti@cisco.com> Mon, 12 January 2015 10:53 UTC

Return-Path: <palmarti@cisco.com>
X-Original-To: tram@ietfa.amsl.com
Delivered-To: tram@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2BB151A87E2 for <tram@ietfa.amsl.com>; Mon, 12 Jan 2015 02:53:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 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_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] 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 Gkr6ahBQS3ya for <tram@ietfa.amsl.com>; Mon, 12 Jan 2015 02:53:38 -0800 (PST)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C3B4B1A8ABF for <tram@ietf.org>; Mon, 12 Jan 2015 02:53:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5588; q=dns/txt; s=iport; t=1421060018; x=1422269618; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=2c3bReLvoIZkHsDNrbMRceso/ucjhvtKaY/O2sZFG1U=; b=Mqt6YKG9dQNV4CDU0QBb66Ni3DsvZX6mXzQGCnUo72CGzlfuJlOt70DU rwCe4vfznNW8cH3C8AW/hTMO6zE5+UVItiECww0/Tn+YSSKC1sLzaAOjf f4vDnH4uk99dehuoyYOX/VGKNUiMSQEeeudYsPLAlN7jyWv1ItEfMTRZ/ M=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ai8GAKyms1StJV2d/2dsb2JhbABRCoMGUlyDAcJwCoVxAhx1QwEBAQEBfYQMAQEBAwEBAQEgEToJAgUHBAIBCBEEAQEBAgIjAwICAiULFAEICAIECgQFiCQIDbd5kygBAQEBAQEBAQEBAQEBAQEBAQEBAQEXgSGNbQ8pGBsHBoJiLoETBY49g0WFSIE/kDkig25vAYFEfgEBAQ
X-IronPort-AV: E=Sophos;i="5.07,743,1413244800"; d="scan'208";a="386185572"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by rcdn-iport-8.cisco.com with ESMTP; 12 Jan 2015 10:53:37 +0000
Received: from xhc-rcd-x08.cisco.com (xhc-rcd-x08.cisco.com [173.37.183.82]) by rcdn-core-6.cisco.com (8.14.5/8.14.5) with ESMTP id t0CAraEM015508 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 12 Jan 2015 10:53:36 GMT
Received: from xmb-rcd-x06.cisco.com ([169.254.6.6]) by xhc-rcd-x08.cisco.com ([173.37.183.82]) with mapi id 14.03.0195.001; Mon, 12 Jan 2015 04:53:36 -0600
From: "Pal Martinsen (palmarti)" <palmarti@cisco.com>
To: Aijun Wang <wangaijun@tsinghua.org.cn>
Thread-Topic: [tram] New Version Notification for draft-williams-peer-redirect-02.txt
Thread-Index: AQHQLlYD1vVpMOw2XUifqgCvgED9WQ==
Date: Mon, 12 Jan 2015 10:53:36 +0000
Message-ID: <945F0E46-220B-4D09-95B5-E933043CCD09@cisco.com>
References: <20141229215347.25322.7080.idtracker@ietfa.amsl.com> <54A1CFC0.6030000@akamai.com> <003401d02978$21689220$6439b660$@org.cn> <54ADA694.9010300@akamai.com> <005b01d02ae3$17832d80$46898880$@org.cn> <54AECBD9.5010903@akamai.com> <008e01d02bb5$9f058b40$dd10a1c0$@org.cn> <54B00B30.20508@akamai.com> <008b01d02e00$c1be3450$453a9cf0$@org.cn>
In-Reply-To: <008b01d02e00$c1be3450$453a9cf0$@org.cn>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.61.161.85]
Content-Type: text/plain; charset="utf-8"
Content-ID: <E72FCAB490137A41BBE85A9F4B5AA6B8@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/tram/4UF0IhBdCBvrHSjagh_gamDo4Y8>
Cc: "tram@ietf.org" <tram@ietf.org>, Brandon Williams <bowill@akamai.com>
Subject: Re: [tram] New Version Notification for draft-williams-peer-redirect-02.txt
X-BeenThere: tram@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Discussing the creation of a Turn Revised And Modernized \(TRAM\) WG, which goal is to consolidate the various initiatives to update TURN and STUN." <tram.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tram>, <mailto:tram-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tram/>
List-Post: <mailto:tram@ietf.org>
List-Help: <mailto:tram-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tram>, <mailto:tram-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Jan 2015 10:53:40 -0000

Hi Aijun,

TURN was originally written as a backup service when ICE fails. It also did provide fallback when ICE clients wanted to talk to non-ICE clients (But then the default candidate must be set to the relay address. The point is that the allocated public RELAY address on the turn server works as a normal UDP (or TCP if that is in use) port. That means that any client can send its RTP packet or whatever as normal without any knowledge regarding TURN.As long as the client have installed the necessary permissions.

If the to TURN servers are needed due to restricting FWs the traffic between the two public RELAY addresses will be pure UDP or TCP.  No need for any additional information. 

With ICE it might be possible to end up with asymmetrical routing. Not sure how common that is. I am inclined to blame the network if that occurs, ICE only probes and ties to get the packets through. 

I do not understand what you are trying to solve below.

.-.
Pål-Erik

> On 12 Jan 2015, at 01:43, Aijun Wang <wangaijun@tsinghua.org.cn> wrote:
> 
> Hi, Brandon:
> 
> In http://tools.ietf.org/html/draft-ietf-tram-turnbis-00#section-10.1, it is
> described as below:
> 
> When forming a Send indication, the client MUST include an XOR-PEER-
>   ADDRESS attribute and a DATA attribute.  The XOR-PEER-ADDRESS
>   attribute contains the transport address of the peer to which the
>   data is to be sent, and the DATA attribute contains the actual
>   application data to be sent to the peer.
> 
> So, there is no XOR-RELAYED-ADDRESS attribute included to identify the
> peer's allocated relay address. On the other hand, XOR-RELAYED-ADDRESS is
> mainly refer to the requester's allocated relay address, not the
> corresponding peer. Will we define again one new attribute, such as
> XOR-PEER-RELAYED-ADDRESS to transfer the next TURN server's information?
> 
> Even if so, what will be the source address for the packet from the second
> TURN server to destination peer? If we use the XOR-RELAYED-ADDRESS, then the
> return packet from the peer will be passed back directly to the first TURN
> server, results in non-symmetric route. If we use XOR-PEER-RELAYED-ADDRESS,
> then what is the source address for the packet from the second TURN server
> back to the first TURN server?
> 
> Best Regards.
> 
>> -----Original Message-----
>> From: Brandon Williams [mailto:bowill@akamai.com]
>> Sent: Saturday, January 10, 2015 1:09 AM
>> To: Aijun Wang; tram@ietf.org
>> Subject: Re: [tram] Fwd: New Version Notification for
>> draft-williams-peer-redirect-02.txt
>> 
>> By relay address, I mean the XOR-RELAYED-ADDRESS returned in the
> allocation
>> request. This clearly identifies the true source and destination for the
> data in
>> the packet as well as the two relay servers involved. If both relayed
> addresses
>> are on the same server, it will of course know that and be able to
> optimize as
>> Simon indicated in an earlier e-mail.
>> 
>> --Brandon
>> 
>> On 01/08/2015 09:40 PM, Aijun Wang wrote:
>>> 
>>> [Aijun]: There are two relay address, one is the TURN server
>>> well-known address, another is the relay address that allocated to
>>> each client. Which one should be used then? On the other hand, when
>>> client want to send traffic to other peer, it does not know whether
>>> the other part is under the same TURN server or not, how do it select
> this
>> information?
>>> 
>> 
>>> 
>>> [Aijun]: as the definition in
>>> http://tools.ietf.org/html/draft-ietf-tram-turnbis-00#section-14.3,
>>> the XOR-PEER-ADDRESS is the address seen from the TURN server, so it
>>> can't be used to find the relay address of the remote peer, and then
>>> can't be used to direct traffic to downstream relay.
>>> 
>>> 
>> 
>> 
>> --
>> Brandon Williams; Senior Principal Software Engineer Emerging Products
>> Engineering; Akamai Technologies Inc.
> 
> 
> 
> _______________________________________________
> tram mailing list
> tram@ietf.org
> https://www.ietf.org/mailman/listinfo/tram