网络工具:tcping检查TCP是否被阻断

ping只能基于ICMP协议得出结论,检查TCP是否被阻断: 请使用tcping

  1. 安装依赖
sudo apt-get install tcptraceroute
  1. 安装
cd /usr/bin
sudo wget http://www.vdberg.org/~richard/tcpping
sudo chmod 755 tcpping
  1. 使用
tcpping www.cnn.com
seq 0: tcp response from 157.166.240.13 [open] 82.544 ms
seq 1: tcp response from 157.166.241.10 [open] 80.771 ms
seq 2: tcp response from 157.166.241.11 [open] 80.838 ms
seq 3: tcp response from 157.166.241.10 [open] 80.145 ms
seq 4: tcp response from 157.166.240.11 [open] 86.253 ms
添加新评论