From 9abd9389f4e104a36b9cabdc1176910d482b5fa5 Mon Sep 17 00:00:00 2001 From: David Rebbe Date: Wed, 6 May 2026 00:34:23 +0000 Subject: [PATCH] Docs: Add Linux pcap info --- docs/index.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/index.rst b/docs/index.rst index 6f0a8ff..1616280 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -14,3 +14,18 @@ communication library. The source code for libicsneo can be found on GitHub: icsneopy/index icsneoc/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. +