Personal Firewall Design and Investigate on Packet Filtering
- Author
- WenGuiJiang
- Advisor
- LiWenYin
- School
- Jilin University
- Major
- Software Engineering
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 178
- Citations
- 2
Abstract
Network as widely used communication platform , its security issues of widespread concern . A firewall is an important means of prevention , network security , usually in the form of gateway between the internet and intranet , and ignore the potential threat to the internal network . The Windows operating system as the largest user of the operating system , it naturally became the main object of study of the internal network security issues . In this paper, the main combination of the Windows operating system , firewall technology analysis , research . The eventual establishment of a personal firewall packet filtering technology . In this paper, in the form of engineering through the analysis of firewall technology principle , combined with the Windows operating system and firewall software , the basic principles of firewall technology . Winsock2 Service Provider Interface ( Service Provider Interfaee , SPI) program , SPI the new Windows Sockets (WindowsSockets2.0) of the introduction of a new programming interface . The use of this technology can be inserted in Socket layer , which can be completed , such as the transmission quality control , expansion of the TCP / IP protocol stack , URL filtering and network security control and other functions . The system uses a modular programming ideas , including the completion of packet capture module , packet filtering module , packet forwarding module and logging module , end-use Visual C 6.0 to complete the preparation of the system code .
Table of contents
Feed 4-7
Chapter 1 Introduction 7-9
1.1 topics background
1.2 In this paper, the main content 7-8
1.3 sections of this paper arrangements 8-9
Chapter 2 personal firewall needs analysis and functional definition 9-13
the
demand of 2.1 personal firewall extract 9-11
the
theme function 2.2 Firewall 11-13
2.2.1 packet monitoring 11
2.2.2 logging and query 11
2.2.3 control rules set 11
2.2.4 system configuration parameters set 11-12
2.2.5 packet filtering 12-13
Chapter 3 outline design 13-26
3.1 module subdivided principle 13
3.2 module segmentation and outline design 13-17
the
the 3.2.1 interface design modules 13-15
the
the 3.2.2 packet filtering module 15-17
3.3 module interface definition 17
3.4 control the rules file structure design 17-24
the
the 3.4.1 control rules file stored content 17-20
3.4.2 control rules file structure 20-24
3.5 log file structure 24-26
3.5.1 log file header structure 24-25
3.5.2 log record structure 25-26
Chapter 4 Firewall packet capture 26-47
4.1 packet capture module the entry function DLLMAIN and 26-27
4.2 service provider entry function 27-32
4.2.1 WSPStartup 27-30
4.2.2 GetHookProvider 30-32
4.2.3 GetRightEntryiditem 32
4.3 intercepted by the service provider function 32-42
4.3.1 WSPSocket 32-34
4.3.2 WSPCloseSocket 34
4.3.3 WSPConnect 34-35
4.3.4 WSPAccept 35-36
4.3.5 WSPSend 36-37
4.3.6 WSPRecv 37-39
4.3.7 CompletionRoutine 39-41
4.3.8 XfShutdown 41-42
4.4 interface function XFLOCONTROL 42-43
4.5 asked whether release function QUERYACCESS 43-47
Chapter 5 firewall access control 47-59
5.1 CCHECKACL part of the code 47-49
5.2 on the service provider functions do control function 49-54
5.2.1 CheckStartup networking before control 49-50
the establish
5.2.2 CheckSocket Socket connection initialization 50-51
5.2.3 CheckCloseSocket Close the socket 51
5.2.4 CheckConnect check connection legitimacy 51-52
5.2.5 CheckAccept to accept Socket checks 52-53
5.2.6 CheckSend send data checks 53
5.2.7 CheckRecv accept data check 53-54
the
the 5.3 packet processing function 54-59
5.3.1 InitializeSession packet record initialization 54-55
5.3.2 CreateSession create network packet record 55-56
5.3.3 DeleteSession delete packets records 56-57
5.3.4 FindSession Find a packet record 57-58
5.3.5 SetSession modify the packet record 58-59
Chapter 6 System Test 59-61
6.1 main interface 59
6.2 delete the log warning interface 59-60
6.3 interception alarm information interface 60-61
summarize 61-62
the
References 62-64
Acknowledgements 64-65
summary 65-67
ABSTRACT 67-69
Related dissertations
- The Design and Research of Windows Personal Firewall
- Rootkit Detection and Personal Firewall of Network Active Intrusion Prevention System
- Design and Realization of Personal Firewall Working on Windows2000 Platform
- Design and Implementation of Personal Firewall Based on Packet Capture
- Applied Research of windows Personal Firewall System in Military Network Security
- Research and Design of Desktop Firewall Based on Microsoft Windows
- Research on Distributed Industrial Signal Modularized Data Acquisition System Based on ARM
- Design of I~2C/SPI Bus for Digital Output Sensor
- Design and Implementation of the SPI-based Technology Windows Firewall
- Design and Implementation of a Multi-channel Stereo Audio Encoding System
- Design of digital audio information monitoring system based on Embedded System
- Design of Digital MCA Base on FPGA and STM32Technology
- Real-time Auto Electronics Research on Key Technology and Implementation of the Secondary Braking Control System
- The Reasearch of the Car Speed System
- Analysis and Research of Hardware System of High-resolution Inkjet Printer Based on ARM9
- Study on Functional Properties of Mixed Proteins
- Research of Intelligent Video Surveillance Syetem Based on DaVinci
- A Design of Automatic Test System of Hydraulic Pressure Station and Its Hardware and Software Realization
- The Study and Realization of Protocol Converter between CAN Bus and SPI Bus
- Study on the hardware system of digital discus