wireshark抓包实验之HTTP(陕师大).docxVIP

  • 140
  • 0
  • 约3.77千字
  • 约 4页
  • 2016-12-03 发布于贵州
  • 举报
 wireshark抓包实验之HTTP(陕师大)

1. Is your browser running HTTP version 1.0 or 1.1? What version of HTTP is the server running?我的浏览器运行的HTTP版本是1.1 服务器运行的HTTP版本是1.12.What languages (if any) does your browser indicate that it can accept to the server?我的浏览器能接受服务器的中文。3. What is the IP address of your computer? Of the server?我的电脑的IP地址是3;服务器的IP是2;4. What is the status code returned from the server to your browser?状态码是2005. When was the HTML file that you are retrieving last modified at the server? 最后修正的时间是: Sat, 20 Oct 2012 15:22:01 GMT6. How many bytes of content are being returned to your browser?482字节7. By inspecting the raw data in the packet content window, do you see any headers within the data that are not displayed in the packet-listing window? If so, name one.?8. Inspect the contents of the first HTTP GET request from your browser to the server. Do you see an “IF-MODIFIED-SINCE” line in the HTTP GET?无,因为IE 浏览器选择工具-Internet 选项-删除文件,钩选“删除全部文件”从你的浏览器中移除缓存的文件9. Inspect the contents of the server response. Did the server explicitly return the contents of the file? How can you tell?Yes10. Now inspect the contents of the second HTTP GET request from your browser to the server. Do you see an “IF-MODIFIED-SINCE:” line in the HTTP GET? If so, what information follows the “IF-MODIFIED-SINCE:” header?有显示的内容:If-Modified-Since: Fri, 05 Oct 2012 05:25:01 GMT\r\n11. 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?Explain.状态码是304;没有显示返回文件的具体内容,而是返回 304 告诉客户端其本地 cache 的页面是最新的,于是客户端就可以直接从本地加载页面了,这样在网络上传输的数据就会大大减少,同时也减轻了服务器的负担。12. How many HTTP GET request messages were sent by your browser? 2个13. How many data-containing TCP segments were needed to carry the single HTTP response? 5个14. What is the status code and phrase associated with the response to the HTTP GET request? 状态码200 短语ok;状态码 404 短语 not found15. Are there any HTTP status lines in the transmitted data associated with a TCP-induce

文档评论(0)

1亿VIP精品文档

相关文档