Hello! I’m trying to ping some lemmy instances to understand which one is the faster, so I’m just using the ping command:

$ ping lemmy.ml
PING lemmy.ml (54.36.178.108) 56(84) bytes of data.
64 bytes from lemmy.ml (54.36.178.108): icmp_seq=1 ttl=49 time=24.4 ms

ping lemmy.world
PING lemmy.world (135.181.143.230) 56(84) bytes of data.
64 bytes from static.230.143.181.135.clients.your-server.de (135.181.143.230): icmp_seq=1 ttl=52 time=58.2 ms

but if I try with certain instances:

ping vlemmy.net
PING vlemmy.net (109.78.160.70) 56(84) bytes of data.




it just hangs there, forever. if I try to ctrl+C it, it displays

^C
--- vlemmy.net ping statistics ---
13 packets transmitted, 0 received, 100% packet loss, time 12267ms

why does this happens? I can perfectly visit vlemmy.net from my browser so I really can’t understand whay is this happening

      • @seaduck
        link
        11 year ago

        I think we block everything that’s unecessary, to minimise any attack surface area

      • ICMP is one vector of a distributed denial of service attack. Also, even if not denying the service, it puts load on the network interfaces / routers of that server - everything behind the first firewall / router layer that would otherwise block the ICMP requests.

      • SirMrR4M
        link
        fedilink
        11 year ago

        Prevents some types of port scanning normally. Don’t know about other advantages

  • Max_Power
    link
    fedilink
    4
    edit-2
    1 year ago

    ping nowadays is overrated anyway. If a server responds to ICMP and how fast it does it does not really say much about “how fast” a website is. It only tells you that a) ICMP requests and responses are not blocked and b) how fast ICMP requests get answered.

    That’s it. It may not even tell you that a website is online because a load balancer may be responding to the ICMP request while the hosts behind it are offline.

    People value ping responses way too highly.

    httping may be a better tool to measure “how fast” a website is responding.

    • Sebito
      link
      fedilink
      31 year ago

      Also every major browser has a tool for timing and seing how long a site and it’s components load. You could test it with that but even then; load times will vary slightly depending on what the instances have to load.

      But probably a better way than pings ¯_(ツ)_/¯

    • People value ping responses way too highly.

      I beg to differ. Not everyone’s use of the internet is limited to http(s) - ping is an invaluable tool to determine round trip times of the underlying network infrastructure & therefore assess e.g. the potential throughput of TCP based protocols for given window sizes. Also, to assess delay in UDP based communication.

  • @Whisker@lemmy.ml
    link
    fedilink
    41 year ago

    As others have commented, blocking is the most likely reason. That said, responding to ping requests typically is deprioritized when the networked device is loaded heavily and requests get dropped.

  • 𝒍𝒆𝒎𝒂𝒏𝒏
    link
    fedilink
    31 year ago

    The server’s firewall could be blocking them?

    If it’s a VPS, most providers’ firewalls will block everything by default, and you have to specifically choose what ports to open or transmission protocols to allow.

    I personally have all my VPS’s set up to drop pings from any unauthorised IP addresses

  • qprimed
    link
    fedilink
    31 year ago

    ICMP echo requests/responses may be blocked - usually by a remote endpoint firewall.

  • @signofzeta@lemmygrad.ml
    link
    fedilink
    21 year ago

    Don’t rely on ping to tell you that. That only tells you how quickly your packet reaches that particular server, which could change based on your ISP, your location, their ISP, their location, and — as you saw — their server’s firewalls.

    Plus, ping only tells you how quickly the hardware responds. The site could have slow web server software, be slow to serve web pages due to user load, or have a bloated web site full of megabytes of JavaScript (though I hope that’s not an issue in the Lemmyverse!).