[rochester-pm-list] ping

Brian Mathis bmathis at directedge.com
Tue Jan 4 09:30:00 CST 2000


On Tue, 4 Jan 2000, Shawn Porter wrote:

> Righ, Dave.  Ping usually uses icmp, though the default with Net::Ping
> should be udp.  Only root can do icmp.  Anybody can do a udp or tcp
> 'ping'.  You can tell Net::Ping to use udp or tcp.
> 
> -> http://language.perl.com/newdocs/lib/Net/Ping.html
> 
> "The icmp protocol requires that the program be run as root or that it be
> setuid to root. The tcp and udp protocols do not require special
> privileges, but not all network devices implement the echo protocol for
> tcp or udp."
> 
> --
> Shawn Porter

Yes.  Also, most machines have now turned off the echo service in inetd,
rendering the tcp ping pretty useless.  I think UDP is your best bet.

-- 
Brian Mathis
Direct Edge
http://www.directedge.com





More information about the Rochester-pm mailing list