GyulyVGC/sniffnet

libpcap error: socket: operation not permitted

nnbyte opened this issue · 3 comments

Is there an existing issue for this?

  • I have searched the existing issues.

What's the problem?

I get the error "libpcap error: socket: operation not permitted".

any ideaa what could be wrong? I do have libpcap1 installed. I am running opensuse Tumbleweed (kde, wayland).

Image

How did you install the app?

downloaded one of the provided packages

Operating System

Linux

Additional context

No response

Hi @nnbyte

If you are not running as root, you need to set capabilities to inspect a network adapter:

sudo setcap cap_net_raw,cap_net_admin=eip <your/Sniffnet/executable/path>

Duplicate of #263

Thanks!