下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、计算机网络实验报告年级: 姓名: 学号: 实验日期: 实验名称:实验三利用Ethereal分析HTTP协议一、实验目的1、利用抓包工具wireshark来分析http协议;2、通过分析HTTP协议,探讨有关HTTP协议的以下几个方面:(1)、基本的GET /响应交互,(2)、HTTP的消息格式,(3)、获取较大的HTML文件,(4)、检索与嵌入HTML文件对象,(5)、和HTTP身份验证和安全性。二、实验器材1、接入Internet的计算机主机;2、抓包工具wireshark和截图工具snagit。三、实验内容(一). The Basic HTTP GET/response interacti
2、on1. Is your browser running HTTP version 1.0 or 1.1? What version of HTTP is theserver running?答:我的浏览器上运行HTTP version 1.1如下图2. What languages (if any) does your browser indicate that it can accept to theserver?答:浏览器所能接受的语言为:简体中文 accept language : zh -cnrn 截图如下:3. What is the IP address of your comp
3、uter? Of the server?答:63.199,服务器IP地址:2 截图如下:4. What is the status code returned from the server to your browser?答:状态码及状态码200ok截图如下:5. When was the HTML file that you are retrieving last modified at the server?6. How many bytes of content are being returned to your brow
4、ser?7. By inspecting the raw data in the packet content window, do you see any headerswithin the data that are not displayed in the packet-listing window? If so, nameone.答:没有。(二). The HTTP CONDITIONAL GET/response interaction18. Inspect the contents of the first HTTP GET request from your browser to
5、 the server. Do you see an “IF-MODIFIED-SINCE” line in the HTTP GET?答:没有看到。9. Inspect the contents of the server response. Did the server explicitly return the contents of the file? How can you tell?答:反回了,如下图所示10. Now inspect the contents of the second HTTP GET request from your browser to the serve
6、r. Do you see an “IF-MODIFIED-SINCE:” line in the HTTP GET? If so, what information follows the “IF-MODIFIED-SINCE:” header?答:实验结果如下图所示11. What is the HTTP status code and phrase returned from the server in response to this second HTTP GET? Did the server explicitly return the contents of the file?
7、Explain.答:状态码和相应状态信息的值为304 Not Modified,它表示缓存器可以使用该对象。第二次没有返回文件的内容,因为他只是作为对该条件GET的响应,Web服务器只发送一个响应报文,不包含请求的对象。截图如下(3) . Retrieving Long Documents12. How many HTTP GET request messages were sent by your browser?答:一个,结果如下图13. How many data-containing TCP segments were needed to carry the single HTTP r
8、esponse?答:结果如下图状态码和短语是200 OK:表示请求成功,信息包含在响应的报文中。14. What is the status code and phrase associated with the response to the HTTPGET request?状态码和短语是200 OK:表示请求成功,信息包含在响应的报文中。15. Are there any HTTP status lines in the transmitted data associated with a TCPinduced“Continuation”?答:有,对于一个大的HTML文件会被TCP分为若干
9、个独立的包,他们彼此相互连续,如下所示为他们引诱所产生的(4) . HTML Documents with Embedded Objects16. How many HTTP GET request messages were sent by your browser? To whichInternet addresses were these GET requests sent?答:有四个,如下图中17. Can you tell whether your browser downloaded the two images serially, or whether they were downloaded from the two web sites in parallel? Explain.第一个图片无法显示18. What is the servers response (status code and phrase) in response to the initial HTTP GET message from your browser? 19. When your browsers sends the HTTP GET messag
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 初中九年级化学教学设计:中考易错陷阱深度解析与突围策略
- 初中地理中考复习专题:地图基本要素教学设计
- 八年级物理教学设计:基于核心素养的宇宙探索与浩瀚宇宙创新题深度解析
- 高三化学教学设计:有机推断与物构综合突围策略
- 2025年通风空调系统检测试题及参考答案
- 2026年高速铁道工程技术(高铁施工)综合测试题及答案
- 2026大三(动画角色设计)资格考试试题及答案
- 2026 EAU指南:尿失禁的评估和非手术治疗
- 先天性输尿管积水的护理查房
- 小肠造瘘术后造口护理评估方法
- 2026重庆璧山区招聘社区工作者(网格治理岗)后备人选350人笔试参考题库及答案解析
- (新教材)人教版小学数学六年级上册第二单元分数乘法《分数、小数混合运算及运算律》教学课件第二课时
- 第六单元整本书阅读 《唐诗三百首》课件 2026-2027学年统编版语文九年级上册
- 2026年医疗卫生考编模拟试题及答案
- GB/T 16672-2026焊接及相关工艺焊接位置
- 《音乐万花筒 京昆之声》(课件)-2026-2027学年六年级音乐上册人教版(简谱)
- 2025年医学课件-急性心肌梗死的规范化诊治
- 2026 年秋季高一开学第一课正视高中考试成绩得失主题班会
- 智能密封胶条2.0时代:从被动密封到主动感知的跃迁
- 2026年湖北省法院员额法官遴选笔试真题及答案解析
- 2026年中考英语冲刺抢分训练 专题09 短文选词填空(含答案)
评论
0/150
提交评论