正常的四次挥手:
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
16:40:28.015509 IP 192.168.137.1.50566 > node1.webcache: Flags [S], seq 2511573816, win 8192, options [mss 1460,nop,wscale 2,nop,nop,sackOK], length 0
16:40:28.015554 IP node1.webcache > 192.168.137.1.50566: Flags [S.], seq 1665892250, ack 2511573817, win 1536, options [mss 256,nop,nop,sackOK,nop,wscale 6], length 0
16:40:28.016825 IP 192.168.137.1.50566 > node1.webcache: Flags [.], ack 1665892251, win 16482, length 0
16:40:38.003254 IP 192.168.137.1.50566 > node1.webcache: Flags [F.], seq 2511573817, ack 1665892251, win 16482, length 0
16:40:38.003896 IP node1.webcache > 192.168.137.1.50566: Flags [F.], seq 1665892251, ack 2511573818, win 24, length 0
16:40:38.004336 IP 192.168.137.1.50566 > node1.webcache: Flags [.], ack 1665892252, win 16482, length 0
print(socket.SHUT_RDWR) 2
print(socket.SH
shutdown(0)和shutdown(1)
最新推荐文章于 2024-04-13 15:25:12 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)