基于Linux的網(wǎng)絡(luò)流量監(jiān)控統(tǒng)計(jì)系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)
發(fā)布時間:2018-09-18 16:53
【摘要】:隨著互聯(lián)網(wǎng)技術(shù)的飛速發(fā)展和網(wǎng)絡(luò)應(yīng)用的普及,人們在工作和生活對互聯(lián)網(wǎng)的需求越來越多,因此由網(wǎng)絡(luò)引發(fā)的問題也隨之而來。常見的問題是企業(yè)員工常在辦公時間通過公司網(wǎng)絡(luò)與好友聊天、上網(wǎng)看視頻、玩游戲等等,不僅嚴(yán)重影響了工作效率,還有可能將企業(yè)機(jī)密信息傳播出去,造成公司嚴(yán)重的經(jīng)濟(jì)損失。因此如何對網(wǎng)絡(luò)流量實(shí)現(xiàn)精確的統(tǒng)計(jì),對網(wǎng)絡(luò)資源進(jìn)行有效的管控,用戶可隨時查看自己的流量情況,營造一個良好的辦公環(huán)境,已成為目前一個比較重要的問題。Linux作為一種開源、廣泛使用操作系統(tǒng),具有良好的網(wǎng)絡(luò)性能,尤其是Linux2.4版本后逐漸成熟的Netfilte框架,是一個非常優(yōu)秀的防火墻框架。本次課題的研究及實(shí)現(xiàn)以Linux的Netfilter框架為基礎(chǔ),使用其應(yīng)用廣泛的iptables和tc工具對網(wǎng)絡(luò)的規(guī)則進(jìn)行設(shè)置,通過Linux、Apache、MySQL和PHP(簡稱LAMP),開發(fā)一個網(wǎng)絡(luò)流量監(jiān)控統(tǒng)計(jì)系統(tǒng),實(shí)現(xiàn)對公司局域網(wǎng)內(nèi)用戶網(wǎng)絡(luò)訪問的實(shí)時監(jiān)控、流量查詢統(tǒng)計(jì)及網(wǎng)絡(luò)管控。本系統(tǒng)界面的開發(fā)采用目前應(yīng)用廣泛的B/S結(jié)構(gòu),只要打開Web瀏覽器即可通過可視化的界面實(shí)現(xiàn)用戶連網(wǎng)斷網(wǎng)、密碼修改、流量統(tǒng)計(jì)及查詢、訪問權(quán)限控制等基本功能。本文首先介紹了課題研究的背景、意義及國內(nèi)外現(xiàn)狀,并給出了論文的結(jié)構(gòu),接著對LAMP相關(guān)技術(shù)、Linux防火墻技術(shù)、Netfilter防火墻框架體系結(jié)構(gòu)以及相關(guān)的配置工具給出了詳細(xì)的介紹。隨后,通過詳盡的系統(tǒng)分析及系統(tǒng)體系結(jié)構(gòu)設(shè)計(jì)、數(shù)據(jù)庫設(shè)計(jì)、功能設(shè)計(jì),從快速實(shí)現(xiàn)角度,確定了系統(tǒng)要實(shí)現(xiàn)的基本功能模塊,包括用戶連接網(wǎng)絡(luò)、用戶斷開網(wǎng)絡(luò)、用戶密碼修改、流量統(tǒng)計(jì)、流量查詢、用戶訪問權(quán)限控制六大模塊,并對系統(tǒng)環(huán)境的配置,各個功能模塊的實(shí)現(xiàn)給出了詳細(xì)的說明。之后,根據(jù)系統(tǒng)的體系架構(gòu),搭建系統(tǒng)測試環(huán)境,按照測試用例對功能進(jìn)行一一測試,并給出測試結(jié)果。測試結(jié)果與設(shè)計(jì)相符合,基本達(dá)到預(yù)期要求。最后對本文的工作進(jìn)行總結(jié)及展望。
[Abstract]:With the rapid development of Internet technology and the popularization of network applications, more and more people need the Internet in the work and life, so the problems caused by the network also follow. The common problem is that employees often chat with friends, watch videos, play games and so on through the company's network during office hours, which not only seriously affects their work efficiency, but also may spread confidential enterprise information. Cause serious economic loss to the company. Therefore, how to achieve accurate statistics of network traffic and effective control of network resources, users can view their own traffic situation at any time, and create a good office environment, Linux as an open source, widely used operating system, with good network performance, especially after the Linux2.4 version of the mature Netfilte framework, is a very good firewall framework. The research and implementation of this project is based on the Netfilter framework of Linux. The widely used tools of iptables and tc are used to set up the network rules, and a network traffic monitoring and statistical system is developed by Linux,Apache,MySQL and PHP (referred to as LAMP), for short). Realize the real-time monitoring, traffic query and network control of the company's local area network user network access. The development of the interface of this system adopts the widely used B / S structure at present. As long as the Web browser is opened, the basic functions of user network connection, password modification, traffic statistics and query, access control and so on can be realized through the visual interface. In this paper, the background, significance and current situation of the research are introduced, and the structure of the thesis is given. Then, the architecture of the LAMP firewall and the configuration tools are introduced in detail. Then, through the detailed system analysis and system architecture design, database design, function design, from the point of view of rapid implementation, the basic functional modules of the system are determined, including the user to connect to the network, the user to disconnect the network, User password modification, traffic statistics, traffic query, user access control six modules, and the configuration of the system environment, the implementation of each functional module gives a detailed description. Then, according to the system architecture, the system test environment is built, and the function is tested one by one according to the test cases, and the test results are given. The test results are in accordance with the design and basically meet the expected requirements. Finally, the work of this paper is summarized and prospected.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP393.06;TP316.81
,
本文編號:2248536
[Abstract]:With the rapid development of Internet technology and the popularization of network applications, more and more people need the Internet in the work and life, so the problems caused by the network also follow. The common problem is that employees often chat with friends, watch videos, play games and so on through the company's network during office hours, which not only seriously affects their work efficiency, but also may spread confidential enterprise information. Cause serious economic loss to the company. Therefore, how to achieve accurate statistics of network traffic and effective control of network resources, users can view their own traffic situation at any time, and create a good office environment, Linux as an open source, widely used operating system, with good network performance, especially after the Linux2.4 version of the mature Netfilte framework, is a very good firewall framework. The research and implementation of this project is based on the Netfilter framework of Linux. The widely used tools of iptables and tc are used to set up the network rules, and a network traffic monitoring and statistical system is developed by Linux,Apache,MySQL and PHP (referred to as LAMP), for short). Realize the real-time monitoring, traffic query and network control of the company's local area network user network access. The development of the interface of this system adopts the widely used B / S structure at present. As long as the Web browser is opened, the basic functions of user network connection, password modification, traffic statistics and query, access control and so on can be realized through the visual interface. In this paper, the background, significance and current situation of the research are introduced, and the structure of the thesis is given. Then, the architecture of the LAMP firewall and the configuration tools are introduced in detail. Then, through the detailed system analysis and system architecture design, database design, function design, from the point of view of rapid implementation, the basic functional modules of the system are determined, including the user to connect to the network, the user to disconnect the network, User password modification, traffic statistics, traffic query, user access control six modules, and the configuration of the system environment, the implementation of each functional module gives a detailed description. Then, according to the system architecture, the system test environment is built, and the function is tested one by one according to the test cases, and the test results are given. The test results are in accordance with the design and basically meet the expected requirements. Finally, the work of this paper is summarized and prospected.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP393.06;TP316.81
,
本文編號:2248536
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/2248536.html
最近更新
教材專著