0

I am using the perl module Net::Ping to ping a set of remote hosts. I am using the default protocol, i.e. the tcp one. I am unable to ping 1 particular remote machine using this protocol.

Unix ping works fine, and so does the icmp protocol.

What could be the reason of this failure? Is there any setting I need to do on the host?

Mike Pennington
  • 41,899
  • 19
  • 136
  • 174
user1534235
  • 161
  • 3
  • 16
  • 1
    Probably firewall settings. ping-ish stuff is done via udp and icmp. tcp is overkill for that purpose, so they might block it, assuming the client is up to no good. – Len Jaffe Oct 16 '12 at 15:52
  • It is not pingable via UDP also. I don't really think there are any firewall settings enabled on the machine. – user1534235 Oct 16 '12 at 15:54
  • 1
    Actually, you were right! Firewall enabled on the machine. Thanks! – user1534235 Oct 16 '12 at 15:58

1 Answers1

1

Probably firewall settings. ping-ish stuff is done via udp and icmp. tcp is overkill for that purpose, so they might block it, assuming the client is up to no good.

Len Jaffe
  • 3,442
  • 1
  • 21
  • 28