(usagi-users 03791) ping doesn't work as normal user?
Ismail Dönmez <[email protected]> Sat, 3 Feb 2007 23:07:54 +0200
| Newsgroups | gmane.linux.ipv6.usagi.users |
|---|---|
| Organization | TUBITAK/UEKAE |
| Message-ID | <[email protected]> |
Hi,
I git pulled iputils from USAGI git tree but ping doesn't seem to work as
normal user :
[~/GIT/USAGI/iputils]> ./ping www.google.com
ping: icmp open socket: Operation not permitted
strace shows:
[...]
fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7fd8000
_llseek(3, 0, 0xbffcdd70, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "ping: icmp open socket: Operatio"..., 48ping: icmp open socket:
Operation not permitted
it works fine as root :
[~/GIT/USAGI/iputils]> sudo ./ping www.linux-ipv6.org
PING moon.linux-ipv6.org (203.178.141.227) 56(84) bytes of data.
64 bytes from pc14.fujisawa.wide.ad.jp (203.178.141.227): icmp_seq=1 ttl=42
time=411 ms
Any idea what might be wrong?
Regards,
ismail