Docs: Add Linux pcap info
parent
d682627b40
commit
9abd9389f4
|
|
@ -14,3 +14,18 @@ communication library. The source code for libicsneo can be found on GitHub:
|
||||||
icsneopy/index
|
icsneopy/index
|
||||||
icsneoc/index
|
icsneoc/index
|
||||||
icsneoc2/index
|
icsneoc2/index
|
||||||
|
|
||||||
|
Linux Installation
|
||||||
|
==================
|
||||||
|
|
||||||
|
Applications that use raw Ethernet device discovery, such as PCAP-backed
|
||||||
|
discovery, need permission to open raw network sockets. Instead of running your
|
||||||
|
application with ``sudo``, grant the installed executable the required Linux
|
||||||
|
capabilities:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/your-app
|
||||||
|
|
||||||
|
Replace ``/usr/bin/your-app`` with the full path to the application executable.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue