客户端:
node2:
node2:/root#hostname
node2
node2:/root#netstat -na | grep 8080
node2:/root#
服务端:
node1:/root#netstat -na | grep 8080
tcp 0 0 192.168.137.2:8080 0.0.0.0:* LISTEN
iptables -I INPUT -s 192.168.137.2 -j DROP 丢弃 服务端过来的数据包:
node2:/root#telnet 192.168.137.3 8080
Trying 192.168.137.3...
telnet: connect to address 192.168.137.3: Connection refused
node2:/root#telnet 192.168.137.2 8080
Trying 192.168.137.2...
客户端:
node2:/root#netstat -na | grep 8080
tcp 0 1 192.168.137.3:25192 192.168.137.2:8080 SYN_SENT
node2:/root#
服务端:
node1:/root#netstat -na | grep 8080
tcp 0 0 192.168.137.2:8080 0.0.0.0:* LISTEN
tcp 0 0 192.168.137.2:8080 192.168.137.3:25192 SYN_RECV
node1:/root#set -o vi
node1:/root#tcpdump -S -i eth1 '((tcp) and (port 8080) and (host 192.168.137.3) )'
tcpdump: verbose output suppressed, use -v
sync,sync && ack 不停的重发
最新推荐文章于 2022-01-12 22:00:51 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)