bundle protocol mail convergence layer
play

Bundle Protocol Mail Convergence Layer Leveraging legacy Internet - PowerPoint PPT Presentation

Platzhalter fr Bild, Bild auf Titelfolie hinter das Logo einsetzen Bundle Protocol Mail Convergence Layer Leveraging legacy Internet infrastructure for DTNs Sebastian Schildt, Bjrn Gernert and Lars Wolf CHANTS 2013, Miami What is it?


  1. Platzhalter für Bild, Bild auf Titelfolie hinter das Logo einsetzen Bundle Protocol Mail Convergence Layer Leveraging legacy Internet infrastructure for DTNs Sebastian Schildt, Björn Gernert and Lars Wolf CHANTS 2013, Miami

  2. What is it? § A Convergence Layer (CL) for RFC 5050 - Bundle Protocol (BP) § Established CLs include § TCP, UDP, IEEE802.15.4, … § This work: SMTP/IMAP based CL § Full specification (internet draft) DTN Apps § Full implementation (for IBR-DTN) Bundle Protocol DTN Apps (RFC 5050) TCP Convergence Layer Bundle Protocol TCP (RFC 5050) IP 802.15.4 Convergence Layer IEEE 802.11 (WiFi) IEEE 802.15.4 (“ZigBee”) PC Sensor Node S. Schildt | BP Mail Convergence Layer | Page 2 / 13

  3. Why another CL? Why this? § The Internet Mail System already possesses DTN-like store-carry and forward characteristics § Existing work has put mail systems on top of DTN (DakNet, Bytewalla,…) § We turn this around: Putting BP into mails should be easy S. Schildt | BP Mail Convergence Layer | Page 3 / 13

  4. Why another CL? Why this? § For Mobile Users § Opportunistic (P2P) scenarios are too energy intensive, even with energy- e ffi cient scanning schedules to be practically usable § Asynchronicity might make delivery impossible or imposes extra hops § Always-on well-known internet based BP routers could solve the problem for situations were direct P2P communication is not possible MailCL can solve this in a much more elegant and cost-efficient way! S. Schildt | BP Mail Convergence Layer | Page 4 / 13

  5. Practical Benefits Sending a bundle from node n 0 to n 1 A B C D Static A B C D ✗ ✔ ✔ ✔ Static IPND ✔ ✔ IPND ✗ p DHT DHT ✗ ✗ p ✔ MCL ✔ ✔ ✔ ✔ MCL n 0 online Bundle Transmission ✔ Successful Transmission Transmission Setup Time p Partial Transmission n 1 online ✗ Failed Transmission n 0 offline S. Schildt | BP Mail Convergence Layer | Page 5 / 13

  6. Encoding E-Mail Version ¡ Proc. Flags ¡ Block length ¡ E-Mail Header Destination scheme offset ¡ Destination SSP offset ¡ Source scheme offset ¡ Source SSP offset ¡ Report-to scheme offset ¡ Report-to SSP offset ¡ E-Mail Body Custodian scheme offset ¡ Custodian SSP offset ¡ Creation Timestamp time ¡ Creation Timestamp sequence number ¡ Lifetime ¡ Dictionary length ¡ Dictionary byte array (variable) ¡ Optional: Fragment offset ¡ otal application data unit length ¡ Optional: T Primary Block S. Schildt | BP Mail Convergence Layer | Page 6 / 13

  7. Encoding E-Mail E-Mail Headers E-Mail Body Block type ¡ Block Proc. Flags ¡ MIME-Part (E-Mail text) Block length ¡ Payload (variable) ¡ MIME-Part (1st attachment) Payload Block S. Schildt | BP Mail Convergence Layer | Page 7 / 13

  8. Encoding E-Mail Block type ¡ Block Proc. Flags ¡ E-Mail Header EID Reference Count ¡ Ref_scheme_1 ¡ Ref_ssp_1 ¡ Ref_scheme_2 ¡ Ref_ssp_2 ¡ E-Mail Body Block length ¡ Payload MIME-Part (E-Mail text) (variable) ¡ MIME-Part (1st attachment) Block type ¡ Block Proc. Flags ¡ EID Reference Count ¡ Ref_scheme_1 ¡ Ref_ssp_1 ¡ MIME-Part (2nd attachment) Ref_scheme_2 ¡ Ref_ssp_2 ¡ Block length ¡ Payload MIME-Part (3rd attachment) (variable) ¡ Extension Blocks S. Schildt | BP Mail Convergence Layer | Page 8 / 13

  9. Example Return-path: <sender@server> Envelope-to: recv@server Delivery-date: Wed, 23 Jan 2013 19:44:25 +0100 For full technical From: sender@server To: recv@server specifications of the Subject: Bundle for mail://sender@server Bundle-EMailCL-Version: 1 protocol consult the draft Bundle-Flags: 144 Bundle-Destination: dtn://some/eid Bundle-Source: dtn://second/eid Bundle-Report-To: dtn:none http://tools.ietf.org/html/ Bundle-Custodian: dtn:none Bundle-Creation-Time: 412281870 draft-gernert-dtnrg- Bundle-Sequence-Number: 1 Bundle-Lifetime: 3600 mailcl-01 Bundle-Payload-Flags: 8 Bundle-Payload-Block-Length: 35 Bundle-Payload-Data-Name: payload.data Content-Type: multipart/mixed; boundary="=_f-20r0xUuORzjAo2CVz1bGFWJK1irHf4t+jNIoYURaTVkAY6" This is a multi-part message in MIME format. Your mail reader does not understand MIME message format. --=_f-20r0xUuORzjAo2CVz1bGFWJK1irHf4t+jNIoYURaTVkAY6 --=_f-20r0xUuORzjAo2CVz1bGFWJK1irHf4t+jNIoYURaTVkAY6 Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=payload.data VGhvcm91Z2ggcmVhZGVyIGFjaGlldmVtZW50IHVubG9ja2VkIQ== --=_f-20r0xUuORzjAo2CVz1bGFWJK1irHf4t+jNIoYURaTVkAY6-- S. Schildt | BP Mail Convergence Layer | Page 9 / 13

  10. Design Issues for Implementations In IBR-DTN we choose the concept of a virtual node, because • a bundle send to a mail address will be considered forwarded but not delivered • if a direct contact is possible later, the sender/forwarder will still have a copy and would deliver it S. Schildt | BP Mail Convergence Layer | Page 10 / 13

  11. Bandwidth 6000 1 MiB 5 MiB 5000 10 MiB bandwidth [kbit/s] 4000 3000 2000 1000 0 AOL Arcor freenet Gmail GMX T-Online web.de Sending bundles from our own mailserver to various freemail providers S. Schildt | BP Mail Convergence Layer | Page 11 / 13

  12. Latencies 250 177.6 200 Latency [s] 150 100 50 16.9 23.1 13.1 11.0 12.0 11.0 0 AOL Arcor freenet Gmail GMX T-Online web.de Latency when pinging a node using different freemail providers S. Schildt | BP Mail Convergence Layer | Page 12 / 13

  13. Conclusions § Presented a Mail Convergence Layer for BP networks using SMTP and IMAP § Mailservers can act as light-weight always-on BP routers, alleviating the need to deploy additional hardware § Use standard mail providers for free and leverage the resources of the internet mail system for DTN apps § Full specifications and implementation for IBR-DTN available https://github.com/ibrdtn/ibrdtn http://tools.ietf.org/html/draft-gernert-dtnrg-mailcl-01 Thank you! Questions? S. Schildt | BP Mail Convergence Layer | Page 13 / 13

  14. Working Principle Daemon 1 Daemon 2 TCP/UDP SMTP IMAP SMTP Mail-Server Mail-Server S. Schildt | BP Mail Convergence Layer | Page 14 / 13

Recommend


More recommend