Design and Implementation of Firewall Integrated Distributed Billing System
- Author
- WangZhaoLong
- Advisor
- XuGaoChao
- School
- Jilin University
- Major
- Computer Software and Theory
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 37
- Citations
- 0
Abstract
Mostly, the traditional billing system and the traditional firewall work at the netboundary by centralized way. This more and more becomes the main bottleneck of thecampus net jointing the Internet while it faces the increasing demand of throughput.Furthermore, because the billing system and the firewall are connected serially in thetraditional network structure, this connection way further enlarges the bottleneckaffects above.The research of billing system has changed from the simplex information gatheringand accounting phase to control enhanced function and technology phase, but the corequestion of the billing system and the firewall is packet retransmission according tocontrol rules, namely is controlled packet classification question. Precisely because ofthis point, it is significant extremely to reseach and explore on the integration of thebilling system and the firewall.From the analysis of the research present situation and development tendency of thebilling system and the firewall technology, It can be seen that the implementationtechnology of the billing system is developping to the firewall technology based, thefuture firewall also will probably include billing function at the same time. Thepackage filter technology with condition monitoring will become mainstream in thefirewall eara.+Based on thinking above, this article proposes and implements a system calledFirewall Integrated Distributed Billing System (FIDBS). On the one hand, itintegrates two controls of the billing retransmission and the firewall safety into oneretransmission control, and distributes the tasks of retransmission control and flowgather to every modules called Billing-Firewall Gateway(B&F Gateway). By thismeans, the throughput capacity and extensibility of the system is enhanced, thebottleneck limit is breached too. On the other hand, it adopts an centralizedmonitoring management to control and administrate the operation situations of thoseB&F Gateways. This not only eliminated the inconvenientness due to distributedretransmission control and flow accounting but also enhanced the systemmanageability enormously.System designOn the linux system platform which is recognized widely and its’ netfilter framewhich is designed specially for packet filter and retransmission, based on thecommunication principle and the data format of the TCP/IP protocol, the packagefilter technology with condition monitoring adopted, the whole design of FIDBSsystem is given.FIDBS includes the billing-firewall retransmission control module (Billing-FirewallGateway, B&F Gateway) , the real time monitoring module, the firewall managementmodule, the authorization management module, the account/log management module,data registration service module and database system seven parts.The Billing-Firewall Gateway operates in distributed mode. It is the function moduleof access control and data gather. All of these Billing-Firewall Gateways aredistributed to the gathering points of internal network and connected with theboundary router. By this means,it is implemented that the access control and flowgather of packets which flow from every parts of internal network to the boundaryrouter. All modules left operates in centralized mode.The whole architecture and the modules’ relation of FIDBS is showed as Fig.i.For the system internal communication security, we set up special virtualsub-network——special-purpose Vlan, which is adopted to carry the FIDBS systeminternal data communication. The packets of special-purpose Vlan are retransmitedonly in the special-purpose Vlan interior and not routed in any sub-networks other.By this means, the communication security of the FIDBS interior is safeguarded.The communication mechanism of FIDBS is: Firstly, each B&F gateway must installthree network cards. Two of them operate in the internal network in promiscuousmode and do not have to establish the IP address. They are used to store andretransmit packets. Another network card operates in the special-purpose Vlan andneeds a IP address in the special-purpose Vlan.lt is used to communicate with thereal-time monitoring service module and the data registration service module.Secondly, the real-time monitoring service module installs one network card, so dothe data registration service module and the database system, they operate in thespecial-purpose Vlan and each of them needs a IP address in thespecial-purpose Vlan .Thirdly, each of the three, the firewall management system,the authenticationmanagement system and account/log management system, installs two network cardsrespectively, one operates in internal internal Vlan and needs an internal network IPaddress. It is used to provide the service for the internal network user. Anotheroperates in the special-purpose Vlan and needs a IP address in the special-purposeVlan. It is used to communicate with the other modules.Design and implementation of essential moduleand its core algorithmThe B&F Gateway is the essential module of the whole system. The architecture withB&F Gateway detailed is showed as Fig.ii. The packets filter module is the corealgorithm of the B&F Gateway. The inner structure of the packets filter module isshowed as Fig.iii.The packets packet filter module is divided into the dynamic state monitor moduleand the static rule match module. The dynamic state monitor module use and maintainseveral state monitor tables which adapt to different protocols. These tables used inthe FIDBS are implement by the AVL tree. The FIDBS designed traversal, search,levelling, deletion, update operation and so on;The core question of the static rulematch module is the packet classification question.The packets classification question is a query question for searching the optimumresult on the multi-dimensional rule (attribute). Through discussing the complexity ingeometry and the evaluation standard of the algorithm,three algorithm,the linearsearch algorithm, the Grid Of Tries (GOT) algorithm, the Recursive FlowClassification algorithm (RFC), is analyszed respectively. The work principle of RFCalgorithm is introduced with emphasis.Based on the analysis to the firewall security ruleset character, a packets classificationalgorithm is implemented on the firewall security ruleset. Based on the analysis to theIP Control Table, a storage structure in directed graph is designed to store the IPcontrol table, which is updated frequently. Importantly,a the special data structure ofthe IP Control Table is designed,which can unify the firewall security ruleset. Thisdata structure is named leafipnode. Its pseudo-code shows as follows.Through two attributes of data structure, FW_in_CBM and FW_out_CBM,the IPcontrol table connects with firewall rule set.By this means,the efficiency is higherthan the two simple serial superimposition obviously. The situation of one packetflow the IP control table and RFC search set shows as Fig.iv.Integrating the billing system and the firewall is the FIDBS characteristic and theinnovation point. This work may say that the firewall module is added to the billingsystem, otherwise, it also can be seen that the billing module is added to the firewall.To the system design and the implementation, the stale monitor table, the firewall ruleset and (he IP control table all adopt the data structure and the search algorithm,which are recognized is highly effective, stable and mature. By this means, the systemeffectiveness and the stability are guaranteed. The special data structure is designed,which unify the firewall rule set and the IP control table, as result the efficiency ishigher than the two simple serial superim position obviously. This efficiencyenhancement manifest once more the advantage of integrating two controls of thebilling retransmission and the firewall safety into One retransmission control, thecharacterise and the superiority of FIDBS is manifested too.The FIDBS system had achieved accurate, secure, stable, reliable goals and basicallyreached the anticipated design requirement.
Table of contents
Chapter Introduction significance of the subject 9-11
1.1 9-10
1.2 article Overview 10-11
Chapter II technology Research and development direction 11-19
2.1 network billing system 11-16
2.1.1 Classification of network billing system and achieve 11-15
2.1.2 existing billing system analysis 15-16
2.1.3 network accounting system development direction of the 2.2 firewall technology 16
the a 16-18 firewall
2.2.1 Classification 16-17
2.2.2 firewall's core technology and its research status 17-18
2.2.3 the firewall technology development direction 18
2.3 Summary of 18-19
the Chapter system of key technologies 19-26
3.1 Internet communication process and transmission format 19-22
3.1.1 Internet communication process 19-20
3.1.2 The general format of the IP packet 20-21 <br / > 3.1.3 TCP packets general format 21-22
3.1.4 UDP packet format 22
3.2 with condition monitoring, packet filtering technology principle 22-23
3.3 NETFILTER framework 23-25 ??
3.4 Summary 25-26
the fourth chapter FIDBS general design 26-32
4.1 FIDBS system needs analysis nbsp the; 26
the overall 4.2 FIDBS System Design 26-28
4.3 part of the functional description and implementation techniques select 28 -31
4.3.1 billing - fire Transparent Gateway 28-29
4.3.2 Real-time monitoring service module 29
4.3.3 firewall management system
29 4.3.4 Certificate Management System 29-30
4.3.5 accounts / fire log query / management services 30
4.3.6 database the 4.3.7 data registration service 30
30-31
4.4 Summary 31-32
Chapter packet filtering module detailed design and Implementation 32-56
5.1 packet filtering module design 32-34
5.2 packet access and analytic platform design and realization 34-40 <br / > 5.2.1 packets get submitted with the analytical platform data format design 34-35
the 5.2.2 packet capture and analytic platform to achieve 35-40
5.3 static nbsp rule matching module design and realization; the 40-46
5.3.1 static rule matching module features outlined 40
the 5.3.2 static rule data structure design 40-42
the 5.3.3 static rule view and configuration 42-45
5.3.4 static rule matching operations 45
5.3.5 log operation 45-46
5.4 dynamic state detection module design and realization 46-55
5.4.1 dynamic state detection module Overview 46-47
5.4 .2 connection state table data structure design 47-50
5.4.3 connection state table operation to achieve the the 5.4.4 state detection 50-53
53 -55
5.4.5 log operation 55
5.5 Summary 55-56
Chapter packet classification 56-75 <br / 6.1 packet classification formal definition 56
6.2 packet classification problem geometry complexity analysis the measure 56-57
6.3 packet classification algorithm 57-58
6.4 several packet classification algorithms introduce and analyze 58-64
6.4.1 Linear Search algorithm (Linear Search) 58
6.4.2 Grid Of Tries algorithm 58-60
6.4.3 recursive flow classification algorithm (Recursive Flow Classification) 60-64
6.5 firewall rule set characteristics analysis 64-66
6.6 RFC algorithm for firewall rules packet classification the 66-69 6.6.1 RFC preprocessing algorithm implementations
66-69
6.6.2 application RFC packet classification process to achieve 69
6.7 IP access control characteristics analysis 69-70
6.8 IP access control table data structures and packet classification algorithms 70-73
6.9 IP access control table and firewall rule sets integrated use of performance analysis 73-74
6.10 Summary 74 -75
Chapter VII Summary and Outlook 75-79
7.1 summarizes 75-76
7.2 further work 76-79 <br / > 7.2.1 improve packet classification on the firewall rule sets are found; the 76-77
7.2.2 with FreeBSD platform replaces the Linux platform 77
7.2.3 cropped kernel and using ASIC integrated circuits 77-79
Reference 79-80
Chinese Abstract 80-86
ABSTRACT IN ENGLISH 86-93 < br /> Acknowledgements 93
Related dissertations
- Analysisand Design of the Distributed Network Security System
- Study on the Distributed Optical Fiber Acoustic Emission Sensor
- Design and Implementation of Campus Network Acounting and Management System
- Based on the Firewall and Intrusion Detection Linkage System Research and Implementation
- Risk Analysis and Evaluation of Network Security in Stock Information Systems
- The Research and Design of Xiangyang Career Technical College Campus Network Virus Prevntion System
- Optimization Technology on Packet Filtering of Firewall
- Research on Security Performance Based on Embedded Network Firewall
- The Research on Firewall Policy in Cloud Environment Conflict Detecting and Resolving
- Implementation Firewall Combined with IPS to Prevent Dos/Malicious Attack
- Design and Implementation of the SPI-based Technology Windows Firewall
- Design and Implementation of Firewall and Intrusion Linkage for Tax Information System
- Design and Implementation of Bank City-wide Data Exchange Center
- Application on Hybrid Packet Flitering Firewall in the Office Network of Communication Industry
- Complex Network Environment of Distributed Network Management and Software Implementation
- A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
- Research and Design of Distributed Vertical Search Engine Based on Hadoop
- The Research of Distributed Topic Detection Method
- Design and Implemention of High Performance Text Clustering Algorithm Basic on Hadoop
- The Development and Realization of Scenario Thesaurus Based on Machine Learning