没有合适的资源?快使用搜索试试~ 我知道了~
首页Wireshark_TCP_Solution_July_22_2007.pdf
资源详情
资源评论
资源推荐
1
Wireshark Lab 3 – TCP
The following reference answers are based on the trace files provided with the text book,
which can be downloaded from the textbook website.
TCP Basics
Answer the following questions for the TCP segments:
1. (1 point) What is the IP address and TCP port number used by your client
computer (source) to transfer the file to gaia.cs.umass.edu? What is the IP
address and port number used by gaia.cs.umass.edu to receive the file.
Solution: Client computer (source)
IP address: 192.168.1.102
TCP port number: 1161
Destination computer: gaia.cs.umass.edu
IP address: 128.119.245.12
TCP port number: 80
Figure 1: IP addresses and TCP port numbers of the client computer (source) and gaia.cs.umass.edu
2
2. (1 point) What is the sequence number of the TCP SYN segment that is used to
initiate the TCP connection between the client computer and gaia.cs.umass.edu?
What is it in the segment that identifies the segment as a SYN segment?
Solution: Sequence number of the TCP SYN segment is used to initiate the TCP
connection between the client computer and gaia.cs.umass.edu. The value is 0 in this
trace.
The SYN flag is set to 1 and it indicates that this segment is a SYN segment.
Figure 2: Sequence number of the TCP SYN segment
3. (2 points) What is the sequence number of the SYNACK segment sent by
gaia.cs.umass.edu to the client computer in reply to the SYN? What is the value
of the ACKnowledgement field in the SYNACK segment? How did
gaia.cs.umass.edu determine that value? What is it in the segment that identifies
the segment as a SYNACK segment?
Solution: Sequence number of the SYNACK segment from gaia.cs.umass.edu to the
client computer in reply to the SYN has the value of 0 in this trace.
3
The value of the ACKnowledgement field in the SYNACK segment is 1. The value of the
ACKnowledgement field in the SYNACK segment is determined by gaia.cs.umass.edu
by adding 1 to the initial sequence number of SYN segment from the client computer (i.e.
the sequence number of the SYN segment initiated by the client computer is 0.).
The SYN flag and Acknowledgement flag in the segment are set to 1 and they indicate
that this segment is a SYNACK segment.
Figure 3: Sequence number and Acknowledgement number of the SYNACK segment
4. (1 point) What is the sequence number of the TCP segment containing the HTTP
POST command? Note that in order to find the POST command, you’ll need to
dig into the packet content field at the bottom of the Wireshark window, looking
for a segment with a “POST” within its DATA field.
Solution: No. 4 segment is the TCP segment containing the HTTP POST command. The
sequence number of this segment has the value of 1.
4
Figure 4: Sequence number of the TCP segment containing the HTTP POST command
5. (2 points) Consider the TCP segment containing the HTTP POST as the first
segment in the TCP connection. What are the sequence numbers of the first six
segments in the TCP connection (including the segment containing the HTTP
POST)? At what time was each segment sent? When was the ACK for each
segment received? Given the difference between when each TCP segment was
sent, and when its acknowledgement was received, what is the RTT value for each
of the six segments? What is the EstimatedRTT value (see page 237 in text)
after the receipt of each ACK? Assume that the value of the EstimatedRTT is
equal to the measured RTT for the first segment, and then is computed using the
EstimatedRTT equation on page 249 for all subsequent segments.
Note: Wireshark has a nice feature that allows you to plot the RTT for
each of the TCP segments sent. Select a TCP segment in the “listing of
captured packets” window that is being sent from the client to the
gaia.cs.umass.edu server. Then select: Statistics->TCP Stream Graph-
>Round Trip Time Graph.
Solution: The HTTP POST segment is considered as the first segment. Segments 1 – 6
are No. 4, 5, 7, 8, 10, and 11 in this trace respectively. The ACKs of segments 1 – 6 are
No. 6, 9, 12, 14, 15, and 16 in this trace.
剩余15页未读,继续阅读
Lzwei6
- 粉丝: 54
- 资源: 32
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- 2023年中国辣条食品行业创新及消费需求洞察报告.pptx
- 2023年半导体行业20强品牌.pptx
- 2023年全球电力行业评论.pptx
- 2023年全球网络安全现状-劳动力资源和网络运营的全球发展新态势.pptx
- 毕业设计-基于单片机的液体密度检测系统设计.doc
- 家用清扫机器人设计.doc
- 基于VB+数据库SQL的教师信息管理系统设计与实现 计算机专业设计范文模板参考资料.pdf
- 官塘驿林场林防火(资源监管)“空天地人”四位一体监测系统方案.doc
- 基于专利语义表征的技术预见方法及其应用.docx
- 浅谈电子商务的现状及发展趋势学习总结.doc
- 基于单片机的智能仓库温湿度控制系统 (2).pdf
- 基于SSM框架知识产权管理系统 (2).pdf
- 9年终工作总结新年计划PPT模板.pptx
- Hytera海能达CH04L01 说明书.pdf
- 数据中心运维操作标准及流程.pdf
- 报告模板 -成本分析与报告培训之三.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论2