Top

TCP/IP

TCP/IP

我的环境是Centos7.4!1台服务器:Server

x.x.x.x-yiqie2
↓3次握手4次分手的过程.
无法显示

1. TCP/IP和OSI的区别

无法显示

2. TCP3次握手

无法显示
无法显示
↓抓一下包.
[root@yiqie2 ~]# tcpdump -i eth0 host 123.125.114.144
1
2
3
20:56:50.176097 IP yiqie2.35374 > 123.125.114.144.http: Flags [S], seq 2488911753, win 29200, options [mss 1460,sackOK,TS val 2190274729 ecr 0,nop,wscale 7], length 0
20:56:50.179642 IP 123.125.114.144.http > yiqie2.35374: Flags [S.], seq 2902277794, ack 2488911754, win 8192, options [mss 1452,sackOK,nop,nop,nop,nop,nop,nop,nop,nop,nop,nop,nop,wscale 5], length 0
20:56:50.179652 IP yiqie2.35374 > 123.125.114.144.http: Flags [.], ack 1, win 229, length 0

3. TCP4次分手

无法显示
无法显示
↓抓一下包.
[root@yiqie2 ~]# tcpdump -i eth0 host 123.125.114.144
1
2
3
4
20:56:50.184309 IP yiqie2.35374 > 123.125.114.144.http: Flags [F.], seq 80, ack 387, win 237, length 0
20:56:50.187996 IP 123.125.114.144.http > yiqie2.35374: Flags [.], ack 81, win 184, length 0
20:56:50.188062 IP 123.125.114.144.http > yiqie2.35374: Flags [F.], seq 387, ack 81, win 184, length 0
20:56:50.188069 IP yiqie2.35374 > 123.125.114.144.http: Flags [.], ack 388, win 237, length 0


        
 上一篇

  Centos, OSS