23
Wouter de Vries and José Jair Santanna, 3 rd of November 2014 How asymmetric is the internet? A study to reinforce the use of Traceroute Wouter de Vries and José Jair Santanna Design and Analysis of Communication Systems

How asymmetric is the internet? - RIPE Network Coordination … · 2014-10-31 · Wouter de Vries and José Jair Santanna, 3rd of November 2014 Introduction - Problem • Measuring

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Wouter de Vries and José Jair Santanna, 3rd of November 2014

How asymmetric is the internet?A study to reinforce the use of Traceroute

Wouter de Vries and José Jair Santanna

Design and Analysis of Communication Systems

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Introduction – What is the purpose?

• Toward the mitigation of DDoS attacks

• Which networks does a DDoS pass through

• Mitigate the attack as close to the source as

possible

2/23

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Introduction – What is the purpose? (2)Low intensity

Medium intensity

High intensity

SRC

1

SRC

2

SRC

3

SRC

4

AS1

AS2

AS3

AS4

AS5

AS6

AS7 VA

A = Attacker

SRCn= Source of traffic

ASn = Autonomous System

V = Victim

3/23

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Why on the AS Level?

Advantages

VS

Disadvantages

4/23

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Introduction - Problem

• Measuring the reverse path of an attacker is

less trivial than it seems

• Path can be, and often is, asymmetric[1][2][3]

[1] Y. He, M. Faloutsos, S. Krishnamurthy, and B. Huffaker, “On routing asymmetry in the Internet,” in

Global Telecommunications Conference, 2005. GLOBECOM ’05. IEEE, vol. 2, Nov. 2005

[2] Y. He, M. Faloutsos, and S. V. Krishnamurthy, “Quantifying routing asymmetry in the Internet at

the AS level.” in GLOBECOM. IEEE, 2004

[3] Y. Schwartz, Y. Shavitt, and U. Weinsberg, “On the Diversity, Stability and Symmetry of End-to-

End Internet Routes,” in INFOCOM IEEE Conference on Computer Communications Workshops,

2010

5/23

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Introduction – Research question

How asymmetric is the internet?

Expectation:

The internet is more symmetric near the source

and target

AS

1

AS

2

AS

n-1

AS

n

AS

1

AS

2

AS

n-1

AS

n

IP_A

IP_A

IP_B

IP_B

More similar

Less similar

6/23

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Methodology

• Large scale measurements, using RIPE Atlas

• 4000 out of 7000* probes located worldwide

• 2000 pairs of probes to measure paths

between

• Thanks to RIPE Atlas our UDM limit was

greatly increased

*Approximately

7/23

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Selected probe distribution

Pairs randomly selected

8/23

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Methodology – Pairs

Continent Probe count Fraction

Europe 2.681 67,03%

North America 724 18,10%

Asia 267 6,68%

Africa 157 3,93%

Oceania 109 2,73%

Others 62 1,55%

Total 4.000 100%

9/23

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Experiment setup

• Traceroute

• Two measurements every three hours per pair

• Ten days

• 80 samples per pair

• 160.000 measurements

• 5.256.138 records

• ~1 gigabyte

10/23

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Analysis – Determining ASN

• BGP Routing tables (Provided by RIS/RIPE)

• Process to list of IP-range/ASN tuples

• Use binary tree to quickly match IP address to

ASN with longest prefix matching

11/23

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Analysis – Determining ASN (2)

• Tool to process binary BGP routing table

http://bit.ly/XXRsxd

• Tool to build a list of IP-range/ASN tuples

http://bit.ly/1tJDoTt

130.89.15.74 1133;University Twente

Input Output

IP ASN Description

12/23

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Results – Path length on the AS level

0

10000

20000

30000

40000

50000

60000

1 2 3 4 5 6 7 8 9 10

Nu

mb

er

of p

ath

s

Number of hops in path

4 hops17%

5 hops24%

6 hops19%

7 hops14%

Other26%

4 5 6 7 Other

13/23

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Results – The numbers

• 119.550 measured network paths

• 2.275 unique Autonomous Systems in total

• 1.717 contain probes

• 12.6% (15.053) of pairs are symmetric

14/23

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Results – Change of path over time

• Compare paths from A to B over time

• Determine Levenshtein distance to make two

paths equal

• Compare each path to first path

AS

1

AS

2

AS

3

AS

4

AS

5IP_A IP_B

AS

1

AS

2

AS

3

AS

5IP_A IP_B

For example path from A to B with 1

insert/delete/change operation

15/23

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Results – Change of path over time (2)

0.04

0.06

0.08

0.1

0.12

0.14

24 48 72 96 120 144 168 192 216

Ed

it D

ista

nce

Time since first measurement (hours)

Levenshtein

2400

Network paths barely change over time*

16/23

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Results – Equal Consecutive Hops

• Count number of Equal Consecutive Hops

(ECH) from left to right and right to left.

• Group by path length

• First and last hop are always equal

AS

1

AS

2

AS

3

AS

4

AS

5

AS

1

AS

2

AS

6

AS

7

AS

5

IP_A

IP_A

IP_B

IP_B

2 + 1 = 3 Consecutive equal hops

17/23

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Results – Equal Consecutive Hops (2)

0

0.5

1

1.5

2

2.5

3

2 3 4 5 6 7

Eq

ua

l co

nse

cutive

ho

ps (

EC

H)

Path length

Best case Measurement Worst case

# Samples Std. Dev. ECH

2 792 0 0

3 8164 0.498 0,27

4 20.038 0,733 0,58

5 27.870 1,013 0,79

6 23.442 1,299 1,05

7 17.223 1,492 1,2

One extra chance to mitigate DDoS attacks

18/23

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Results – Equality by position

• Compare hop in forward path to the one in the

same position in reverse path

• Either equal (1) or not equal (0)

• Average per position

19/23

AS

1

AS

2

AS

3

AS

4

AS

5

AS

1

AS

6

AS

3

AS

7

AS

5

IP_A

IP_A

IP_B

IP_B

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Results – Equality by position (2)

0.55

0.6

0.65

0.7

0.75

0.8

0.85

0.9

0.95

1

Ave

rag

e e

qu

alit

y

Position in path

4 5 6 7

0 1

Path length

High chance to have equal hops

20/23

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Conclusion

• Internet is mostly asymmetric

• Paths barely change over time

• At least one more chance to mitigate DDoS

attacks

Replace with

relevant figure

21/23

Wouter de Vries and José Jair Santanna, 3rd of November 2014

Data

Measurements are available publicly

http://bit.ly/1qmVfgN

22/23

Questions?Comments are also allowed

(despite the large question mark)