Selecting new BGP feeders to Address the Incompleteness of the - - PowerPoint PPT Presentation

selecting new bgp feeders to address the incompleteness
SMART_READER_LITE
LIVE PREVIEW

Selecting new BGP feeders to Address the Incompleteness of the - - PowerPoint PPT Presentation

Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph Luca Sani Enrico Gregori, Alessandro Improta, Luciano Lenzini, Lorenzo Rossi InfQ Workshop - Lucca - July 5-6, 2012 Luca Sani Selecting new BGP feeders to


slide-1
SLIDE 1

Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph

Luca Sani

Enrico Gregori, Alessandro Improta, Luciano Lenzini, Lorenzo Rossi

InfQ Workshop - Lucca - July 5-6, 2012

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 1 / 21

slide-2
SLIDE 2

The Internet

The Internet: a huge set of interconnected networks Hot research field: Internet mapping

Different level of abstractions We focus on the Internet AS-level topology

Autonomous System (AS) ≃ set of IP networks under the same administrative entity

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 2 / 21

slide-3
SLIDE 3

The Internet

The Internet: a huge set of interconnected networks Hot research field: Internet mapping

Different level of abstractions We focus on the Internet AS-level topology

Autonomous System (AS) ≃ set of IP networks under the same administrative entity

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 2 / 21

slide-4
SLIDE 4

The Internet AS-level topology

Many works analyzed the AS-level topology Only few works analyzed the data from which is extracted We analyse the typical data used to map the AS-level topology . . . . . . and we propose a methodology to address its huge incompleteness “It is a capital mistake to theorize before you have all the evidence. It biases the judgment.” (sir A.C. Doyle)

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 3 / 21

slide-5
SLIDE 5

Data sources

Most common data come from the routes that ASes exchange thanks to the Border Gateway Protocol (BGP) These data are gathered by route-collector projects feeded by cooperating ASes (feeders) Main Route Collector projects

RouteViews (developed by University of Oregon, USA) RIS (developed by RIPE-NCC, Europe)

Total number of route collectors: 23 Total number of BGP feeders: 568

(On February 2012)

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 4 / 21

slide-6
SLIDE 6

Data sources

Most common data come from the routes that ASes exchange thanks to the Border Gateway Protocol (BGP) These data are gathered by route-collector projects feeded by cooperating ASes (feeders) Main Route Collector projects

RouteViews (developed by University of Oregon, USA) RIS (developed by RIPE-NCC, Europe)

Total number of route collectors: 23 Total number of BGP feeders: 568

(On February 2012)

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 4 / 21

slide-7
SLIDE 7

What “BGP data” is?

A Route-collector periodically provides the UPDATE messages received from its feeders

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 5 / 21

slide-8
SLIDE 8

Inferring the AS-level topology

The AS path field is used to infer the AS-level graph (e.g. ASPATH = 3549 137 8978) 1 node = 1 AS 1 edge = the two ASes are neighbor in at least an AS path Using data gathered by RouteViews and RIS during February 2012: 41,116 nodes 144,475 edges

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 6 / 21

slide-9
SLIDE 9

Problem 1) - inter-AS economic relationships

BGP is an economic-driven protocol customer-to-provider (c2p): the customer pays the provider to receive the Full Routing Table (FRT) peer-to-peer (p2p): the two ASes exchange routes towards their respective clients (typically free-of-charge) We call high-level contributor a BGP feeder that treats the route collector as a client

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 7 / 21

slide-10
SLIDE 10

Problem 1) - Facts

0.2 0.4 0.6 0.8 1 210 215 220 225 230 235

P(X>x) IP space size

RouteViews RIS RouteViews + RIS

FRT ≃ 2.5 billions of IP addresses # of high-level contributors: 120 over 568 feeders (21%)

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 8 / 21

slide-11
SLIDE 11

Problem 2) - Biased View

About 80% of high-level contributors have a degree > 100, i.e. they are large ISPs (direct checking is possible)

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 9 / 21

slide-12
SLIDE 12

Problem 2) - Example

R has no chance to reveal the p2p link C-D, because the link is below it R can reveal the p2p link A-B, because the link is above it Thus, the missing links are mostly p2p

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 10 / 21

slide-13
SLIDE 13

Problem 3)- BGP decision process

Each AS announces to its neighbors only the best route to reach a given destination (the feeder is not an exception) The decision is made by the BGP Decision Process, that from

  • ur point of view it is like a filter

