probe and pray using upnp for home network measurements
play

Probe and Pray: Using UPnP for Home Network Measurements - PowerPoint PPT Presentation

Probe and Pray: Using UPnP for Home Network Measurements Renata Teixeira Laboratoire LIP6 CNRS and UPMC Sorbonne Universits Lucas Di Cioccio


  1. Probe ¡and ¡Pray: ¡Using ¡UPnP ¡for ¡ Home ¡Network ¡Measurements ¡ Renata ¡Teixeira ¡ Laboratoire ¡LIP6 ¡ ¡ CNRS ¡and ¡UPMC ¡Sorbonne ¡Universités ¡ ¡ Lucas ¡Di ¡Cioccio ¡ ¡(Technicolor/UPMC) ¡ MarEn ¡May ¡(Technicolor) ¡ ChrisEan ¡Kreibich ¡(ICSI) ¡ 1

  2. Measurements ¡are ¡going ¡home ¡ § Measurements ¡from ¡homes ¡uncovered ¡buffer ¡bloat ¡ – Hard ¡to ¡know ¡which ¡devices ¡to ¡blame ¡ § A ¡number ¡of ¡efforts ¡to ¡measure ¡broadband ¡speed ¡ – From ¡home ¡gateways: ¡more ¡accurate ¡ – From ¡hosts ¡in ¡the ¡home: ¡easier ¡to ¡reach ¡more ¡users ¡ 2

  3. UPnP ¡to ¡the ¡rescue ¡ Home ¡ Gateway ¡ Internet ¡ § End-­‑host ¡can ¡query ¡gateway ¡with ¡UPnP ¡ – Device ¡name/version ¡ – Access ¡link ¡technology ¡and ¡synchronizaEon ¡rate ¡ – Traffic ¡counters ¡(packets ¡and ¡bytes; ¡sent ¡and ¡received) ¡ 3

  4. Open ¡quesEons ¡ § Do ¡home ¡gateways ¡support ¡UPnP? ¡ § How ¡accurate ¡are ¡the ¡responses? ¡ § How ¡useful ¡is ¡it ¡in ¡pracEce? ¡ 4

  5. Approach ¡ § UPnP ¡queries ¡from ¡end-­‑hosts ¡in ¡home ¡network ¡ § CollecEon ¡tools: ¡HomeNet ¡Profiler ¡and ¡Netalyzr ¡ – Netalyzr’s ¡bandwidth ¡and ¡buffer ¡tests ¡ – UPnP ¡queries ¡ ¡ • Gateway ¡device ¡model ¡name ¡and ¡version ¡ • Gateway’s ¡WAN ¡interface ¡type ¡(e.g., ¡DSL, ¡Cable) ¡ • SynchronizaEon ¡rate ¡ • UnidirecEonal ¡byte/packet ¡counters ¡ 5

  6. Datasets ¡ Dataset ¡ Start ¡ End ¡ Homes ¡ Countries ¡ ASes ¡ HNP ¡ 4/4/2011 ¡ 15/12/2011 ¡ 2,209 ¡ 43 ¡ 208 ¡ Netalzyr-­‑1 ¡ 23/3/2011 ¡ 29/8/2011 ¡ 95,417 ¡ 131 ¡ 1,373 ¡ Netalzyr-­‑2 ¡ 30/8/2011 ¡ 15/12/2011 ¡ 30,243 ¡ 114 ¡ 949 ¡ § Netalyzr-­‑1 ¡queries ¡only ¡gateway ¡model ¡and ¡version ¡ § HNP ¡and ¡Netalyzr-­‑2 ¡perform ¡all ¡queries ¡ 6

  7. UPnP ¡is ¡not ¡always ¡available ¡ Dataset ¡ Homes ¡ UPnP ¡ HNP ¡ 2,209 ¡ 54% ¡ Netalzyr-­‑1 ¡ 95,417 ¡ 22% ¡ Netalzyr-­‑2 ¡ 30,243 ¡ 47% ¡ § Overall ¡gateways ¡in ¡only ¡35% ¡responded ¡to ¡UPnP ¡ – Some ¡gateways ¡do ¡not ¡implement ¡UPnP ¡ – Some ¡implement ¡it, ¡but ¡keep ¡UPnP ¡disabled ¡by ¡default ¡ – Firewalls ¡prevent ¡query ¡or ¡response ¡ 7

  8. UPnP ¡answers ¡may ¡be ¡incorrect ¡ § Response ¡to ¡some ¡queries ¡only ¡ – 14% ¡only ¡gateway ¡queries ¡ – 1% ¡only ¡wildcard ¡queries ¡ § Inaccurate ¡connecEon ¡type ¡or ¡synchronizaEon ¡rate ¡ – In ¡SFR, ¡25% ¡of ¡gateways ¡report ¡Cable ¡for ¡of ¡ADSL ¡ – Zero ¡bps, ¡very ¡small ¡values, ¡or ¡maximum ¡commercial ¡rate ¡ § Inaccurate ¡traffic ¡counters ¡ – Available ¡in ¡only ¡22% ¡of ¡homes, ¡3% ¡of ¡homes ¡hardcoded ¡ 8

  9. When ¡answers ¡are ¡correct… ¡ § SynchronizaEon ¡rate ¡versus ¡measured ¡bandwidth ¡ § Home ¡cross ¡traffic ¡ § Packet ¡losses ¡in ¡home ¡versus ¡wide-­‑area ¡ § Device ¡names ¡with ¡large ¡buffers ¡ 9

  10. Measurement ¡setup ¡ 1: ¡Query ¡sync ¡rate ¡ 2: ¡Query ¡traffic ¡counters ¡ 3: ¡Bandwidth ¡test ¡ 4: ¡Query ¡traffic ¡counters ¡ Internet ¡ 10

  11. Sync ¡rate ¡vs. ¡measured ¡bandwidth ¡ y ¡= ¡0.86x ¡ encapsulaEon ¡ Access ¡link ¡is ¡the ¡ overhead ¡ bolleneck ¡(72%) ¡ 11

  12. Inferring ¡cross ¡traffic ¡ Normalized local host counters Traffic ¡to ¡ Only ¡host’s ¡ other ¡hosts ¡ traffic ¡(9%) ¡ in ¡LAN ¡(53%) ¡ Cross ¡traffic ¡to ¡ WAN ¡(38%) ¡ Normalized UPnP counters 12

  13. Packet ¡losses: ¡LAN ¡vs. ¡WAN ¡ WAN ¡ No ¡loss ¡ Loss ¡ No ¡loss ¡ ¡ ¡ 2% ¡ 48% ¡ LAN ¡ ¡ ¡ Loss ¡ 28% ¡ 22% ¡ 13

  14. Buffers ¡in ¡most ¡frequent ¡gateways ¡ Model ¡ Homes ¡ Buffer ¡size ¡(KB) ¡ FRITZ ¡Box ¡6360 ¡Cable ¡ 39 ¡ 365 ¡ WNDR3700 ¡router ¡ 46 ¡ 234 ¡ DIR ¡615 ¡ 43 ¡ 197 ¡ For ¡1.2 ¡Mbps ¡ D-­‑Link ¡Route ¡ 91 ¡ 156 ¡ uplink, ¡more ¡ WRT54G ¡ 61 ¡ 159 ¡ than ¡1 ¡second ¡ DIR ¡300 ¡ 51 ¡ 121 ¡ delay ¡under ¡ FRITZ ¡Box ¡7390 ¡ 243 ¡ 48 ¡ load ¡ BRCM963xx ¡ 34 ¡ 60 ¡ Thomson ¡TG ¡ 39 ¡ 22 ¡ 14

  15. Conclusions ¡ § Do ¡home ¡gateways ¡support ¡UPnP? ¡ – Only ¡in ¡about ¡35% ¡of ¡measured ¡homes ¡ § How ¡accurate ¡are ¡the ¡responses? ¡ – Not ¡that ¡accurate, ¡many ¡corner ¡cases ¡ § Is ¡it ¡useful ¡in ¡pracEce? ¡ – When ¡it ¡works, ¡yes ¡ • SynchronizaEon ¡rate ¡versus ¡measured ¡bandwidth ¡ • Home ¡cross ¡traffic ¡ • Packet ¡losses ¡in ¡home ¡versus ¡wide-­‑area ¡ • Device ¡names ¡with ¡large ¡buffers ¡ 15

  16. Thank ¡you! ¡ § HomeNet ¡Profiler ¡ – hlp://cmon.lip6.fr/hnp ¡ § Netalyzr ¡ – hlp://netalyzr.icsi.berkeley.edu ¡ http://www.ict-figaro.eu/ 16

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend