Re: [BEHAVE] BitTorrent with shared IP addresses

<pierre.levis@orange-ftgroup.com> Mon, 03 November 2008 12:38 UTC

Return-Path: <behave-bounces@ietf.org>
X-Original-To: behave-archive@optimus.ietf.org
Delivered-To: ietfarch-behave-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 28BDF3A69EB; Mon, 3 Nov 2008 04:38:52 -0800 (PST)
X-Original-To: behave@core3.amsl.com
Delivered-To: behave@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 22F843A69EB for <behave@core3.amsl.com>; Mon, 3 Nov 2008 04:38:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.78
X-Spam-Level:
X-Spam-Status: No, score=-2.78 tagged_above=-999 required=5 tests=[AWL=0.469, BAYES_00=-2.599, HELO_EQ_FR=0.35, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5B16Jv7wfYUy for <behave@core3.amsl.com>; Mon, 3 Nov 2008 04:38:50 -0800 (PST)
Received: from p-mail2.rd.francetelecom.com (p-mail2.rd.francetelecom.com [195.101.245.16]) by core3.amsl.com (Postfix) with ESMTP id D6A663A6832 for <behave@ietf.org>; Mon, 3 Nov 2008 04:38:49 -0800 (PST)
Received: from ftrdmel1.rd.francetelecom.fr ([10.193.117.152]) by ftrdsmtp1.rd.francetelecom.fr with Microsoft SMTPSVC(6.0.3790.1830); Mon, 3 Nov 2008 13:38:42 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Mon, 03 Nov 2008 13:38:41 +0100
Message-ID: <D109C8C97C15294495117745780657AE0AB8F193@ftrdmel1>
In-Reply-To: <01df01c93b79$99a4b640$c3f0200a@cisco.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: BitTorrent with shared IP addresses
thread-index: Ack4D7klS4M1ZXX+R52TmqC2hnfVIAAKo9QAAAoeJZAAMsaucAApJfBgAAeGGXAAWhUDsAAH+QvQAI36luA=
From: pierre.levis@orange-ftgroup.com
To: dwing@cisco.com
X-OriginalArrivalTime: 03 Nov 2008 12:38:42.0124 (UTC) FILETIME=[1A94E0C0:01C93DB1]
Cc: behave@ietf.org
Subject: Re: [BEHAVE] BitTorrent with shared IP addresses
X-BeenThere: behave@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: mailing list of BEHAVE IETF WG <behave.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/behave>, <mailto:behave-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/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>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: behave-bounces@ietf.org
Errors-To: behave-bounces@ietf.org

Ok, I'm going to writte an I-D on this BitTorrent behavior.

Pierre 

-----Message d'origine-----
De : Dan Wing [mailto:dwing@cisco.com] 
Envoyé : vendredi 31 octobre 2008 17:56
À : LEVIS Pierre RD-CORE-CAE
Cc : behave@ietf.org
Objet : RE: BitTorrent with shared IP addresses

> -----Original Message-----
> From: pierre.levis@orange-ftgroup.com 
> [mailto:pierre.levis@orange-ftgroup.com]
> Sent: Friday, October 31, 2008 6:12 AM
> To: dwing@cisco.com
> Cc: behave@ietf.org
> Subject: RE: BitTorrent with shared IP addresses
> 
> The second can download the file when the first has finished and when 
> it has re-launched the bittorent download.
> After further investigation I saw in the BitTorrent seed (BitTorrent 
> 6.0.3)in Options/Preferences/Advanced, the parameter:
> bt.allow_same_ip
> When this parameter is set to false the behavior is as mentioned.
> When this parameter is set to true the two PCs sharing the same IP 
> address can simultaneously download the file.

Thanks for your investigation on this.  Would you be willing to write up an I-D describing this application behavior?  I expect we will find other applications that expect each 'user' has one IP address - which will no longer be true with IPv4 address sharing.  This affects NAT44 (CGN), port borrowing, DS-Lite, and IPv6->IPv4 translation.

I touched on this problem a little bit in http://tools.ietf.org/html/draft-wing-nat-pt-replacement-comparison-02#section
-9.1 but without specifics on BitTorrent, of course.

-d


> Pierre
> 
> -----Message d'origine-----
> De : Dan Wing [mailto:dwing@cisco.com] Envoyé : mercredi 29 octobre 
> 2008 19:22 À : LEVIS Pierre RD-CORE-CAE Cc : behave@ietf.org Objet : 
> RE: BitTorrent with shared IP addresses
> 
>  
> 
> > -----Original Message-----
> > From: pierre.levis@orange-ftgroup.com 
> > [mailto:pierre.levis@orange-ftgroup.com]
> > Sent: Wednesday, October 29, 2008 7:52 AM
> > To: dwing@cisco.com
> > Cc: behave@ietf.org
> > Subject: RE: BitTorrent with shared IP addresses [was RE: 
> > [BEHAVE] TR: I-D Action:draft-boucadair-port-range-00.txt]
> > 
> > Dan,
> > 
> > Yes, the test you carried out work also in our lab (I have
> tested the
> > same torrent download as yours on two different PCs sharing
> the same
> > IP address).
> > 
> > In fact, the result we have mentionned in our draft is from another 
> > test which is much more constrained:
> > 
> > "For one P2P (Peer-to-Peer) application tested, we found that two
> >    peers each behind a CPE sharing the same public address cannot
> >    download a SAME file from a source peer."
> > 
> > By "SAME file from a source peer" we mean a single file on a single 
> > location.
> > Then, the two PCs with the same IP address tried to
> download the file
> > from the very same location, by BitTorrent.
> >
> > So, of course we cannot say that it does not work at all,
> we can only
> > say that it does not work in these very particular conditions.
> 
> Ah, okay.  So the failure occurs when a file that has only one seed in 
> the BitTorrent swarm, like this:
> 
> 
>              PC-A--+
>                     \
>                      NAT--seed
>                     /
>              PC-B--+
> 
> 
> And PC-A is able to download the file, but PC-B can't download the 
> file.
> 
> What happens after PC-A completes downloading the file -- can PC-B 
> start downloading it immediately after PC-A finishes?
> Perhaps after the next tracker update, can PC-B start downloading 
> it?   Or does your testing show that PC-B is *never* able to 
> download the file because PC-A already downloaded it from the seed?
> 
> -d
> 
> 

_______________________________________________
Behave mailing list
Behave@ietf.org
https://www.ietf.org/mailman/listinfo/behave