Skip to content
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

Nmap keeps saying “Problem binding to interface , errno: 22 socket_bindtodevice: Invalid argument” #1786

Open
TheAlexDev23 opened this issue Apr 27, 2022 · 3 comments

Comments

@TheAlexDev23
Copy link

I’m new to the ish app, and I’ve been trying to run nmap on it. I run it on an IPad Pro (2020)

I run the following command:

nmap 192.168.128.1

But it shows this error many times before showing the scan result:

Problem binding to interface , errno: 22
socket_bindtodevice: Invalid argument

While the scan result actually outputs correctly, this keeps happening in any type of scan to any IP.

@TheAlexDev23 TheAlexDev23 changed the title Nmap keeps saying Problem binding to interface , errno: 22 socket_bindtodevice: Invalid argument Nmap keeps saying “Problem binding to interface , errno: 22 socket_bindtodevice: Invalid argument” Apr 27, 2022
@LaplaceSoda
Copy link

I have met the same question. It seems like something wrong about the network setting of this system.
Hope author can help to fix.

@psyabit
Copy link

psyabit commented Jun 28, 2022

Just adduser USERNAME
loginuser USERNAME

@preland
Copy link

preland commented Dec 13, 2023

I am also having this issue. When running nmap as root user I get the AF_NETLINK error as described in the blog. Running as a user causes the described error. Running dmesg afterwards prints nothing, so it doesn’t seem to be a syscall issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants