Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)

这篇具有很好参考价值的文章主要介绍了Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

1. The Basic HTTP GET/response interaction

  1. Is your browser running HTTP version 1.0 or 1.1? What version of HTTP is the server running?

    Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)

    浏览器与服务器的版本均为 H T T P / 1.1 HTTP/1.1 HTTP/1.1

  2. What languages (if any) does your browser indicate that it can accept to the server?

Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)

能接受简体中文以及英文。

  1. What is the IP address of your computer? Of the gaia.cs.umass.edu server?
    Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)

    根据 G E T GET GET消息的 D e s t i n a t i o n Destination Destination可知 g a i a . c s . u m a s s . e d u gaia.cs.umass.edu gaia.cs.umass.edu I P IP IP地址为 128.119.245.12 128.119.245.12 128.119.245.12

    根据 O K OK OK消息的 S o u r c e Source Source可知本机 I P IP IP地址为 114.214.246.244 114.214.246.244 114.214.246.244

  2. What is the status code returned from the server to your browser?
    Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)

    返回 s t a t u s   c o d e = 200 status\ code = 200 status code=200,正常状态。

  3. When was the HTML file that you are retrieving last modified at the server?
    Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)

    上次修改时间为 2022 2022 2022 9 9 9 14 14 14日,星期三, 5 5 5 59 59 59 01 01 01秒。

  4. How many bytes of content are being returned to your browser?
    Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)

    内容大小为 128 b y t e s 128bytes 128bytes

  5. 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.

    查看包信息与列表,没有找到未出现的报头。

2.The HTTP CONDITIONAL GET/response interaction

  1. 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?

    查看 G E T GET GET报文,未找到 I F − M O D I F I E D − S I N C E IF-MODIFIED-SINCE IFMODIFIEDSINCE

  2. Inspect the contents of the server response. Did the server explicitly return the contents of the file? How can you tell?
    Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)

    在本机浏览器缓存已清空的情况下,向服务器发送第一个 G E T GET GET请求后,服务器的响应信息包含文件具体内容。
    Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)

    但立即发送第二个 G E T GET GET请求,服务器回复的内容中不含 H e a d e r Header Header L i n e − b a s e d   t e x t   d a t a Line-based\ text\ data Linebased text data的信息,即服务器并未返回具体的文件内容。因为在第一次访问时浏览器目标网站成功后,浏览器已有了网页内容的缓存,在下一次访问时,当网站内容尚未更新,便会直接从浏览器缓存中获取,因此无需服务器返回具体的文件内容。

  3. 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?
    Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)

H y p e r t e x t   T r a n s f e r   P r o t o c o l Hypertext\ Transfer\ Protocol Hypertext Transfer Protocol中找到了 I F − M O D I F I E D − S I N C E IF-MODIFIED-SINCE IFMODIFIEDSINCE消息,包含的信息为上一次服务器响应信息的更改时间。

  1. 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.

    s t a t u s   c o d e = 304 , p h r a s e = N o t   M o d i f i e d status\ code = 304, phrase = Not\ Modified status code=304,phrase=Not Modified,表示未发生改变,直接调用缓存中已有的文本。利用缓存可以减轻服务器压力,提高效率。

3.Retrieving Long Documents

  1. How many HTTP GET request messages did your browser send? Which packet number in the trace contains the GET message for the Bill or Rights?
    Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)

    浏览器仅发送了一个 H T T P   G E T HTTP\ GET HTTP GET请求消息,序号为 213 213 213

  2. Which packet number in the trace contains the status code and phrase associated with the response to the HTTP GET request?
    Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)

    序号为 238 238 238的响应报文包含了响应 H T T P   G E T HTTP\ GET HTTP GET请求的状态码和短语。

  3. What is the status code and phrase in the response?
    Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)

    $ status\ code=200,phrase=OK$,表示正常响应状态。

  4. How many data-containing TCP segments were needed to carry the single HTTP response and the text of the Bill of Rights?Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)

需要4个 T C P TCP TCP报文段。

4.HTML Documents with Embedded Objects

  1. How many HTTP GET request messages did your browser send? To which Internet addresses were these GET requests sent?
    Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)
    Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)

    发送了 3 3 3个服务器请求,消息中的 F u l l   r e q u e s t   U R I Full\ request\ URI Full request URI就是请求的网站。

  2. Can you tell whether your browser downloaded the two images serially, or whether they were downloaded from the two web sites in parallel? Explain.
    Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)

在第一张图片下载请求得到响应后,才发出下载第二张图片的请求,所以图片下载是串行的。

5 HTTP Authentication

  1. What is the server’s response (status code and phrase) in response to the initia HTTP GET message from your browser?

Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)

$response :\  status\ code = 401,phrase=Unauthorized$,表示未经授权,因为此页面需要登录认证。
  1. When your browser’s sends the HTTP GET message for the second time, what new field is included in the HTTP GET message.
    Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)

新增了 A u t h o r i z a t i o n Authorization Authorization字段,此字段与登录验证的用户名密码相关。文章来源地址https://www.toymoban.com/news/detail-475053.html

