Laurent MARTIN wrote:

Hi!
I've installed the IPutils package on my N770 and I've noticed that I'm not able to ping as "normal" user (aka "user"):
"ping: icmp open socket: Operation not permitted"
Things work well if I use ping as "root" user (sudo gainroot). Is this a normal behaviour?

on *nix, you have to be root to open a 'raw' socket, which is what ping uses (a raw socket of type ICMP).

if you write a little 'c', you'll find you have to be root (or the program must be suid root) in order to do this:

socket(AF_INET, SOCK_RAW, 1);


_______________________________________________
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users

Reply via email to