畢業(yè)設(shè)計(jì)(論文)-網(wǎng)絡(luò)數(shù)據(jù)包的協(xié)議分析程序的設(shè)計(jì)開發(fā)

畢業(yè)設(shè)計(jì)(論文)-網(wǎng)絡(luò)數(shù)據(jù)包的協(xié)議分析程序的設(shè)計(jì)開發(fā)

ID:46228217

大?。?22.83 KB

頁數(shù):24頁

時(shí)間:2019-11-21

畢業(yè)設(shè)計(jì)(論文)-網(wǎng)絡(luò)數(shù)據(jù)包的協(xié)議分析程序的設(shè)計(jì)開發(fā)_第1頁
畢業(yè)設(shè)計(jì)(論文)-網(wǎng)絡(luò)數(shù)據(jù)包的協(xié)議分析程序的設(shè)計(jì)開發(fā)_第2頁
畢業(yè)設(shè)計(jì)(論文)-網(wǎng)絡(luò)數(shù)據(jù)包的協(xié)議分析程序的設(shè)計(jì)開發(fā)_第3頁
畢業(yè)設(shè)計(jì)(論文)-網(wǎng)絡(luò)數(shù)據(jù)包的協(xié)議分析程序的設(shè)計(jì)開發(fā)_第4頁
畢業(yè)設(shè)計(jì)(論文)-網(wǎng)絡(luò)數(shù)據(jù)包的協(xié)議分析程序的設(shè)計(jì)開發(fā)_第5頁
資源描述:

《畢業(yè)設(shè)計(jì)(論文)-網(wǎng)絡(luò)數(shù)據(jù)包的協(xié)議分析程序的設(shè)計(jì)開發(fā)》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫。

1、網(wǎng)絡(luò)數(shù)據(jù)包的協(xié)議分析程序的設(shè)計(jì)開發(fā)木文設(shè)計(jì)與實(shí)現(xiàn)了一個(gè)基TLinux下Libpcap庫函數(shù)的網(wǎng)絡(luò)數(shù)據(jù)包協(xié)議分析程序。程序的主耍功能包括網(wǎng)絡(luò)數(shù)據(jù)包捕獲和常用網(wǎng)絡(luò)I辦議分析。程序由輸入/輸出模塊、規(guī)則匹配模塊、數(shù)據(jù)捕獲模塊、協(xié)議分析模塊組成。其中數(shù)據(jù)捕獲模塊和協(xié)議分析模塊是木程序最關(guān)鍵、最主要的模塊。本文的主要內(nèi)容如下:首先介紹了網(wǎng)絡(luò)數(shù)據(jù)包協(xié)議分析程序的背景和概念。其次進(jìn)行了程序的總體設(shè)計(jì):確定了程序的功能,給出了程序的結(jié)構(gòu)圖和層次圖,描述了程序的工作流程,對實(shí)現(xiàn)程序的關(guān)鍵技術(shù)做出了分析。接著,介紹完數(shù)據(jù)包捕獲的相關(guān)背景和Libpcap函數(shù)庫

2、后,闡述了如何利用Libpcap函數(shù)庫實(shí)現(xiàn)網(wǎng)絡(luò)數(shù)據(jù)包捕獲模塊。漪對協(xié)議分析流程進(jìn)行了詳細(xì)的講解,分析了常用網(wǎng)絡(luò)協(xié)議。最后進(jìn)行了程序的測試與運(yùn)行:測試了程序能否按照預(yù)期的效果正確執(zhí)行,印證了預(yù)期結(jié)果。關(guān)鍵詞:Libpcap;Linux;數(shù)據(jù)包捕獲;應(yīng)用層;協(xié)議識別TheDesignandDevelopmentofNetworkPacketProtocolAnalyzingProgramAbstractThethesisisanattempttointroduceanimplementationofnetworkprotocolanalyzi

3、ngprogramwhichisbasedonLibpcap,afamousnetworkpacketcapturelibraryonLinux?IthasarichfeaturesetwhichincludescapturingnetworkpacketsandanalyzingpopularnetworkprotocolsonInternet.Theprogramismadeupofaninput/outputmodule,arulesmatchingmodule,apacketcapturingmoduleandaprotocola

4、nalyzingmodule.Andthelasttwomodulesarekeymodules.Theresearchworkwasdescribedasfollowed,firstly,weintroducethebackgroundandconceptsaboutnetworkprotocolanalyzingprograms;andwemakeanintegrateddesignontheprogram,definefunctionsofit,figureoutitsstructureandhierarchicalgraphs,d

5、escribetheworkflowofit,andanalyzethekeytechniquesusedinit;Secondly,afterelaboratingonthebackgroundofpacketcaptureandtheLibpcaplibrary,westateaapproachtoimplementapacketcapturemodulewithLibpcap;Thirdly,weexplaintheworkflowaboutprotocolanalysis,andanalyzecommonnetworkprotoc

6、ols;Finally,wetestourprogramtoseewhetheritworksasexpected,fortunately,itdoes.Keywords:Libpcap;Linux;Networkpacketcapturing;Applicationlayer;Protocolidentification論文總頁數(shù):23頁1引言11.1課題背景11.2網(wǎng)絡(luò)數(shù)據(jù)包協(xié)議分析程序簡介21.3國內(nèi)外研究現(xiàn)狀22網(wǎng)絡(luò)數(shù)據(jù)包協(xié)議分析程序的總體設(shè)計(jì)32.1網(wǎng)絡(luò)數(shù)據(jù)包協(xié)議分析程序的功能分析32.2系統(tǒng)的組成結(jié)構(gòu)和工作流程32.2.1系統(tǒng)

7、的結(jié)構(gòu)框圖32.2.2系統(tǒng)的結(jié)構(gòu)和功能42.2.3程序的工作流程52.3系統(tǒng)實(shí)現(xiàn)的關(guān)鍵技術(shù)分析63網(wǎng)絡(luò)數(shù)據(jù)包捕獲模塊的實(shí)現(xiàn)73.1網(wǎng)絡(luò)數(shù)據(jù)包捕獲簡介73.2基于LTBPCAP的網(wǎng)絡(luò)數(shù)據(jù)包捕獲的實(shí)現(xiàn)83.2.1Libpcap安裝83.2.2Libpcap中基本的數(shù)據(jù)結(jié)構(gòu)和函數(shù)83.3數(shù)據(jù)捕獲模塊的實(shí)現(xiàn)114協(xié)議分析模塊的實(shí)現(xiàn)114.1網(wǎng)絡(luò)協(xié)議分析的總體流稈124.2對TCP/IP模型屮各層協(xié)議的分析144.2.1以太網(wǎng)首部的分析與提取144.2.21P首部的分析與提取154.2.3TCP/UDP首部的分析與提取164.2.4應(yīng)用層協(xié)議的識別

8、與分析185程序運(yùn)行與測試205.1測試環(huán)境205.1.1硬件環(huán)境205.1.2程序運(yùn)行環(huán)境205.2測試步驟205.3測試結(jié)果評價(jià)20結(jié)論錯(cuò)誤!未定義書簽。參考文獻(xiàn)錯(cuò)誤!未定義書簽。致謝錯(cuò)誤

當(dāng)前文檔最多預(yù)覽五頁,下載文檔查看全文

此文檔下載收益歸作者所有

當(dāng)前文檔最多預(yù)覽五頁,下載文檔查看全文
溫馨提示:
1. 部分包含數(shù)學(xué)公式或PPT動畫的文件,查看預(yù)覽時(shí)可能會顯示錯(cuò)亂或異常,文件下載后無此問題,請放心下載。
2. 本文檔由用戶上傳,版權(quán)歸屬用戶,天天文庫負(fù)責(zé)整理代發(fā)布。如果您對本文檔版權(quán)有爭議請及時(shí)聯(lián)系客服。
3. 下載前請仔細(xì)閱讀文檔內(nèi)容,確認(rèn)文檔內(nèi)容符合您的需求后進(jìn)行下載,若出現(xiàn)內(nèi)容與標(biāo)題不符可向本站投訴處理。
4. 下載文檔時(shí)可能由于網(wǎng)絡(luò)波動等原因無法下載或下載錯(cuò)誤,付費(fèi)完成后未能成功下載的用戶請聯(lián)系客服處理。