Linux2.4.x kernel TCP / IP protocol stack , security
- Author
- LiuXiaoPing
- Advisor
- GuoYuDong
- School
- PLA Information Engineering University
- Major
- Computer Software and Theory
- Classification
- TP316 Operating system
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 278
- Citations
- 1
Abstract
The present menace on the network and those security problems existing in the TCP/IP protocols are described. Linux OS kernel and its TCP/IP source code have been read particularity and The Linux Security Modules (LSM, project addresses this problem by providing the Linux kernel with a general purpose framework for access control)梟etfilter. Data structure and the connection of the source code’ s main modules and functions have been analyzed.Through the study, I have two methods to resolve the question in kernel: I utilize the linux OS theory and implement mechanism writing a LSM module and register it to listen to the NF_IP_PREROUTING hook, so when a packet is passed to the netfilter framework, it will be checked, we realize the defense of OS fingerprinting .The LSM framework allows access control models to be implemented as loadable kernel modules. Adding enhanced access control models to the kernel improves host security and can help a server survive malicious attacks. We design a frame of cooperating defense and multi-levels which include many security technology of computer network and implemented’a system based on the frame And discussed the implement of this module on Linux Operate System. This module adds the state inspection function and packet string to the original packet filter mechanism in the Linux OS, which means every packet has some relationship wity others in one session of the upper layer. We can resolve the problems such as efficiency and security in the original packet filter and proxy firewall technology. It goes beyond inspecting TCP/IP flags, The capabilities presents an attempt to cross the bridge between two firewall groups without getting stuck in disadvantages of either method. It should be noted that packet filter does not become higher-layer-protocol-aware since it still operates at network level, but is only allowed to peek at payloads, rather than analyze the application-level communication structure. It can be used to protect networks and individual hosts from many attacks on the network services.In the end, the paper also talks about something on the development of the state-inspection technology and how to add other security technology.
Table of contents
Summary 2-3
Abstract 3-6
Chapter 1 Introduction 6-9 the
§ 1.1 subject background 6-7
§ 1.2 intruder attack trends
§ 1.3 kernel TCP / IP protocol stack, security status quo 7-9
TCP / IP protocol stack of security risks 9-18 the
§ 2.1 IP protocol 9-10
§ 2.2 TCP protocol analysis 10-16 the
§ 2.3 UDP protocol 16
§ 2.4 existing technical weaknesses 16-18
Chapter linux kernel network security framework 18-25
§ 3.1 the LSM security module 18
§ 3.2 Linux network protocol code analysis 18-20
§ 3.3 kernel network security framework 20-24
§ 3.3.1 principle 20-23
§ 3.3.2 network security features point to achieve the 23-24
§ 3.4 to solve ideas 24-25
Chapter custom netfilter module 25-35
§ 4.1 system fingerprint feature detection technology 25-27 on
§ 4.2 self-important data structure defined LSM module programming 27 -31
§ 4.2.1 kernel module and function 27
§ 4.2.2 custom module interface 27-28
§ 4.2.3 HOOK point the handler function nf_hookfn 28-29
§ 4.2.4 registration function 29-30
§ 4.2.5 uninstall function 30
§ 4.2.6 Logging 30-31
§ 4.3 implementation process and part of the code Note 31-33
§ 4.4 module compilation 33
§ 4.5 of hackers the NMAP detect details and results the 33-35
Chapter protocol stack security solution 35-51
§ 5.1 network security framework designed 35-36 < br /> § 5.1.1 system design 35
§ 5.1.2 Description 35-36
Design and Implementation of § 5.2 network status detection 36 - 44
§ 5.2.1 TCP connection characteristics analysis 37
§ 5.2.2 connection tracking state 37-39
§ 5.2.3 state detection principle and status Analysis 39-41
§ 5.2.4 kernel state detection defects are found; 41
§ 5.2.5 model structure design based on the state detection technology, 41-44
§ 5.3 stateful inspection and basic packet filtering module fusion concrete realization 44-48 the
§ 5.3.1 module design flow 44-45
§ 5.3.2 stateful inspection to specific achieve 45-48 the
§ 5.4 deep packet filtering technology 48-51 the
§ 5.4.1 system composition and function 49-50
§ 5.4.2 The actual application case 50-51
papers Summary 51-52
Acknowledgements 52-53
reference directory 53 - 54
Related dissertations
- Design and Implementation of Remote Login Control System Based on Modem Technology
- Automation Measuring System for Water Supply Based on GPRS
- Research on Packet Classification Algorithms for Packet Filter Firewall
- A Remote Network Monitoring System Based on Embedded Linux
- The Design and Realization of Interconversion System between Hdlc Data Link and TCP/IP Data Link
- Design of CAN-Ethernet Gateway Based on ARM
- Research on the Distributed Data Interaction Measurement and Control Network Based on Mcwill and RS-485
- Development of Data Recorder
- Design and Implementation of Multifunction Ethernet Nodes in Coal Mine
- Design and Implement on Network Alarm Monitoring System Based on Web Technology
- A Design and Implementation of Telemedical Monitoring System Based on Embedded Internet
- Monitoring and Control System Design of Coal Pile Based on VC
- Design of the Ethernet Prison Monitoring System Based on Cortex-A8
- Research on Data Transmission in Power and Environmental Monitoring System based TCP/IP Protocol
- The Remote Communication Control of In-situ Laser Raman Spectroscopy System Based on Seafloor Observation Network
- Design of Remot Monitor System of Drainage Based on Embedded Web Server
- Design of Remote Network Measurement and Control System for Overload Test Platform
- Research on Digital Smart Three-component Force Balance Accelerometer
- Realtime Detection and Recovery of ARP Spoofing Based on WinPcap
- The data link layer packet filtering and data reorganization processing technology research and application based on