Benjamin Scott writes:
> What I want to know is, why the heck is ping SUID-root?
Sending and receiving raw ICMP requires a raw socket. Since it is
unwise to allow the casual user this sort of low-level access to the
network, opening a raw socket requires root privileges.
This is why, for example, the Perl Net::Ping module defaults to using
the TCP echo port to determine IP connectivity rather than raw ICMP:
there's no such issue when opening a TCP socket.
--kevin
--
Kevin D. Clark | |
[EMAIL PROTECTED] | [EMAIL PROTECTED] | Give me a decent UNIX
Enterasys Networks | PGP Key Available | and I can move the world
Durham, N.H. (USA) | |
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************