Design and Implementation of Driver System of Protocol Stack in NP-Based Firewall

Author
HanZhiGeng
Advisor
LuoJunZhou , WangJian
School
Southeast University
Major
Computer Software and Theory
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2006
Downloads
99
Citations
0

Request the full text

Abstract

Active firewall technology is designed to overcome the traditional firewall functionality single and intranet security depends on the assumptions, can be an effective defense of \Technically network processor platform can effectively avoid the obstacles as well as function of the performance of the traditional firewall architecture and protocols fast support barriers. However, in view of the use of multi-processor hardware architecture and layered architecture, there is an urgent requirement to give full play to the structural advantages of the core TCP / IP protocol stack to be able to handle the local destination message, to solve this problem, it is important in the TCP / design protocol between the IP protocol stack and hardware optical port device driver stack driver, to completely open up the network processor fiber cable to the path between the local network protocol stack, and also provide easy to configure optical interface operating system user mode. For the Design and Implementation of the protocol stack of the drive system, the paper mainly around three parts: The first part is a stack by Intel IXA architecture, protocol driven system architecture and mining drive the basic components of the system and the internal mechanism, described in the protocol stack; concrete implementation for the current system based on the situation at the same time to ensure compliance with the entire system functions compatible and IXA architecture layered design principles, a detailed design and the division of the functional modules of the drive system of the system need to implement the protocol stack; and thus starting to conduct research under Linux driver design techniques to clarify the need to solve the general problem of the driver, on this basis, combined with the general mode under Linux driver module design, specific NP firewall drive system based on the Linux platform protocol stack tracking; involved in the realization of an important data structure and key packet flow analysis, and protocol stack drive system is a multi-faceted function tests. The second part from the protocol stack the packet classification ideological drive system architecture, the concrete realization of the protocol stack in the drive system simple packet classification function on the basis of the analysis of packet classification algorithms used by the industry, and on this basis to expand into on NP firewall packet classification algorithm to study the the given algorithm advantages and disadvantages; based on RFC algorithm and Grid of Tries algorithm dig design a combination of NP firewall RFC, and Grid of Tries algorithm advantage packet classification algorithms, and performance theory. The last part from both theoretical and practical aspects of the research work of the full text summary and analysis and prospects for further work.

Table of contents

