Research and Application of data forwarding based on the Linux platform
- Author
- QuHaoRan
- Advisor
- GuJianHua
- School
- Northwestern Polytechnical University
- Major
- Applied Computer Technology
- Classification
- TP316.81
- Degree
- Master's thesis
- Year
- 2003
- Downloads
- 169
- Citations
- 2
Abstract
With the development of computer networks, information security is facing the era of stand-alone system is not a new problem. How to protect the security of the network has become the focus of attention. Connect local area network and Internet security gateway as a typical network security devices can effectively combat network environment, the two main threats faced by information systems - communications security and take the initiative to attack. However, due to the security gateway in the network communication where logical bit to take itself will be a potential bottleneck of the entire communication process forward efficiency. The problem of how to improve the efficiency of the security gateway, has been a focus of the security gateway. In this paper, the problem of inefficient security network forwards, on the basis of a detailed analysis of the free software Linux kernel, a new type of data used in security gateway forwarding platform program. The main idea of ??this repeater platform are specified by the different types of data packets received by docking a different priority, and for data packets of different priority construct different priority kernel forwarding thread, via the kernel thread priority-based scheduling high-priority kernel thread possession the processor executes forwarding task, and ultimately the high-priority packet is forwarded out as quickly as possible. The main content of this study include the following aspects: 1. In-depth analysis on the part of the network protocol stack of the Linux kernel 2.4.0 version. Discusses the working mechanism of the network protocol stack, elaborated under Linux network interface device works for the RTL8139 this popular Ethernet cards, and pointed out that the standard Linux kernel protocol stack in this article to build data forwarding platform differences. 2. A protocol stack data forwarding program with the implementation of the Linux kernel threads, in this scenario, to borrow the multi-process operating system the process priority preemptive processor-based thinking, to achieve network-based packet priority forwarding target. In order to achieve this program, the first part of the 2.4.0 version of the Linux kernel process management a detailed analysis on the realization of the principle of a key part of the Linux kernel process scheduling mechanism for scheduling timing, scheduling policy, scheduling methods , pointed out that the difference between kernel thread scheduling mechanism in the standard Linux kernel process scheduler and target platform, and gives a solution, and finally gives the implementation details of the target platform. 3. Linux-based system, solve the problem of network security security facilities architecture, mainly used in network security facilities, such as tunneling technology, encryption technology, authentication technology. Focus on a set of security protocols IPSec function modules, principle, core functional modules IPSec protocol and of building data forwarding platform integrated to build a basic safety function security gateway. Security gateway built in this paper is only a prototype, to further improve the focus of subsequent work.
Table of contents
Abstract 3-4
Abstract 4-6
directory 6-8
first chapter 8-11 <br / 1.1 Background 8-9
1.2 thesis content 9
1.3 thesis structure 9-11
second chapter network security technology 11-21
2.1 Overview 11
2.2 attack the 11-12 2.2.1 Description of the problem
11
2.2. the 2 firewall technology 11-12
of 2.3 communications security 12-13
2.3.1 Problem Description 12
2.3.2 VPN technology 12-13
2.4 security gateway architecture 13-14
2.5 related technologies 14-16
2.5.1 tunneling technology 14 -15
2.5.2 encryption technology 15
2.5.3 authentication and digital signature 15-16
2.6 IPSec Overview 16-21
2.6.1 IPSec composed the 2.6.2 security alliance 16-18
18
2.6.3 ESP and AH use 18-19 <br / > 2.6.4 IPSec operation mode 19
2.6.5 Security Union 19
2.6.6 IPSec location 19-21
first chapters platform design and Implementation 21-48
3.1 to forward platform design goals 21-24
3.1.1 forwarded to the location of the platform in the network 21-22
3.1.2 hardware platforms 22
the 3.1.3 packet priority definitions of the 22-23 design ideas
3.1.4 target platform 23-24
3.2 Linux network protocol stack analysis the 24-34
3.2.1 Linux network device overview 24-26
3.2.2 protocol stacks. in important data structures to 3.2.3 RTL8139 NIC 26-29
sending and receiving 29-31
3.2.4 network device interrupt handling 31-33
3.2.5 protocol stack functions with the target platform differences 33-34
3.3 Linux process management analysis 34-38
3.3.1 process control block task_struct {} 34-36
3.3.2 kernel threads 36
3.3.3 process scheduling 36-38
3.4 forwarding platform design and implementation 38 - 47
3.4.1 platform overall design are found; the the module division data flow of 38-40
3.4.2 platform 40-43
3.4.3 platform nbsp are; 43-47
3.5 Chapter Summary the 47-48
Chapter security gateway forwarding platform 48-63
4.1 Overview 48
4.2 system solutions 48-51
4.2.1 The general idea function module division and mutual relations are found in 48-49
4.2.2; 49 -50
4.2.3 process flow overview to achieve 50-51
4.3 functional modules 51-58
4.3.1 security policy database (SPD) to achieve nbsp 51-54
4.3.2 Security associated library (SAD), achieve; 54-55
4.3.3 AH module 55-56
4.3. 4 ESP module 56-57
4.3.5 encryption and authentication algorithms the 4.3.6 log 57
statistics, preparation 57-58
4.4 strategy caching mechanism 58-60
4.4.1 policy cache structure 58-59
4.4.2 policy cache initialization
59 4.4 .3 policy cache update 59-60
4.5 process described 60-62
4.5.1 initialized IPSec 60
4.5. 2 IP packet preprocessing 60
the 4.5.3 security policy processing 60
4.5.4 IP packet fragmentation assembly processing 60-61
4.5 .5 IPSec into processing 61
4.5.6 transmission process nbsp 61
4.5.7 IPSec outbound processing; 61-62
4.6 Chapter Summary nbsp 62-63
Chapter Summary and Outlook; 63-64
Acknowledgements to References 64-65
65-66
Related dissertations
- Construction of a VPN Security Gateway over IXP425 Network Processor
- Implementation Technology of IPSec - based virtual private network ( VPN )
- Research and Realization of Fieldbus Conversion and Monitoring System Based on ARM
- The Research of CANopen Protocol Based on Embedded Systems
- Research and Realization of Embedded Wireless Sensor Networks
- Research and Implemention of IP Packet Reinstall System Based on VPN
- Research and Application of Multi-Processing Load Balancing Technology Based on Multi-Core in Cloud Computing
- The Tailoring of Linux Kernel Based on Testing Coverage
- Porting and Research on Android Based on CK810
- IPSec-VPN-based Research and Implementation for Digital Certificate Authentication Technology
- Reseacrh and Realization of Steam Turbine Bearing Temperature Monitoring and Recording Embedded System Based on ARM
- Research and Application of Multifunctional Industrial Gas Manufactuirng Monitoring System Based on ARM Platform
- The Design and Accomplishment of the Test Tool for Some Key Index of Security Gateway
- Security Alliance’s Design and Application Based on IPSec Protocol
- Research on A Realize of IPSec Protocol Base on OCTEON Processor
- The Design and Implement of Internet Monitoring Equipment
- Constructing the video security access gateway for RSA based on digital certificate
- Research and Implementation of Intelligent Handheld RFID Reader
- A Research of FRAM-based Linux Kernel Crash Dump Mechanism
- Realization on Achieving Wineserver Mechanism in the Linux Kernel