Design and Implementation of a Tool for BGP Routing Policy Detection

Author
NanLin
Advisor
LeiYou
School
Beijing University of Posts and Telecommunications
Major
Computer Science and Technology
Classification
TP393.04 Communication protocols, communication protocols
Degree
Master's thesis
Year
2010
Downloads
25
Citations
0

Request the full text

Abstract

The Border Gateway Protocol (BGP) allows an autonomous system (AS) to apply diverse local policies for selecting routes and propagating reachability information to other domains without divulging its internal topology and their policies to others.Recent studies have shown that a collection of ASes may have conflicting BGP policies that lead to route divergence. Route divergence can result in route oscillation, which can significantly degrade the end-to-end performance of the Internet. Avoiding these conflicting BGP policies is crucial for the stablility of the Internet routing infrastructure.This paper summarizes the routing configuration based on AS relationship and the category of misconfiguration. Next, a survey of current network policy languages is presented. Then, the RPSL (Routing Policy Specification Language), which is popular used, is taken as the language for specifying the BGP route policy. This paper provides a guide on how to use the language on specifying the ASes relationship.In this paper, a tool is developed to analyse the correctness of the routing configuration in RPSL, and to detect the consistency of the configured policy and actual routing. Based on the comparison between all necessary information in a network model at the BGP level and actual BGP routing, the tool can detect two kinds of misconfiguration, one is origin misconfigurations, the other is the export misconfigurations.At last, using a BGP decision process simulator (C-BGP) to emulate one of the network topology, and detect it using this tool, finally, the results are consistent as expected.

Table of contents

Abstract 4-6 Abstract 6-9 first chapter 9-13 1.1 Background 9 120 research status 9-11 1.3 The main work 11-12 1.4 papers organizational structure 12-13 subject Techniques 13-27 2.1 Border Gateway Protocol Overview 13-14 2.2 BGP message format 14-18 2.2.1 OPEN Message Format 15-16 2.2.2 KEEPALIVE Message Format 16 2.2.3 NOTIFICATION Message Format 16-17 2.2.4 UPDATE message format 17-18 2.3 BGP path attribute 18-22 2.3.1 ORIGIN attribute 19-20 2.3.2 AS_PATH attribute 20 2.3.3 NEXT_HOP property 20 2.3.4 MED attribute 20-21 2.3.5 LOCAL_PREFERENCE property 21-22 2.3.6 COMMUNITY attribute 22 2.4 BGP state machine and routing 22-25 2.4.1 BGP state machine 22-24 2.4.2 BGP routing process 24-25 2.5 AS Classification and Inter-AS relationship 25-26 2.6 Summary 26-27 Chapter III check the routing configuration and policy configuration 27-35 3.1 routing configuration error types 27-28 3.1.1 update source configuration error 27-28 3.1.2 Routing Routing output configuration error 28 3.2 update source configuration error checking analysis 28-29 3.3 routing output configuration check analysis 29-34 3.3.1 as-set collection to the transformation to the tree model 31 3.3.2 link the relationship between the derivation of the equivalence strategy 31-33 3.3.3 the AS inter-business relationships to determine 33-34 3.4 Summary 34-35 routing policy checking tools, system design and implementation 35-64 4.1 requirements and overall design 35-37 4.2 strategy RPSL description 37-46 4.2.1 existing network routing description language 37-39 4.2.2 RPSL language introduced 39-40 4.2.3 the RPSL description AS between a variety of business relationships 40-46 4.3 grammar checker module design and 46-57 4.3.1 Lex, Yacc-introduced 46-50 4.3.2 using Lex grammatical analysis 50-54 4.3.3 Yacc parsing 54-57 4.4 strategy to check the module design and 57-63 4.4.1 database design 57-59 4.4.2 policy checks to achieve 59-62 4.4.3 error path matching 62-63 4.5 Summary 63-64 checking tools verify 64-71 5.1 checking tool functional testing 64-67 5.1.1 a single inspection of the AS configuration files 64-65 5.1.2 Multiple AS strategy to check 65-67 5.2 C-BGP simulation 67-70 5.2.1 C-BGP Overview 67-68 5.2.2 C-BGP installation 68-69 5.2.3 simulation results 69-70 5.3 Summary 70-71 Chapter VI Conclusion 71-73 6.1 thesis work summary 71 6.2 issues and outlook 71-73 References 73-75 thank 75-76 pursue a degree during the academic 76

Related dissertations

  1. The Research on Portfolio Marketing Strategy of Yunjing Company’s Hot and Cold Water Self-contained System
    LiuYing ·Central South University ·2012 ·Master's thesis
  2. Ip Traceback Technology Defending Against Distributed Denial of Service
  3. Research on Trust Negotiation Related Key Technologies in Open Network
    YuLing ·Chongqing University ·2012 ·Doctoral dissertation
  4. The Analysis Methods and Engineering Application of Noliner Vibration System
    WangZhongFeng ·Liaoning Technical University ·2012 ·Master's thesis
  5. The Study of a Predator Prey System with Stage Structure
    ReZiZuo·TuoHeTi ·Xinjiang University ·2012 ·Master's thesis
  6. Research on Distributed Collaborative Architecture and Key Technologies of Network Service Policy
  7. Fast Route Convergence, Competition Strategies and Traffic Modeling for Autonomous Systems
    LiLei ·Beijing Jiaotong University ·2008 ·Doctoral dissertation
  8. Research on Agent-Based Autonomic Computing
    ZhangHaiJun ·Institute of Computing Technology ·2005 ·Doctoral dissertation
  9. Study on Inter-Domain Routing Stability
    WangHongJun ·Northeastern University ·2006 ·Doctoral dissertation
  10. Research and Implementation of group communication security management
    YinQing ·PLA Information Engineering University ·2005 ·Doctoral dissertation
  11. The Network Architecture and Security Studies on Forest Resources Information Management
    GaoBao ·Beijing Forestry University ·2002 ·Doctoral dissertation
  12. Research on Routing Optimization in Large Scale Autonomous Systems
  13. Research on the Dynamic Behavior of Delayed Neural Networks with External Stimuli and Inertial Terms
    LiuQun ·Chongqing University ·2008 ·Doctoral dissertation
  14. Research on Automated Trust Negotiation Mechanism in Open Systems
  15. Research on Sensitive Information Protection and Negotiation Efficiency Improvement in Automated Trust Negotiation
  16. DDoS attacks based on autonomous system follow-up study
    HuangChangLai ·Fudan University ·2009 ·Doctoral dissertation
  17. Systematic Analysis Technology on the Internet Topology
  18. Research on Modeling of the Internet As-level Topology Based on Complex Network Theory
    GuoHong ·PLA Information Engineering University ·2011 ·Doctoral dissertation
  19. Asymptotic autonomous system to determine the stability and Robust Control for Uncertain Systems
    SunWeiDong ·Ocean University of China ·2007 ·Master's thesis
  20. Research on Agent-based Policy Aware Framework for Web Services Security
    LiJianXin ·Yangzhou University ·2007 ·Master's thesis