trying to ping as a non root user in bb v1.7.3 gives me this: ping 192.168.1.10 PING 192.168.1.10 (192.168.1.10): 56 data bytes ping: permission denied. (are you root?)
strace ping 192.168.1.10 shows: read(5, "# /etc/protocols:\n# $Id: protoco"..., 4096) = 1865 close(5) = 0 munmap(0x3001a000, 4096) = 0 socket(PF_INET, SOCK_RAW, IPPROTO_ICMP) = -1 EPERM (Operation not permitted) write(2, "ping: permission denied. (are yo"..., 41ping: permission denied. (are you root?) ) = 41 munmap(0x30018000, 4096) = 0 exit_group(1) = ? Ping tries to open a raw socket and only root can do that. While I am at it I really would like to see support for -f(flood), -l(preload) and Don't Fragment support in ping too. I often used ping as poor mans testtool and I miss theese options. Jocke _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
