首页 > 其他分享 >Wireshark Lab: NAT v7.0

Wireshark Lab: NAT v7.0

时间:2022-10-14 19:02:09浏览次数:92  
标签:HTTP v7.0 IP destination Lab server source NAT

0. 实验文件地址

Wireshark Lab: NAT v7.0

1. NAT Measurement Scenario

在这里插入图片描述

Question & Answer

1. What is the IP address of the client?

在这里插入图片描述

2. The client actually communicates with several different Google servers in order to implement “safe browsing.” (See extra credit section at the end of this lab). The main Google server that will serve up the main Google web page has IP address 64.233.169.104. In order to display only those frames containing HTTP messages that are sent to/from this Google, server, enter the expression “http && ip.addr == 64.233.169.104” (without quotes) into the Filter: field in Wireshark .

在这里插入图片描述

3. Consider now the HTTP GET sent from the client to the Google server (whose IP address is IP address 64.233.169.104) at time 7.109267. What are the source and destination IP addresses and TCP source and destination ports on the IP datagram carrying this HTTP GET?

在这里插入图片描述

4. At what time4 is the corresponding 200 OK HTTP message received from the Google server? What are the source and destination IP addresses and TCP source and destination ports on the IP datagram carrying this HTTP 200 OK message?

在这里插入图片描述

5. Recall that before a GET command can be sent to an HTTP server, TCP must first set up a connection using the three-way SYN/ACK handshake. At what time is the client-to-server TCP SYN segment sent that sets up the connection used by the GET sent at time 7.109267? What are the source and destination IP addresses and source and destination ports for the TCP SYN segment? What are the source and destination IP addresses and source and destination ports of the ACK sent in response to the SYN. At what time is this ACK received at the client? (Note: to find these segments you will need to clear the Filter expression you entered above in step 2. If you enter the filter “tcp”, only TCP segments will be displayed by Wireshark).

在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

Question & Answer

在这里插入图片描述

6. In the NAT_ISP_side trace file, find the HTTP GET message was sent from the client to the Google server at time 7.109267 (where t=7.109267 is time at which this was sent as recorded in the NAT_home_side trace file). At what time does this message appear in the NAT_ISP_side trace file? What are the source and destination IP addresses and TCP source and destination ports on the IP datagram carrying this HTTP GET (as recording in the NAT_ISP_side trace file)? Which of these fields are the same, and which are different, than in your answer to question 3 above?

在这里插入图片描述

相同:
Src Port & Dst Port 

不同:
Source IP & Desination IP

7. Are any fields in the HTTP GET message changed? Which of the following fields in the IP datagram carrying the HTTP GET are changed: Version, Header Length, Flags, Checksum. If any of these fields have changed, give a reason (in one sentence) stating why this field needed to change.

The all fields in the HTTP GET message won't change.
NAT只是将本地想和外界通信的主机的本地地址转换为全球IP地址,相当于给一个人取了另外一个名字,这个人是不会改变的。

8. In the NAT_ISP_side trace file, at what time is the first 200 OK HTTP message received from the Google server? What are the source and destination IP addresses and TCP source and destination ports on the IP datagram carrying this HTTP 200 OK message? Which of these fields are the same, and which are different than your answer to question 4 above?

在这里插入图片描述

相同:
Source IP 
Src Port
Dst Port

不同:
Destination IP

9. In the NAT_ISP_side trace file, at what time were the client-to-server TCP SYN segment and the server-to-client TCP ACK segment corresponding to the segments in question 5 above captured? What are the source and destination IP addresses and source and destination ports for these two segments? Which of these fields are the same, and which are different than your answer to question 5 above?

在这里插入图片描述

相同:
Src Post
Dst Port
Destination IP

不同:
Source IP

在这里插入图片描述

相同:
Src Post
Dst Port
Source IP

不同:
Destination IP

Question & Answer

在这里插入图片描述

10. Using your answers to 1-8 above, fill in the NAT translation table entries for HTTP connection considered in questions 1-8 above.

NAT转换表
WAN端 LAN端
64.233.169.104,80 74.125.106.31, 80
64.233.169.104,80 74.125.91.113, 80
192.168.1.100,4331 71.192.34.104,4330
192.168.1.100,4331 71.192.34.104,4331
192.168.1.100,4331 71.192.34.104,4335
192.168.1.100,4331 71.192.34.104,4336
192.168.1.100,4331 71.192.34.104,4337
192.168.1.100,4331 71.192.34.104,4338

标签:HTTP,v7.0,IP,destination,Lab,server,source,NAT
From: https://www.cnblogs.com/astralcon/p/16792661.html

相关文章

  • Wireshark Lab: IP v7.0
    实验文件地址http://www-net.cs.umass.edu/wireshark-labs/Wireshark_IP_v7.0.pdfQuestion&Answer1.SelectthefirstICMPEchoRequestmessagesentbyyourcom......
  • Wireshark Lab: DHCP v7.0
    0.实验文件地址WiresharkLab:DHCPv7.0DHCP:动态主机配置协议。允许主机自动获取(被分配)一个IP地址(即插即用)。还允许一台主机得知其他信息,例如它的子网掩码、它的第一跳......
  • Wireshark Lab: Ethernet and ARP v7.0
    0.实验文件地址WiresharkLab:EthernetandARPv7.0数据字段(46~1500字节):这个字段承载了IP数据报。以太网的最大传输单元(MTU)是1500字节。目的地址(6字节):这个字段包含......
  • Wireshark Lab: HTTP v7.0
    0.实验文件地址http://www-net.cs.umass.edu/wireshark-labs/Wireshark_HTTP_v7.0.pdf方法字段可以取不同的值:GET、POST、HEAD、PUT和DELETE。GET:请求服务器发送某个......
  • Wireshark Lab: TCP v7.0
    0.实验文件地址http://www-net.cs.umass.edu/wireshark-labs/Wireshark_TCP_v7.0.pdf序号(seq):用来标识从TCP发送端向TCP接收端发送的数据字节流。它表示在这个报文段......
  • Wireshark Lab: DNS v7.0
    0.实验文件地址http://www-net.cs.umass.edu/wireshark-labs/Wireshark_DNS_v7.0.pdf1.nslookup2.ipconfig3.TracingDNSwithWireshark3.1www.ietf.org3......
  • 部署 GitLab、配置 GitLab、CI/CD 概述、部署 Jenkins
    版本控制版本库版本控制是一种记录一个或若干文件内容变化,以便将来查阅特定版本修订情况的系统。简单来说,就是为目录打快照。将来可以回到某一个历史记录点。是一个典型的......
  • ​MATLAB实战—最优Copula函数的选择
    Copula函数模型本文讲解Copula函数在实际生活中的应用,Copula函数描述的是变量间的相关性,实际上是一类将联合分布函数与它们各自的边缘分布函数连接在一起的函数,因此也有人将......
  • GitLab服务器修改用户密码
    重置密码:1、切换到相应路径cd/opt/gitlab/bin/2、进入控制台gitlab-railsconsole3、根据序号查询用户账号信息并赋值给uu=User.find(2)[注:2为用户序号]4、设置密......
  • LeetCode 1115. Print FooBar Alternately
    原题链接在这里:https://leetcode.com/problems/print-foobar-alternately/题目:Supposeyouaregiventhefollowingcode:classFooBar{publicvoidfoo(){f......