• server latency

    From Walt E@21:1/5 to All on Sun Jul 28 15:30:01 2024
    Hello,

    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?

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael =?utf-8?B?S2rDtnJsaW5n?=@21:1/5 to All on Sun Jul 28 16:00:01 2024
    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?”

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Smith@21:1/5 to Walt E on Sun Jul 28 22:40:01 2024
    Hi,

    On Sun, Jul 28, 2024 at 01:23:28PM +0000, Walt E wrote:
    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?

    I pick a port that I know is open and use a traceroute that uses
    those kinds of UDP/TCP packets instead of ICMP.

    Also mtr is quite interesting to provide intermediary hop details
    and other useful stuff. Just normal traceroute can be made to do
    UDP/TCP though.

    Example: http://paste.debian.net/plain/1324660

    Thanks,
    Andy

    --
    https://bitfolk.com/ -- No-nonsense VPS hosting

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)