I can browse all the websites in my company work station, but not open the command prompt and ping any website. This has happened in 2 of my previous companies too. Do companies block ping?Why do companies do that ?
-
Could you clarify what you mean, please? Does ping not return anything or can't you execute ping (This program has been blocked or something like this).– Tex HexAug 4, 2011 at 6:51
-
"Ping request could not find host google.com. Please check the name and try again"– Vinoth Kumar C MAug 4, 2011 at 7:04
-
do you browse via a company squid proxy ?– SirexAug 4, 2011 at 7:29
-
2Because the sysadmins are either ignorant, or being overly cautious. I sure hope they haven't completely blocked ICMP since that breaks PMTUD.– ZoredacheAug 4, 2011 at 8:05
-
3It's probably not blocking ping, but rather blocking name resolution requests. Your company is using a proxy, other "direct" internet access is disabled (HTTP / ping / name resolution / ...).– KonerakAug 4, 2011 at 12:33
2 Answers
It has to do with the issues caused by it in the past ("Ping of death"), so some sites block it at the firewall level to avoid them:
On the Internet, ping of death is a denial of service (DoS) attack caused by an attacker deliberately sending an IP packet larger than the 65,536 bytes allowed by the IP protocol.
One of the features of TCP/IP is fragmentation; it allows a single IP packet to be broken down into smaller segments. In 1996, attackers began to take advantage of that feature when they found that a packet broken down into fragments could add up to more than the allowed 65,536 bytes. Many operating systems didn't know what to do when they received an oversized packet, so they froze, crashed, or rebooted.
Source: ping of death
Edit: There's even an issue called "Ping flood":
Ping flood is a simple denial-of-service attack where the attacker/s overwhelms the victim with ICMP Echo Request (ping) packets. It is most successful if the attacker has more bandwidth than the victim (for instance an attacker with a DSL line and the victim on a dial-up modem).
The attacker hopes that the victim will respond with ICMP Echo Reply packets, thus consuming both outgoing bandwidth as well as incoming bandwidth. If the target system is slow enough, it is possible to consume enough of its CPU cycles for a user to notice a significant slowdown.
-
8
-
3
-
-
Quite fortuitous that Ivan updated the other post today. the same day that the news that the ping of death is still lingering around Aug 10, 2011 at 6:32
You may try the tracert command, but that is probably blocked too.
The system administrators probably see ping as a security issue for some reason. AKA 99% of their users are inexperienced and have no use for the ping command, and the 1% that know it are most likely to be capable of compromising security.
Potentially, someone's malware might send pings to a remote server in order for that server to log the IP of the pinging machine.
-
1It can be used to change the BSOD to PSOD for people so inclined... Aug 4, 2011 at 6:56
-
2I'm getting this message: "'pink' is not recognized as an internal or external command, operable program or batch file."– TFMAug 4, 2011 at 7:07
-
2@TFM Maybe your LAN cable is a different colour or you are on wireless? Aug 4, 2011 at 7:55
-
2@TFM - you have to spraypaint the hard drive pink in order for the command to work. The optical drive has sensors that only trigger the correct message if the pink spectrometer is triggered... They do this so that you do not call the command unless it is absolutely necessary. Also, it lets any sys admins know that you have at some point tried to issue the pink command. Aug 4, 2011 at 10:02
-
1The "Pink" command is a new one: It determines if the company supports breast cancer. :)– KCotreauAug 4, 2011 at 11:25