Everyone loves ping. It's simple. It's utilitarian. And it does exactly what the sonar inspired name implies. Ping tells you if a remote computer is responding to network requests.
Yes, it is a very simple, but useful function. I sometimes ping Google to find out if there is some problem with the Internet connection. Another useful, complementary utility is âtracertâ (Windows) which gives more details about routing.
Mike was brilliant, if a bit idiosyncratic. I had the pleasure and honor of working with him early in my career. I remember watching in awe as he implemented a virtual memory object system, entirely in C, so that we could fit our large CAD models into a PDP-11âs address space (64K (not M) bytes of data and 64K bytes of program). It took him maybe a day or two.
Interesting that you ping www.yahoo.com in your screenshot. For some reason, thatâs my habit when testing an internet connection. I always ping yahoo. I wonder how much ping traffic they get.
From a linguistic perspective, of course, hardly a day goes by when I donât ping someone to get their insight/opinion/schedule on something, or to remind them about something. I am guessing that a fair percentage of people where I work who say âIâll ping so-and-soâ donât know exactly where this comes from.
I always do this to troubleshoot connectivity at a wifi spot, etc:
ping 4.2.2.2 (easy to remember and doesnât need DNS)
ping www.google.com (to test DNS)
telnet www.google.com 80 (to test HTTP outbound and DNS)
It takes 5-10 seconds, and you know that everything should be working after that. Itâs also incremental in nature in terms of the stack, so youâll know what the issue is based on how far youâve made it with those three tests.
If âpingâ works on your local Windows network, and youâve not enabled file sharing or otherwise opened TCP port 445 (e.g. through Group Policy), it may be a sign that Windows Firewall is not enabled. In its default configuration, Windows Firewall rejects ICMP Echo Request packets.
Ping itself probably isnât harmful - although it gives attackers an indication that a host is alive - but leaving your computers open to attack definitely is. You may think youâre secure but if you have any users with laptops that they take home or to customer sites, itâs quite possible for them to get infected off-site then infect everyone else when they bring the laptop back to the office (or onto the VPN). Donât trust any other machines - use a software firewall.
I find it sad nobody mentioned the âping of deathâ. If you flood pinged windows (95?) machines, they would become unresponsive and then either BSOD (blue screen of death) or reboot, I donât remember which.
Actually, the âping of deathâ was not a flood of ICMP Echos. Itâs simply one ICMP Echo with over 65536 bytes in the payload directed at a host. Remember, 64 bytes is the default. The packet would be fragmented in order to be transmitted to the destination due to its size being larger than the MTU. The receiving host would attempt to reconstruct the overly large packet from the fragments and overflow a buffer causing itself to panic/hang/need rebooting/reboot.
Categorical blocking of all ICMP is something that ignorant security paranoid people do. It drops out âpingâ too.
At the same time they break TCP Path-MTU, and when IPv6 comes into true use, they break their entire network.
In many web-site cases the published one/two IP addresses for the site are actually handled by a âload-balancer switchâ, which diverts incoming TCP connection flows to real back-end servers. At the same time they donât (at all) support ICMP redirecting - which may cause surprising effects with TCP Path-MTU.
(All the world can carry full-size ethernet frames of 1500 bytes each? Yeah, right⌠Consider PPPoE, and realize that present world is by default running with âdonât fragmentâ bit setâŚ)
traceroute can use ICMP too, but original UNIX traceroute used UDP, thus all its UNIX descendants use that by default, while some can use also ICMP.
I was wondering, if my kid brother was on the xbox 360 online all day and one day I got tired of it, but he was smart enough to check to see if everythings plugged in, is there a way that I could ping the xbox on the network to make it lag bad or time out or something?