LINUX.ORG.RU

История изменений

Исправление Eshkin_kot, (текущая версия) :

https://stackoverflow.com/questions/8290046/icmp-sockets-linux

This only works if a special sysctl is set. By default not even root can use this kind of socket. To allow root (group 0) to use ICMP sockets, do:

sysctl -w net.ipv4.ping_group_range="0 0"

Исходная версия Eshkin_kot, :

https://stackoverflow.com/questions/8290046/icmp-sockets-linux

This only works if a special sysctl is set. By default not even root can use this kind of socket. To allow root (group 0) to use ICMP sockets, do:

sysctl -w net.ipv4.ping_group_range=«0 0»