1 / 4

P2P-SIP Using an External P2P network (DHT)

Data model Treat DHT as database. Service model Join DHT to provide service. P2P-SIP Using an External P2P network (DHT). [5]. bob 192.1.2.3. bob. [3]. [1]. [2]. [1]. [3]. DHT. DHT. Service node (128.3.4.5). [4]. [2]. [5]. alice. alice. [1] join(128.3.4.5)

espillman
Download Presentation

P2P-SIP Using an External P2P network (DHT)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Data model Treat DHT as database Service model Join DHT to provide service P2P-SIPUsing an External P2P network (DHT) [5] bob 192.1.2.3 bob [3] [1] [2] [1] [3] DHT DHT Service node (128.3.4.5) [4] [2] [5] alice alice [1] join(128.3.4.5) [2] lookup(H(bob)) gives 128.3.4.5 [3] REGISTER sip:bob to 128.3.4.5 [4] lookup(H(bob)) gives 128.3.4.5 [5] INVITE sip:bob to 128.3.4.5 [1] put(k,192.1.2.3), k is H(bob) [2] get(k) gives 192.1.2.3 [3] INVITE sip:bob to 192.1.2.3

  2. P2P-SIPLogical Operations • Contact management • put (user id, signed contact) • Key storage • User certificates and private configurations • Presence • put (subscribee id, signed encrypted subscriber id) • Composition needs service model • Offline message • put (recipient, signed encrypted message) • NAT and firewall traversal • STUN and TURN server discovery needs service model

  3. P2P-SIPImplementation in SIPc • OpenDHT • Trusted nodes • Robust • Fast enough (<1s) • Identity protection • Certificate-based • SIP id == email • P2P for Calls, IM, presence, offline message, STUN server discovery and name search

  4. P2P-SIPWhat is OpenDHT? • Service model, unlike earlier library of Chord/CAN • DHT accessed on SunRPC & XML-RPC • Easy deployment and maintenance • 200-300 Bamboo DHT nodes on PlanetLab • Public DHT service running since April 2004 • Many existing applications: i3, CFS, Ostream, HIP,… • DHT API (server side on Bamboo nodes) • Put(key,value,H(secret),ttl) where H is SHA1 • Get(key)=>(value,H(secret),remaining-ttl) • Remove(key,H(value),secret,ttl) • ReDiR API (client side for lookup/join/leave) • Can build anycast, multicast, range search using this • Fair resource (disk) allocation among clients (IP addr)

More Related