Tools for network connectivity checks
Nov 18, 2020
mtr This command should help us determining any TCP packet loss seen on any hops in the path
mtr -n -T -c 200 <destination ip address/host>
hping3 is a network tool able to send custom TCP/IP packets and to display target replies like ping program does with ICMP replies
hping3 -S -c 50 -V <Public IP of instance/host> -p <destination port>```
nc is a command-line utility that reads and writes data across network connections, using the TCP or UDP protocols
nc [options] host port
traceroute Do bidirectional trace routes from sending and receiving servers
traceroute host
ping Use ping or ping6 for ICMP
ping host
TRICKS
- Trick to find server/software version
echo "EXIT" | nc host port
- Transfer file if ssl is corrupted
On receiving server/host(receiving.server.com
) send the output to file file_name
nc -l port > file_name
On sending server/host ,redirect the `file_name`
nc receiving.server.com 5555 < file_name