ish icon indicating copy to clipboard operation
ish copied to clipboard

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

Open TheAlexDev23 opened this issue 2 years ago • 3 comments

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 avatar Apr 27 '22 12:04 TheAlexDev23

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

LaplaceSoda avatar Jun 12 '22 04:06 LaplaceSoda

Just adduser USERNAME loginuser USERNAME

psyabit avatar Jun 28 '22 17:06 psyabit

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.

preland avatar Dec 13 '23 15:12 preland