到了这里,关于Wireshark HTTP实验—Wireshark Lab: HTTP v7.0(计算机网络自顶向下第七版)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 《计算机网络—自顶向下方法》 Wireshark实验(二):HTTP协议分析

            HTTP 协议工作于客户端-服务端架构上。浏览器作为 HTTP 客户端通过 URL 向 HTTP 服务端即 WEB 服务器发送所有请求。 WEB 服务器有:Apache服务器,IIS服务器(Internet Information Services)等。 URL:即统一资源定位符(Uniform Resource Locator),用来唯一地标识万维网中的某一个文

    2024年02月07日
    浏览(32)
  • 计算机网络实验五 Wireshark网络抓包实验

    1.使用Wireshark软件对网卡上的数据包进行抓取,分析数据包各字段的含义。 2.掌握数据链路层、网络层、运输层常用数据包的定义 3.掌握相关网络命令 注意:下面实验环境 本机IP:10.1.36.48 网关:10.1.36.1 (1)捕获ARP请求及应答包 要求:分析数据链路层协议中的:源MAC,目的

    2024年02月10日
    浏览(40)
  • 计算机网络实验(二):Wireshark网络协议分析

    HTTP协议分析   1.超文本传输协议(Hypertext Transfer Protocol, HTTP)是万维网(World Wide Web)的传输机制,允许浏览器通过连接Web服务器浏览网页。目前在大多数组织中,HTTP流量在网络中所占的比率是最高的。每一次使用Google搜索、连接Twitter、发一条微博,或者在ESPN上查看肯塔基

    2024年01月15日
    浏览(39)
  • 计算机网络 wireshark TCP抓包实验

    1. 你的客户端电脑传送文件到 192.168.1.70 的 IP 地址和端口是什么?从192.168.1.70 接收文件的 IP 地址和端口是什么? 可以看出 传送文件的地址是192.168.8.90 端口是61588 接受文件的地址是192.168.1.70 端口是80 2. 用来初始化客户端电脑和 192.168.1.70 的 TCP 连接的 TCP SYN 报文段的序号

    2024年02月07日
    浏览(33)
  • 【计算机网络实验/wireshark】tcp建立和释放

    wireshark开始捕获后,浏览器打开xg.swjtu.edu.cn,网页传输完成后,关闭浏览器,然后停止报文捕获。 若捕获不到dns报文,先运行ipconfig/flushdns命令清空dns缓存 设置了筛选条件:dns 查询报文目的端口:53,目标ip地址:202.115.64.33  找到DNS相关部分,可以看到事务id,以及queries(问

    2024年01月17日
    浏览(30)
  • 计算机网络自顶向下WireShark实验:TCP

    计算机网络 WireShark 实验记录可供参考 1:What is the IP address and TCP port number used by the client computer (source) that is transferring the file to gaia.cs.umass.edu? To answer this question, it’s probably easiest to select an HTTP message and explore the details of the TCP packet used to carry this HTTP message, using the “details of

    2023年04月15日
    浏览(45)
  • 计算机网络-应用协议与数据包分析实验(使用Wireshark)

            通过本实验,熟练掌握Wireshark的操作和使用,学习对HTTP协议进行分析。         学习http协议,使用Wireshark截获http报文,对http请求报文和响应报文进行分析。 1.截获报文 打开Wireshark开始截获报文,从浏览器访问:http://kczx.hnu.edu.cn/G2S/Template/View.aspx?courseId=124

    2024年02月02日
    浏览(39)
  • HNU-计算机网络-实验1-应用协议与数据包分析实验(Wireshark)

    计科210X 甘晴void 202108010XXX 通过本实验,熟练掌握Wireshark的操作和使用,学习对HTTP协议进行分析。 2.1 HTTP 协议简介 HTTP 是超文本传输协议 (Hyper Text Transfer Protocol)的缩写,用于WWW 服务。 (1)HTTP 的工作原理 HTTP 是一个面向事务的客户服务器协议。尽管HTTP 使用TCP 作为底层

    2024年02月06日
    浏览(36)
  • 《计算机网络—自顶向下方法》 Wireshark实验(三):DNS协议分析

            域名系统 DNS(Domain Name System) 是互联网使用的命名系统,用于把便于大家使用的机器名字转换为 IP 地址。许多应用层软件经常直接使用 DNS,但计算机的用户只是间接而不是直接使用域名系统。 互联网采用层次结构的命名树作为主机的名字,并使用分布式的域名系

    2024年02月04日
    浏览(34)
  • 《计算机网络—自顶向下方法》 Wireshark实验(八):ICMP 协议分析

            ICMP(Internet Control Message Protocol)网络控制报文协议。它是 TCP/IP 协议簇的一个子协议,用于在 IP 主机、路由器之间传递控制消息。控制消息是指网络通不通、主机是否可达、路由是否可用等网络本身的消息。这些控制消息虽然并不传输用户数据,但是对于用户数

    2024年01月25日
    浏览(31)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包