Re: [BEHAVE] p2p applications using STUNT and EIM NATs for TCP

"Tirumaleswar Reddy (tireddy)" <tireddy@cisco.com> Fri, 21 June 2013 02:32 UTC

Return-Path: <tireddy@cisco.com>
X-Original-To: behave@ietfa.amsl.com
Delivered-To: behave@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 491F421F994A for <behave@ietfa.amsl.com>; Thu, 20 Jun 2013 19:32:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level:
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N9PrZWaPqPxo for <behave@ietfa.amsl.com>; Thu, 20 Jun 2013 19:32:20 -0700 (PDT)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) by ietfa.amsl.com (Postfix) with ESMTP id 430B921F91CE for <behave@ietf.org>; Thu, 20 Jun 2013 19:32:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8734; q=dns/txt; s=iport; t=1371781940; x=1372991540; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=87KWj7r76JKapipL9xLRVcxKikhDbWMLb9wjSUBZONI=; b=DyF5cOsu+q+zC7LdcRXvqe+Ntv01iZQJJABWrcpR30CKQPYPgSh+5Xit 288fhhT1nfCSdNH2S2O2xObb9T7Llf9MovTHHWGkeUoI883/S05aN94PX uo3IFxMXNU5BDmyUhaJy3fkVrmUjZJwUH6H9dEM3yu5c41azM3zN+N0Lg U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AsIFAD66w1GtJXG+/2dsb2JhbABbgkVEMUmFZLEPhmGBYoECFnSCIwEBAQQBAQEqQAELEAIBCBEEAQELHQcnCxQJCAIEAQ0FCIgGDLwqjxgxBgGDAGEDmGyQG4E0gVuCKA
X-IronPort-AV: E=Sophos; i="4.87,909,1363132800"; d="scan'208,217"; a="225666033"
Received: from rcdn-core2-3.cisco.com ([173.37.113.190]) by rcdn-iport-4.cisco.com with ESMTP; 21 Jun 2013 02:32:19 +0000
Received: from xhc-rcd-x09.cisco.com (xhc-rcd-x09.cisco.com [173.37.183.83]) by rcdn-core2-3.cisco.com (8.14.5/8.14.5) with ESMTP id r5L2WJsK015955 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 21 Jun 2013 02:32:19 GMT
Received: from xmb-rcd-x10.cisco.com ([169.254.15.56]) by xhc-rcd-x09.cisco.com ([173.37.183.83]) with mapi id 14.02.0318.004; Thu, 20 Jun 2013 21:32:18 -0500
From: "Tirumaleswar Reddy (tireddy)" <tireddy@cisco.com>
To: "Dan Wing (dwing)" <dwing@cisco.com>, "ivan@cacaoweb.org" <ivan@cacaoweb.org>
Thread-Topic: [BEHAVE] p2p applications using STUNT and EIM NATs for TCP
Thread-Index: AQHObejGeFKfTZ+QUUuM98+t+t5hoJk/ch8A
Date: Fri, 21 Jun 2013 02:32:17 +0000
Message-ID: <913383AAA69FF945B8F946018B75898A14B899A8@xmb-rcd-x10.cisco.com>
References: <cede1171c9c67a89094bab7eeadcadfa@cacaoweb.org> <6728C5CA-F1DD-4564-A218-E4809BF92B6F@cisco.com>
In-Reply-To: <6728C5CA-F1DD-4564-A218-E4809BF92B6F@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.65.74.116]
Content-Type: multipart/alternative; boundary="_000_913383AAA69FF945B8F946018B75898A14B899A8xmbrcdx10ciscoc_"
MIME-Version: 1.0
Cc: Behave <behave@ietf.org>
Subject: Re: [BEHAVE] p2p applications using STUNT and EIM NATs for TCP
X-BeenThere: behave@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: mailing list of BEHAVE IETF WG <behave.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/behave>, <mailto:behave-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/behave>
List-Post: <mailto:behave@ietf.org>
List-Help: <mailto:behave-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/behave>, <mailto:behave-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Jun 2013 02:32:25 -0000

Another example would be ICE support for TCP http://tools.ietf.org/html/rfc6544 using simultaneous-open between ICE TCP candidates exchanged in offer/answer.

--Tiru.
From: Dan Wing (dwing)
Sent: Thursday, June 20, 2013 9:20 AM
To: ivan@cacaoweb.org
Cc: Behave
Subject: Re: [BEHAVE] p2p applications using STUNT and EIM NATs for TCP


On Jun 18, 2013, at 10:25 AM, ivan c <ivan@cacaoweb.org<mailto:ivan@cacaoweb.org>> wrote:



Hello,

Does any of you has examples of applications that use a STUNT server together with an EIM NAT for TCP?

This is the single purpose (besides the convenience of the implementation) of having an EIM NAT in the first place: performing port prediction with the help of a STUNT server.
I don't think you mean 'port prediction' where the software is trying to guess the next-used port ("predicting"), but I believe you mean learning the external IP address and TCP port (by talking to a TCP server on the Internet) and communicating that learned address/port to a rendezvous server of some kind (DNS server, SIP server, game server, whatever).



Surprisingly, I am not aware of any applications that rely on that. All the p2p applications that I know of use different techniques for TCP Hole Punching or use other alternatives, such as UPnP, port forwarding, etc.
I found this discussion of folks utilizing TCP hole punching (as I summarized above) for their projects, http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/d82f5cd9-b33c-4ea6-aeef-e489750021e4/tcp-simultaneous-open-for-tcp-hole-punching.

-d




It would be important to somewhat quantify the usage of this technique in the wild.


--

Ivan Chollet
_______________________________________________
Behave mailing list
Behave@ietf.org<mailto:Behave@ietf.org>
https://www.ietf.org/mailman/listinfo/behave