Summary 5-6 ABSTRACT 6-11 Chapter 1 Introduction 11-17 1.1 Background 11-12 < br /> 1.2 research status 12 1.3 protocol stack drive system in the entire system status 12-15 1.3.1 active security system software architecture 12-15 1.3.2 protocol stack drive system functions 15 1.4 drive system design of the protocol stack and the significance 15-16 1.5 Papers organizational structure 16-17 Chapter 2 INTEL IXA architecture 17-25 2.1 structure 17-18 2.2 micro-engine technology 18-19 2.3 Intel Xscale micro-structure 19 2.4 Intel IXA hardware abstraction layer (HAL) 19-20 2.5 Intel on IXP2400 network processor 20-21 2.6 Intel IXA software system structure 21-25 the 2.6.1 network processor software architecture 21-22 2.6. 2 IXA software framework structure 22-25 Chapter 3 INTEL IXA architecture protocol stack driver system architecture 25-45 3.1 Summary 25 <br / > 3.2 the internal support and external dependence 25 3.2.1 inherent support 25 3.2.2 external dependence 25 3.3 protocol stack driver System (Stack Driver) 25-45 3.3.1 Stack Driver design are found; 25-27 3.3.1.1 Stack Driver design are found; 26-27 3.3.1.2 packet stream the synchronization properties 27 3.3.1.3 27 3.3.2 core component of the module design 27-28 3.3. 2.1 The core component module design are found; 27-28 3.3.2.2 execution context (thread) 28 3.3.3 External API 28-32 3.3.3.1 core component module design 28-29 3.3.3.2 core component of the infrastructure API 29-30 3.3.3.3 core component of the infrastructure sorting 30 3.3.3.4 Initialization 30-31 3.3.3.5 Close 31 3.3.3.6 packet and message processing API 31 3.3.3.7 Properties API 31-32 3.3.4 packet classifier design the 32-34 3.3.4.1 operation based on the theory 32 3.3.4.2 IXA framework protocol stack drive system architecture for packet classifier design 32-33 3.3.4.3 packet classifier data structures 33 3.3.4.4 packet classifier external API the 33-34 3.3.4.5 packet classification data flow 34 3.3.5 outgoing packet classifier design 34-36 3.3.5.1 outgoing packet classification data structure 34-35 3.3.5.2 outgoing packets inside the classifier API 35 3.3.5.3 outgoing packets the classifier data flow 35-36 3.3.5.4 has scalability outgoing packet classifier design 36 of 3.3.6 VIDD for VxWorks 36-37 < br /> 3.3.6.1 VIDD system data structures the 36-37 the the 3.3.6.2 VIDD local data structures 37 3.3.7 MUX interface API 37-39 3.3.7.1 VIDD system calls the MUX application programming interfaces be use on 3.3.7.2 VIDD, 38-39 39 3.3.8 protocol stack architecture of the drive system packet processing is 39-42 3.3.8.1 module part of the core components 40 3.3.8.2 VIDD, part 40-41 3.3.8.3 outgoing packet processing pseudo code 41-42 3.3.8.4 core component module outgoing packets pseudo code 42 3.3.9 transmission module design 42 3.3.9.1 the transmission module data structure 42 3.3.9.2 transmission module external API 42 3.3.10 boot configuration file needs 42-45 Chapter 4 packet classification algorithm 45-57 4.1 package Category Overview 45 of 4.2 packet classification algorithm described 45-46 4.2 .1 packet classification problem 45-46 4.2.1.1 term the 45-46 4.2.1.2 packet classification defined 46 4.2.1.3 packet classification algorithm described 46 4.3 for packet classification algorithm requirements 46-47 4.4 packet classification algorithm analysis 47-49 4.5 three kinds Quantitative evaluation of the typical performance of the algorithm the 49-52 4.5.1 RFC Algorithms 49-50 4.5.2 Grid of Tries algorithm is introduced 50 4.5.3 Modular Algorithms 50-51 4.5.4 three algorithms performance evaluation the 51-52 4.6 for NP firewall packet classification algorithm 52-57 4.6.1 algorithm thinking 52-53 4.6.2 the algorithm program flow 53 4.6.3 hybrid search algorithm based Tries tree linear part 53-54 4.6.3.1 mixing Tries tree-based linear search algorithm memory-consuming analysis 53-54 4.6.3.2 mixing based Tries tree linear search algorithm to find the speed analysis 54 4.6.3.3 mixed based Tries tree linear search algorithm part application 54 4.6.4 RFC algorithm part 54-55 4.6. 4.1 port partition 54-55 4.6.4.2 reduced processing 55 4.6.4.3 result of the merger 55 4.6.5 two parts synthesis algorithm Performance Analysis 55-57 Chapter 5 under LINUX driver design technology 57-71 5.1 Linux device driver design basic knowledge 57-61 5.1.1 Linux kernel Profile the 57-58 5.1.2 Linux device drivers overview 58-59 5.1.2.1 device driver concept 58 5.1.2.2 Linux driver 58-59 5.1.2.3 Linux driver classification 59 the 5.1.2.4 Linux next drive program characteristics 59 5.1.3 Linux device drivers basic methods and data structures 59-61 character device driver 5.1.3.1 59 -60 5.1.3.2 device driver used in the main data structure 60-61 5.2 Linux driver needs to solve the general problem 61-71 5.2.1 Memory Management the 61-62 5.2.1.1 Linux kernel memory management methods 61 5.2.1.2 kmalloc () and kfree () 61 5.2.1.3 allocation of page-oriented technology 61-62 5.2.1.4 the vmalloc () and related functions 62 5.2.2 interrupt handling and port 62-65 of 5.2.2.1 apply and release interrupt 62-63 5.2.2.2 automatically detects the interrupt number 63 5.2.2.3 fast / slow interrupt handling 63 5.2.2.4 interrupt handler 63-64 5.2.2.5 drive the bottom half of the program design 64 <br / > the 5.2.2.6 installation sharing handler 64-65 5.2.3 I / O ports 65 5.2.4 DMA processing 65-66 5.2.5 time flow related problems the 66-68 5.2.5.1 Clock application and release the 66-67 5.2.5.2 delay 67 5.2.5.3 task queue the 67-68 5.2.6 Registration drivers 68-71 Chapter 6 under LINUX protocol stack drive system design and realization 71-91 6.1 protocol stack drive system design 71-74 6.1.1 overall design 71-72 6.1.2 function module divided the 72-74 6.2 protocol stack drive system to achieve the 74-84 6.2.1 important data structures 75-76 6.2.2 key data process 76-84 6.2.2.1 Stack driver initialization 76-80 6.2.2.2 Stack driver received packet flow 80-82 <br / > 6.2.2.3 Stack driver in the outgoing packet flow 82-84 6.3 development and testing environment 84-86 6.3.1 development environment to build 84 - 85 6.3.2 test environment build 85-86 6.4 protocol stack drive system functional test 86-89 6.4.1 horizontal test 86-87 6.4.2 Longitudinal test 87-89 6.5 protocol stack driver NP firewall 89-91 Chapter 7 papers summarize and Looking 91-93 7.1 theoretical results are summarized 91 7.2 Practical results are summarized 91 7.3 next job 91-93 < br /> the packet classification algorithm 7.3.1 the 7.3.2 drive system protocol stack nbsp 91-92 ; 92-93 Reference 93-95 < br /> List of Abbreviations 95-97 master stage to participate in the project and published papers 97-99 Master stage in the research work 97 <br / > postgraduate level published papers 97-99 thank the 99

