BGP and inter-as economic relationships

Similar documents
BGP and inter-as economic relationships

Iit Istituto di Informatica e Telematica

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

Inferring Autonomous System Relationships in the Internet. Outline

the real-time Internet routing observatory

TNET A Novel Methodology to Address the Internet AS-level Data Incompleteness

How the Internet works? The Border Gateway Protocol (BGP)

Internet Measurements. Motivation

Link State Routing & Inter-Domain Routing

Quantifying AS Path Inflation by Routing Policies

CS 268: Computer Networking. Next Lecture: Interdomain Routing

Collaborative Verification of Forward and Reverse Reachability in the Internet Data Plane

EULER Project Path-Vector Routing Stability Analysis

CS 640: Introduction to Computer Networks. Intra-domain routing. Inter-domain Routing: Hierarchy. Aditya Akella

Inter-domain Routing. Outline. Border Gateway Protocol

PoP Level Mapping And Peering Deals

Interdomain Routing and Connectivity

Next Lecture: Interdomain Routing : Computer Networking. Outline. Routing Hierarchies BGP

Important Lessons From Last Lecture Computer Networking. Outline. Routing Review. Routing hierarchy. Internet structure. External BGP (E-BGP)

COMP/ELEC 429 Introduction to Computer Networks

The (In)Completeness of the Observed Internet AS-level Structure

CS4700/CS5700 Fundamentals of Computer Networks

Master Course Computer Networks IN2097

Hirochika Asai U. Tokyo Hiroshi Esaki U. Tokyo Tsuyoshi Momose Cisco Systems

Evaluating the Benefits of the Locator/Identifier Separation

A configuration-only approach to shrinking FIBs. Prof Paul Francis (Cornell)

Inferring Autonomous System Relationships in the Internet. Lixin Gao

Achieving scale: Large scale active measurements from PlanetLab

Outline Computer Networking. Inter and Intra-Domain Routing. Internet s Area Hierarchy Routing hierarchy. Internet structure

Internet Routing Protocols Lecture 01 & 02

Network Layer (Routing)

The (in)completeness of the Observed Internet AS-level Structure

Department of Computer and IT Engineering University of Kurdistan. Computer Networks II Border Gateway protocol (BGP) By: Dr. Alireza Abdollahpouri

the real-time Internet routing observatory Luca Sani

Investigating occurrence of duplicate updates in BGP announcements

Introduction to BGP. ISP Workshops. Last updated 30 October 2013

An Efficient Algorithm for AS Path Inferring

Quantifying Path Exploration in the Internet

COM-208: Computer Networks - Homework 6

Preventing the unnecessary propagation of BGP withdraws

In Search of the Elusive Ground Truth: The Internet s AS-level Connectivity Structure

Lecture 4: Intradomain Routing. CS 598: Advanced Internetworking Matthew Caesar February 1, 2011

Inter-Domain Routing: BGP

CSCD 433/533 Advanced Networks Spring 2016

AS Router Connectedness Based on Multiple Vantage Points and the Resulting Topologies

IEEE/ACM TRANSACTIONS ON NETWORKING, VOL. 9, NO. 6, DECEMBER On Inferring Autonomous System Relationships in the Internet

BGP Route Leaks Analysis

Quantifying Path Exploration in the Internet

15-744: Computer Networking BGP

CS519: Computer Networks. Lecture 4, Part 5: Mar 1, 2004 Internet Routing:

Inferring Multilateral Peering

Luca Cittadini, Roma Tre University Stefano Vissicchio, UCLouvain Benoit Donnet, Université de Liege

Inter-Autonomous-System Routing: Border Gateway Protocol

BGP. Autonomous system (AS) BGP version 4

CS4450. Computer Networks: Architecture and Protocols. Lecture 15 BGP. Spring 2018 Rachit Agarwal

BGP Route- Leak Protec0on Community

Quantifying Path Exploration in the Internet

BGP. Autonomous system (AS) BGP version 4

Examination. ANSWERS IP routning på Internet och andra sammansatta nät, DD2491 IP routing in the Internet and other complex networks, DD2491

SENSS: Software-defined Security Service

IP Addressing & Interdomain Routing. Next Topic

EVOLUTION OF THE INTERNET TOPOLOGY FROM A REGIONAL PERSPECTIVE. Jose Carlos Acedo

CS Networks and Distributed Systems. Lecture 8: Inter Domain Routing

Interdomain Routing Reading: Sections P&D 4.3.{3,4}

Routing Basics ISP/IXP Workshops

CS 557 Internet Routing Policies

BGP Attributes and Path Selection

BGP Policy Lab - Partial Routing

Internet Routing Protocols Lecture 03 Inter-domain Routing

Stable Internet Route Selection

On characterizing BGP routing table growth

Introduction to IP Routing. Geoff Huston

BGP Configuration for a Transit ISP

APNIC elearning: BGP Basics. 30 September :00 PM AEST Brisbane (UTC+10) Revision: 2.0

Simulating Internet Scale Topologies with Metarouting

Routing(2) Inter-domain Routing

BGP. Autonomous system (AS) BGP version 4

the real-time Internet routing observatory

Routing Basics. Routing Concepts. IPv4. IPv4 address format. A day in a life of a router. What does a router do? IPv4 Routing

BGP Path Exploration Damping (PED)

Professor Yashar Ganjali Department of Computer Science University of Toronto.

Inter-Autonomous-System Routing: Border Gateway Protocol

Flooding Attacks by Exploiting Persistent Forwarding Loops

Active BGP Measurement with BGP-Mux. Ethan Katz-Bassett (USC) with testbed and some slides hijacked from Nick Feamster and Valas Valancius

Introduc)on to Computer Networks

Routing(2) Inter-domain Routing

Interdomain Routing Design for MobilityFirst

CSCI-1680 Network Layer: Inter-domain Routing Rodrigo Fonseca

The BGP Visibility Scanner

On the Characteristics of BGP Routes

Lecture 13: Traffic Engineering

A FRAMEWORK FOR DEFENDING AGAINST PREFIX HIJACK ATTACKS. A Thesis KRISHNA CHAITANYA TADI

A Configuration-only Approach to FIB Reduction. Paul Francis Hitesh Ballani, Tuan Cao Cornell

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System)

Understanding the effect of streaming overlay construction on AS level traffic

RealNet: A Topology Generator Based on Real Internet Topology

Building an AS-topology model that captures route diversity

VLANs. LAN Switching and Wireless Chapter 3. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

The BGP Visibility Scanner

Routing Protocols. Technology Description BGP CHAPTER

Transcription:

BGP and inter-as economic relationships E. Gregori 1, A. Improta 2,1, L. Lenzini 2, L. Rossi 1, L. Sani 3 1 Institute of Informatics and Telematics, Italian National Research Council Pisa, Italy 2 Information Engineering Department, University of Pisa, Italy 3 IMT Lucca, Institute for Advanced Studies, Lucca, Italy Tuesday, May 10-2011 E. Gregori, A. Improta, L. Lenzini, L. Rossi, L. Sani BGP and inter-as economic relationships 1 / 18

Paper goal Development of an algorithm to infer economic relationships among ASes composing the Internet, that takes heavily into account the characteristics of exploited input data E. Gregori, A. Improta, L. Lenzini, L. Rossi, L. Sani BGP and inter-as economic relationships 2 / 18

Outline 1 Introduction and basilar concepts from previous works 2 Time-based tagging algorithm 3 Tagged topology analysis E. Gregori, A. Improta, L. Lenzini, L. Rossi, L. Sani BGP and inter-as economic relationships 3 / 18

Internet AS level topology Internet: the largest collection of connected IP networks, belonging to various organizations (e.g. Universities, ISP, CDN) A group of network under the same organization running a the same routing protocol is an Autonomous System (AS), uniquely identified by a number (AS number - ASN) ASes can communicate to each other thanks to BGP, that allow them to build routes toward Internet networks A route is: a unit of information that pairs a set of destinations with the attributes of a path to those destinations E. Gregori, A. Improta, L. Lenzini, L. Rossi, L. Sani BGP and inter-as economic relationships 4 / 18

Data Gathering Routes are stored in the RIB of each BGP router It is possible to study the Internet at the AS-level of abstraction exploting the AS path attribute AS paths are gathered by route-collectors deployed by RouteViews and RIPE-RIS projects 21,144,713 AS paths available (in October 2010) 36,437 ASes 116,671 connections Usually the Internet is studied as an undirect graph, but this not take into account the different economic relationships existent among ASes E. Gregori, A. Improta, L. Lenzini, L. Rossi, L. Sani BGP and inter-as economic relationships 5 / 18

Economic Relationships Typical economic relationships are: provider-customer: the customer pays the provider to reach all ASes that it cannot reach in other ways peer-to-peer: the two ASes exploits each other to reach their customer-cones (typically free-of-charge) sibling-to-sibling: each AS acts as a provider for the other E. Gregori, A. Improta, L. Lenzini, L. Rossi, L. Sani BGP and inter-as economic relationships 6 / 18

Valley-free properties Gao, in [1] pointed out that an AS should not transit traffic between two of its peers two of its providers a peer and a provider This leads to the valley-free property of AS paths: A provider-customer edge can be followed by only provider-customer or sibling-to-sibling edges A peer-to-peer edge can be followed by only provider-customer or sibling-to-sibling edges [1] Gao L., On inferring autonomous system relationships in the internet, IEEE/ACM Transactions on Networking, December 2001. E. Gregori, A. Improta, L. Lenzini, L. Rossi, L. Sani BGP and inter-as economic relationships 7 / 18

Tier-1 ASes A Tier-1 AS is an AS that is able to reach all other Internet AS without recurring to any provider, i.e. a Tier-1 AS has no provider In [2], Oliveira et al. exploited valley-free property of AS paths and a list of Tier-1 ASes to build a new algorithm to infer AS relationships A non-tier-1 AS should be able to reach all the Internet networks, thus there must exist at least one AS path including the considered AS and a Tier-1 AS The valley-free property and the presence of Tier-1 into an AS path, allow to infer the economic relationships between the ASes forming the path [2] Oliveira et al., The (in)completeness of the Observed Internet AS-level Structure, in IEEE/ACM Transactions on Networking, 2010. E. Gregori, A. Improta, L. Lenzini, L. Rossi, L. Sani BGP and inter-as economic relationships 8 / 18

Outline 1 Introduction and basilar concepts from previous works 2 Time-based tagging algorithm 3 Tagged topology analysis E. Gregori, A. Improta, L. Lenzini, L. Rossi, L. Sani BGP and inter-as economic relationships 9 / 18

Analysis of BGP data dynamics: methodology Since ASes can change their decisions on how to reach ASes, AS paths can change during time The TIME information in update messages can be exploited to trace the dynamics of AS paths We consider as the lifespan of an AS path the max time span in which it was considered as active by the BGP i.e. the longest time interval during which there is at least one active route that includes the considered AS path in its attributes. E. Gregori, A. Improta, L. Lenzini, L. Rossi, L. Sani BGP and inter-as economic relationships 10 / 18

CCDF Lifespan of gathered AS paths P(X > x) 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 10 0 10 1 10 2 10 3 10 4 10 5 10 6 10 7 Lifespan [s] The CCDF highlights the presence of many short-lasting AS paths: AS paths that appear after the activation of a backup connection Transient AS paths caused by BGP misconfigurations that appear only during the BGP convergence process after a network failure E. Gregori, A. Improta, L. Lenzini, L. Rossi, L. Sani BGP and inter-as economic relationships 11 / 18

Tagging algorithm step A: Inference of all the possible economic relationships for each direct AS connection direct means that (A,B) (B,A) It is based on the approach proposed by Oliveira et al. in [2] The list of Tier-1 provided by Wikipedia has been exploited For each tag is mantained the lifespan of the AS path used At the end of this step we have multiple (tag, lifespan) pairs for each connection E. Gregori, A. Improta, L. Lenzini, L. Rossi, L. Sani BGP and inter-as economic relationships 12 / 18

Tagging algorithm step B: Inference of a single economic relationship for each direct AS connection All (tag, lifespan) pairs related to the same direct connection have to be merged Find the max lifespan among each pair Merge only those pairs that have a comparable lifespan with the max, i.e. those do not differ more than N order of magnitude from the max Record the largest lifespan as the lifespan of the resulting tag [A, B] [A, B] p2c p2p c2p s2s p2c p2c p2c s2s s2s p2p p2c p2p c2p s2s c2p s2s c2p c2p s2s s2s s2s s2s s2s s2s E. Gregori, A. Improta, L. Lenzini, L. Rossi, L. Sani BGP and inter-as economic relationships 13 / 18

Tagging algorithm step C: Final tagging and two-way validation In order to have the economic relationship existing between AS A and AS B, the tags inferred for (A,B) and (B,A) connections have to be merged The approach used is the same as Step B, considering the different direction of connections, e.g. (A,B) = p2c and (B,A) = c2p have the same meaning The merge is still based on lifespan, thus if the lifespans are not comparable, only the long-lasting tag affect the final tag If there is a tag for both (A,B) and (B,A) and their lifespan is comparable, then the tag is said to be two-way validated E. Gregori, A. Improta, L. Lenzini, L. Rossi, L. Sani BGP and inter-as economic relationships 14 / 18

Outline 1 Introduction Basilar concepts from previous works 2 Time-based tagging algorithm 3 Tagged topology analysis E. Gregori, A. Improta, L. Lenzini, L. Rossi, L. Sani BGP and inter-as economic relationships 15 / 18

P(X > x) Results MIN lifespan of accepted (tag, lifespan) pairs in Step B 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 N=1 N=2 N=INF. 0 10 0 10 1 10 2 10 3 10 4 10 5 10 6 10 7 Lifespan [s] N MAG Tag type Total One-way validated (%) p2c 71841 69707 (97.0%) 1 p2p 43398 41507 (95.6%) s2s 1378-2 p2c 72394 70034 (96.7%) p2p 42556 40716 (95.7%) s2s 1667 - p2c 74949 71642 (95.9%) p2p 39078 37235 (95.3%) s2s 2590 - Results shows that if all the AS paths were used, the probability that transient AS paths affect the final results is larger The set of reliable tags is composed by the two-way validate tags, that represents only the 4.5-6.4% The precision of the algorithm suffers of the lack of information E. Gregori, A. Improta, L. Lenzini, L. Rossi, L. Sani BGP and inter-as economic relationships 16 / 18

Stub ASes N MAG Tag type Total Involving Stubs (%) p2c 71841 53089 (73.8%) 1 p2p 43398 12990 (29.9%) s2s 1378 - p2c 72394 53331 (73.7%) 2 p2p 42556 12748 (30.0%) s2s 1667 - p2c 74949 54180 (72.3%) p2p 39078 11898 (30.5%) s2s 2590 - The majority of the one-way validated connections are involving to stub ASes A stub AS is an AS that does not transit traffic for any other AS Since their nature, stub ASes are likely to be customers of their neighbors Considering this, the percentage of reliable tags rise to almost 56% E. Gregori, A. Improta, L. Lenzini, L. Rossi, L. Sani BGP and inter-as economic relationships 17 / 18

The End Questions? E. Gregori, A. Improta, L. Lenzini, L. Rossi, L. Sani BGP and inter-as economic relationships 18 / 18