Top Banner
Speed Dating despite Jammers Dominik Meier Yvonne-Anne Pignolet Stefan Schmid Roger Wattenhofer
17

Dcoss

Dec 21, 2022

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Dcoss

Speed Dating despite Jammers

Dominik Meier

Yvonne-Anne Pignolet

Stefan Schmid

Roger Wattenhofer

Page 2: Dcoss

Yvonne Anne Pignolet @ DCOSS 2009

Wireless Networks

Radio Communication

• Find communication partner (device discovery)

• Concurrent transmissions disturb each other (Interference)

Device discovery under jamming attacks

2

Page 3: Dcoss

Yvonne Anne Pignolet @ DCOSS 2009

Adversarial Interference: Jamming

Device Discovery

channels

channels

No discovery!

ID2428

ID5872

3

Page 4: Dcoss

Yvonne Anne Pignolet @ DCOSS 2009

Adversarial Interference: Jamming

Device Discovery

channels

channels

Discovery!

ID5872

ID2428

ID5872

ID2428

4

Page 5: Dcoss

Yvonne Anne Pignolet @ DCOSS 2009

Adversarial Interference: Jamming

Device Discovery

channels

channels

ID5872

No discovery!

ID2428

5

Page 6: Dcoss

Quality: ρ := maxE[algo discovery time | t unknown ]

E[best discovery time | t known ]t

Model: Device Discovery Problem

2 devices

• Want to get to know each other

• m channels

• Listen/send on 1 channel in each time slot m

t

6

Adversary

• Always blocks t channels

• t < m

• Worst case

Goal:

Algorithm that lets the devices find each other quickly, regardless of t

Quickly?

Graceful

degradation

Page 7: Dcoss

Algorithms

Randomized Algorithms

Represented by probability distribution over channels:

• choose channel i with probability pi

7

Perfect for

sensor nodes

because we are

rather stupid....

p1

p2

p3

p4

pm

pm-1...

...

Advantages

• Simple

• Independent of starting time

• Stateless

• Robust against adaptive adversaries

Page 8: Dcoss

E[best discovery time | t known ]

Best Algorithm

In each time slot

• if t = 0 choose channel 1

• if t < m/2 choose random channel in [1,2t]

• else choose random channel2t

E[discovery time knowing t] = 1 if t=0

4t if t < m/2

m2/(m-t) else

t> 0 : Why uniform distribution?

Why channel in [1,2t] ?

2t minimizes discovery time

Easy!

What if we

don’t know t?

Page 9: Dcoss

Example AlgoRandom

In each time slot

• choose channel uniformly at random

E[discovery time NOT knowing t]

E[time AlgoRandom ] = m2/(m-t)

choose t=0

ρRandom = m

Example Algo3

In each time slot

• with prob 1/3 choose channel 1

• with prob 1/3 choose randomly in [1,√m]

• with prob 1/3 choose randomly in [1,m]

≈ estimate t = 0

≈ estimate t = √m/2

≈ estimate t = m/2

choose t= √m

ρ3 = O(√ m)

ρ := maxE[algo discovery time | t unknown ]

E[best discovery time | t known ]t

Page 10: Dcoss

E[discovery time NOT knowing t]

Example Algolog m

In each time slot

• with prob 1/log m choose channel 1

• with prob 1/log m choose randomly in [1,2]

...

• with prob 1/log m choose randomly in [1,2^i]

...

• with prob 1/log m choose randomly in [1,m]

≈ estimate t = 0

≈ estimate t = 1

≈ estimate t = 2^(i-1)

≈ estimate t = m/2

ρ := maxE[algo discovery time | t unknown ]

E[best discovery time | t known ]t

choose t= m

ρlog m = O(log^2 m)

Page 11: Dcoss

General algorithm

Given probability distribution p, where p1 ≥ p2 ≥ … ≥ pm ≥ 0

In each time slot

• choose channel i with probability pi

Optimal Algorithm?

ρ := maxE[algo discovery time | t unknown ]

E[best discovery time | t known ]t

E[algo discovery time | t unknown ]

E[best discovery time | t known ]

1/ ∑ pi2 if t=0

1/(4t∑ pi2) if t < m/2

(m-t)/(m2∑ pi2) else

=

E[algo discovery time | t] = 1/∑ pi2

m

i=t+1

m

i=t+1m

i=t+1

m

i=1

Page 12: Dcoss

Optimization problem

min ρ* s.t.

t = 0 1/ ρ* = ∑ pi2

1 ≤ t ≤ m/2 1/ ρ* = 2 t ∑ pi2

t > m/2 1/ ρ* = m2 ∑ pi2 /(m-t)

Optimal Algorithm?

ρ* = Θ (log2 m)

i = 1

i = t+1

i = t+1

m

m

m

can choose

any t

General algorithm

Given probability distribution p, where p1 ≥ p2 ≥ … ≥ pm ≥ 0

In each time slot

• choose channel i with probability pi

Page 13: Dcoss

Simulations: Worst Case Jammer

13

Page 14: Dcoss

Simulations: Random Jammer

14

Page 15: Dcoss

Case Study: Bluetooth vs Microwave

Bluetooth Channel

Pow

er

(dB

m)

15

OPT much better than Bluetooth

Page 16: Dcoss

Yvonne Anne Pignolet @ IMAGINE 2009

Lessons

• Interference can

prevent discovery

• uniformly random

algorithm not always

best solution

• best expected discovery time

• price for NOT knowing t: ρ* = Θ (log2 m)

E[Algoopt] = O(log2 m) if t=0

O(t log2 m) if t < m/2

O(m2 log2 m /(m-t)) else

channelschannels

ID5872ID2428

Page 17: Dcoss

Yvonne Anne Pignolet @ DCOSS 2009

That’s it…

THANK YOU!

17