z1pti3/jimiPlugin-monitor

Root / SETCAP required for ping

b1scuit-thi3f opened this issue · 0 comments

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:

  1. run jimi as sudo (not recommended!)
  2. 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.