http://qs321.pair.com?node_id=200377


in reply to Nonroot ping with Net::Ping::External (was: Re: packet types & ports)
in thread Module Net-Ping

blm: Thanks for the suggestion, btw!

Originally I tried parsing the output directly from /bin/ping but the script spewed an error about execute permissions of ping from within the script. THAT's why I had pursued Net::Ping, though only the ICMP worked as root.

I tried Net::Ping::External and it worked like a charm, no setuid bit or anything needed. Worked sweet. Thanks again.

  • Comment on Re: Nonroot ping with Net::Ping::External (was: Re: packet types & ports)