in reply to Re: Module Net-Ping
in thread Module Net-Ping
Preceptor:
Thank you for the reply. I chose "UDP" because it is the Net::Ping's default. "TCP" likewise returns unreachable.
If I change it to 'icmp', it DOES work, but only if effective uid is root (per the module's documentation). I wanted to run this w/o root privs, just as a plain user.
There are indeed other services available on this server, but I don't see in the Net::Ping documentation any way to specify a different port number from the default ('echo'). Perhaps the only thing I can do is run it as root or setuid the script. But any other advice would be helpful.
Thank you!
|
---|
Replies are listed 'Best First'. | |
---|---|
Nonroot ping with Net::Ping::External (was: Re: packet types & ports)
by blm (Hermit) on Sep 23, 2002 at 17:34 UTC | |
by Preceptor (Deacon) on Sep 23, 2002 at 17:49 UTC | |
by sauoq (Abbot) on Sep 23, 2002 at 21:35 UTC | |
by Kozz (Friar) on Sep 24, 2002 at 14:21 UTC | |
Re: packet types & ports
by Kanji (Parson) on Sep 23, 2002 at 17:48 UTC | |
Re: packet types & ports
by Preceptor (Deacon) on Sep 23, 2002 at 17:13 UTC |
In Section
Seekers of Perl Wisdom