The higher is the distan- ce of an AS from a rou- te collector, the lower is its discoverable connectivity

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 11 / 21

slide-14
SLIDE 14

A new metric - p2c-distance

The p2c-distance of an AS X from a route collector R is the minimum number of consecutive p2c links that connect X to R It estimates how well each AS is covered by a given route collector

AS p2c-distance from R A 1 B 1 C

  • D
  • E

2 F

  • Requires the knowledge of inter-AS economic relationships (at

least p2c links) We exploit the fact that inferred p2c links can be considered reliable (due to the top-tier view)

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 12 / 21

slide-15
SLIDE 15

A new metric - p2c-distance

The p2c-distance of an AS X from a route collector R is the minimum number of consecutive p2c links that connect X to R It estimates how well each AS is covered by a given route collector

AS p2c-distance from R A 1 B 1 C

  • D
  • E

2 F

  • Requires the knowledge of inter-AS economic relationships (at

least p2c links) We exploit the fact that inferred p2c links can be considered reliable (due to the top-tier view)

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 12 / 21

slide-16
SLIDE 16

p2c-distance (cont.)

p2c-distance of X from a set of route collectors R = min p2c-distance of X from each route collector in R p2c-distance from rc infrastructure # ASes 1 120 2 366 3 275 3+ 40,353 The current set of route collectors cover poorly the AS-level ecosystem

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 13 / 21

slide-17
SLIDE 17

p2c-distance (cont.)

p2c-distance of X from a set of route collectors R = min p2c-distance of X from each route collector in R p2c-distance from rc infrastructure # ASes 1 120 2 366 3 275 3+ 40,353 The current set of route collectors cover poorly the AS-level ecosystem

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 13 / 21

slide-18
SLIDE 18

How to address the lack of data?

Simple idea: add new BGP feeders (= deploy new route collectors) Questions:

How to select these new feeders? Randomly? Graph metric criteria (e.g. degree)? And how many feeders should we add?

Answer: we should select the minimum number of ASes such that the p2c-distance of each AS from the route collector infrastructure is bounded by d (d = 1, 2, . . . )

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 14 / 21

slide-19
SLIDE 19

How to address the lack of data?

Simple idea: add new BGP feeders (= deploy new route collectors) Questions:

How to select these new feeders? Randomly? Graph metric criteria (e.g. degree)? And how many feeders should we add?

Answer: we should select the minimum number of ASes such that the p2c-distance of each AS from the route collector infrastructure is bounded by d (d = 1, 2, . . . )

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 14 / 21

slide-20
SLIDE 20

Minimum Set Cover problem

This problem can be formulated as a minimum set-cover (MSC) problem (NP-complete) To reduce its size we focused on the coverage of not stub ASes (7,268 over 41,116 ASes) Stub ASes are not very interested in establishing p2p connections, e.g. only 7% of them is member of an IXP

Exception: CDNs

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 15 / 21

slide-21
SLIDE 21

Minimum Set Cover problem

Select the minimum number of ASes in order to bound the p2c-distance of each not stub AS from the route collector infrastructure Further reduction

reduction by row and column dominance matrix decomposition (the matrix is very sparse)

Then we applied a brute-force phase

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 16 / 21

slide-22
SLIDE 22

So, for example

Select the minimum number of ASes in order to bound the p2c-distance of each not stub AS from the route collector infrastructure (e.g. 3) Initial set of route collectors = {∅}

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 17 / 21

slide-23
SLIDE 23

So, for example

Select the minimum number of ASes in order to bound the p2c-distance of each not stub AS from the route collector infrastructure (e.g. 3) Initial set of route collectors = {∅}

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 18 / 21

slide-24
SLIDE 24

So, for example

Select the minimum number of ASes in order to bound the p2c-distance of each not stub AS from the route collector infrastructure (e.g. 3) Initial set of route collectors = {∅}

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 19 / 21

slide-25
SLIDE 25

Results

d # BGP feeders 1 7,268 2 4,352 3 3,985 4 3,920 The huge number of required feeders is due to the current poor coverage Future plains Characterize the ASes in the optimal solution Convince these ASes to participate. How? We believe in the do ut des principle

You give us BGP data, we give you (near) real-time inter-domain routing monitor services

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 20 / 21

slide-26
SLIDE 26

End Of Presentation

Thank you for your attention! luca.sani@imtlucca.it Questions?

Luca Sani Selecting new BGP feeders to Address the Incompleteness of the Internet AS-level Graph 21 / 21