-
-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while scanning network: Call to pcap_open_live() failed three times #294
Comments
Hi @lamhieu-vk! Thanks for opening this issue. Unfortunately I do not have an M1 MacBook to try and reproduce this issue. I assume it's an issue with Here are some things we can try to do to figure this out:
Let me know, I'm sure we'll figure it out :) |
hi @Ullaakut , |
What do you mean by affect? If you mean can it damage it or make it malfunction, I don't think so, no. If running nmap works fine manually, just not in Docker, then it must be an issue with running docker in host mode on M1 macs I assume 🤔 |
I mean the docker environment should be separate from the main machine and I think it's more of a Docker issue and things like that. |
I encountered the same error when attempting to perform an Nmap scan using the cameradr on an M1 MacBook Pro. However, I did not encounter any issues when running Nmap directly from the terminal. This issue appears to be specific to cameradr's implementation of Nmap. Other Docker images using Nmap do not produce the same error. Steps to reproduce
|
The issue is likely because Cameradar's docker image includes its own nmap binary, which might not be compatible with the M1 macbooks. In order to make it work, we'd need to package an image specific for M1s with the right binary, I think. |
I ran into the same issue on an M1 Mac and found cloning the repo and manually building:
Yields a working image
In theory buildx could be used to cross compile the container for |
@symm It is what is already used but I haven't re-built it for a long time. I'll have to take a look into that later today, maybe it's a quick fix then. See https://github.com/Ullaakut/cameradar/blob/master/tools/xplatform-docker-build/magefile.go |
I'm starting to explore this package with the following tutorial:
. and i get the error below, please help me know what i need to do.
Context
Please select one:
ullaakut/cameradar:armv7
Please select one:
Environment
My operating system:
OS version: 12.0
OS architecture: M1
Issue
What was expected
What happened
Logs
If your issue is with Cameradar's binary or docker image, please run it with
-v
to print verbose logs, and paste them here:The text was updated successfully, but these errors were encountered: