WatchYourLAN icon indicating copy to clipboard operation
WatchYourLAN copied to clipboard

Possible to run as rootless user?

Open TheDan64 opened this issue 1 year ago • 1 comments

I've been trying to run this as a rootless podman instance, and it almost works, but no entries show up in the logs or UI. I confirmed the podman instance is able to reach other ips w/ wget as it has a host network.

When running arp-scan -glNx -I eth0 manually in the podman instance, I get the following error:

pcap_activate: eth0: You don't have permission to perform this capture on that device
(socket: Operation not permitted)

Tried to add these capabilities with CAP_NET_RAW CAP_SETPCAP but neither of these seemed to make any difference

TheDan64 avatar Aug 12 '24 04:08 TheDan64

+1

usma0118 avatar Sep 26 '24 08:09 usma0118

Impossible with rootless. Run podman with sudo or use docker. I think we should close this.

kavishgr avatar Jun 26 '25 04:06 kavishgr