Presentation is loading. Please wait.

Presentation is loading. Please wait.

Dongkee LEE 1 Understanding BGP Misconfiguration Ratul Mahajan, David Wetherall, Tom Anderson.

Similar presentations


Presentation on theme: "Dongkee LEE 1 Understanding BGP Misconfiguration Ratul Mahajan, David Wetherall, Tom Anderson."— Presentation transcript:

1 Dongkee LEE (dklee@an.kaist.ac.kr) 1 Understanding BGP Misconfiguration Ratul Mahajan, David Wetherall, Tom Anderson

2 Dongkee LEE (dklee@an.kaist.ac.kr)2Overview.  Motivation  Misconfigurations  Impact of Misconfiguations  Methodology  Results

3 Dongkee LEE (dklee@an.kaist.ac.kr)3Motivation  BGP instabilities have widespread impact. 200-1200 prefixes (0.2-1.0% of the BGP table size) suffering from misconfiguration each day. Close to 3 in 4 of all new prefix advertisements were results of misconfiguration.

4 Dongkee LEE (dklee@an.kaist.ac.kr)4Motivation  Misconfigurations can be a leading cause of unreliability.  BGP is complex to configure. How frequently do these misconfigurations occur? What is their impact on global connectivity and routing load? Why do the misconfigurations occur? What can be done to reduce their frequency and impact?

5 Dongkee LEE (dklee@an.kaist.ac.kr)5 Origin Misconfigurations  Unintentional insertion of a route into the global BGP tables.  Classification of origin misconfigurations.

6 Dongkee LEE (dklee@an.kaist.ac.kr)6 Export Misconfigurations  The AS-path is in violatoin of the policies of one the ASes in the path.  Violating the valley free condition or contain multiple peering edges as probable export misconfigurations.

7 Dongkee LEE (dklee@an.kaist.ac.kr)7 Impact of Misconfigurations  Routing load.  Unnecessary BGP updates.  Connectivity disruption.  Policy violation.

8 Dongkee LEE (dklee@an.kaist.ac.kr)8Methodology RouteViews data. (23 peers in 19 Ases) Identify short-lived (< 24hours) changes as potential misconfigurations. length of time a new route lasted in the BGP table. 45% of changes last less than 1 day. 30% of them lasted more than 7 days.

9 Dongkee LEE (dklee@an.kaist.ac.kr)9Methodology  For origin misconfigurations Use historical BGP data from the previous day to determine how long a new route lasted. Classify the new routes into … self deaggregation, related origin, foreign origin.  For export misconfigurations Based on the inferred AS relationships, identify AS-paths with short-lived subpaths that violate the valley free condition.

10 Dongkee LEE (dklee@an.kaist.ac.kr)10Methodology  Email Survey It’s not necessary that all short-lived changes are misconfigurations.  Testing Connectivity. Determine the extent of disruption due to misconfigurations. Download the current BGP table from RouteViews. For all the suspect route in the table, it checked if the prefix was reachable from various vantage points in the network.

11 Dongkee LEE (dklee@an.kaist.ac.kr)11Results  Cause of Origin misconfiguration  Faulty redistribution (32% prefixes, 5% incidents).  Initialization bug (22%, 5%).  Reliance on upstream filtering (14%, 46%).  Announcing routes assuming upstream would filter them.  Hijacks (1%, 6%)  Announcing somebody else’s address space.  Old configuration (1%, 4%)

12 Dongkee LEE (dklee@an.kaist.ac.kr)12Results  Cause of Export misconfiguration  Prefix based config (8% path, 22% incidents). Intended policy: Provide transit to C through A-C Configured policy: Export all routes originated by C to P1 and P2  Old configuration (2%, 4%)  Initialization bug (1%, 4%).  Forgotten filter (8% 7%).  Bad ACL or route map (34%, 4%)  Typo (12%, 6%).

13 Dongkee LEE (dklee@an.kaist.ac.kr)13Results  Connectivity is surprisingly robust to most misconfigutaions.  it was affected in only 4% of the misconfigured announcement. 13% of incidents)  But routing load can be significant.  It was more than 10% of the total update load,  And it went higher than 60% of the total update load.

14 Dongkee LEE (dklee@an.kaist.ac.kr)14Fixes  Improve User Interfaces.  Configuration Checker.  Automated verication.  Consistent databases and updated registries.

15 Dongkee LEE (dklee@an.kaist.ac.kr)15  The END


Download ppt "Dongkee LEE 1 Understanding BGP Misconfiguration Ratul Mahajan, David Wetherall, Tom Anderson."

Similar presentations


Ads by Google