基于Django和Netfilter的流量監(jiān)控系統(tǒng)的設(shè)計與實現(xiàn)
[Abstract]:With the rapid development of software technology, the network application and system structure are more complex and powerful, so the system must be modularized, cluster technology must be used to deal with massive network traffic, facing the huge traffic impact. The system must maintain a high degree of stability, so first of all to ensure its own network security. Firewall technology is based on the identification and analysis of traffic, it is an important technical means to solve the network security. KV retrieval system is the core retrieval system of a domestic Internet company. To respond to hundreds of millions of query requests every day, the system can still respond to queries quickly and intelligently, so that people can obtain information and find what they are asking for in the most equal and convenient way. The retrieval system requires very high performance, and each module in the retrieval system has to go through strict tests before it can go online; there is a set of relatively small scale offline, but the complete retrieval system is used for offline module testing, so the system is limited by the bottleneck of scale. The flow control of the system must be carried out to ensure the normal operation of the system. Therefore, based on Django Web framework technology and Netfilter firewall technology, a set of traffic monitoring system is designed and developed. This paper mainly studies the internal structure and implementation mechanism of Django Web framework, including the framework structure, request processing mechanism and template system, etc. At the same time, the characteristics of MVC software design pattern are analyzed. Then, the linux2.6Netfilter firewall technology is studied, and the theoretical basis and kernel implementation mechanism of Netfilter are discussed. In this paper, the IP stack of linux kernel is taken as the entry, and the processing flow of IP Datagram in Netfilter framework is studied. One of the HOOK points is selected as the entry to filter the Datagram. Then the advanced management system of iptables Datagram is studied, and the internal structure of iptables is analyzed from the point of view of user, and the command structure of iptables is analyzed. Finally, using Django framework and Web design pattern of MVC, the flow monitoring system is designed and developed, and the flow monitoring of offline KV retrieval system is realized. The system includes user management module, flow request module, task execution module and flow control module. The system has been tested strictly, meets expectations, and has been serving within the company with good results.
【學(xué)位授予單位】:昆明理工大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP393.06
【參考文獻】
相關(guān)期刊論文 前10條
1 馮運波,夏光升,楊義先;防火墻技術(shù)及發(fā)展趨勢預(yù)測[J];計算機安全;2003年05期
2 田大新,劉衍珩,李永麗,唐怡;數(shù)據(jù)包過濾規(guī)則的快速匹配算法和沖突檢測[J];計算機研究與發(fā)展;2005年07期
3 安金萍,張景,李軍懷;狀態(tài)檢測包過濾技術(shù)在Linux下的實現(xiàn)[J];計算機工程;2005年02期
4 楊建華;謝高崗;李忠誠;;基于Linux內(nèi)核的流量分析方法[J];計算機工程;2006年08期
5 馮慶煜;防火墻與入侵檢測系統(tǒng)的聯(lián)動[J];計算機應(yīng)用;2005年12期
6 曹成;周健;黃方劍;錢田芬;;Netfilter框架下防火墻模型總體結(jié)構(gòu)設(shè)計[J];計算機應(yīng)用;2007年S1期
7 羅霄,任勇,山秀明;基于Python的混合語言編程及其實現(xiàn)[J];計算機應(yīng)用與軟件;2004年12期
8 程勝利,黃鵬;入侵檢測系統(tǒng)研究及其展望[J];武漢理工大學(xué)學(xué)報(信息與管理工程版);2005年02期
9 王桂娟;防火墻技術(shù)及其改進[J];現(xiàn)代計算機(專業(yè)版);2003年10期
10 張五生;鄭靈翔;;基于Linux的流量控制系統(tǒng)研究[J];廈門大學(xué)學(xué)報(自然科學(xué)版);2010年01期
,本文編號:2191357
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/2191357.html