IT数码 购物 网址 头条 软件 日历 阅读 图书馆
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
图片批量下载器
↓批量下载图片,美女图库↓
图片自动播放器
↓图片自动播放器↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁
 
   -> 网络协议 -> 2021-09-10计算机网络自顶向下方法Wireshark Lab(二)HTTP -> 正文阅读

[网络协议]2021-09-10计算机网络自顶向下方法Wireshark Lab(二)HTTP

  1. The Basic HTTP GET/response interaction
    GET
    在这里插入图片描述
    respond
    在这里插入图片描述

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

My browser is running HTTP version 1.1.
The server is running HTTP version 1.1.

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

My browser indicates that it can accept Chinese and English.
在这里插入图片描述
(3)What is the IP address of your computer? Of the gaia.cs.umass.edu server?

My computer’s IP address is 172.22.12.12
The gaia.cs.umass.edu server IP address is 128.119.245.12

(4)What is the status code returned from the server to your browser?

200 OK

(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 browser?
在这里插入图片描述
(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.
packet content window - show the detail of packet content.
packet list window - show the list of captured packet.

such as content-length

  1. The HTTP CONDITIONAL GET/response interaction
    common GET 在这里插入图片描述
    common respond
    在这里插入图片描述
    在这里插入图片描述

conditional GET
在这里插入图片描述

conditional respond
在这里插入图片描述
(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?

No,I don’t.

(9) Inspect the contents of the server response. Did the server explicitly return the contents of the file? How can you tell?

Yes,it did. I saw a row called Line-base text data.It show the contents of the file.

(10)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?

Yes, I did.It is the same as the information follows “Last-Modified:” header from the first respond.

(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? Explain.

The HTTP status code and description is 304 Not Modified.
No,it did’t.Because the contents don’t modified since last time it have been sent to my computer .And my computer store a copy of the contents,so it don’t need a new one,which can help improve performance.

  1. Retrieving Long Documents

(12) 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?

Two.One for the content of HTML,another for the icon of the page.
在这里插入图片描述
(13) Which packet number in the trace contains the status code and phrase associated with the response to the HTTP GET request?
packet 11140
在这里插入图片描述
(14) What is the status code and phrase in the response?

200 OK

(15) How many data-containing TCP segments were needed to carry the single HTTP response and the text of the Bill of Rights?

Four.
the HTML has 4500 byte,while TCP segment can carry 1460 byte,so it need (4500 / 1460 = 3.08 ) 4 packets.
在这里插入图片描述
6. HTML Documents with Embedded Objects
(16)How many HTTP GET request messages did your browser send? To which Internet addresses were these GET requests sent?

Three.IP address are 128.119.245.12 and 178.79.137.164
在这里插入图片描述

(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.
the packet send in parallel.

  1. HTTP Authentication
    在这里插入图片描述(18) What is the server’s response (status code and phrase) in response to the initial HTTP GET message from your browser?

401 Unauthorized

(19)When your browser’s sends the HTTP GET message for the second time, what new field is included in the HTTP GET message?
在这里插入图片描述

  网络协议 最新文章
使用Easyswoole 搭建简单的Websoket服务
常见的数据通信方式有哪些?
Openssl 1024bit RSA算法---公私钥获取和处
HTTPS协议的密钥交换流程
《小白WEB安全入门》03. 漏洞篇
HttpRunner4.x 安装与使用
2021-07-04
手写RPC学习笔记
K8S高可用版本部署
mySQL计算IP地址范围
上一篇文章      下一篇文章      查看所有文章
加:2021-09-13 09:37:35  更:2021-09-13 09:37:48 
 
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁

360图书馆 购物 三丰科技 阅读网 日历 万年历 2024年6日历 -2024/6/27 2:05:05-

图片自动播放器
↓图片自动播放器↓
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
图片批量下载器
↓批量下载图片,美女图库↓
  网站联系: qq:121756557 email:121756557@qq.com  IT数码