aceberg / WatchYourLAN

Lightweight network IP scanner. Can be used to notify about new hosts and monitor host online/offline history
https://hub.docker.com/r/aceberg/watchyourlan
MIT License
4.51k stars 144 forks source link

Possible to run as rootless user? #96

Open TheDan64 opened 3 months ago

TheDan64 commented 3 months ago

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

usma0118 commented 1 month ago

+1