Root / SETCAP required for ping
b1scuit-thi3f opened this issue · 0 comments
b1scuit-thi3f commented
Documentation should be added to show that some form of privilege is required in order to craft raw packets, which is what pythonping does.
Two solutions:
- run jimi as sudo (not recommended!)
- give python capabilities to craft raw packets/sockets:
sudo setcap 'CAP_NET_RAW+eip' /usr/bin/python3.6
There may be a possibility to restrict this further, but we haven't found it yet.