150 likes | 238 Views
Understanding BGP Misconfiguration. Ratul Mahajan, David Wetherall, Tom Anderson. Overview. Motivation Misconfigurations Impact of Misconfiguations Methodology Results. Motivation. BGP instabilities have widespread impact. 200-1200 prefixes (0.2-1.0% of the BGP table size)
E N D
Understanding BGP Misconfiguration Ratul Mahajan, David Wetherall, Tom Anderson Dongkee LEE (dklee@an.kaist.ac.kr)
Overview. • Motivation • Misconfigurations • Impact of Misconfiguations • Methodology • Results Dongkee LEE (dklee@an.kaist.ac.kr)
Motivation • 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. Dongkee LEE (dklee@an.kaist.ac.kr)
Motivation • 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? Dongkee LEE (dklee@an.kaist.ac.kr)
Origin Misconfigurations • Unintentional insertion of a route into the global BGP tables. • Classification of origin misconfigurations. Dongkee LEE (dklee@an.kaist.ac.kr)
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. Dongkee LEE (dklee@an.kaist.ac.kr)
Impact of Misconfigurations • Routing load. • Unnecessary BGP updates. • Connectivity disruption. • Policy violation. Dongkee LEE (dklee@an.kaist.ac.kr)
Methodology 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. Dongkee LEE (dklee@an.kaist.ac.kr)
Methodology • 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. Dongkee LEE (dklee@an.kaist.ac.kr)
Methodology • 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. Dongkee LEE (dklee@an.kaist.ac.kr)
Results • 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%) Dongkee LEE (dklee@an.kaist.ac.kr)
Results • 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%). Dongkee LEE (dklee@an.kaist.ac.kr)
Results • 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. Dongkee LEE (dklee@an.kaist.ac.kr)
Fixes • Improve User Interfaces. • Configuration Checker. • Automated verication. • Consistent databases and updated registries. Dongkee LEE (dklee@an.kaist.ac.kr)
The END Dongkee LEE (dklee@an.kaist.ac.kr)