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

probe and pray using upnp for home network measurements
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

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) ¡

slide-2
SLIDE 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

slide-3
SLIDE 3

UPnP ¡to ¡the ¡rescue ¡

§ 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

Internet ¡ Home ¡ Gateway ¡

slide-4
SLIDE 4

Open ¡quesEons ¡

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

4

slide-5
SLIDE 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

slide-6
SLIDE 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 ¡

6

§ Netalyzr-­‑1 ¡queries ¡only ¡gateway ¡model ¡and ¡version ¡ § HNP ¡and ¡Netalyzr-­‑2 ¡perform ¡all ¡queries ¡

slide-7
SLIDE 7

UPnP ¡is ¡not ¡always ¡available ¡

Dataset ¡ Homes ¡ UPnP ¡ HNP ¡ 2,209 ¡ 54% ¡ Netalzyr-­‑1 ¡ 95,417 ¡ 22% ¡ Netalzyr-­‑2 ¡ 30,243 ¡ 47% ¡

7

§ 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 ¡

slide-8
SLIDE 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

slide-9
SLIDE 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

slide-10
SLIDE 10

Measurement ¡setup ¡

10

Internet ¡ 1: ¡Query ¡sync ¡rate ¡ 2: ¡Query ¡traffic ¡counters ¡ 3: ¡Bandwidth ¡test ¡ 4: ¡Query ¡traffic ¡counters ¡

slide-11
SLIDE 11

Sync ¡rate ¡vs. ¡measured ¡bandwidth ¡

11

y ¡= ¡0.86x ¡ encapsulaEon ¡

  • verhead ¡

Access ¡link ¡is ¡the ¡ bolleneck ¡(72%) ¡

slide-12
SLIDE 12

Inferring ¡cross ¡traffic ¡

12

Normalized UPnP counters Normalized local host counters

Only ¡host’s ¡ traffic ¡(9%) ¡ Traffic ¡to ¡

  • ther ¡hosts ¡

in ¡LAN ¡(53%) ¡ Cross ¡traffic ¡to ¡ WAN ¡(38%) ¡

slide-13
SLIDE 13

Packet ¡losses: ¡LAN ¡vs. ¡WAN ¡

WAN ¡ No ¡loss ¡ Loss ¡ LAN ¡ No ¡loss ¡ ¡ 2% ¡ ¡ 48% ¡ Loss ¡ ¡ 28% ¡ ¡ 22% ¡

13

slide-14
SLIDE 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 ¡ D-­‑Link ¡Route ¡ 91 ¡ 156 ¡ WRT54G ¡ 61 ¡ 159 ¡ DIR ¡300 ¡ 51 ¡ 121 ¡ FRITZ ¡Box ¡7390 ¡ 243 ¡ 48 ¡ BRCM963xx ¡ 34 ¡ 60 ¡ Thomson ¡TG ¡ 39 ¡ 22 ¡

14

For ¡1.2 ¡Mbps ¡ uplink, ¡more ¡ than ¡1 ¡second ¡ delay ¡under ¡ load ¡

slide-15
SLIDE 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

slide-16
SLIDE 16

Thank ¡you! ¡

§ HomeNet ¡Profiler ¡

– hlp://cmon.lip6.fr/hnp ¡

§ Netalyzr ¡

– hlp://netalyzr.icsi.berkeley.edu ¡

16

http://www.ict-figaro.eu/