mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Docs: Add Linux pcap info
This commit is contained in:
committed by
Kyle Schwarz
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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user