欢迎来到天天文库
浏览记录
ID:8916671
大小:144.00 KB
页数:6页
时间:2018-04-12
《用wireshark进行http协议分析》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、TCP/IP实验报告实验1用Wireshark进行HTTP协议分析学院计算机学院专业网络工程班级1班姓名刘小芳学号410090401272012.51.1实验性质本实验为操作分析性实验。1.2实验目的1.掌握Wireshark软件的基本使用方法。2.掌握基本的网络协议分析方法。3.使用Wireshark抓包工具,分析HTTP数据报的格式。4.加深理解HTTP协议的原理及其工作过程。1.3实验环境1.硬件环境:PC机1台。2.网络环境:PC机接入LAN或Internet。物理地址:00-E0-4C-00-16-78Ip地址:192.168.0.
2、1313.软件环境:Windows操作系统和Wireshark软件。1.4实验学时2学时(90分钟)。1.5实验内容与要求1.5.1启动Wireshark协议分析工具1.5.2抓取HTTP数据包1.5.3分析HTTP报文1.TheBasicHTTPGET/responseinteraction1.IsyourbrowserrunningHTTPversion1.0or1.1?WhatversionofHTTPistheserverrunning?HTTP1.12.Whatlanguages(ifany)doesyourbrowserindic
3、atethatitcanaccepttotheserver?Accept-Language:zh-cnr3.WhatistheIPaddressofyourcomputer?Ofthegaia.cs.umass.eduserver?192.168.0.131128.238.38.1604.Whatisthestatuscodereturnedfromtheservertoyourbrowser?200ok5.WhenwastheHTMLfilethatyouareretrievinglastmodifiedattheserver20Ma
4、y201309:42:43GMTr6.Howmanybytesofcontentarebeingreturnedtoyourbrowser?4297.Byinspectingtherawdatainthepacketcontentwindow,doyouseeanyheaderswithinthedatathatarenotdisplayedinthepacket-listingwindow?Ifso,nameOne.有2.TheHTTPCONDITIONALGET/responseinteractionAnswerthefollowi
5、ngquestions:8.InspectthecontentsofthefirstHTTPGETrequestfromyourbrowsertotheserver.Doyouseean“IF-MODIFIED-SINCE”lineintheHTTPGET?有9.Inspectthecontentsoftheserverresponse.Didtheserverexplicitlyreturnthecontentsofthefile?Howcanyoutell?有HTTP/1.1200OKr10.Nowinspectthecontent
6、softhesecondHTTPGETrequestfromyourbrowsertotheserver.Doyouseean“IF-MODIFIED-SINCE:”lineintheHTTPGET?Ifso,whatinformationfollowsthe“IF-MODIFIED-SINCE:”header?没有11.WhatistheHTTPstatuscodeandphrasereturnedfromtheserverinresponsetothissecondHTTPGET?Didtheserverexplicitlyreturnt
7、hecontentsofthefile?200没有3.RetrievingLongDocumentsAnswerthefollowingquestions:12.HowmanyHTTPGETrequestmessagesweresentbyyourbrowser?113.Howmanydata-containingTCPsegmentswereneededtocarrythesingleHTTPresponse?414.WhatisthestatuscodeandphraseassociatedwiththeresponsetotheHTTP
8、GETrequest?Code200phraseok15.ArethereanyHTTPstatuslinesinthetransmitteddataassocia
此文档下载收益归作者所有