当前位置:网站首页>Network packet capturing to understand the establishment process of TCP triple handshake
Network packet capturing to understand the establishment process of TCP triple handshake
2022-07-20 10:17:00 【weixin_ forty-three million six hundred and twenty thousand nin】
TCP The three handshakes in sometimes are troublesome to understand , Let's learn about it by grabbing bags tcp The process of establishing a connection
The basic network topology is as follows , We capture packets on either of the two ports of the router
After the data packet is crawled, it looks like this , This is the packet of three handshakes we want to see .
At the same time, the schematic diagram of three handshakes in the network is also put up for our comparison .
This is the first packet TCP Details of , Through the picture, we can see three handshakes. First, the client initiates the connection , Send a seq= 6509( The starting serial number ), And in the identification bit SYN Set a packet to Server The server .
Above is the second , When Server After receiving the data packet, the server replies with seq=6549( New serial number ),ack=6510( Acknowledge receipt of the last packet ), In the identification bit SYN、ACK The set packet is sent to Client client .
Above is the last packet , When Client The client will reply again after receiving the packet seq=6510( New serial number ),ack=6550( Acknowledge receipt of the last packet ), In the identification bit ACK The set packet is sent to Server The server .
By the above operation , One TCP The connection is established , The client and Server The servers can communicate and send data normally .
边栏推荐
- 关于基础资源信息查询和关键数据的查看
- 六大集合List、Set、Map、Queue、Deque、Stack的遍历方式总结
- The third "intelligence Cup" National College Students' IT skills competition (solution to group B of the preliminary competition)
- 第三届“传智杯”全国大学生IT技能大赛(初赛B组题解)
- 2022-7-18 guyujia's study notes of group 8
- Leetcode:14. Longest common prefix [thinking + sorting]
- CSV intro
- Nju Nanjing University Digital and electrical experiment class big experiment: character games
- 计算机408+数据库【适合考研复试或期末复习】
- 【PTA】7-24 约分最简分式 (15 分)
猜你喜欢
随机推荐
equals和“==”的异同
软件工程期末复习思维导图
网络安全学习(十七)VlAN
黑马程序员反射入门
Mikrotik ROS软路由配置PCC负载均衡实现双宽带叠加
虚幻引擎学习(2)
ceph 纠删码解读和实践
网安学习(二一)NAT 动态路由
TCP three handshakes and four swings
网络安全学习(十一)扫描与爆破
【OpenCV】边缘检测 [API与源码实现]
“重写”和“重载”的区别
上海二工大 - 健康日报AutoCheck
Leetcode:13. Roman numeral to integer [key value pair mapping]
网安学习(二十)ACL
网络安全学习(十六)
乐山师范程序设计大赛2020-I: 数组重排【贪心】
zabbix自动发现并监控GPU
Maximum number less than n
乐山师范程序设计大赛2020-B: 设计网页【判素数】