Design and Implementation of Checker for BGP Routing Configuration File

Author
SuXiaoDan
Advisor
LeiYou
School
Beijing University of Posts and Telecommunications
Major
Computer Science and Technology
Classification
TP393.09 The application of computer network
Degree
Master's thesis
Year
2010
Downloads
19
Citations
1

Request the full text

Abstract

In the past decades, the scale and complexity of the Internet have increased at an unprecedented rate. The Internet is composed of thousands of independent autonomous systems that exchange reachability information to destinations using Border Gateway Protocol. BGP is a policy-based routing protocol, network operators use router configurations to provide reachability and to express routing policy, and the configuration is distributed across routers. Operator-induced configuration fault, such as routing loop, invalid routes and persistently oscillating routes, are perhaps the biggest threat to a single AS, even the whole Internet. Hence, it is important to develop a checker based on static analysis of the router configurations before the protocol running on a live network.In this paper, the lexical, syntax and semantic errors, which are common in the BGP routing configuration file, are described, and three properties to classify the behavior of a routing protocol:path visibility, route validity and safety, are introduced. Also, semantic errors which could cause path visibility fault and route validity fault in configuration are defined as well.This paper describes the implemention of BGP configuration checker, a tool that finds faults in BGP configurations using static analysis. In the base of Cisco router configuration syntax, the configuration checker’s design method, the design of function module and implementation of the main functions are discussed. The checker framework involves configuration file management module, lexical and syntax checker module, semantic checker module and view errors module.By using static analysis, BGP routing configuration checker can effectively detect the configuration faults in BGP configurations, guaranteeing the safety and stability of the network.

Table of contents

Abstract 4-5 ABSTRACT 5-8 first chapter 8-14 1.1 Background topics 8-10 1.2 research status 10-11 1.3 topics task 11-13 1.4 thesis structure 13-14 The second chapter of the Border Gateway Protocol BGP-4 14-32 2.1 BGP basic principle 14-17 2.1.1 terminology explained 14-16 2.1.2 principle outlined 16 2.1.3 working process 16-17 2.2 BGP messages 17-18 2.3 BGP finite state machine 18-20 2.4 BGP path attribute 20-26 2.4.1 Origin attribute 21-22 2.4.2 AS-path attribute 22-23 2.4.3 Next-hop attribute 23-24 2.4.4 MED attribute 24 2.4.5 Local_preference attributes 24-25 2.4.6 Community Properties 25-26 2.5 BGP routing process 26-28 2.5.1 Notice to peer routing 27 2.5.2 BGP routing decision-making process 27-28 2.6 route reflector 28-31 2.6.1 route reflector related terms and concepts 29-30 2.6.2 route reflector configuration connection rules and notification rules 30-31 2.7 This chapter Summary 31-32 Software Requirements Analysis 32-49 3.1 software development goals 32-33 3.2 BGP configuration file check tool requirements outlined 33-44 3.3 BGP Configuration File Checker tool features Overview 44-46 3.3.1 software user analysis 44 3.3.2 software functionality 44-45 3.3.3 system use case diagram 45-46 3.4 software overall design 46-48 3.5 This chapter Summary 48-49 Chapter BGP configuration files lexical and grammar checker design 49-65 4.1 BGP configuration files lexical and syntax checking design 49-55 4.1.1 design ideas 49 4.1.2 software function modules design 49-55 4.2 BGP configuration files lexical and grammar checker to achieve 55-63 4.2.1 Technical 55-57 4.2.2 software process flow 57-60 4.2.3 lexical analyzer to achieve 60-61 4.2.4 parser implementations 61-63 4.3 lexical and syntax checking function test 63-64 4.4 This chapter Summary 64-65 the the fifth chapter BGP configuration file semantics checking feature design and Implementation 65-86 5.1 BGP configuration file semantics checking design 65-72 5.1.1 design ideas 65-66 5.1.2 software features modules designed 66-67 5.1.3 Semantic Analysis database design 67-72 semantic checks 5.2 BGP configuration file to achieve 72-82 5.2.1 Technical 72-73 5.2.2 software process flow 73-76 5.2.3 semantic checks achieve 76-82 5.3 semantic checking function test 82-85 5.4 This chapter Summary 85-86 Chapter VI Conclusion 86-88 6.1 thesis work summarizes 86-87 6.2 Problems and Prospects 87-88 the References 88-89 Acknowledgements 89-90 to pursuing degree during the academic 90

Related dissertations

  1. The Study on a Robust Finite State Machines Testing Model Based on Consistency in BGP-4
  2. Fast Route Convergence, Competition Strategies and Traffic Modeling for Autonomous Systems
    LiLei ·Beijing Jiaotong University ·2008 ·Doctoral dissertation
  3. Study on BGP-Based InterDomain Traffic Engineering
    WangDaDong ·Northeastern University ·2006 ·Doctoral dissertation
  4. Study on Inter-Domain Routing Stability
    WangHongJun ·Northeastern University ·2006 ·Doctoral dissertation
  5. Research on the Stability of Internet Inter-Domain Routing
  6. Research on Security Monitoring Technologies for Inter-domain Routing in the Internet
  7. Study on Several Problems for Inter-domain MPLS VPN
    LiangHaiYing ·Northeastern University ·2008 ·Doctoral dissertation
  8. Research on Inter-Domain Routing System Security
  9. Study on the Predictability for Inter-Domain Routing
    XuZuo ·Northeastern University ·2009 ·Doctoral dissertation
  10. Modeling and Analysis of BGP Routing Stability
    BaoGuangBin ·Lanzhou University of Technology ·2009 ·Doctoral dissertation
  11. IP Traceback Techniques Research Based on the Packet Marking Schemes
  12. Time -based control algorithm of the Border Gateway Protocol
    LiYaDan ·Jinan University ·2007 ·Master's thesis
  13. Research and Implement of Algorithm for Generating Internet Autonomous System Hiberarchy Topology Graph
    TaoYi ·Hunan University ·2006 ·Master's thesis
  14. Research and Implementation of Intermediate-System-to-Intermediate-System Routing Protocol
  15. MPLS Oriented VPN Network Design and Its Engineering
    ZhuBin ·Sichuan University ·2005 ·Master's thesis
  16. Study and Implementation on Test of Conflicting BGP Routing Policies
    LiuJuan ·North China University of Technology ·2005 ·Master's thesis
  17. 6PE Study and Implementation in the Transition of IPv4 to IPv6
  18. The Study of Defense Strategy under Distributed Denial of Service Attacks
  19. Research on MPLS VPN and Its Application in Guizhou Electric Power
    SongZuo ·Chongqing University ·2004 ·Master's thesis
  20. Core router Border Gateway Protocol BGP-4 technology research