Introduction

Official address: https://github.com/cloverstd/tcping

In general, the IP of our Ping server is only the delay obtained by the ICMP protocol transmission, and some IDCs will optimize the ICMP delay very well. In fact, it is exposed by testing with TCPing. During the use, the TCP protocol is mainly used to transmit data. So you can test the delay obtained by TCPing; in addition, because of the handshake steps of the TCP protocol, it will be a little bit higher than the delay obtained by ICMP. If it is much higher, then I am afraid that the ICMP protocol has been specially optimized. If a server prohibits Ping, then It is impossible to use the Ping of the ICMP protocol to detect the delay, then you can use TCPing to detect the delay. Of course, the premise is that you know which port is open, because TCPing must know an open port to work properly

1. Update system software source


# CentOS
yum install -y tcptraceroute bc

# Debian/Ubuntu
apt-get install -y tcptraceroute bc

2. Download the executable file

# Enter the command directory
cd /usr/bin

# Download
wget https://raw.githubusercontent.com/sunpma/cdn/master/other/tcping

# Give execution permission
chmod +x tcping

3. Example of use

tcping 114.114.114.114 53

image.png

Likes(0)

Comment list count 0 Comments

No Comments

WeChat Self-Service

WeChat Consult

TaoBao

support@elephdev.com

发表
评论
Go
Top