Related dissertations

  1. The Design and Implementation of Security Policy Center and NP-based Firewall
    HaoNing ·Southeast University ·2005 ·Master's thesis
  2. The Embedded Firewall Based on IXP425Network Processor Design
  3. Research on Key Technologies in Mobile Ad Hoc Networks
    ChenZuo ·University of Science and Technology of China ·2007 ·Doctoral dissertation
  4. Research on the Key Technologies of Quality of Service in WCDMA Core Networks
    PengKai ·Huazhong University of Science and Technology ·2006 ·Doctoral dissertation
  5. Research on Models, Algorithms and Implementations of Traffic Control Based on Network Processor
    ZhengBo ·Tsinghua University ·2006 ·Doctoral dissertation
  6. Based on the the IPV6 state of the network processor tracking Firewall Design and Implementation
  7. IPv6 hardware firewall design and implementation of fast data channel
  8. Research and Implementation of VPN hardware firewall based on NP
  9. The Design and Implement of Rule Matching Core Component of Firewall and the Preprocessors Module of IDS
  10. Design and Development of the Bandwidth Manage of the Firewall Based on NP
  11. The Research and Implementation for A-GPS Module and Fixing Control Module in A-GPS Hybrid Fixing System
  12. Key technologies embedded distributed firewall
  13. The network processor packet conversion engine PTE research and design
  14. The firewall key technology research and hardware implementation
    ZhaoKai ·Northwestern Polytechnical University ·2007 ·Master's thesis
  15. Network processor packet classification engine design
  16. Based on the firewall key technologies of the network processor algorithm
  17. Research on User Control and Administration of Access Convergence Router
    SiLiang ·PLA Information Engineering University ·2006 ·Master's thesis
  18. Design and Implementation of Firewall System Based on Network Processor
    SunYu ·Southeast University ·2006 ·Master's thesis
  19. The Design and Implementation of Firewall Forwarding Functions Based on Network Processor
    LiQiuJiang ·Institute of Computing Technology ·2004 ·Master's thesis
  20. The Design and Implementation of Data Plane and Route CC of Firewall Based on Network Processor