篇一:網絡協議仿真軟件的設計與實現畢業論文
xxxxxxx
信息科學與技術學院畢業論文
課題名稱: 網絡協議仿真軟件的設計與實現
學生姓名: xxxxx xxxxx xxxxxxxx xxxxxxxx
學 院: 信息科學與技術學院
專業年級: 信息管理與信息系統2008級
指導教師:
完成日期: xxxxxx 講師 二〇一二年四月
網絡協議仿真軟件的設計與實現
學生:xxxxxxxxx
指導老師:xxxxx
[摘 要]由于網絡模型和協議的抽象性,即使專業人員對其理解也有很大困難。為了將抽象的難以理解的網絡模型框架、協議原理、網絡應用等專業知識,用易于理解的通俗易懂的形式將其理解。非專業的人員在使用網絡協議仿真軟件的同時可以對網絡協議有基本的理解,有一定專業知識的人員更好的理解網絡協議原理、掌握學習要領。
本課題通過對網絡抓包軟件的實現,來詳細深入的了解網絡協議如何工作,文中首先分析了抓包的原理和技術,并介紹了幾種常見的抓包軟件,然后研究了入侵檢測系統中使用的包捕獲技術,利用winpcap接字在windows平臺下實現了一個網絡抓包軟件程序,具有對數據包進行拆包、解包等功能,最后通過動畫演示生動形象的描述網絡協議如何運行。
[關鍵詞] 網絡抓包軟件 數據包捕獲 數據包分析 Winpcap
Network protocol emulation software design
and implementation
Students:xxxxxxxxxxx
Instructor:xxxxxxxxx
[Abstract] As the network model and agreement of the abstract, even to the professional understanding will have great difficulty. In order to bring the abstract to understand the network model of the framework agreement, principle, network application and other professional knowledge, in an understandable easy-to-read formats will be the understanding. Casual personnel to use network protocol emulation software on the network at the same time can be a basic understanding of the agreement, have certain professional knowledge workers better understanding of network protocol principle, learning will bring.
This topic through network caught software to realize, to a detailed understanding of how the network protocol, this paper first analyzes the principle and technology of caught, and introduces several common caught software, and then studied the intrusion detection system used in the packet capture technology, using winpcap meet word in Windows the workbench implements a network caught a software program, has for packet for unpacking, solution package, and other functions, the last through the animation of vivid description network protocol how to run.
[Key words] network sniffe ; capture data packet ; analyze data capture ; Winpcap
目錄
第一章 緒論............................................................ 1
1.1 課題背景 .......................................................... 1
1.2 課題研究的目的及意義 .............................................. 1
1.3 任務書 ............................................................ 1
1.3.1 設計時間 ...................................................... 1
1.3.2 課題分工 ...................................................... 2
1.3.3 設計成果 ...................................................... 2
1.3.4 論文組織 ...................................................... 2
第二章 網絡協議及協議仿真技術.......................................... 3
2.1 網絡協議 .......................................................... 3
2.1.1 OSI七層參考模型 ............................................... 3
2.1.2 TCP/IP參考模型 ................................................ 3
2.1.3 OSI模型與TCP/IP模型的比較 .................................... 4
2.1.4 主要協議 ...................................................... 5
2.1.5 數據包在TCP/IP網絡中的封裝解封過程 .......................... 10
2.2 仿真技術簡介 ..................................................... 11
2.3 反嗅探措施 ....................................................... 13
2.3.1 嗅探的檢測 ................................................... 13
2.3.2 嗅探的防御 ................................................... 13
2.4 Windows下的網絡嗅探及WinPcap研究 ................................ 13
2.4.1 WinPcap簡介 .................................................. 13
2.4.2 WinPcap體系結構 .............................................. 16
2.4.3 Windows下的網絡嗅探 .......................................... 19
2.4.4 基于WinPcap的包捕獲過程 ..................................... 21
第三章 需求分析與動畫演示設計......................................... 23
3.1 功能需求 ......................................................... 23
3.2 性能需求 ......................................................... 23
3.3 可行性分析 ....................................................... 24
3.4 動畫演示設計 ..................................................... 24
第四章 詳細設計....................................................... 28
4.1 開發環境 ......................................................... 28
4.2 系統功能模塊圖 ................................................... 29
4.3 系統流程圖 ....................................................... 30
4.4 詳細設計 ......................................................... 31
4.4.1 界面實現 ..................................................... 31
4.4.2 選擇網卡 ..................................................... 34
4.4.3 過濾規則 ..................................................... 34
4.4.4 數據包捕獲 ................................................... 36
4.4.5 數據包分析 ................................................... 37
第五章 系統測試....................................................... 46
5.1編寫目的 ........................................................ 46
5.2測試概要 ........................................................ 46
5.3對軟件功能的評價 ................................................ 49
第六章 開發總結....................................................... 51
致謝 ................................................................... 53
本文來源:http://www.nvnqwx.com/shiyongwen/2158574.htm