Solved What Ports Do Ping Use?

February 16, 2005 at 15:22:23
Specs: Win 2k/XP/redhat9/2003, 2Gig/1Gig

Can anybody tell me which ports ping uses?
I would like to block ping requests on my routing and remote access server. And on our Cisco firewall in work.

See More: What Ports Do Ping Use?

Report •

February 16, 2005 at 20:46:44
✔ Best Answer

Pings use the ICMP protocol and doesn't use ports like TCP or UDP.

You could block all ICMP packets and that would certainly take care of it. It is possible to block only pings, but the way to do that depends on your firewall.

For example, iptables would be

... -p icmp --icmp-type echo-request -j DROP

Report •

February 17, 2005 at 03:46:06

Report •

February 17, 2005 at 09:40:19

Information != knowledge

Report •

Related Solutions

Ask Question