Re: server latency
On 28 Jul 2024 13:23 +0000, from linuxdev@daum.net (Walt E):
> When I want to know the approximate latency from local to remote servers, I know I can use icmp ping.
> However, some servers, such as by Azure's default security policy, prohibit icmp ping.
> So, in this situation, how do I know the local latency to those servers?
nmap -sn is likely to be a good starting point.
If you know a port that is open, then you can try
nmap -sS/-sU -p port host
where -sS selects a TCP SYN scan and -sU selects a UDP scan, -p
specifies the port, and host is what it says on the tin.
For example, a typical host would probably give reasonable results
for:
$ nmap -sS -p 22,3389 192.0.2.1
That will check the default SSH and Microsoft RDP ports on 192.0.2.1.
--
Michael Kjörling 🔗 https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”
Reply to: