Presentation is loading. Please wait.

Presentation is loading. Please wait.

The eXtensible Peer Protocol (XPP) Emil Ivov - Enrico Marocco –

Similar presentations


Presentation on theme: "The eXtensible Peer Protocol (XPP) Emil Ivov - Enrico Marocco –"— Presentation transcript:

1 The eXtensible Peer Protocol (XPP) Emil Ivov - emcho@sip-communicator.org Enrico Marocco – enrico.marocco@tilab.com

2 Table of Contents Design Choices XPP Session Establishment XPP Operations Fragmentation and Reliability Message Formats XPP-PCAN Overview July 22nd 2007 eXtensible Peer Protocol (XPP) Emil Ivov, Enrico Marocco 2

3 Design Choices XPP uses UDP (only) – Simple & Reliable NAT Traversal – Allows turning off reliability Small and simple header with TLV options Sessions – Sessions are established and ended with SIP Where is the DHT? July 22nd 20073 eXtensible Peer Protocol (XPP) Emil Ivov, Enrico Marocco Routing DHT Put DHT Get Location Identity Assertion XPP-PCAN Fragmentation Reliability Transport Security XPP

4 SIP Use Cases Simultaneous Session Establishment July 22nd 20074 eXtensible Peer Protocol (XPP) Emil Ivov, Enrico Marocco SIP INVITE Alice’s SIP INVITE: INVITE sip:bob@biloxi.com SIP/2.0 To: Bob From: Alice ;tag=1928301774 … c=IN IP4 130.79.90.54 m=application 1234 UDP/XPP * a=ltag: 0xAAAA … SIP OK SYN ACK XPP Session AliceBob Bob’s SIP OK: SIP/2.0 200 OK To: Bob ;tag=a6c85cf From: Alice ;tag=1928301774… … c=IN IP4 103.97.9.45 m=application 4321 UDP/XPP * a=ltag: 0xBBBB …

5 Use Cases A Sample XPP Operation July 22nd 20075 eXtensible Peer Protocol (XPP) Emil Ivov, Enrico Marocco XPP Operation Request ACK AliceBob ACK XPP Operation Response Retrans. Timer

6 Use Cases XPP Message Fragmentation July 22nd 20076 eXtensible Peer Protocol (XPP) Emil Ivov, Enrico Marocco XPP Operation Request; Fragment 1 ACK 1 AliceBob ACK Retrans. Timer XPP Operation Request; Fragment 2 ACK 2 XPP Operation Request; Fragment 3 ACK XPP Operation Request; Fragment N …

7 XPP Fragment Header 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | |S|A|R|L|K| | | Ver | Reserved |Y|C|E|F|P| Sequence Number | | | |N|K|L|R|A| | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Local ID | Remote ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | XPP Message Fragment (Optional)... +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- July 22nd 2007 eXtensible Peer Protocol (XPP) Emil Ivov, Enrico Marocco 7

8 XPP Messages 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | |S|A|R|L|K| | | Ver | Reserved |Y|C|E|F|P| Sequence Number | | | |N|K|L|R|A| | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Local ID | Remote ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Operation Number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Operation Type | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Parameters... +-+-+-+-+-+-+-+-+-+-+-+- July 22nd 2007 eXtensible Peer Protocol (XPP) Emil Ivov, Enrico Marocco 8

9 XPP TLV Options 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | |S|A|R|L|K| | | Ver | Reserved |Y|C|E|F|P| Sequence Number | | | |N|K|L|R|A| | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Local ID | Remote ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Operation Number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Operation Type | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Value... +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ July 22nd 2007 eXtensible Peer Protocol (XPP) Emil Ivov, Enrico Marocco 9

10 XPP Overlay XPP-PCAN’s Passive Approach A P2PSIP client registers with the overlay just as it would register with any other SIP registrar July 22nd 2007 eXtensible Peer Protocol (XPP) Emil Ivov, Enrico Marocco 10 SIP REGISTER XPP Sessions Client

11 XPP Overlay XPP-PCAN’s Passive Approach A P2PSIP client registers with the overlay just as it would register with any other SIP registrar During the initial registration the P2PSIP client asserts its identity against the credentials stored in the overlay. Once this phase completed, the client starts maintaining a SIP Outbound connection with a peer in the overlay. July 22nd 2007 eXtensible Peer Protocol (XPP) Emil Ivov, Enrico Marocco 11 SIP Outbound Connection XPP Sessions Client

12 XPP Overlay XPP-PCAN’s Passive Approach A P2PSIP client registers with the overlay just as it would register with any other SIP registrar During the initial registration the P2PSIP client asserts its identity against the credentials stored in the overlay. Once this phase completed, the client starts maintaining a SIP Outbound connection with a peer in the overlay. At some point of time an existing peer may decide to invite it to join the overlay and establish an XPP session with it. July 22nd 2007 eXtensible Peer Protocol (XPP) Emil Ivov, Enrico Marocco 12 Client XPP SessionSIP INVITE XPP Sessions

13 XPP Overlay XPP-PCAN’s Passive Approach A P2PSIP client registers with the overlay just as it would register with any other SIP registrar During the initial registration the P2PSIP client asserts its identity against the credentials stored in the overlay. Once this phase completed, the client starts maintaining a SIP Outbound connection with a peer in the overlay. At some point of time an existing peer may decide to invite it to join the overlay and establish an XPP session with it. The inviting peer would also advertise the arrival of the new peer to all its future neighbors. July 22nd 2007 eXtensible Peer Protocol (XPP) Emil Ivov, Enrico Marocco 13 Client Peer XPP Session XPP Sessions XPP UPDATE

14 The eXtensible Peer Protocol (XPP) Emil Ivov - emcho@sip-communicator.org Enrico Marocco – enrico.marocco@tilab.com


Download ppt "The eXtensible Peer Protocol (XPP) Emil Ivov - Enrico Marocco –"

Similar presentations


Ads by Google