Goby - "You Don't Have Permission to Capture on This Device" Issue
Try to run Goby as root, got the following error message:
1 | [0708/184710.807452:FATAL:electron_main_delegate.cc(290)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. |
If running Goby without root, then there will be an error message asking for NIC permission.
And when launching a new scan, it failed with an error message:
And it’s still not working even following the instruction to add current user to root group. What’s wrong?
Here’s how to solve this issue:
First add a capture group pcap
and then add current user to this group:
1 | sudo groupadd pcap |
Next, change the group of tcpdump and set permissions:
1 | sudo chgrp pcap /usr/bin/tcpdump |
Add permission
1 | sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/tcpdump |
Then check again in Goby. Now everything works well.