Re: [P2PSIP] Peer protocol, DHT and running code

Enrico Marocco <enrico.marocco@telecomitalia.it> Wed, 20 June 2007 19:15 UTC

Return-path: <p2psip-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1I15en-0002OW-NQ; Wed, 20 Jun 2007 15:15:57 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1I15el-0002O9-R2 for p2psip@ietf.org; Wed, 20 Jun 2007 15:15:55 -0400
Received: from maild.telecomitalia.it ([156.54.233.30]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1I15el-0000da-1a for p2psip@ietf.org; Wed, 20 Jun 2007 15:15:55 -0400
Received: from ptpxch007ba020.idc.cww.telecomitalia.it ([156.54.240.50]) by maild.telecomitalia.it with Microsoft SMTPSVC(6.0.3790.1830); Wed, 20 Jun 2007 21:15:53 +0200
Received: from ptpxch005ba020.idc.cww.telecomitalia.it ([156.54.240.44]) by ptpxch007ba020.idc.cww.telecomitalia.it with Microsoft SMTPSVC(6.0.3790.1830); Wed, 20 Jun 2007 21:15:53 +0200
Received: from [127.0.0.1] ([163.162.180.246]) by ptpxch005ba020.idc.cww.telecomitalia.it over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Wed, 20 Jun 2007 21:15:52 +0200
Message-ID: <46797DF0.3010501@telecomitalia.it>
Date: Wed, 20 Jun 2007 21:20:16 +0200
From: Enrico Marocco <enrico.marocco@telecomitalia.it>
User-Agent: Icedove 1.5.0.10 (X11/20070329)
MIME-Version: 1.0
To: Philip Matthews <philip_matthews@magma.ca>
Subject: Re: [P2PSIP] Peer protocol, DHT and running code
References: <4674F5ED.9070000@telecomitalia.it> <f40963db0706191517g71d341dcwcad156c0fbd7e906@mail.gmail.com> <67BCA82D-C9AD-47F2-B947-F0A93BA7FB00@magma.ca> <4678FED7.4040103@telecomitalia.it> <71DB479B-70E1-4434-8F4A-EE70F8AFD9C8@magma.ca>
In-Reply-To: <71DB479B-70E1-4434-8F4A-EE70F8AFD9C8@magma.ca>
X-OriginalArrivalTime: 20 Jun 2007 19:15:52.0559 (UTC) FILETIME=[6B422FF0:01C7B36F]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: b1c41982e167b872076d0018e4e1dc3c
Cc: P2PSIP Mailing List <p2psip@ietf.org>
X-BeenThere: p2psip@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Peer-to-Peer SIP working group discussion list <p2psip.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/p2psip>, <mailto:p2psip-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/p2psip>
List-Post: <mailto:p2psip@ietf.org>
List-Help: <mailto:p2psip-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/p2psip>, <mailto:p2psip-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0577040080=="
Errors-To: p2psip-bounces@ietf.org

Philip Matthews wrote:
>> Actually, I don't think we really need to tunnel SIP over the peer
>> protocol.  In the PCAN draft
>> (http://tools.ietf.org/id/draft-marocco-p2psip-xpp-pcan-00.txt) we
>> address the issue of NAT traversal the following way:
>>
>> 1) clients that need to do so would keep sip-outbound connections with
>>    peers.
>> 2) peers that handle sip-outbound flows for some clients would store
>>    routing records containing the full path to the client.
>>
>> Here's an example: imagine client C registers with peer B and
>> establishes an outbound flow with it. C's routing record (inserted in
>> the overlay by B) will contain two hops: B's contact and C's
>> contact/gruu.  In case B is also suffering restricted connectivity, this
>> would mean that it too would have an outbound flow with another peer,
>> say A. In this case (which is pretty unlikely, because if B is
>> restricted it probably won't be able to receive REGISTER requests form
>> C), C's routing record would contain three hops.
>>
>> Having said that, it's probably worth noting that we have not yet
>> decided whether this approach is better compared to routing SIP messages
>> inside the overlay. Both are easily implementable with XPP and XPP-PCAN
>> so I guess we'd need to discuss this further before we really made up
>> our minds.
> 
> I assume that your peers have public IP addresses.

No, not all peers need to have public addresses.  Restricted peers
receive SIP requests on sip-outbound connections.

> If so,  this is "superpeer" approach that is discussed in the "NATs and
> Overlays"  draft
> and in my NAT traversal presentation in Prague. Dean has also suggested
> a similar approach.
> 
> We have had some discussions of the pros and cons of this approach vs
> the approach
> that Eric and I have been advocating of routing messages through a
> partial mesh of connections.
> 
> The whole goal of draft-matthews-p2psip-nats-and-overlays-01 is to
> discuss these two approaches
> and their pros and cons.  Feedback on that draft would be much
> appreciated, and would help
> the  WG decide on a direction.

Actually our proposal uses a partial mesh too.  The difference is that
SIP messages do not need to follow peer protocol paths.

-- 
Ciao,
Enrico
_______________________________________________
P2PSIP mailing list
P2PSIP@ietf.org
https://www1.ietf.org/mailman/listinfo/p2psip